summaryrefslogtreecommitdiff
path: root/src/net/manaserv
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Merge github.com:mana/manaYohann Ferreira2-5/+3
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 Ferreira3-4/+14
Reviewed-by: bjorn.
2011-09-30Revert "Made the first XP notification don't show anymore."Yohann Ferreira1-7/+1
This reverts commit 06fff57500242c37890459ceffdfff2bdf19f6d6. At least I tried :) I'd like to have a clear discussion about how we could initialize the skill and attributes values, without spamming the user.
2011-09-29Made the first XP notification don't show anymore.Yohann Ferreira1-1/+7
Resolves: Mana-Mantis #158.
2011-09-28Forgot to update the db version number in the client protocol file.Yohann Ferreira1-1/+1
2011-09-28Officially added the gender in the manaserv protocol - client part.Yohann Ferreira3-4/+16
2011-09-13Made the delay between to keyboard move calls functional.Yohann Ferreira2-0/+10
It has been fixed and be made adapted to the being movement speed. Now, for instance, the client sends 3x times less move calls to the tA server, and roughly 20x times for the Manaserv's one. Resolves: Mana-Mantis #346. Reviewed-by: o11c.
2011-08-30Fixed a memleak in the ManaServ::InventoryHandler()Yohann Ferreira2-0/+7
2011-08-30Added a way to specify where the equipment boxes will display.Yohann Ferreira2-8/+40
A <box> sub tag was added to the <slot> tag with a x and y parameter to do so.
2011-08-30Synced the manaserv protocol file with the server's latest changes.Yohann Ferreira1-1/+4
2011-08-19Merge git://gitorious.org/~bertram/mana/mana-equipment-fix into equipment-fixYohann Ferreira6-129/+275
2011-08-19Fixed visible equipment updates, and made it based on equip.xml.Yohann Ferreira6-46/+87
2011-08-18Made the equipment window not use server specific code again.Yohann Ferreira1-0/+3
I also made the number of slots displayed taken from the equip.xml file for manaserv.
2011-08-18Made the client able to successfully equip/unequip!Yohann Ferreira3-86/+188
2011-08-11Merge branch 'master' of ↵Yohann Ferreira3-61/+108
git://gitorious.org/~bertram/mana/mana-equipment-fix into equipment-fix
2011-08-11Made the delay between to keyboard move calls functional.Yohann Ferreira2-0/+10
It has been fixed and be made adapted to the being movement speed. Now, for instance, the client sends 3x times less move calls to the tA server, and roughly 20x times for the Manaserv's one. Resolves: Mana-Mantis #346.
2011-08-11Adapted the client to the latest server changes.Yohann Ferreira3-45/+91
There are two bugs left I'll take care about in the near future: - Items dealing with more than one slot capacity are only showing on the first equip slot. - The unequip button doesn't get updated when clicking on the equipped item. A client design limitation known: - The client still don't handle correctly items applied on more than one item type at equip time.
2011-08-10Client logs in with salted password now.Stefan Beller3-2/+30
The password is salted by a random number sent by server. Reviewed by Bertram.
2011-07-27Followed server protocol changes.Yohann Ferreira2-22/+23
Also documented a TODO.
2011-06-22Merge branch 'master' of gitorious.org:~bertram/mana/mana-any-square-tile-sizeYohann Ferreira1-3/+2
2011-06-22Applied fixes requested by cody.Yohann Ferreira1-5/+3
- Made the map teleport distance fixed for manaserv. - Small cleanups. The branch is considered reviewed by: Cody. Resolves Mana-Mantis: #74.
2011-06-19Making party invite functionalStefan Dombrowski2-34/+54
Reviewed-by: Bjorn
2011-06-17First pass on removing tile hard coded values.Yohann Ferreira1-5/+6
Every files has been checked against the hard coded 32 values except the map.cpp file. I also added convenience functions in the Game class, centralized the default item icon size, and removed two unused defines in being.cpp.
2011-06-17Made the client officially handle attack ids.Yohann Ferreira2-3/+3
It already was, but now the the api is clear about it. Client part of the mana issue: #363. Reviewed-by: Bjorn.
2011-06-16Remove useless ping packetBen Longbons2-7/+0
The comment in game.cpp about the server waiting for this is a lie. Reviewed-by: Bertram.
2011-06-03Replace SDL_types.h with cstdintJared Adams8-20/+20
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2011-06-03Cleanup network code to use unsigned integers of the relevant sizeBen Longbons4-12/+12
2011-06-02Arbitrary code cleanupsThorbjørn Lindeijer1-1/+1
Just some stuff that piles up while "looking" at the code, which eventually gets annoying to ignore while staging real changes. * Replaced a few NULL occurrences with 0 * Rely on default parameter for std::vector::resize. * Replaced a few "" with std::string() * Prefer .empty() to == "" * Removed a few comparisons with NULL * Don't check pointers before deleting them * Removed a bunch of redundant semicolons * Made some global variables static (local to their compilation unit) * Prefer prefix ++/-- operators to postfix versions when possible * Corrected location of a comment
2011-06-02Some work on the manaserv equipment backendThorbjørn Lindeijer2-35/+166
Currently the same equipment window is used as for tmwAthena so that at least something is visible. This means the location of equipped items is currently illogical. It is now possible to equip and unequip items. Mantis-issue: 164 Reviewed-by: Stefan Dombrowski
2011-05-30Routing party invite through the map serverStefan Dombrowski2-5/+17
The player sends party invites to the game server. If the invitee is within the visual range of the inviter, then the game server forwards the invite to the chat server. Reviewed-by: Bjorn, Jaxad0127
2011-05-15Starting to fix party inviteStefan Dombrowski2-8/+16
2011-05-01Fixing checking of being positions send by the serverStefan Dombrowski1-6/+6
Reviewed-by: thorbjorn
2011-05-01Checking being positions send by the serverStefan Dombrowski1-0/+26
Reviewed-by: Bertram
2011-04-30Merge branch '0.5'Yohann Ferreira1-1/+1
Conflicts: CMakeLists.txt po/fi.po po/fr.po src/gui/skilldialog.cpp src/localplayer.cpp src/net/manaserv/generalhandler.cpp src/net/tmwa/buysellhandler.cpp src/net/tmwa/generalhandler.cpp src/net/tmwa/playerhandler.cpp src/net/tmwa/specialhandler.cpp src/winver.h
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.)
2011-04-27Avoiding compiler warnings about possible uninitialized variablesStefan Dombrowski1-1/+1
Reviewed-by: Bertram
2011-04-26Made the client use a unique kind of movement code.Yohann Ferreira6-65/+40
This is fixng many issues and (hopefully) will make the movement rendering much smoother. Merge branch 'master' of gitorious.org:~bertram/mana/mana-movement-code-merge Conflicts: src/being.cpp src/net/manaserv/beinghandler.cpp Resolves: TMW-Mantis #946. Reviewed-by: Thorbjorn.
2011-04-18Added a client-side position tolerance check.Yohann Ferreira2-10/+26
This is based on the information given by the server which now permit resyncs when necessary. Reviewed-by: Thorbjorn.
2011-04-16Removed ENet version checks since only 1.3 should be used anywayThorbjørn Lindeijer3-14/+0
Reviewed-by: Stefan Dombrowski
2011-04-16Removing unused enum EMAILCHG_EXISTS_EMAILStefan Dombrowski1-5/+0
The protocol uses ERRMSG_EMAIL_ALREADY_EXISTS instead. Reviewed-by: Jaxad0127
2011-04-16Post-review fixes.Yohann Ferreira1-3/+0
- Removed unnecessary comments - Removed a useless contains() check in getTileCenter() - Fix the above function documentation - Don't permit FloorItem to be created without a map object. Reviewed-by: Thorbjorn Lindeijer.
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer2-9/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer3-5/+5
Makes it clear what kind of listener it is, since there are other listener classes as well. Acked-by: Jared Adams
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer7-62/+62
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2011-04-09Moved Channels to Mana::Event::ChannelThorbjørn Lindeijer7-29/+29
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer5-28/+29
Acked-by: Jared Adams
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
2011-03-29Made the flooritems position set back in pixels.Yohann Ferreira1-17/+1
The position is centered to the nearest tile center in tA.
2011-03-28Random code cleanups requested righteously by Thorbjorn - part 1.Yohann Ferreira2-10/+11
- Fixed bogus documentation. - Fixed Vector parameters to const Vector& where releavant. - Removed a false comment. - Removed superfluous headers in src/net/tmwa/beinghandler.h. - Optimize a bit the tmwa::beingHandler::getPixelsPerTickMoveSpeed() function.
2011-03-17Simplified the get/setAttackRange() functions as requested.Yohann Ferreira1-1/+2
The attack range is still hardcoded for Manaserv as long as generic equipment handling hasn't been implemented.