summaryrefslogtreecommitdiff
path: root/src/net/manaserv/gamehandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-02-03Simplified and made generic the way the pickup is handled.Yohann Ferreira1-1/+0
I also made the range be taken from the server type as for the pickup and npc talk ranges. Last but no least, I fixed the parameters sent with PGMSG_PICKUP to send the (item) position where to pickup at as described in the manaserv protocol. The pickup is still not 100% functional due certainly to two problems: 1. The client item coordinates might not be the exact same as in the server. 2. The client seems to try to pick up the item a bit too soon, probably for the reason given in 1. I'll investigate this in another patch. Reviewed-by: Thorbjørn Lindeijer, Erik Schilling.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-10player_node -> local_playerYohann Ferreira1-1/+1
Reviewed-by: Ablu
2011-06-16Remove useless ping packetBen Longbons1-5/+0
The comment in game.cpp about the server waiting for this is a lie. Reviewed-by: Bertram.
2011-03-17Simplified the get/setAttackRange() functions as requested.Yohann Ferreira1-1/+2
The attack range is still hardcoded for Manaserv as long as generic equipment handling hasn't been implemented.
2010-12-30Renamed protocol.h to manaserv_protocol.h to follow server's changes.Yohann Ferreira1-1/+1
I'll sync the two files as for the new enums in a separate commit. Trivial fix. Resolves: Mana-mantis #278.
2010-08-15Merge branch '1.0'Chuck Miller1-2/+8
Conflicts: mana.cbp mana.files src/CMakeLists.txt src/Makefile.am src/utils/xml.cpp
2010-08-13Add code to change gameservers to manaserv netcodeJared Adams1-2/+8
Reviewed-by: Freeyorp
2010-07-18Replace some state-related netcode methods with eventsJared Adams1-10/+0
Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller
2010-04-16Fix canceling game connectionJared Adams1-2/+5
Reviewed-by: Bertram
2010-04-12Add support for map-server switching under eAthenaJared Adams1-9/+13
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-3/+3
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-3/+3
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Remove some support ifdefsJared Adams1-0/+4
2010-01-10Change code styleAndrei Karas1-1/+2
2009-12-02Centralize netcode handler instances in NetJared Adams1-1/+1
Instead of each netcode making the global variables and Net referencing them, Net now makes them and the netcodes reference them. Also remove an innappropriate ChatHandler reference from eA's AdminHandler.
2009-11-03Fix switching characters under ManaServJared Adams1-5/+14
2009-11-03Simplify ManaServ netcode some moreJared Adams1-5/+9
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-4/+3
2009-11-02Got rid of GameHandler::clearThorbjørn Lindeijer1-5/+0
It was just forwarding to disconnect().
2009-10-24REplace instances of TMW with ManaJared Adams1-0/+132