Re: Fix the roiding to be independant of user id
I would guess that part of the reason its done like it currently is due to the fact the tick length would increase if it was done like suggested. The reason for that would be you would have to loop through all the planets again and run two extras calculations not to mention multiple extra database writes.
After all as you loop through the planets for battle reports you would have to write one db record for roids lost for anyone being attacked and upto 3 roids gained records for anyone attacking. Then when these have been worked out and written you would then need to loop through the planets again, deduct all the roids lost before adding all the roids gained.
Now while the tick takes around 4 mins now to fully complete and that isn't that high compared to the past so another minute or so wouldn't be an major problem it would be a slight annoyance and should the number of players increase it could be a problem.
__________________
Wakey
PD and Suggestions Moderator
Co-founder of [F-Crew]
The Farnborough Crew
Cos anything else is just an alliance
Join our public channel at #f-crew
|