Author Topic: TB stuck in loop  (Read 2033 times)

TB stuck in loop
« on: January 15, 2017, 03:25:57 pm »
Has anyone else had an issue of TB getting stuck in a loop and shipping out your turn? I'm using reloaded sdk. Thought it may have been due to changes I made, but standard sdk seems to do it on my pc too

Re: TB stuck in loop
« Reply #1 on: January 15, 2017, 03:38:45 pm »
I'm not sure but when you are logged with admin access there is something strange with turn-based combat. Don't know what it is exactly...

Re: TB stuck in loop
« Reply #2 on: January 15, 2017, 03:46:30 pm »
oh lol. I think that may be it. I'm playing without admin access now and it hasn't done it again yet :) thanks

Offline JovankaB

  • Rotator
  • JovankaB
Re: TB stuck in loop
« Reply #3 on: January 21, 2017, 06:51:17 pm »
https://github.com/rotators/fo2238/blob/1d2c7c8223bc1724af1b50c022d3600d1ddfb2e3/Server/scripts/main.fos#L2986

If you have admin access your turn is skipped unless the server is in debug mode.

The main reason is to not give away the presence of a hidden admin / game master on the map during turn based combat ;) Also there is no reason for server staff to interfere with player experience by taking part in battle, or even just delaying it. They can do their things with commands outside of their turn. This probably should be made optional though.

You can disable it by commenting "_EndTurn(cr);" in line 2991 (in Reloaded it might be a different line).
« Last Edit: January 22, 2017, 04:16:57 am by JovankaB »