summaryrefslogtreecommitdiff
path: root/src/common/manaserv_protocol.h
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19Removed the now useless SpriteLayer enum from the protocol.Yohann Ferreira1-17/+0
2011-08-19Changed the sprite layer protocol to supportYohann Ferreira1-2/+2
an arbitrary number of layers. (up to 255).
2011-08-18Merge git://gitorious.org/~bertram/mana/manaserv-equipment-fix into ↵Yohann Ferreira1-2/+2
equipment-fix
2011-08-18Change the unequip function to make use of the item instance id.Yohann Ferreira1-2/+2
It will make the client capable to tell which item is to be unequipped when there are several item equipped within a slot type, for instance. The client has now yet to be upgraded to follow the new protocol.
2011-08-11Merge branch 'master' of ↵Yohann Ferreira1-447/+447
git://gitorious.org/~bertram/mana/manaserv-equipment-fix into equipment-fix Conflicts: src/common/manaserv_protocol.h
2011-08-11Basically redid equip and unequip functions().Yohann Ferreira1-2/+2
I made the system handle the fact that equipment item are completely unlinked to the inventory items. Equip items now have a unique itemInstance number permitting to equip the same item type multiple time when the slot capacity is wide enough to do so. I also prepared the functions to welcome in the near tests against scripted equipment. The equip process is known to be working server-side but the unequip process has yet to be reviewed, even if implemented.
2011-08-10login with random hashStefan Beller1-0/+2
The account server sends out a random number, which is additionally used for hashing the password. Reviewed by Bertram
2011-07-27Changed the protocol a bit to use int16 instead of 8.Yohann Ferreira1-445/+445
This is in preparation of fixes for issues: #373, and 379. Equip and inventory related packets are the only ones changed.
2011-06-19Making party invite functionalStefan Dombrowski1-6/+4
* An invite expires after 60 seconds. * For protection of the server memory each player can invite a maximum of 10 characters within the 60 second timeframe. Reviewed-by: Bjorn
2011-06-17Changed the attack message to send the attack id.Yohann Ferreira1-1/+1
This is more precise than sending the attack type, that can be guessed by the client anyway when the type parameter will be added in the <attack> tag. This is the server part of Mana issue: #363. Reviewed-by: Bjorn.
2011-05-30Routing party invite through the map serverStefan Dombrowski1-3/+5
The player sends party invites to the game server. If the invitee is within the visual range of the inviter, the game server forwards the invite to the chat server. Reviewed-by: Bjorn, Jaxad0127
2011-05-16Starting to fix party inviteStefan Dombrowski1-2/+2
Reviewed-by: Bjorn
2011-04-18Made the server send the being position each 5 seconds.Yohann Ferreira1-1/+1
This will permit the client the make position resyncs when necessary, and make use of the MOVING_POSITION and DESTINATION where relevant. Reviewed-by: Thorbjorn.
2011-04-16Removing unused enum EMAILCHG_EXISTS_EMAILStefan Dombrowski1-5/+0
The protocol uses ERRMSG_EMAIL_ALREADY_EXISTS instead.
2011-04-02Some cleanups related to syncing from game to account serverThorbjørn Lindeijer1-2/+1
* Remove SYNC_END_OF_BUFFER since the end of a message can already be identified by no more data being available. * Consistently prefix ++ rather than postfix ++ when incrementing mSyncMessages. * Made SYNC_BUFFER_SIZE into constants rather than defines, and moved them into the .cpp file since they're not used anywhere else. * Just use 1 and 0 to indicate online status. No point in writing it like 0x01 and 0x00. * Merged some duplicated documentation for AccountConnection::syncChanges. Reviewed-by: Jared Adams
2011-03-20Moved defines.h and manaserv_protocol.h into 'common'Thorbjørn Lindeijer1-0/+452
Just seems a bit more organized to me.