summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-28Fix memory leak in last patch.Andrei Karas1-0/+1
Reviewed-by: Bertram
2010-05-27Fix drawing incorrect utf8 strings issue.Andrei Karas3-3/+21
Reviewed-by: Bertram Resolve: Manasource Mantis #143
2010-05-27Basically rewrote a big part of the dyecmd tool.Yohann Ferreira5-115/+144
The tool should be fine now, but some testing on mac would be appreciated. Mainly removed all the program exits using exception, try catch, etc... I found them rather irrelevant, creating memleaks, while not returning information about the error in some case. Reviewed-by: Jaxad0127
2010-05-27Added Cmake compilation files to the dyecmd tool.Yohann Ferreira2-0/+87
Reviewed-by: Jaxad0127
2010-05-27Fixed the dyecmd tool.Yohann Ferreira1-5/+7
The bug was quite nasty to catch: The RGBA channels were inversed when writing the image, even if the code parts taken from the Mana Client were exactly copy/pasted. This was due to the fact that the client does an Image::load() call after recoloring which call SDL_displaySurface() that reverse the pixel order. I reversed then the recolored image pixel output to get back the right color for the image writer. Reviewed-by: Jaxad0127
2010-05-22Fix handling of tmwAthena registration disabled bitJared Adams3-8/+9
2010-05-21Fix a crash dealing with rescaled overlays under SDLJared Adams1-0/+1
Reviewed-by: Philipp Sehmisch
2010-05-21Fix some issues found by CppcheckJared Adams5-14/+22
2010-05-21Merge protocol from manaserv about thing types.Yohann Ferreira2-8/+15
Reviewed-by: Jaxad0127 (A few days ago...)
2010-05-13Draw item image in item popups.Andrei Karas4-11/+55
Now draw image only in chat item popup. Reviewed-by: Bertram
2010-05-06Fix reading arrays at index -1.Andrei Karas2-3/+12
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-06Add missing colors.xml to CMakefiles.txt.Hong Hao1-0/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-06Remove hardcoded standard server urlsseeseekey1-5/+3
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-05-06Make the logic for collision tiles more strictThorbjørn Lindeijer1-1/+1
Only recognize the collision tile as colliding, since having everything except the empty non-collision tile collide is confusing. Should also be changed on the server and in the tmwAthena exporter of Tiled. Reviewed-by: Dennis Friis
2010-05-06Fixed some copy/pasted documentationThorbjørn Lindeijer1-3/+3
2010-05-05Fix showing the type of the default serverJared Adams2-1/+3
Reviewed-by: Thorbjørn Lindeijer
2010-05-05Allow start game if update server is down.Andrei Karas1-9/+23
Small code style changes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-04Clear NPC dialogs when the player diesJared Adams6-0/+24
Reviewed-by: Freeyorp
2010-05-04Fix mouse attack (tmwa)Andrei Karas1-4/+2
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-05-03synchronised protocol.h between manaserv, mana and manamobileMaximilian Philipps3-29/+79
2010-05-02Fix cmake builds for OS XBernd Wachter1-0/+2
2010-05-02Add some basic CPack stuffBernd Wachter1-0/+17
2010-04-25Fix resource errors when chaning serversJared Adams2-8/+10
Reviewed-by: Freeyorp
2010-04-25Fix some button issues in SocialWindowJared Adams2-2/+21
The invite and leave buttons are now only enabled when there are tabs. Also, the code to handle them will do nothing if no tab is selected (backup logic). Reviewed-by: Chuck Miller
2010-04-25Make ManaServ player stats softcodedJared Adams10-39/+280
A new stats.xml file is parsed for player stats for ManaServ. The old hardcoded stats remain as backup. Reviewed-by: Bertram
2010-04-25Fix some storage bugsJared Adams2-15/+17
Reviewed-by: Bertram
2010-04-25Fixed the VideoMode listBox logic in the setup window.Bertram1-0/+34
Reviewed by: Jaxad0127
2010-04-23Fixed remoitnane mentioned as "No Name" in the shortlogThorbjørn Lindeijer1-0/+1
2010-04-22Fix keyboard target selection to allow player targetingNo Name2-7/+11
Modifies BeingManager::findNearestLivingBeing() behaviour to exclude an optional being from the search. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-04-23Add documentation for the /away command.Bertram1-5/+21
Reviewed by Jaxad0127
2010-04-21Add a clear button to the NPC dialogJared Adams4-16/+73
Reviewed-by: Bertram
2010-04-19Add afk mode for player.Andrei Karas8-1/+115
Add variable cur_time for current time. Add command /away [text] Reviewed by: Bertram
2010-04-19Fix two skill failed constantsJared Adams1-2/+2
See tmwAthena's skill.c lines 7628 and 7633. Reviewed-by: Chuck Miller
2010-04-17Changed an EATHENA remaining reference to TMWATHENA.Bertram1-1/+1
Latest two patches reviewed by Jaxad0127.
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram60-493/+496
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-16Remove an unneeded monster job offset in eAthena netcodeJared Adams2-8/+4
2010-04-16Fix canceling game connectionJared Adams8-14/+46
Reviewed-by: Bertram
2010-04-16Add race support for eAthenaJared Adams15-84/+129
The job/class field is used to select the race. If the given race isn't defined, it falls back on the first race (so servers can use jobs/classes without races). Also rename job to subtype for Being and subclasses, and begin support for changing monster and NPC subtypes on the fly (particle effects still need to be reset when they change). Reviewed-by: Bertram
2010-04-12Fix error in server list download when download has problemsJared Adams1-2/+5
2010-04-12Fix canceling game connect leaving no characters to selectJared Adams1-1/+1
2010-04-12Completely ignore eAthena job 45Jared Adams2-3/+9
These are warps. Reviewed-by: Bertram
2010-04-12Reviewed the LocalPlayer::nextTile() function. The ManaServ movement system ↵Bertram4-135/+356
is functional!! Introduced LocalPlayer::getNextWalkPosition(unsigned char dir) which takes care about the player next position while moving using keyboard. I removed the pixel scaler thing because it couldn't handle all the noticed cases and was rather heavy. There is still a bug in the movement system (nothing's perfect) but it's very rare and this is here in eAthena, too. So, I'll give a try at taking care of it once I'll have polished all of this a bit. Please try and give feedback!!
2010-04-12Added the player collision rectangle and tweaked colorsBertram3-5/+27
2010-04-12Forgot to remove Being::checkNodeOffset() function.Bertram3-82/+15
2010-04-12Added a more trusty path debug view for ManaServ.Bertram2-15/+58
2010-04-12Move path finding related code to the Map class and small fixes.Bertram3-48/+162
It permits two things: 1. It simplifies and demystifies Being::SetDestination() code. 2. It will permit to show the *real* calulated path when using the drawDebugPath feature for ManaServ.
2010-04-12One step closer to the full movement system ready.Bertram2-46/+134
The LocalPlayer::nextTile() function has been sanitized and the movement system has been fine tuned, but yet not optimized. (Optimizations and riddance of 32 hard-coded value will come later.) There is just one case left not handled correctly when the character walked within one tile south-east of a blocking one and then the player click north-west (through the blocking tile) on a walkable location. Quite rare but still here.
2010-04-12Finished Being::checkNodeOffsets function.Bertram1-8/+28
2010-04-12Add support for map-server switching under eAthenaJared Adams15-39/+109
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-04-11Fix one crash when switching serversJared Adams1-3/+3
Reviewed-by: Freeyorp