Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
58 stars 47 forks source link

FOR loop doesn't work on Linux when over 10k iterations #1037

Closed DavideRei closed 1 year ago

DavideRei commented 1 year ago

15:43:ERROR:(d_add_sqlite.scp,45)Terminating loop cycle since it seems being dead-locked (10000 iterations already passed)

crashed Sphere.

no problem on Windows

drk84 commented 1 year ago

Have you tried setting MaxLoop times in sphere.ini to 0 ? // Limit the number of cycles the while/for loop can proceed. Setting this to // zero disables the limitation MaxLoopTimes=10000

DavideRei commented 1 year ago

Sorry, my fault. I didn't notice that on Windows i have MaxLoopTimes=100.000. Now it works.