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 :/
Terakhir diedit oleh Gh0sty; 1 Mei 2013 @ 1:27pm
< >
Menampilkan 1-15 dari 16 komentar
тѕсм.Person8880  [pengembang] 13 Apr 2013 @ 5:13am 
Can you post your config options for the pregame plugin and for the adverts plugin. Also, are you running any other mods?
Gh0sty 13 Apr 2013 @ 6:43am 
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.
Terakhir diedit oleh Gh0sty; 13 Apr 2013 @ 6:47am
тѕсм.Person8880  [pengembang] 13 Apr 2013 @ 8:30am 
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 )
Terakhir diedit oleh тѕсм.Person8880; 13 Apr 2013 @ 8:35am
Gh0sty 13 Apr 2013 @ 8:54am 
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.
Terakhir diedit oleh Gh0sty; 13 Apr 2013 @ 9:01am
тѕсм.Person8880  [pengembang] 13 Apr 2013 @ 9:07am 
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
Gh0sty 13 Apr 2013 @ 10:46am 
Still doesn't work
тѕсм.Person8880  [pengembang] 13 Apr 2013 @ 10:57am 
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.
Gh0sty 13 Apr 2013 @ 11:03am 
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.
Terakhir diedit oleh Gh0sty; 13 Apr 2013 @ 11:09am
тѕсм.Person8880  [pengembang] 13 Apr 2013 @ 11:49am 
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.
Terakhir diedit oleh тѕсм.Person8880; 13 Apr 2013 @ 11:49am
Gh0sty 13 Apr 2013 @ 12:44pm 
I've deleted the server and reinstalled the dedicated server only.
It's still not working :(
Terakhir diedit oleh Gh0sty; 13 Apr 2013 @ 12:44pm
Gh0sty 14 Apr 2013 @ 12:02am 
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
Terakhir diedit oleh Gh0sty; 14 Apr 2013 @ 12:57am
тѕсм.Person8880  [pengembang] 14 Apr 2013 @ 6:13am 
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.
Gh0sty 14 Apr 2013 @ 8:02am 
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.
Terakhir diedit oleh Gh0sty; 14 Apr 2013 @ 8:05am
тѕсм.Person8880  [pengembang] 1 Mei 2013 @ 11:34am 
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!
Gh0sty 1 Mei 2013 @ 1:31pm 
Yay great it works now!
Thanks for the fix
Terakhir diedit oleh Gh0sty; 1 Mei 2013 @ 1:31pm
< >
Menampilkan 1-15 dari 16 komentar
Per halaman: 1530 50