instancing

Vars | |
registered_commands | Associative list of registered commands. K = command name | V = command datum |
---|---|
Procs | |
check_player | Player checker |
seed_data | Seed data |
update_heartbeat | Heartbeat updater |
update_playercache | Playercache updater |
Var Details
registered_commands

Associative list of registered commands. K = command name | V = command datum
Proc Details
check_player
Player checker
Check all connected peers to see if a player exists in the player cache This is used to make sure players dont log into 2 servers at once Arguments: ckey - The ckey to check if they are logged into another server
seed_data
Seed data
Seeds all our data into the DB for other servers to discover from. This is called during world/New() instead of on initialize so it can be done instantly
update_heartbeat
Heartbeat updater
Updates the heartbeat in the DB. Used so other servers can see when this one was alive
update_playercache
Playercache updater
Updates the player cache in the DB. Different from heartbeat so we can force invoke it on player operations