Quote:
Originally Posted by Akkadius
Note: In order to actually have the players info collected, you have to insert the collection routine somewhere. I usually trigger it in EVENT_ENTERZONE of global_player.pl
|
Nice Akkadius!
+1
I prefer to run the collection routine in this sub:
sub EVENT_CONNECT {}
That way code runs only 1 time when player logs in, instead of every time they zone.
That way it won't spam update the database each time a player dies or zones.