summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2007-11-29- Allowed disguising while riding a peco-peco (this does not seem to cause ↵skotlex2-13/+16
problems anymore) - Adjusted pc_disguise to work properly if invoked while a player is not in a map. - The pvp rank packet is no longer sent to other players when disguised, as this leads to crashes when you die. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29- Probably fixed splash damage.skotlex1-5/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29- Integrated the SG related info of hate_mob and feel_map into a single ↵skotlex6-60/+57
structure (sg_info). - Modified skill_blown and skill_attack so that reflected spells do not cause knockback. - SG Blessing skills now grant the extra experience to everyone when the SG killed the mob. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28- Cleaned up some disguise related code, it fixes the disguise sprite not ↵skotlex1-35/+35
having flinch animation git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28- Applied the required changes to handle def as a signed char (allows for ↵skotlex3-11/+10
negative def) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28- Corrected skill_check_condition to not delete items right away for certain ↵skotlex3-38/+39
skills that do the deletion themselves. Fixes several skills consuming items twice. - Dispel's success rate is no longer affected by MDEF - You are no longer blocked from being warped when standing in a warp while in a duel. - Duels are now automatically ended when you warp out of the map you are in. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28Fixed reflected spells bypassing WoE no-knockback restriction, because the ↵ultramage1-1/+1
code allowed that when cast on self; not anymore (bugreport:231) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28Fixed a typo in r11826 messing up TXT gm account loading.ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28Yikes, forgot to add the new admin.c file... (followup to r11826)ultramage1-0/+942
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28- Reverted the position of the max_hp/max_sp basic setting, modified the ↵skotlex2-16/+23
max_hp/max_sp bonuses to use casting in order to work correctly with negative bonuses. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28Applied clif_setlevel() to the new trade window packets to make it display ↵ultramage1-2/+2
properly when going over lvl99. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28* Reconstructed a list of all PACKETVER types, by reverse-engineering it ↵ultramage3-18/+50
from places in the code where the define is used - recovered PACKETVER 6 which was added in r51, but overwritten by r141, one of the dumbest commits that I have seen so far - since 6 was the 'new trade window' update, it and its corresponding reply packet will now be used from now on instead the old version git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27* Added safesnprintf to strlib.c/h (bugreport:372)FlavioJS2-0/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27* TXT/SQL login server code synchronizationultramage11-1882/+674
- exported several core structures to login.h - split off ladmin communication code from the TXT login server - removed all occurences of login_log(); a unified function should be added when SQL's loginlog_db logging code gets synced with TXT - removed conf setting login_log_filename - fixed ladmin getting timeouts since the ping system was changed - removed login/char server_fd[] arrays, added server[].fd instead git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27Removed some unneccessary charserver code.ultramage2-26/+24
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27- Overpowered some more NPC_EARTHQUAKE as per Gravity retardation.skotlex1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27- Cleaned some more the sc_end check so it is more generic and not so ↵skotlex1-13/+11
limited just to infinite endure. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27- Moved basic max HP/SP calculation to before parsing equipment, fixes ↵skotlex1-9/+4
negative absolute HP/SP bonuses not working. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27- Corrected the online_data_cleanup routine setting offline characters that ↵skotlex4-1/+12
are still connected to the char-server. - Added a check in script command sc_end to properly end infinte endure - ASC_BREAKER no longer triggers status effect cards. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27* Fixed fake_nd not being exported correctly and being unloaded when ↵FlavioJS2-2/+5
reloading scripts. (probably fixes bugreport:444) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-26* Normalized makefiles:FlavioJS10-213/+221
- 3 sections: variables, public targets, private/support targets - object files always in a *_OBJ variable - header files always in a *_H variable - object files always generated to an obj* subfolder - all Makefiles can be executed individually, calling other makefiles if necessary - generic object targets when possible git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-26* Fixed buildin_query_sql using Sql_Query instead of Sql_QueryStr, wrongly ↵FlavioJS1-1/+1
processing all %f,%d,... (fixes bureport:218) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-26Fixed guild expulsion not working correctly.ultramage2-2/+2
Corrected explusion -> expulsion typo. Added packets from 2007-11-20a sakexe; there are some changes but can't test them yet, so they're left commented out. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-26* Fixed a memory leak in mail_savemessage (src\char_sql\int_mail.c).FlavioJS1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-25Giant Fly Wings are now blocked on noteleport maps and duels.L0ne_W0lf1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-24Fixed a crash when Slim Pitcher is cast (due to one unconverted piece of code)ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-24Fixed a crash when a taekwon hits a wall while Sprinting (bugreport:483)ultramage1-4/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-24Added support for latest official client/server packet changes.ultramage2-1/+32
Enable by setting PACKETVER to 9. Note that this breaks older clients. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-24Make the walk/stand/spawn packet generation incremental - deriving new ↵ultramage1-304/+150
versions from previous versions. This means less code but more work for the CPU, as some parts have to be memmove()-d around. Need a better packet building mechanism. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-23Fixed a badly defined skill range in homunculus loading code (followup to ↵ultramage1-2/+2
r11731) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11789 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-23Fixed some old mistakes in npc shop code causing misinterpretation of the ↵ultramage1-4/+5
number of function parameters (bugreport:404) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-23- Added a few missing skill fail messages on cast-end-pos skills.skotlex1-2/+9
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11787 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-22- Changed the status_change structure to use dynamic rather than static ↵skotlex17-1609/+1612
memory to hold the individual status changes, this should have a noticeable impact on the server's memory consumption. - Had to add a few 'ugly' flags to status_change since now you can't track SC related information while said SC is not active (happens only for Storm Gust, Joint Beat and Magic Power). - Since I am unable to fully test, watch out for any bugs~ git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11786 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-22* Moved the reset of references to after the empty script checks in ↵FlavioJS1-12/+15
parse_script. (fixes bugreport:222 and bugreport:449) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-22* Renamed fakenpcname to setnpcdisplay, fixed and extended it. FlavioJS3-22/+76
- See doc/script_commands.txt for information on how to use it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-22* Modified mapserver login procedure to make clients from may 2007 and newer ↵ultramage2-5/+15
not crash when entering mapserver (bugreport:468) - this changes PACKETVER to 8, causing incompatibility with old clients - this makes the "Login" hex obsolete; please stop using it as it causes a conflict with this update and may have negative sideeffects git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21upsFlavioJS1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21* Fixed Sql_SetEncoding not setting the encoding of the connection properly. ↵FlavioJS1-2/+4
(fixes bugreport:30) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21- Moved subtype from struct block_list to struct npc_data.skotlex10-40/+36
- Fixed some compilation warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21- Optimized a bit the map set cell imperative so it only fails when the ↵skotlex1-1/+2
target cells are of native type wall/ground, so that it still allows setting/unsetting temporarily unwalkable types by using icewall types of cell. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21More clif.c cleaningultramage1-65/+66
- Renamed clif_set0078 to clif_set_unit_standing, and clif_set007b to clif_set_unit_walking - Added clif_set_unit_spawned (split off from clif_spawn), needed for a followup change git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21Removed one duplicit sql operation when saving items (bugreport:459)ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21random cleanupultramage2-19/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21* Homunculi now reset their can-act delay on call/resurrect/mapchange ↵ultramage2-2/+1
(allows bypassing delays by doing rest/call instead of relog) [ultramage] * Changed Lif's Emergency Avoid to just get a normal skill delay (blocks all skills, cancelled by mapchange / re-summon) instead of getting a persistent block on only this one skill (bugreport:13) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-21Cleaned up/reformatted clif_set0078 and clif_set_007b (stand and walk packet ↵ultramage1-362/+285
code). Replaced some heavy #ifdefing in clif_spawn and clif_getareachar_unit with a lazy fixed-width buffer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-20- Implemented SL_SUPERNOVICE erasing the death record 1% of the casts.skotlex3-18/+44
- Implemented current exp being capped to the exp required to level up from the previous level when we are at max level (required for some S. Novice buffs) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-19- removed 'skill_fail' message when a ground skill fails as that caues ↵skotlex4-9/+5
double 'skill failed' messages in several instances. - Corrected shop freeing using free instead of aFree ,causing memory leak reports. - Corrected the sc def settings modifying tick_def in regards to sc_def instead of tick_def git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-19Random cleaning of party.c in attempt to make party_send_xy_timer() crashes ↵ultramage3-144/+143
a bit clearer... - now party_db is iterated instead of using foreach() git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11761 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-19* Nullpo's disabled on release builds.FlavioJS6-61/+63
* Added timestamps to the log of memory leaks. * Moved definition of __func__ to cbasetypes.h. * Configure script updated: - added option to select the memory manager - added option to enable MAPREGSQL - added option to enable DEBUG * common's Makefile deleting svnversion.h on 'clean' target. (run ./configure again to update your Makefile) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11760 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-18- Implemented a small change that was long overdue: Displaying the ↵skotlex2-22/+81
char-select screen now uses a single SQL query instead of up to 9. - Fixed a bug in the update to prevent setting cell types on unwalkable cells. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11757 54d463be-8e91-2dee-dedb-b68131a5f0ec