summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-28Added some tolerance on the tA being position message.Yohann Ferreira1-1/+11
Also made the destination equal to the desired position in that case since it's what the tA server expects. This fixes monsters going to strange destinations while fighting them, and makes it all much smoother.
2011-03-17Fixed pick up using keyboard for both servers.Yohann Ferreira2-22/+32
The character picks up one item at a time (to remain kinda realistic) and turns to the item picked up.
2011-03-17Fixed wrong comments in and optimize findTilePath() a bit.Yohann Ferreira1-13/+3
2011-03-17Fix actor and floor items offsets on tA.Yohann Ferreira2-4/+2
The code was simplified a bit, too.
2011-03-17Simplified the get/setAttackRange() functions as requested.Yohann Ferreira5-35/+19
The attack range is still hardcoded for Manaserv as long as generic equipment handling hasn't been implemented.
2011-03-17Fixed the Being::logic() once again as pointed out by Thorbjorn.Yohann Ferreira1-3/+3
Luckily or not, the code did the intended without even being right. :)
2011-03-17Handle ta move and position message in a more generic way.Yohann Ferreira1-86/+47
This avoids code duplication.
2011-03-17Now the client centers the pixel positions when using tA.Yohann Ferreira7-14/+111
I made it so that the behaviour can be changed with only a boolean setting in the playerhandler.
2011-03-16Fixed the bug with remote player movement animation,Yohann Ferreira2-8/+10
by removing a now useless reset in the beinghandler. Also added checks for flawed directions.
2011-03-16Fixed the attack range handling for both servers.Yohann Ferreira4-22/+62
The attack range is always the default for manaserv, as proper equipment handling is to be added. Anyway, now the proper attack range is handled in tmwAthena and is always set a proper minimum for both protocols.
2011-03-15Adapted the Being::logic() to handle very slow beings.Yohann Ferreira1-4/+6
This fixes the bug about monsters direction not being updated. The good news is that the bug was also present for Manaserv and is now corrected. I also moved back the ActorSprite::logic() call at its initial place.
2011-03-15Made the tA Beinghandler avoid dealing with flawed coordinates.Yohann Ferreira2-54/+84
Also fixed again a condition in Being::logic(). I'll beautify the code in tmwAthena:Beinghandler once everything will be working better. Note: I also suspect current clients to flood the server with keyboard messages, hence blocking the animation when they are remote. I'll need to test that with someone having the same client than here..
2011-03-15Fixed a small condition.Yohann Ferreira1-1/+1
Should be invisible on behaviour change.
2011-03-15Add a tolerance check on current position to limit desyncs.Yohann Ferreira2-15/+42
Also removed dead code.
2011-03-15Reset destination to position at warp time for TmwAthena.Yohann Ferreira1-2/+5
This fix the following bug: When changing map, the local player sometimes walks randomly until the player reacts.
2011-03-15Simplify the tmwAthena calculation of the pixel/tick speed.Yohann Ferreira1-11/+3
2011-03-15Basically merged the two movement algorithms into one.Yohann Ferreira19-648/+377
This was made in favour of the manaserv way of doing things. I also added a way to keep the original server speed value so the pixel value can be recomputed at each map change, as this was necessary since the speed is given before the first map is loaded. The code is much more simpler now about movement handling, and we can already see improvements on other characters movements in The Mana World with this. Everything can't be perfect the first time; here are bugs identified so far: - Monsters direction isn't updated on TmwAthena for obscure reasons. - Remote players walking animation is sometimes reset on each steps. - When changing map, the local player sometimes walks randomly until the player reacts. Stay tuned!
2011-03-10Fix the pathfinding method to acccept every walkmasks.Yohann Ferreira1-1/+1
Previously, the walkmask was hardcoded to handling walls. Trivial.
2011-03-10Wrap the open and closed list members in path finding.Yohann Ferreira2-12/+25
This prevent some weird things happening in path finding when playing for a very long time. Reviewed-by: Thorbjorn.
2011-03-08Added a tab scrolling system in tabarea.Yohann Ferreira2-1/+189
Currently working on the chat window. Resolves: Mana-Mantis #308. Reviewed-by: Thorbjorn.
2011-03-04Empty std::string don't need to be constructed from ""Thorbjørn Lindeijer1-3/+3
2011-02-23Updating of filename manaserv_protocol.h in C::BStefan Dombrowski1-1/+1
2011-02-21Merge branch '0.5'Thorbjørn Lindeijer9-23/+93
Translation file updates ignored. Conflicts: src/client.cpp src/commandhandler.cpp src/gui/popupmenu.cpp src/localplayer.cpp
2011-02-21Renamed local data directory back to just "mana"Thorbjørn Lindeijer1-7/+8
This name represents the name of the client software, not the branding it received. Cleaned up the rest of the code a bit. Reviewed-by: Jared Adams
2011-02-21Updated mana.filesThorbjørn Lindeijer1-569/+569
2011-02-21Use 'git ls-files' for updating the Qt Creator project list of filesThorbjørn Lindeijer1-8/+6
Conveniently avoids including any generated files in the list.
2011-02-21Fixing segmentation fault in chathandlerStefan Dombrowski1-5/+7
Reviewed-by: Jaxad0127, Thorbjorn
2011-02-20Renamed default branding package from mana to manasource.Yohann Ferreira1-5/+5
Resolves: Mana-mantis #236. Reviewed-by: Mpa4Hu.
2011-02-20make update-po.Yohann Ferreira15-43004/+43840
Was needed and done on Alastrim righteous request. Trivial.
2011-02-20Add support for CSV map dataJared Adams1-1/+34
Reviewed-by: Freeyorp
2011-02-19Reorder store option to the top, so it is more useful.Ben Longbons1-5/+5
2011-02-19Showing amount of picked up items in particle notificationStefan Dombrowski1-1/+5
2011-02-19Minor code formatting and fixed a comment.Yohann Ferreira1-2/+4
Trivial fix.
2011-02-17Specific messages for each pickup failure reason.Ben Longbons3-9/+39
Reviewed-by: Jaxad0127
2011-02-17Add particle notification for "Unable to pick up item."Ben Longbons1-0/+6
2011-02-16Fixing query command handlingStefan Dombrowski1-1/+15
Tab completion puts quotes around nicks. The query command now removes the quotes. Also avoiding the opening of a tab if no nick was given. Reviewed-by: Freeyorp
2011-02-15Fix compilation on Haiku and set config and data paths for it.DarkWind5-3/+15
2011-02-14Set the toolchain windres binary, and add an example path to mingw32.Yohann Ferreira1-0/+5
2011-02-14Add a note about the nsis plugin to install and where to install it in most ↵Yohann Ferreira1-1/+9
cases for Linux. Added also a missing newline at file ending.
2011-02-10Add support for CSV map dataJared Adams1-1/+34
Reviewed-by: Freeyorp
2011-02-10Merge branch '0.5'Stefan Dombrowski1-2/+2
2011-02-10Add support for zlib map layer compression.Andrei Karas1-2/+2
Reviewed-by: Bertram
2011-02-07Removed remaining reference to MANASERV_SUPPORT define switchPhilipp Sehmisch1-4/+1
Also added an error message should a server ever need another protocol.
2011-02-01Enable manaserv by default nowThorbjørn Lindeijer1-1/+1
2011-02-01Merge branch '0.5'Thorbjørn Lindeijer18-5748/+926
Conflicts: po/de.po src/game.cpp src/resources/wallpaper.cpp
2011-02-01Make it clear that our current sha256 code is GPLv2 onlyThorbjørn Lindeijer1-3/+2
Due to taking the version from InspIRCd, our version of the file is stuck on GPLv2 and can't legally be released as "GPLv2 or later". Fix the license header accordingly. We should probably consider replacing this code once again. Reviewed-by: Patrick Matthäi
2011-01-28Fix Windows build of the 0.5 version.Yohann Ferreira1-2/+2
The rc and specialfolders files where included with the manaserv specific files.
2011-01-27Made the windows app able to load .ico files at runtime.Yohann Ferreira2-6/+18
Now the icon extension is computed against the os, except for mac where the behaviour is left untouched. This means that the 'icons/mana' appIcon branding parameter will now load icons/mana.png files for unices, and icons/mana.ico for Windows. Reviewed-by: Trapdoor. Resolves: Mana-Mantis: #135.
2011-01-27Fix the wallpapers loading broken logic.Yohann Ferreira1-6/+10
Trivial.
2011-01-27Made the windows app able to load .ico files at runtime.Yohann Ferreira1-5/+17
Now the icon extension is computed against the os. This means that the 'icons/mana' appIcon branding parameter will now load icons/mana.png files for unices and mac, and icons/mana.ico for Windows. Reviewed-by: Trapdoor. Resolves: Mana-Mantis: #135.