summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram1-652/+0
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-03-25Merge StorageWindow into InventoryWindowJared Adams1-1/+0
Reviewed-by: Chuck Miller
2010-02-24Move StorageWindow to instancing intead of globalJared Adams1-2/+0
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer1-2/+2
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
2010-02-13Make NPC dialogs instance instead of globalJared Adams1-5/+5
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-13Allow player to talk after deathAndrei Karas1-1/+2
Mantis-issue: 938 (TMW Mantis)
2010-02-09Pushed away some 32 hardcoded values.Bertram1-4/+7
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram1-3/+7
This is the First step to get rid of most hardcoded 32 values.
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-02-06Merged the Engine class into the Game classThorbjørn Lindeijer1-7/+9
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-01-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw1-3/+7
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-27Added mutators/accessors to being.h and smal cleanups.Bertram1-2/+2
2010-01-19Fix problems when dying with an NPC dialog openJared Adams1-0/+3
2010-01-12Standardize header orderJared Adams1-5/+5
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas1-3/+6
2009-12-19Fix a race conditionFreeyorp1-2/+6
If the server tells the client to update the mp bar when handling an matk change message before the status window has initialised, a segfault occurs
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-24Fix increasing attributes that are at maxJared Adams1-6/+54
2009-11-05Fix attack atribute display at start in StatusWindow (eA)Andrei Karas1-2/+2
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-1/+11
2009-10-03Fix text string typoKess Vargavind1-1/+1
2009-10-03Still update attrs for eAthena when increase failsJared Adams1-3/+6
Corrisponding change in eAthena made too.
2009-09-30Merge login state machines for both clientsJared Adams1-1/+1
Also do some cleanup and refactoring of related code.
2009-08-07Gettext fixesKess Vargavind1-1/+2
Trying to use the same kind of capitalization and interpunctuation for various parts of the gui, melding a few split strings, updating POTFILES.in and adding translators' notes.
2009-07-27Makes mX and mY in the being class privateChuck Miller1-6/+5
2009-07-26Gettext fixesKess Vargavind1-2/+2
And a Swedish translation of the desktop file.
2009-07-24Remove an ifdef in StatusWindow and update MP moreJared Adams1-4/+11
Also make MiniStatus only update the bars when needed (called by StatusWindow).
2009-07-23Clear some more support ifdefsJared Adams1-2/+2
2009-07-19Merge StatusWindowsJared Adams1-19/+24
Also some other small merges
2009-07-19Fixes raising player attributesChuck Miller1-1/+1
2009-07-15Merge and cleanup attribute codeJared Adams1-101/+128
2009-07-14Merge and cleanup more stuffJared Adams1-2/+2
2009-07-13Rename Net::SkillHandler to Net::SpecialHandlerJared Adams1-0/+9
SkillHandler::up moved to PlayerHandler::increaseSkill
2009-07-08Have both builds use the same SkillDialogJared Adams1-3/+1
2009-07-06Merge some player statsJared Adams1-3/+3
2009-06-07Let athena dictate the walking speed of beings.Dennis Friis1-3/+1
This seems to have the added bones of mobs no longer being so much out of sync when you attack them. Also adds support for GM command @speed.
2009-05-21Fixed a few strings for better translationKess Vargavind1-3/+3
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings
2009-05-18Added target combatDavid Athay1-2/+2
2009-05-13Add GM notification handlingJared Adams1-0/+1
2009-05-12Remove methods from LocalPlayer that just call NetJared Adams1-1/+1
And make a few others like that, and remove them too.
2009-05-01Merge the NPC dialogs into oneJared Adams1-12/+0
Also add support for the new TMWServ NPC packets
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-2/+2
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-27Moved special coordinates packing into MessageOutBjørn Lindeijer1-3/+1
Is a better place. The reading part was already in MessageIn.
2009-04-22Some string fixesKess Vargavind1-1/+1
2009-04-18Make sure every eAthena packet has a #defineJared Adams1-6/+14
2009-04-15Some PopupMenu cleanups/fixes and additions.Tametomo1-0/+1
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-06Add support for changing direction under eAthenaJared Adams1-1/+3
2009-04-06Add TMWServ's SkillHandlerJared Adams1-1/+5
Also namespace both Player- and TradeHandlers