The Jigglyroom Forums
https://tfc.panduck.com/phpBB3/

WARPATH SERVER
https://tfc.panduck.com/phpBB3/viewtopic.php?f=3&t=480
Page 6 of 7

Author:  Saint Thoth [ Tue Jan 15, 2008 11:48 am ]
Post subject: 

bullgod wrote:
I'm still not sure if it's working quite right. It does change maps to what was voted for, however it changes the map as soon as voting is over. And it seems like the vote is very short, like 30-45 sec or something. Also it seems like it cuts off the last 5 mins or so of the current map. Shouldnt the map that was voted for start after the current map finishes on it's regular run time at the regular mapchange? I dont know, just seems a little weird to me, maybe it's correct. Just seems weird so close to the end of a map. If voting started like at the 15min mark then I could understand it changing before the map finished but the vote is near the end of a regular map cycle, like the last 5 min or so. And isnt there a way to start a vote during gameplay other than waiting for the vote to come up at the end of the map by typing in mapvote? I dunno, atleast it seems to be working. :)

/me :shrugs:

Thanks for everyones hard work & time on this matter. d(^.^)
Well, I dunno... My new one allow players to start vote mid games, if they so desire. It also lets the scoreboard hang in your face about 10 seconds before the map change, and if no one votes for anything, it just goes about it's usual cycle. It also lets you vote for all the maps, instead of just a random handful.

Downside to it is though, you have to type the map name you want in chat - as the main reason I made the plugin was to get around what seemed to be a bug where the key I pressed did not give me the map I asked for under Linux (but worked fine in Windows).

I dun have low level access to that server - however, unlike the All 2Fart server, I can promise not to do anything evil to it if I did. ;) Until then, it's up to Jigglypuff.
_________________
"Order! Order! Do you kids want to be like the real UN? Or do you just want to squabble and waste time?" -Principal Skinner
Thothie

Author:  fixxor [ Tue Jan 15, 2008 12:44 pm ]
Post subject: 

I think i remember it being different. Windows was 1-1, 2-2 ect.. but linux was 0-1, 1-2... Maybe im just remembering something completely different.

Author:  Saint Thoth [ Tue Jan 15, 2008 2:20 pm ]
Post subject: 

Yeah... It's somethin with that linux keycode - it's still givin me random maps when I press a key. Ya think the linux SMA would be different to compensate, but it doesn't seem to be, thus the whole new system. *sigh*
_________________
"The early bird gets the worm. The early worm... gets eaten."
Thothie

Author:  WigglyTuff [ Tue Jan 15, 2008 6:42 pm ]
Post subject: 

just switched maps in the middle of rock2 to 2fart disconnecting me...restarting? :?

Author:  TheDoc [ Tue Jan 15, 2008 10:02 pm ]
Post subject: 

sounds like the server restarted.

Author:  Saint Thoth [ Wed Jan 16, 2008 11:39 am ]
Post subject: 

For some reason I read that, "'sounds like the server is retarted."...

...Jiggly still hasn't gotten my PM with the plugin and instructs, so yeah... Hang in there a bit longer.

WigglyTuff wrote:
just switched maps in the middle of rock2 to 2fart disconnecting me...restarting? :?

Out of curiosity, were there a lot bots on one team at the time? I've seen an all-bot team on Well kill the server a few times now, wonder if Rock2 has a similar issue.

BTW (admins) Ye can control the bots on the server if you have access to amx_cvar:

