User Name
Password
Create a new user account Restore your password
  #1 (permalink)  
Old 22-09-05, 20:07
sharx
Guest
 
Posts: n/a
vote when server crash

hey all , i just came from the server and this happend ...

first map : siege_007_v21 ok cool i went commander and won
2nd play on same map marines lost after a while ...

then server crashed so it wus siege_007 ...
almost the same map (boring ^^ ), so i played it again for 25 min

then the server crash again ... bah ! again siege_007
i just left because i already played for 1 hour the same map .

now i wus thinking, cant you make some plugin if server crash, a vote shows up cause im tired of playing siege_007 like 15 times a day .

*Keep Up The good work ! *
  #2 (permalink)  
Old 22-09-05, 20:12
elmicker
Guest
 
Posts: n/a
Re: vote when server crash

Quote:
Originally Posted by sharx
hey all , i just came from the server and this happend ...

first map : siege_007_v21 ok cool i went commander and won
2nd play on same map marines lost after a while ...

then server crashed so it wus siege_007 ...
almost the same map (boring ^^ ), so i played it again for 25 min

then the server crash again ... bah ! again siege_007
i just left because i already played for 1 hour the same map .

now i wus thinking, cant you make some plugin if server crash, a vote shows up cause im tired of playing siege_007 like 15 times a day .

*Keep Up The good work ! *
some of us like siege_007, :P. but it did get a bit ridiculous there... Is it possible? or maybe just change the maplist so that siege_007 isnt the first map.
  #3 (permalink)  
Old 22-09-05, 20:22
Reef
Guest
 
Posts: n/a
Re: vote when server crash

Quote:
Originally Posted by elmicker
...just change the maplist so that siege_007 isnt the first map.
This will not solve the problem... Unless Dr.Moron sets co_blackmesa as first map
  #4 (permalink)  
Old 23-09-05, 09:53
joojamoi
Guest
 
Posts: n/a
But isn't it possible to make map vote after server crash or select a random map from the cycle?
  #5 (permalink)  
Old 23-09-05, 13:53
Dr. Moron's Avatar
Administrator

 
Join Date: Jul 2005
Posts: 698
nothing is inpossible... so far so good but not the 1st map in mapcylce will loaded during server start / restart after crash. the start map is set in the server startfile or command line.

a random map after serverstart will be possible if unsichtbar write us two perl scripts. 1st script should be executed by a cronjob every minute to check if the server is online or not. the 2nd script executed by the 1st one if server down will start the server with a random map form a list.

thats the only way i know.
  #6 (permalink)  
Old 23-09-05, 14:05
Reef
Guest
 
Posts: n/a
Quote:
Originally Posted by Dr. Moron
a random map after serverstart will be possible if unsichtbar write us two perl scripts. 1st script should be executed by a cronjob every minute to check if the server is online or not. the 2nd script executed by the 1st one if server down will start the server with a random map form a list.
Usually server is down for less than a minute and this will not work. If those scripts can be writeen in bash instead of perl (i know it can be) I can do it. I need a code that You use to auto restart the server if it crashes. Probably it is like:
Code:
while true
do
  ./server start command with parameters
done
If it is like that, we can very easily make the starting map name a random parameter using the mapcycle file.
  #7 (permalink)  
Old 23-09-05, 14:39
Dr. Moron's Avatar
Administrator

 
Join Date: Jul 2005
Posts: 698
yes sure bash will be good too. i know that unsichtbar can code in perl so it was my exampe :mrgreen:

i use the original shell bash from valve included in the linux dedicated.
  #8 (permalink)  
Old 23-09-05, 14:46
Reef
Guest
 
Posts: n/a
Can You please include it here on the forums so i can make my modifications and include it here for You? :]
Also I need a path and a format of the mapcycle file (i guess one line = one map name with extension (.bsp) ).
  #9 (permalink)  
Old 23-09-05, 18:01
sharx
Guest
 
Posts: n/a
well if co_blackmesa is first map in cycle its fine for me to ^^
  #10 (permalink)  
Old 23-09-05, 20:29
Dr. Moron's Avatar
Administrator

 
Join Date: Jul 2005
Posts: 698
no random maps, no random restarts. mail the mod author and maybe he bing us a stable code next version.
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapvote after server crash 2189 Config and Plugins 7 05-09-06 02:10
I'm banned from the server of NS !_! .YoMoSuCiTH) Help & Support 6 02-06-06 07:07
Server crash sometimes after or before vote MoTi The Alien Breeder 1 29-12-05 20:58
Fireworks and server crash deathclaw Config and Plugins 3 23-12-05 18:48
NS 3.1 server crash MoTi The Alien Breeder 6 18-11-05 21:15


All times are GMT +2. The time now is 11:21.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 © 2009, Crawlability, Inc.
Powered by Fire-Bursts CMS v1.2c