summaryrefslogtreecommitdiff
path: root/src/net/ea
AgeCommit message (Collapse)AuthorFilesLines
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer44-176/+132
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer4-96/+83
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-14Initialize dialog variable to avoid compiler warningThorbjørn Lindeijer1-4/+2
Compiler warning seems unjustified, but the code could make this more clear.
2010-02-14Force client to exit on detecting a zero length packet. The currentTametomo1-0/+3
networking code will get stuck in an infinite loop currently if it tries to handle these, and the packet id isn't helpful in identifying what packet it is. Since this specific case creates a rabbit, and will flood logger with unhandled messages until the hard drive is completely filled, it's a lot more friendly to force a client exit on detection than to continue. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Make NPC dialogs instance instead of globalJared Adams5-68/+86
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.Bertram3-6/+10
This is the First step to get rid of most hardcoded 32 values.
2010-02-08Move party creation command from eA's PartyTab to CommandHandlerJared Adams2-10/+12
Also fix party invite by name when you aren't in a party.
2010-02-08Fix some bugs in party handling and add HP to AvatarListBoxJared Adams1-1/+6
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams4-54/+74
2010-02-07Updated Copyright year to 2010!Bertram42-42/+42
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 Lindeijer2-22/+19
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 Bradshaw3-4/+10
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-29Block guild creation under eAthena for nowJared Adams1-0/+8
2010-01-27Merge branch 'master' of gitorious.org:mana/manaBertram1-6/+11
2010-01-27Added mutators/accessors to being.h and smal cleanups.Bertram3-18/+18
2010-01-26Fix trade spam in eA.Andrei Karas1-6/+11
2010-01-26Fix a few more _SUPPORT ifdefs and namespace PartyTabJared Adams3-1/+10
2010-01-25Fix a bug when converting strings to server typesJared Adams1-2/+2
2010-01-24Remove some more _SUPPORT ifdefsJared Adams5-43/+85
2010-01-19Fix problems when dying with an NPC dialog openJared Adams1-0/+3
2010-01-13Supress level up notifications when startingJared Adams1-2/+2
2010-01-13Fix the previous commit (about following)BlueSansDouze1-1/+1
2010-01-13Adds a follow manager for usersBlueSansDouze1-2/+23
Right click contextual menu on player "follow" entry Cancel the following by moving with mouse or keys Adds a special behavior for map changes
2010-01-12Standardize header orderJared Adams19-87/+87
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Change code styleAndrei Karas9-37/+55
2010-01-07Chat auto completingAndrei Karas2-0/+7
2010-01-06Prevented a segfault when the client receives a chat message before the GUI ↵Philipp Sehmisch1-1/+3
is initialized.
2009-12-27Item was not shown as equipedStefan Dombrowski1-3/+3
If the first item in the inventory was equiped, then that item was not showen in the equipment window.
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-16Stored the cached config value which says if non-crucial particle effects ↵Philipp Sehmisch2-0/+19
are enabled or not in a static member of class Particle instead of an instanced member of Being.
2009-12-08Fix handling of an enum switchJared Adams1-2/+1
Removes warnings on older compilers.
2009-12-07Fix bugs in eAthena's equipment handlingJared Adams2-8/+23
Do a bit of cleanup too.
2009-12-07Simplify Equipment handlingJared Adams6-289/+162
Also merge eAthena's EquipmentHandler and InventoryHander. Fixes http://mantis.themanaworld.org/view.php?id=888 .
2009-12-05Removed a few superfluous semicolonsThorbjørn Lindeijer1-1/+1
2009-12-04Remove password length info for manaservJared Adams1-0/+2
Also fix defaults.
2009-12-04Register credentials information serviceJared Adams2-0/+8
2009-12-04Using the updatehost that was given by EAthenaStefan Dombrowski1-0/+1
This is a patch for http://mantis.themanaworld.org/view.php?id=970
2009-12-02Centralize netcode handler instances in NetJared Adams13-18/+15
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-12-02Simplify PartyMember by moving fields into AvatarJared Adams2-2/+2
2009-11-26Fix memory alignment on little endian systemsBernd Wachter2-6/+6
2009-11-24Fix increasing attributes that are at maxJared Adams1-6/+54
2009-11-14Fix display of non-existing items in storage windowStefan Dombrowski1-10/+2
If there are only equipable items in the storage, then the server does not send a SMSG_PLAYER_STORAGE_ITEMS message. In that case the storage did not get cleared.
2009-11-13Copy ints by memcpy to avoid segfaults on sparcBernd Wachter2-4/+10
2009-11-07More eAthena guild stuffJared Adams5-27/+79
Also some related chenges elsewhere
2009-11-05Fix attack atribute display at start in StatusWindow (eA)Andrei Karas1-2/+2
2009-11-03Move ManaServ guild code into GuildHandlerJared Adams3-0/+271
Ad start eAthena's GuildHandler
2009-11-03Remove two unneeded methods of Net::GeneralHandlerJared Adams2-15/+0
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams40-68/+530