summaryrefslogtreecommitdiff
path: root/src/net/beinghandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05Handling gender with an enum everywhere.Philipp Sehmisch1-2/+4
(cherry picked from mainline commit d3adc61aa4b4924f82d8cbc23bea26da7257da97) Conflicts: src/net/beinghandler.cpp src/net/charserverhandler.cpp src/player.cpp src/player.h
2008-12-26Fixed a potential leak in setup, changed the default border color toIra Rice1-2/+1
white for wallpapers (matches our wallpapers better), and fixed the effect manager. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-15/+9
Conflicts: AUTHORS CMakeLists.txt ChangeLog INSTALL README aethyra.cbp configure.ac data/help/changes.txt data/help/commands.txt data/help/header.txt data/help/support.txt src/Makefile.am src/aethyra.rc src/being.cpp src/being.h src/equipment.cpp src/equipment.h src/floor_item.h src/game.cpp src/gui/buddywindow.cpp src/gui/char_select.cpp src/gui/char_server.cpp src/gui/chat.cpp src/gui/chat.h src/gui/equipmentwindow.cpp src/gui/equipmentwindow.h src/gui/gui.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/itemcontainer.h src/gui/minimap.cpp src/gui/ministatus.cpp src/gui/newskill.cpp src/gui/npc_text.cpp src/gui/npclistdialog.h src/gui/ok_dialog.cpp src/gui/setup_video.cpp src/gui/skill.cpp src/gui/skill.h src/gui/status.h src/gui/table_model.h src/gui/updatewindow.cpp src/gui/viewport.cpp src/inventory.cpp src/inventory.h src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/localplayer.h src/logindata.h src/main.cpp src/map.cpp src/monster.cpp src/monster.h src/net/beinghandler.cpp src/net/beinghandler.h src/net/buysellhandler.cpp src/net/equipmenthandler.cpp src/net/loginhandler.cpp src/net/loginhandler.h src/net/network.h src/net/npchandler.cpp src/net/playerhandler.cpp src/net/protocol.h src/net/tradehandler.cpp src/npc.cpp src/npc.h src/particleemitter.cpp src/particleemitterprop.h src/player.cpp src/player.h src/player_relations.cpp src/resources/imageset.cpp src/resources/imageset.h src/resources/itemdb.cpp src/resources/mapreader.cpp src/resources/monsterinfo.h src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h src/tileset.h src/utils/fastsqrt.h src/utils/strprintf.cpp src/winver.h tools/tmxcopy/Makefile tools/tmxcopy/base64.cpp tools/tmxcopy/base64.h tools/tmxcopy/tostring.h Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-03Add an effects manager (patch by Kage Jittai)Ira Rice1-1/+4
NOTE: This patch demonstrates the need to fix pixel coordinates in the eAthena client. Bjorn did the movement patch in the TMWClient, however, I still haven't got that fully working with the merges. It's likely that a clone will be developed to tackle this problem. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-6/+3
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-11-09Fixed NPC's reporting as dead on the new server.Ira Rice1-1/+2
2008-11-02Reverted a TMW change that had a repercussion that I didn't think of. While ↵Ira Rice1-2/+2
TMW may think that it's unnecessary to use these view packets, what they fail to realize is that this is done so that you can see these viewed on OTHER players than yourself, otherwise there would never be a reason to use any of the clothing packets at all. So, my reccommendation, if any TMW person is reading these SVN logs at all, is to either add it back, or remove all clothing ID's in the SMSG_PLAYER_MOVE packet. This is yet again another reason why all TMW commits should not be treated as being good and should be tested first before committing to our own SVN.
2008-11-02Ported a patch from TMW by fate which de-hardcodes skills, as well as ↵Ira Rice1-4/+10
removes the server sending out view id's for gloves and boots (which weren't needed.) Here's the full log: * Updated GUI table and model to better handle NULL widgets during initialisation * On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
2008-11-01* Updated GUI table and model to better handle NULL widgets during ↵Fate1-9/+10
initialisation * On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
2008-10-31Added critical notifications to the client. While I had originally Ira Rice1-1/+4
planned to do this (I still did it my way), TMW beat me to implementing, so I'll credit them with their commit reminding me to do it. This is not done the exact same way, as I prefer to see an actual "crit!" show above the being, instead of an ambiguous particle.
2008-10-30Added particle effect on critical hits.Philipp Sehmisch1-4/+8
2008-10-30Do not set shoe sprite on player move packet unless supported by eAthena.Dennis Friis1-3/+3
2008-10-26Since we somehow did end up depending on a hacked eAthena instead of supportingBjørn Lindeijer1-8/+4
existing features decently, assign the shoes and gloves IDs.
2008-10-12This commit contains three things: one, after looking over how TMW was Ira Rice1-19/+9
handling the effects through the level up system, I determined that it wasn't bad, so I pulled it from TMW's SVN. Two, I edited the web page css so that it better matches the forum. And three, I patched text wrapping so that it'll fix up its display size based on all previous lines, except for the last line. That fix will come later, but for now, it'll be seen as a special case. While you'd like to think that just resending the string and starting the function over again would fix it, you'd be wrong. So it won't be patched until I think of a better way to handle that case.
2008-10-01Fixed female sprites not showing all equipment.Ira Rice1-1/+1
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-2/+9
2008-08-28Added support for being effects through the eAthena levelup message, and checkBjørn Lindeijer1-19/+15
whether the being exists before referencing it. Re-enabled proper MP bar display. Improved handling of a warp to the same map.
2008-08-28Applied patch put together by Jaxad0127 with changes from the Aethyra project.Bjørn Lindeijer1-23/+122
Improves compatibility with the newer version of eAthena and works around an initialization bug.
2008-08-22Added config option to honor stop-walking packet, added X and Y to /where, ↵Lloyd Bryant1-15/+21
reformatted src/chat.cpp
2008-08-17Fixed crash resulting from having a player targeted when hitting a warp pointLloyd Bryant1-3/+2
2008-08-13Changed the bit to signal GM status to evade bad data from TMW's serverLloyd Bryant1-1/+1
2008-08-13Added support for different colored fonts for different being typesLloyd Bryant1-2/+4
2008-08-06totally killed the stop walking packet handlerLloyd Bryant1-5/+5
2008-07-30Adding patch the stops a segfault from occuring in beinghandler whenKraant1-4/+5
a targeted player runs off screen. -- Daniel Thomas
2008-07-24Bugfix for visual glitch when using TMW serverLloyd Bryant1-1/+3
2008-07-23Added viewable cape/misc1/misc2, Chat button in GUILloyd Bryant1-8/+23
2008-07-22Added support for the new eAthena versionLloyd Bryant1-0/+28
2008-07-19Pulled the teeth from the stop walking packet handlerLloyd Bryant1-0/+5
2008-07-18Added support for animated shoe and glove spritesLloyd Bryant1-4/+12
2008-07-18Import of client treeLloyd Bryant1-10/+41
2008-06-02Merged handling for eAthena packets 0x00c3 and 0x01d7 and added support forBjørn Lindeijer1-28/+52
displaying a shield sprite (patch by Sanga).
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-2/+4
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2008-04-10(no commit message)Philipp Sehmisch1-3/+4
2007-12-10Simplified player subsprite handling by treating equipment, hairstyle and ↵Philipp Sehmisch1-12/+12
base sprites alike. Implementing female hairstyles is now a purely content-sided task.
2007-11-21Merged revisions 3705-3711,3714,3718,3721-3722,3729-3731,3735,3742 via ↵Bjørn Lindeijer1-6/+9
svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (dynamic recoloring of sprites and related changes) ........ r3705 | gmelquio | 2007-11-03 10:58:25 +0100 (Sat, 03 Nov 2007) | 1 line Fixed double load of hair graphics. ........ r3706 | gmelquio | 2007-11-03 22:04:51 +0100 (Sat, 03 Nov 2007) | 1 line Added automatic recoloring of images. Inspired by fungos' ideas (PR #41). ........ r3707 | gmelquio | 2007-11-03 22:08:21 +0100 (Sat, 03 Nov 2007) | 1 line Experimented recoloring on scorpions. ........ r3708 | gmelquio | 2007-11-04 12:52:44 +0100 (Sun, 04 Nov 2007) | 1 line Tightened palette handling. ........ r3709 | gmelquio | 2007-11-04 12:54:31 +0100 (Sun, 04 Nov 2007) | 1 line Experimented with scorpions again. ........ r3710 | gmelquio | 2007-11-04 16:40:37 +0100 (Sun, 04 Nov 2007) | 1 line Applied recoloring to hair styles. ........ r3711 | gmelquio | 2007-11-04 17:50:37 +0100 (Sun, 04 Nov 2007) | 1 line Converted slimes to recoloring. ........ r3742 | gmelquio | 2007-11-16 14:16:00 +0100 (Fri, 16 Nov 2007) | 1 line Sped up recoloring of transparent pixels. ........
2007-11-20Merged revisions 3629-3630 via svnmerge from Bjørn Lindeijer1-2/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (but kept looks in Being class, since eAthena works that way) ........ r3629 | gmelquio | 2007-10-18 21:00:38 +0200 (Thu, 18 Oct 2007) | 1 line Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. ........ r3630 | gmelquio | 2007-10-18 21:30:57 +0200 (Thu, 18 Oct 2007) | 1 line Fixed changelog message. ........
2007-08-30Merged equipment database with items database and got rid of the unused itemBjørn Lindeijer1-7/+7
art attribute. Removed the now unnecessary multiplication of weapon IDs with 10000. Added a fallback item icon and used it for unknown items or when an item image fails to load.
2007-08-22Fixed an arithmetic exception in ItemShortcutContainer::draw.Bjørn Lindeijer1-6/+10
Changed default sitting key back to 's'. Fixed a problem with all equipment being interpreted as weapon sprite.
2007-07-11Weapon sprites are now (almost) threated like other equipment sprites ↵Philipp Sehmisch1-9/+8
through the equipment sprite database. (use -u to ignore updates)
2007-05-04Merged particle engine into main eAthena branch.Philipp Sehmisch1-3/+14
2007-02-20Now different sounds can play when a monster misses the player.Bjørn Lindeijer1-17/+14
2006-12-06Fixed crashs when changing equipment.Philipp Sehmisch1-26/+19
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-7/+16
2006-12-01Monster sound effect patchPhilipp Sehmisch1-31/+20
2006-11-30Some optimizations to setSex, setWeapon and handling of player update messages.Bjørn Lindeijer1-3/+7
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer1-4/+6
variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites.
2006-11-05Changed some printf statements to log statements.Bjørn Lindeijer1-5/+5
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-19/+19
2006-06-29GCC 4 fix.Eugenio Favalli1-0/+2