Natural Selection 2

Natural Selection 2

Shine Administration
Gh0sty 13 ABR 2013 a las 1:57
[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 :/
Última edición por Gh0sty; 1 MAY 2013 a las 13:27
< >
Mostrando 1-15 de 16 comentarios
тѕсм.Person8880  [desarrollador] 13 ABR 2013 a las 5:13 
Can you post your config options for the pregame plugin and for the adverts plugin. Also, are you running any other mods?
Gh0sty 13 ABR 2013 a las 6:43 
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.
Última edición por Gh0sty; 13 ABR 2013 a las 6:47
тѕсм.Person8880  [desarrollador] 13 ABR 2013 a las 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 )
Última edición por тѕсм.Person8880; 13 ABR 2013 a las 8:35
Gh0sty 13 ABR 2013 a las 8:54 
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.
Última edición por Gh0sty; 13 ABR 2013 a las 9:01
тѕсм.Person8880  [desarrollador] 13 ABR 2013 a las 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
Gh0sty 13 ABR 2013 a las 10:46 
Still doesn't work
тѕсм.Person8880  [desarrollador] 13 ABR 2013 a las 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.
Gh0sty 13 ABR 2013 a las 11:03 
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.
Última edición por Gh0sty; 13 ABR 2013 a las 11:09
тѕсм.Person8880  [desarrollador] 13 ABR 2013 a las 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.
Última edición por тѕсм.Person8880; 13 ABR 2013 a las 11:49
Gh0sty 13 ABR 2013 a las 12:44 
I've deleted the server and reinstalled the dedicated server only.
It's still not working :(
Última edición por Gh0sty; 13 ABR 2013 a las 12:44
Gh0sty 14 ABR 2013 a las 0:02 
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
Última edición por Gh0sty; 14 ABR 2013 a las 0:57
тѕсм.Person8880  [desarrollador] 14 ABR 2013 a las 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.
Gh0sty 14 ABR 2013 a las 8:02 
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.
Última edición por Gh0sty; 14 ABR 2013 a las 8:05
тѕсм.Person8880  [desarrollador] 1 MAY 2013 a las 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!
Gh0sty 1 MAY 2013 a las 13:31 
Yay great it works now!
Thanks for the fix
Última edición por Gh0sty; 1 MAY 2013 a las 13:31
< >
Mostrando 1-15 de 16 comentarios
Por página: 1530 50