summaryrefslogtreecommitdiff
path: root/src/game-server/state.h
AgeCommit message (Collapse)AuthorFilesLines
2012-03-11Added callbacks for map/worldvar changesErik Schilling1-0/+6
Reviewed-by: bjorn.
2011-03-09Renamed GameState::insertSafe() to inserOrDelete.Yohann Ferreira1-1/+1
This reflects much more what the function does IMHO. Trivial.
2011-03-04Implemented persistent world and map variablesPhilipp Sehmisch1-0/+18
The gameserver now receive a copy of all world state variables when they are accepted by the accountserver and receive a copy of all map state variables of a map when they register it successfully. Implemented LUA script bindings for getting and setting these variables. When such a variable is set, the accountserver is notified about this change. Changes to world state variables are then propagated to all gameservers by the accountserver. Be aware that when a gameserver is updating a map, there is no check if it is actually responsible for said map. But I consider this not a security flaw, because authenticated game servers are considered to be trustworthy in a lot of other situations, too. Also renamed "quest" to "character variable" in the sourcecode. Reviewed-by: Bertram
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-0/+108
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.