summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-12-09* Added a generic 'delimiter-separated values' string parser to strlib.c/h.FlavioJS3-0/+375
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-09Changed Cloaking to not show an animation when it fails (thanks to Harbin ↵ultramage3-49/+56
for pointing it out). And while at it, also tweaked skill_check_cloaking() to use a more readable boolean logic instead of the previous zero-nonzero. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-09small fix to the server's packet parsing code to display server IPs correctly.ultramage3-11/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-09- Cleaned up a bit the code for HVAN_CHAOTICskotlex1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-09Fixed a bug in r11633 always spawning only 1 chest typeultramage2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-08- Fixed a 'variable may be used uninitialized' error.skotlex2-4/+5
- Removed 'type' being passed to skill_trap_splash since it was not used at all. - Fixed Land Mine doing nothing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-08* Removed double tabs from mapflag/warp/script/function/duplicate declarations.FlavioJS13-134/+136
(avoid script errors in a future commit) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-08- Changed the chaotic delay from block to delay since it just a secskotlex4-5/+3
- Fixed the longing for freedom check in unit_can_move - Corrected a check while parsing refine_db.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-07- Fixed ensembles skills.skotlex3-5/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-07- removed the timer heap correction code when the timers overflow since ↵skotlex8-108/+68
Flavio points out that it is not needed. - Modified a bit the changesex code so you get saved and quit before changing your sex rather than afterwards. - Cleaned up #changesex - Signum Crucis now works on bosses. - party_recv_data will not set the sd pointer for not-yet-authed characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-07- Insignificant cleanups.skotlex2-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06- Cleaned up the messy code used to generate the idle/walk packets (or at ↵skotlex1-176/+123
least, in my opinion, it looks cleaner now) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06- Likely fixed clif_set_disguise for PACKET_VER 9skotlex1-19/+26
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06ooops, two errors escaped... >.<FlavioJS1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06* Removed the attempts to recover from invalid syntax in npc_parsesrcfile ↵FlavioJS3-85/+244
since they can produce incorrect results (spaces in sscanf can match \n's and company). * Made script_rid2sd report the script source directly and changed related return 1's to return 0's to avoid double script source reports. * Added missing return 0's after script_rid2sd is used and an extra error message in buildin_set/buildin_setd. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06- The default event script behaviour is to trigger on labels rather than ↵skotlex12-222/+78
NPCs now. - Removed several script config options which break NPC compatibility when you mess with them (event_script_type, event_requires_trigger, die_event_name, kill_pc_event_name, kill_mob_event_name, logout_event_name, login_event_name, loadmap_event_name, baselvup_event_name, joblvup_event_name) - LoadMap events no longer set the variable "@maploaded$" to the name of the new map. - Optimized/simplified the code now that the previous config options were removed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05- Made the struct weapon_atk lhw in status_data a static member rather than ↵skotlex7-93/+66
a pointer as requested by Ultra Mage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05- Fixed a possible crash when the memory manager is disabled and a ↵skotlex1-1/+4
non-respawning object is killed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05- Corrected Lif skill durations/delays according to http://irowiki.org/wiki/Lifskotlex2-4/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-03- Added a fix to prevent missing a mail attachment is map servers disconnect ↵zephyrus6-13/+27
from char server. - Fixed the sprite of Wing of Victory. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-03- Corrected clif_pase_DropItem so ack/nak is always sent (or client hangs ↵skotlex1-17/+18
waiting for a reply) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02* Added Indian RO "Children Week" Event. Thanks $ephirotsamuray224-3/+92
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02- Added some missing headgears from others official servers.zephyrus2-3/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02Fixed some minor inconsistencies in homunculus packets, in an attempt to ↵ultramage3-9/+7
make the lvl99 aura show to owner onSpawn. Still doesn't work as there appears to be a complex packet order dependency... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02* Rescripted Headgear Quests 1 (Comodo) to Aegis 10.3 Standards.samuray223-83/+71
- Corrected a little Typo error in the "Inn". (bugreport:536) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02Fixed charserver unable to reestablish link to login server after a ↵ultramage3-22/+35
disconnect (yet another problem caused by r11826). Copied code from TXT to SQL to perform a graceful shutdown of all login server sockets while exiting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-01Fixed 'unit walking in sight' packet missing the 'level' value (mistake in ↵ultramage1-1/+1
r11791) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-30* Added Missed Storage Password Function. (bugreport:515)samuray222-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-30- pc_setoption no longer does view_data changes while disguised (as this ↵skotlex2-0/+5
breaks things) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-30* Random cleanup/documentation.FlavioJS15-136/+184
* Made common/Makefile get the svn version from the src directory, not src/common. * Added a warning message to the install and uninstall targets. * Renamed all obj directories to obj_all, obj_txt or obj_sql in the makefiles (if an obj/ directory exists, BSD make enters it before reading the makefile) (run ./configure to update your makefiles, and don't forget to do 'make clean' before updating) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29* Rescripted Hair Dresser to the Aegis 10.3 Standards.samuray222-2038/+506
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29- Allowed disguising while riding a peco-peco (this does not seem to cause ↵skotlex3-13/+20
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.skotlex2-5/+2
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 ↵skotlex7-60/+61
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* Fixed problem in the Hair Dyer NPC. (bugreport:509)samuray222-18/+22
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11839 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 ↵skotlex4-11/+12
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 ↵skotlex4-38/+47
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 ↵ultramage2-1/+3
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 ↵skotlex3-16/+26
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 ↵ultramage4-18/+57
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* Corrected some broken warp points. (bugreport:497)samuray225-11/+17
* Corrected a bug on Sample Dynamic Shop. (bugreport:421) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27* Added safesnprintf to strlib.c/h (bugreport:372)FlavioJS3-0/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27- reverted R11820, Cart Termination was already a 0x8 nk skill, I ↵skotlex1-1/+1
accidentally set inf2 to that, which meant 'spirit skill'! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27* TXT/SQL login server code synchronizationultramage16-1887/+695
- 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-27Added Battle field and Memorial dungeon maps.L0ne_W0lf5-0/+57
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11824 54d463be-8e91-2dee-dedb-b68131a5f0ec