• amx_cvar bot "kickall"
- kicks all the bots (they may rejoin if you don't change one of the following:)
• amx_cvar bot "min_bots #"
- where # is the min number of players bots will allow per team before joining it
• amx_cvar bot "max_bots #"
- Where # is the max bots on the server, set -1 to stop extra bots spawning, but still allow adding of bots manually
• amx_cvar bot "addbot"
- adds a bot, provided max_bots will allow
• amx_cvar bot "addbot [team] [class] [name] [skill]"
- adds a bot to [team] (1=blue 2=red) of [class] (1-9, 1=scout ... 9=engineer, etc. as on the class menu.) with [name] (must not contain spaces), and [skill] (1-5) - all parameters are optional.

The quotes are required.

I've not yet figured a way to stop bots from autobalancing between the teams. It seems this is a feature in newer versions of Foxbot, although those seem designed for use with NeoTFC. *shrug*
_________________
"Ironic, isn't it, Smithers? This anonymous clan of slack-jawed troglodytes has cost me the election. Yet if I were to have them killed, I'd be the one sent to jail! That's democracy for you." -Mr. Burns
Thothie

Author:  batcula [ Wed Jan 16, 2008 6:21 pm ]
Post subject: 

Saint Thoth wrote:
For some reason I read that, "'sounds like the server is retarted."...

...Jiggly still hasn't gotten my PM with the plugin and instructs, so yeah... Hang in there a bit longer.

WigglyTuff wrote:
just switched maps in the middle of rock2 to 2fart disconnecting me...restarting? :?

Out of curiosity, were there a lot bots on one team at the time? I've seen an all-bot team on Well kill the server a few times now, wonder if Rock2 has a similar issue.

BTW (admins) Ye can control the bots on the server if you have access to amx_cvar:

• amx_cvar bot "kickall"
- kicks all the bots (they may rejoin if you don't change one of the following:)
• amx_cvar bot "min_bots #"
- where # is the min number of players bots will allow per team before joining it
• amx_cvar bot "max_bots #"
- Where # is the max bots on the server, set -1 to stop extra bots spawning, but still allow adding of bots manually
• amx_cvar bot "addbot"
- adds a bot, provided max_bots will allow
• amx_cvar bot "addbot [team] [class] [name] [skill]"
- adds a bot to [team] (1=blue 2=red) of [class] (1-9, 1=scout ... 9=engineer, etc. as on the class menu.) with [name] (must not contain spaces), and [skill] (1-5) - all parameters are optional.

The quotes are required.

I've not yet figured a way to stop bots from autobalancing between the teams. It seems this is a feature in newer versions of Foxbot, although those seem designed for use with NeoTFC. *shrug*
_________________
"Ironic, isn't it, Smithers? This anonymous clan of slack-jawed troglodytes has cost me the election. Yet if I were to have them killed, I'd be the one sent to jail! That's democracy for you." -Mr. Burns
Thothie
Thoth you wrote an additional plugin for amx for voting? If so do you have the code for that? And can I look at it? Or did you rewrite an already exsisting plugin? Gah Ill go research it and fire up the linux box.

Author:  Saint Thoth [ Wed Jan 16, 2008 6:27 pm ]
Post subject: 

Wrote a new one, although it's not as flexible as the standard, as it uses a fixed set of maps (reason for this is I don't trust our AMX is parsing Linux carriage returns correctly in line-input files, based on some of its odd behavior). It's also limited in that it can only display about 20 maps - although it could be tweaked to do more, so long as the map list did not execede 1280 characters - then ya need a multi-step menu or somethin.

Source: http://www.thothie.com/4jiggly5/mapchooser.sma.txt
_________________
"Those who cast the votes decide nothing. Those who count the votes decide everything." - Josef Stalin
Thothie

Author:  batcula [ Wed Jan 16, 2008 6:50 pm ]
Post subject: 

Saint Thoth wrote:
Wrote a new one, although it's not as flexible as the standard, as it uses a fixed set of maps (reason for this is I don't trust our AMX is parsing Linux carriage returns correctly in line-input files, based on some of its odd behavior). It's also limited in that it can only display about 20 maps - although it could be tweaked to do more, so long as the map list did not execede 1280 characters - then ya need a multi-step menu or somethin.

Source: http://www.thothie.com/4jiggly5/mapchooser.sma.txt
_________________
"Those who cast the votes decide nothing. Those who count the votes decide everything." - Josef Stalin
Thothie
So did you or sorry Do the files mapmenu.amx and mapchooser.amx correspond? Am I wrong in assuming that?

Author:  Saint Thoth [ Wed Jan 16, 2008 6:54 pm ]
Post subject: 

No, mapmenu.amx is a seperate standard plugin. mapchooser.amx is a standard plugin that normally lets players pick a map at the end of the round, this replaces that.

PS. Jigglypuff has still not checked his messages - nor has he responded to IM's. :\ Hope he wasn't kidnapped by aliens.
_________________
"You know you've played too much Master Sword when: while standing near pottery, you have an overwhelming fear that someone will say 'hi', thus bringing an abrupt end to the world."
Thothie

Author:  Jigglypuff [ Wed Jan 16, 2008 8:28 pm ]
Post subject: 

Saint Thoth wrote:
No, mapmenu.amx is a seperate standard plugin. mapchooser.amx is a standard plugin that normally lets players pick a map at the end of the round, this replaces that.

PS. Jigglypuff has still not checked his messages - nor has he responded to IM's. :\ Hope he wasn't kidnapped by aliens.
_________________
"You know you've played too much Master Sword when: while standing near pottery, you have an overwhelming fear that someone will say 'hi', thus bringing an abrupt end to the world."
Thothie


Sorry, I had a very unexpected um, turn of events Monday and I'm currently hundreds of miles from home. I should be back at my desk and back to the daily grind tomorrow. Apologies for the delay - these aren't the ideal conditions to do work on the server.

Author:  Saint Thoth [ Wed Jan 16, 2008 9:01 pm ]
Post subject: 

He HAS been kidnapped by aliens! :shock:

...Good thing he has a good wireless plan.
_________________
"When a man is tired of London, he is tired of life; for there is in London all that life can afford." - from Boswell's Life of Johnson
Thothie

Author:  Black Sun [ Wed Jan 16, 2008 9:04 pm ]
Post subject: 

...I hope they were gentle. :(

Author:  TheHornet [ Wed Jan 16, 2008 9:14 pm ]
Post subject: 

thoth, think you could add that list of commands to the ongoing instruction guide for the disciples of his divine pinkness?

Author:  Saint Thoth [ Wed Jan 16, 2008 10:40 pm ]
Post subject: 

Ja... Assuming the power holds out here. Got some lovely winds going atm. Jigglypuff's mothership must be making some low passes.

Back in the day it used to be fun to setup a HUGE army of engineers on Well and try to get past them (they'd setup SG's everywhere, and were not fooled by spies), but I've not figured a way to set this up with this version of Foxbot, due to the auto-balancing thing.
_________________
"I feel just like Santa Claus except thinner and younger and female and well, Jewish." - Willow, handing out gifts, Buffy
Thothie

Page 6 of 7 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/