Frota icon indicating copy to clipboard operation
Frota copied to clipboard

Failed to execute script: scripts/vscripts/frota.lua:326 revival

Open pujok opened this issue 11 years ago • 4 comments

https://github.com/ash47/Frota/issues/185 After checking the code I found this on line 326: if version ~= self.frotaVersion and (Time() > self.stateRequestData['v'..playerID] or 0) then self.stateRequestData[v..playerID] = Time() + 60 Say(cmdPlayer, 'I have frota version '..version..' and the server has version '..self.frotaVersion, false) So it seems that the server crashes when u don't have the same Frota version as it. edit: missed it by 11 lines :/ line 326 really seems to not compare nil with number, but I get a crash now with the line 315, which is the line I'm reffering to above. So lucky :(

pujok avatar Jul 24 '14 11:07 pujok

Lua doesn't crash when you compare a number to nil -- I've never seen Lua crash -- except when you do really silly things -- and it always gives you a message telling you why it crashed.

I've been over this many times -- your server is likely set up wrong, see the extra SRCDs help section...

ash47 avatar Jul 24 '14 11:07 ash47

I did. I checked whether it's correct for like ten times and found nothing. I wouldn't post here if I wasn't absolutely desperate about solving this :(

pujok avatar Jul 24 '14 12:07 pujok

post the config file your server is executing

ash47 avatar Jul 24 '14 12:07 ash47

Solved: moving d2fixups.vdf file took all the issues away by miracle :)

pujok avatar Jul 24 '14 12:07 pujok