summaryrefslogtreecommitdiff
path: root/src/net/manaserv/charhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-01-29Removed unused includes in various filesThorbjørn Lindeijer1-2/+1
2024-01-29Apply C++11 fixitsThorbjørn Lindeijer1-4/+3
modernize-loop-convert modernize-deprecated-headers
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-7/+7
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2013-04-27Always read the attributes.xml fileThorbjørn Lindeijer1-2/+2
This way it can also be used when connecting to a tmwAthena server for customizing the min/max of attributes and the amount of starting points. Mantis-issue: 501 Reviewed-by: Ablu
2012-05-05Removed the shared base classes of MessageIn and MessageOutThorbjørn Lindeijer1-5/+5
There wasn't a whole lot gained by sharing a common base class, and it makes extending the manaserv Message{In,Out} classes with a debugging mode unnecessarily complicated. Reviewed-by: Yohann Ferreira
2012-02-02Fix to the hair colors and styles handling.Yohann Ferreira1-1/+1
- I made the charCreatedialog handle a possible max permitted color Id and a minimum hair style id for tA. - Added a foundation to later load the styles and colors from the same file, to handle the Mana-issue #224 for manaserv. - Support for non-contiguous hair color and style ids has also been added. - I also replaced the < and > arrow signs with images. Reviewed-by: Ben Longbons, Thorbjørn Lindeijer
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-18ColorDB -> HairDB.Yohann Ferreira1-2/+2
This will ease the reading of the next patch about hair handling at character creation time in tAthena. As requested by bjorn. Reviewed-by: bjorn
2012-01-10player_node -> local_playerYohann Ferreira1-1/+1
Reviewed-by: Ablu
2011-11-01Merge github.com:mana/manaYohann Ferreira1-2/+2
Conflicts: src/localplayer.cpp src/net/manaserv/beinghandler.cpp src/net/manaserv/charhandler.cpp
2011-10-22Officially added the gender in the manaserv protocol.Yohann Ferreira1-2/+2
Reviewed-by: bjorn.
2011-09-28Officially added the gender in the manaserv protocol - client part.Yohann Ferreira1-2/+2
2011-08-19Fixed visible equipment updates, and made it based on equip.xml.Yohann Ferreira1-4/+8
2011-03-30Fixing zombies in char select dialogStefan Dombrowski1-2/+21
How to reproduce the bug: * Delete a character. * Create a new character in another slot. * Now the deleted character reappears. Also fixing handling of error messages from character select response. This resolves http://bugs.manasource.org/view.php?id=322 Reviewed-by: Jaxad0127, VUT
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-12-29Made the client handle the characters slots properly for Manaserv.Yohann Ferreira1-1/+5
Reviewed-by: Crush.
2010-12-15Unlock the char select dialog even if we've got an error.Yohann Ferreira1-1/+1
This permit not to be stuck at character deletion when something goes wrong. Trivial fix.
2010-10-31Fix memory leak of localplayer classes in the charserverhandlerChuck Miller1-1/+1
They are initialized else where in the code Reviewed-by: Jared Adams
2010-09-06Changed CREATE_ATTRIBUTES_EQUAL_TO_ZERO to OUT_OF_RANGEYohann Ferreira1-2/+5
to fit manaserv latest changes. Reviwed-by: Freeyorp, Thorbjorn.
2010-08-26Merged testing branch into master.Yohann Ferreira1-8/+16
2010-07-17Modify how attributes and stats are handledChuck Miller1-5/+6
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
2010-06-13Merge remote branch '1.0/1.0'Jared Adams1-15/+6
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-06Softcode the stat for character creation for manaservJared Adams1-15/+6
Reviewed-by: Thorbjørn Lindeijer
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer1-3/+3
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-3/+3
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-05-03synchronised protocol.h between manaserv, mana and manamobileMaximilian Philipps1-3/+3
2010-04-16Fix canceling game connectionJared Adams1-6/+14
Reviewed-by: Bertram
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-5/+4
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-19Fixed a crash when trying to switch serversThorbjørn Lindeijer1-169/+136
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-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-24Remove some more _SUPPORT ifdefsJared Adams1-2/+17
2010-01-13Supress level up notifications when startingJared Adams1-2/+2
2010-01-12Standardize header orderJared Adams1-10/+10
Also remove some extra new lines and fix eAthena's PartyTab define guards.
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-1/+4
2009-11-03Simplify ManaServ netcode some moreJared Adams1-15/+26
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-10/+9
2009-10-30Support switching characters under eAthenaJared Adams1-0/+5
2009-10-24REplace instances of TMW with ManaJared Adams1-0/+385