Numos59 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 2 forks source link

Timer Error Causing Horrible Lagg #604

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is the problem?

Timer Error : [@gamemodes\darkrp\gamemode\main.lua:351] bad argument #2 to 
'random' (interval is empty) error shows up repeating itself like every 1/8th 
of a second and seems to be causing lagg. I had this in a previous SVN and 
updated but am still having the problem.

What steps will reproduce the problem?

When a player joins.

Do you have any errors? serverside or clientside? If you do, which ones?
same thing as above

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)? 867 (latest)

Please provide any additional information below.

It was weird because i never got this error before but it randomly started 
showing up for me....no clue why though. It appears to be around or inside the 
earthquake command code...maybe i should try turning off earthquakes and see if 
that fixes it for now.

Original issue reported on code.google.com by jason59...@gmail.com on 5 Jul 2011 at 2:14

GoogleCodeExporter commented 8 years ago
Ok thanks.

The cause of the bug is setting rp_quakechance to 0. Nonetheless it was a bug 
and it's fixed now.

Original comment by fpeijnen...@gmail.com on 5 Jul 2011 at 5:34

GoogleCodeExporter commented 8 years ago
Okay Thanks..It was odd if i turned it to 0 because i think they were on....it 
fixed it. It seems to be working okay now though. Thanks for the responsive 
feedback!

Original comment by jason59...@gmail.com on 5 Jul 2011 at 6:33