summaryrefslogtreecommitdiff
path: root/src/net/manaserv
AgeCommit message (Collapse)AuthorFilesLines
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer9-216/+192
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 Adams4-76/+65
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/+1
Mantis-issue: 938 (TMW Mantis)
2010-02-09Got successfully rid of tile width/height fallback values as asked by Jaxad.Bertram2-11/+8
But I added some logs when speed and other actions where refused due to game/map uninitialized. This could help.
2010-02-09Pushed away some 32 hardcoded values.Bertram1-1/+21
2010-02-09Separated fallback defaults for tile width and height.Bertram2-9/+12
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram4-6/+33
This is the First step to get rid of most hardcoded 32 values.
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams5-32/+33
2010-02-07Updated Copyright year to 2010!Bertram47-47/+47
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-7/+7
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-02-05Fixed the low framerate problem by not waiting for network eventsThorbjørn Lindeijer1-6/+2
The enet service loop was waiting up to 10ms for a new network packet to come in. There is no need for this, so just remove it. Raised the framerate from about 60 to over 200 fps for me.
2010-02-03Factorized speed translation from tile per seconds to pixels per ticks.Bertram3-8/+24
2010-02-01Reduced CPU consumption by setting speed per ticks value only once.Bertram2-5/+17
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-24Remove some more _SUPPORT ifdefsJared Adams5-6/+42
2010-01-13Supress level up notifications when startingJared Adams1-2/+2
2010-01-12Standardize header orderJared Adams20-91/+91
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2010-01-10Remove some support ifdefsJared Adams2-2/+5
2010-01-10Change code styleAndrei Karas8-43/+54
2009-12-22Rename tmw-skills.xml to mana-skills.xmlThorbjørn Lindeijer1-1/+1
Should eventually just be skills.xml, but we can't do that at the moment due to sharing the client data repository between different server types.
2009-12-08Fix handling of an enum switchJared Adams1-2/+1
Removes warnings on older compilers.
2009-12-07Simplify Equipment handlingJared Adams2-2/+44
Also merge eAthena's EquipmentHandler and InventoryHander. Fixes http://mantis.themanaworld.org/view.php?id=888 .
2009-12-05Syncronize registration info with ManaServJared Adams2-5/+3
2009-12-04Remove password length info for manaservJared Adams2-18/+2
Also fix defaults.
2009-12-04Moved password hashing during registration to the clientPhilipp Sehmisch1-4/+2
2009-12-04Register credentials information serviceJared Adams3-4/+78
2009-12-02Centralize netcode handler instances in NetJared Adams13-14/+13
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-30Updating codeblocks project and removing unused define - Patch by Stefan ↵Philipp Sehmisch1-4/+0
Dombrowski <stefan@uni-bonn.de>
2009-11-21Remove another support ifdefJared Adams1-0/+5
2009-11-07More eAthena guild stuffJared Adams4-35/+46
Also some related chenges elsewhere
2009-11-03Move ManaServ guild code into GuildHandlerJared Adams4-171/+114
Ad start eAthena's GuildHandler
2009-11-03Remove two unneeded methods of Net::GeneralHandlerJared Adams2-15/+0
2009-11-03Fix switching characters under ManaServJared Adams5-8/+31
2009-11-03Simplify ManaServ netcode some moreJared Adams34-1074/+214
2009-11-03Fix potential infinite recursionJared Adams3-4/+4
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams65-396/+758
2009-11-02Got rid of GameHandler::clearThorbjørn Lindeijer1-5/+0
It was just forwarding to disconnect().
2009-10-30Support switching characters under eAthenaJared Adams2-0/+7
2009-10-29Second round of fine tuning for keyboard movement.Bertram1-5/+11
I just discovered that the X,Y offsets aren't handled the same way between eAthena and Manaserv to draw the player's character. So, this patch hopefully fix the walk on water bug. There are some glitches left: - Like walking diagonally to a blocked corner. - Or Some times the character miss a blocked tile and correct its route. - The character's name is drawn in the wrong place for Manaserv client. - The playerBox draws the player at the wrong location; He's not centered at login and isn't diplayed at all in equipment window... But anyway, it's better than before. I'll go on for some polishing before continuing. Some cleanups are becoming vital for code's understanding.
2009-10-26Fixed loading of skill database on ManaServ (quick hotfix, needs to be ↵Philipp Sehmisch1-1/+1
rebranded)
2009-10-24Basically finish rebrandingJared Adams1-1/+1
2009-10-24REplace instances of TMW with ManaJared Adams61-0/+6674