Natural Selection 2

Natural Selection 2

Shine Administration
[FIXED] Pregame
Is Pregame working?
I've set it to mode 2 with 3 players on the server, one on each team and and one in the rr.
We both went in the com chair, it said round starts in 15 seconds but there was no countdown even though I've set it to true and the round just didn't start.

Edit: Adverts aren't working as well :/
Viimeisin muokkaaja on Gh0sty; 1.5.2013 klo 13.27
< >
Näytetään 1-15 / 16 kommentista
тѕсм.Person8880  [kehittäjä] 13.4.2013 klo 5.13 
Can you post your config options for the pregame plugin and for the adverts plugin. Also, are you running any other mods?
The only other Mod I'm running is NS2stats which works fine.
I was running DAK bypassing the mod filter before UWE removed modded server labeling.
The DAK files are still installed but DAK isn't loaded.
The Server runs on Linux with wine.
Bringing up the menu works fine so I could vote for random etc. but the next map vote doesn't work also.
Here are some configs
https://gist.github.com/anonymous/5378420
https://gist.github.com/anonymous/5378424
https://gist.github.com/anonymous/5378438
https://gist.github.com/anonymous/5378439
I've currently disabled PreGame in the BaseConfig as it obvisiously prevented the round from starting at all.
Viimeisin muokkaaja on Gh0sty; 13.4.2013 klo 6.47
тѕсм.Person8880  [kehittäjä] 13.4.2013 klo 8.30 
Hmm, I don't see anything wrong in those.

The issues you are having are almost certainly because my timer system is never executing when the timers end. This is something I've seen before and spent ages trying to debug with someone, but in the end, the only explanation is that there was something wrong with NS2 itself.

I would not be surprised to see there being issues with running under Wine that are causing this, but I have no way to know. For myself with a server hosted in game and one using SteamCMD and for other server operators, the timer system doesn't have any issues and these things work fine.

To confirm this, type this into the console, if it prints a message after 1 second, then the problem is elsewhere, if it does not, then it's definitely the timers and I'll see about bringing this up with UWE.

sh_luarun Shine.Timer.Simple( 1, function() Print( "Hello, this timer is working!" ) end )
Viimeisin muokkaaja on тѕсм.Person8880; 13.4.2013 klo 8.35
I type this in the client console while connected to the server right?
It did not print the message but I never hab problems with DAK which also prints countdowns etc.
Viimeisin muokkaaja on Gh0sty; 13.4.2013 klo 9.01
тѕсм.Person8880  [kehittäjä] 13.4.2013 klo 9.07 
Ok then, definitely the timer system not working as it should. If you want, you can try a slight change to a Lua file which should allow it to work.

Replace lua/lib/timer.lua in the Shine mod folder with this:
https://dl.dropboxusercontent.com/u/93261/timer.lua
Still doesn't work
тѕсм.Person8880  [kehittäjä] 13.4.2013 klo 10.57 
Then I'm afraid I'm out of things to try. I cannot reproduce this, with identical settings to you it works fine when I run it.

Which distro of Linux are you using? I'll try and set up a near identical setup and see if I can get the same problem to show up.
Debian squeeze with wine 1.4.1.
I'm running the NS2 client as the server for extended consistency checking.
Not sure if that could be the reason.
Viimeisin muokkaaja on Gh0sty; 13.4.2013 klo 11.09
тѕсм.Person8880  [kehittäjä] 13.4.2013 klo 11.49 
Yes that's exactly what happened before when someone had this issue. They were running it through the NS2 client and it did not call the timers properly.

Running through the dedicated server binaries should work for sure and I'm pretty sure you can have extended consistency checking with that too. You just have to copy the files from the client into the server install, though I haven't personally done it.
Viimeisin muokkaaja on тѕсм.Person8880; 13.4.2013 klo 11.49
I've deleted the server and reinstalled the dedicated server only.
It's still not working :(
Viimeisin muokkaaja on Gh0sty; 13.4.2013 klo 12.44
I've installed the dedicated server on my Win7 Dekstop PC and even here it's not working.
sh_luarun Shine.Timer.Simple( 1, function() Print( "Hello, this timer is working!" ) end )
is also not working
Viimeisin muokkaaja on Gh0sty; 14.4.2013 klo 0.57
тѕсм.Person8880  [kehittäjä] 14.4.2013 klo 6.13 
I cannot explain it. I have the dedicated server running on my PC, it's running Shine and NS2 Stats, it's using the same config options and timers and the plugins work.

The advert message shows every 60 seconds, when I sat in the commander chair and another sat in the Hive, it said 15 seconds to start and did the 5 second countdown and started the game.

Did you check the server console for the print message? That's where it will end up.
Yep I checked the console, all I saw there was
gH0sTy[xxxxxx] ran command sh_luarun with arguments: Shine.Timer.Simple(1,, function(), Print("HELLO,, THIS, TIMER, IS, WORKI G!"), end).
No error messages or anything else that would help to debug this.
Viimeisin muokkaaja on Gh0sty; 14.4.2013 klo 8.05
тѕсм.Person8880  [kehittäjä] 1.5.2013 klo 11.34 
Belated reply, but I finally got to the bottom of this. Turns out my hook sorting was becoming corrupted which meant timers were never being ran. Not sure how it was happening, but it's fixed now!
Yay great it works now!
Thanks for the fix
Viimeisin muokkaaja on Gh0sty; 1.5.2013 klo 13.31
< >
Näytetään 1-15 / 16 kommentista
Sivua kohden: 1530 50