summaryrefslogtreecommitdiff
path: root/src/net/manaserv
AgeCommit message (Collapse)AuthorFilesLines
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-10-19Heavy GUI fixes related to stats for Manaserv.Yohann Ferreira3-21/+114
Also tested to be compatible with tA. Now the Status window is much more nicer when using Manaserv. HP, max hp, ... are now working fine along with corrections made in the attributes.xml file (in next commit.) Reviewed-by: Thorbjorn.
2010-09-18Fixed attribute built-ins display at character's creation.Yohann Ferreira1-10/+21
Reviewed-by: Thorbjorn. Resolves: Mana-Mantis #229.
2010-09-19Fix a typo.Freeyorp1-1/+1
Trivial fix.
2010-09-13Fix loading of manaserv's attributes fileJared Adams1-6/+9
Reviewed-by: Bertram
2010-09-06Changed CREATE_ATTRIBUTES_EQUAL_TO_ZERO to OUT_OF_RANGEYohann Ferreira2-3/+6
to fit manaserv latest changes. Reviwed-by: Freeyorp, Thorbjorn.
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-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-26Merged testing branch into master.Yohann Ferreira10-311/+463
2010-08-16Move more to the event systemJared Adams2-90/+85
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
2010-08-15Merge branch '1.0'Chuck Miller4-12/+31
Conflicts: mana.cbp mana.files src/CMakeLists.txt src/Makefile.am src/utils/xml.cpp
2010-08-13Add code to change gameservers to manaserv netcodeJared Adams2-6/+21
Reviewed-by: Freeyorp
2010-08-12Simplify working with the event systemJared Adams6-19/+19
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-12Replace most of Net::NpcHandler with eventsJared Adams2-66/+51
Reviewed-by: Chuck Miller
2010-08-10Remove NpcDialog references from netcodeJared Adams3-88/+63
Reviewed-by: Chuck Miller
2010-08-09Fix enet version check *again*Jared Adams3-2/+8
Reviewed-by: Chuck Miller
2010-08-08Do proper checks on the ENet versionThorbjørn Lindeijer2-2/+2
The previous check broke compilation against ENet 1.2.2, which does define the version macros but does not have the API changes.
2010-08-05Have Being manage speech creation and add permissions to eventsJared Adams1-1/+4
The Being and Player Chat events now have the precomuted permissions for SPEECH_LOG and SPEECH_FLOAT. The Being class now acts on those events to show speech (if SPEECH_FLOAT is present). ChatWindow now checks for the SPEECH_LOG permission. Reviewed-by: Freeyorp
2010-08-04Remove some unused headers and fix some chat eventsJared Adams5-11/+5
Reviewed-by: Chuck Miller
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-08-02Fix enet version checkJared Adams2-10/+6
Tested-by: BaseBallBoy
2010-08-02Add support for enet 1.3Jared Adams2-0/+12
Reviewed-by: Yohann Ferreira
2010-08-02Convert most of the remaining chat system to use the event systemChuck Miller1-3/+10
Reviewed-by: Jared Adams
2010-08-01Reduce localChatTab presence replacing it with the event systemChuck Miller1-6/+7
Reviewed-By: Jared Adams
2010-07-30Fixed weapon animations for manaserv.Yohann Ferreira1-1/+1
The beinghandler didn't tell to the being::setSprite() function if the equipment was a weapon or not. Resolves: Manasource-Mantis #157. Reviewed-by: Jaxad0127.
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+2
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-19Merge branch '1.0'Yohann Ferreira2-2/+6
Conflicts: src/gui/itempopup.cpp src/item.cpp src/monster.cpp src/net/manaserv/playerhandler.cpp src/net/tmwa/partyhandler.cpp src/npc.cpp src/player.cpp src/resources/itemdb.cpp src/resources/monsterdb.cpp src/resources/monsterinfo.cpp src/resources/npcdb.cpp src/resources/spritedef.cpp
2010-07-18Add event.h to eventmanager.h and listener.h to reduce total number of includesChuck Miller4-4/+0
You'll have to include it anyways 99% of the time
2010-07-18Move the majority of the netcode's server messages to the event systemChuck Miller3-19/+20
There is still a good way to go, but this should get us started Reviewed-by: Jared Adams
2010-07-18Replace some state-related netcode methods with eventsJared Adams4-44/+34
Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller
2010-07-18Move more from LocalPlayer to PlayerInfoJared Adams3-10/+11
Also cleanup PlayerInfo a bit. Reviewed-by: Chuck Miller
2010-07-17Move ManaServ defines into the netcodeChuck Miller2-0/+77
Reviewed-by: Jared Adams
2010-07-17Modify how attributes and stats are handledChuck Miller5-35/+41
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
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-07-10Moved parsing of specials.xml from gui/specialswindow.cpp to separate source ↵Philipp Sehmisch1-1/+0
files. Restored functional recharge bars in specials window. Individual specials are only shown after the server informed the client about their status. Made level label, use button and progress bars optional. Their use is controlled through specials.xml. The special window button is again shown even when the player has no specials. This problem needs to be solved differently now for architecture reasons. Reviewed-by: Jaxad0127
2010-07-08Fix crash in picking up an item that no longer existsremoitnane1-5/+8
Adds ActorSpriteListener to manage ActorSprite destruction as recommended by Jaxad0127. This likewise includes the changes made by Bertram. Reviewed-by: Jaxad0127, Bertram. Resolves: Manasource Mantis #160
2010-06-13Merge remote branch '1.0/1.0'Jared Adams4-18/+27
Conflicts: data/graphics/CMakeLists.txt data/graphics/Makefile.am src/client.cpp
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams7-27/+27
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-06-06Softcode the stat for character creation for manaservJared Adams4-18/+27
Reviewed-by: Thorbjørn Lindeijer
2010-06-01Made the MP bar be shown only if the protocol is using it.Yohann Ferreira1-1/+5
Reviewed-by: Jaxad0127.
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer10-54/+354
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-21Merge protocol from manaserv about thing types.Yohann Ferreira2-8/+15
Reviewed-by: Jaxad0127 (A few days ago...)
2010-05-17Remove Monster, Player, and NPC classesJared Adams10-32/+26
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-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`