summaryrefslogtreecommitdiff
path: root/src/net/manaserv
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29Made the client load the skills.xml again.Yohann Ferreira1-1/+1
This, instead of the protocol specific filenames that are mana-skills.xml and ea-skills.xml. This is backward compatible as the old skills.xml file was once used before the 0.0.29.1 release which is the last alive from the 0.0.x serie. The skills.xml will have to added to world data to make this working, though. (Done in another patch.)
2010-08-26Fixing segmentation fault when creating a new accountStefan Dombrowski1-0/+2
This resolves http://bugs.manasource.org/view.php?id=171 Reviewed-by: Bertram.
2010-08-13Add code to change gameservers to manaserv netcodeJared Adams2-6/+21
Reviewed-by: Freeyorp
2010-08-04Changed the stats.xml to attributes.xml according to the server commit.Yohann Ferreira2-6/+10
Also, fixed a compilation warning about passing a NULL value to a boolean parameter. The built-ins are kept for now. Reviewed-by: Jaxad0127.
2010-08-03Fix enet version checkJared Adams2-0/+8
Tested-by: BaseBallBoy
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira2-2/+6
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-06-06Softcode the stat for character creation for manaservJared Adams4-18/+27
Reviewed-by: Thorbjørn Lindeijer
2010-05-21Merge protocol from manaserv about thing types.Yohann Ferreira2-8/+15
Reviewed-by: Jaxad0127 (A few days ago...)
2010-05-04Clear NPC dialogs when the player diesJared Adams3-0/+12
Reviewed-by: Freeyorp
2010-05-03synchronised protocol.h between manaserv, mana and manamobileMaximilian Philipps3-29/+79
2010-04-25Make ManaServ player stats softcodedJared Adams3-17/+248
A new stats.xml file is parsed for player stats for ManaServ. The old hardcoded stats remain as backup. Reviewed-by: Bertram
2010-04-16Fix canceling game connectionJared Adams4-10/+37
Reviewed-by: Bertram
2010-04-12Add support for map-server switching under eAthenaJared Adams4-9/+26
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-04-09Add support for registration disabled for eAthenaJared Adams2-0/+7
Reviewed-by: Chuck Miller`
2010-04-03Fix a crash after changing serversJared Adams1-1/+2
Reviewed-by: Chuck Miller
2010-04-01Fix crash when trying to talk to NPCs under ManaServ at a distanceJared Adams1-0/+3
Reviewed-by: Chuck Miller
2010-03-30Rename file manaserv netcode looks from from tmw-skills.xml to mana-skills.xmlChuck Miller1-1/+1
2010-03-25Remove the type boolean from InventoryWindowJared Adams2-14/+14
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-02-27No point in calling Viewport::setMap(0) before deleting itThorbjørn Lindeijer1-1/+1
Reviewed-by: Jared Adams
2010-02-27Disable guilds for eAthena for nowJared Adams1-0/+2
Reviewed-by: Thorbjørn Lindeijer
2010-02-24Add more to eAthena guild supportJared Adams3-10/+7
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-22Warn when receiving an empty update hostThorbjørn Lindeijer1-4/+10
Reviewed-by: Jared Adams
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer7-39/+34
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-21Do some more copyright header cleanupsJared Adams2-2/+2
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp47-47/+94
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer47-188/+141
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.