6397 Commits

Author SHA1 Message Date
skotlex
e5554e3fae - Insignificant cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-07 07:35:31 +00:00
skotlex
d321e89aed - Cleaned up the messy code used to generate the idle/walk packets (or at least, in my opinion, it looks cleaner now)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06 23:18:02 +00:00
skotlex
e231f6cb18 - Likely fixed clif_set_disguise for PACKET_VER 9
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06 21:04:29 +00:00
FlavioJS
43ac1fd8ad ooops, two errors escaped... >.<
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06 15:37:14 +00:00
FlavioJS
1d827807ae * Removed the attempts to recover from invalid syntax in npc_parsesrcfile 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://svn.code.sf.net/p/rathena/svn/trunk@11860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06 15:12:55 +00:00
skotlex
fc7b4eaef0 - The default event script behaviour is to trigger on labels rather than 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://svn.code.sf.net/p/rathena/svn/trunk@11859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-06 12:59:12 +00:00
skotlex
655100c9e2 - Made the struct weapon_atk lhw in status_data a static member rather than a pointer as requested by Ultra Mage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05 13:16:37 +00:00
skotlex
48a8f3fb25 - Fixed a possible crash when the memory manager is disabled and a non-respawning object is killed.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05 12:12:04 +00:00
skotlex
000833c998 - Corrected Lif skill durations/delays according to http://irowiki.org/wiki/Lif
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-05 10:42:35 +00:00
zephyrus
2b1fac216c - Added a fix to prevent missing a mail attachment is map servers disconnect from char server.
- Fixed the sprite of Wing of Victory.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-03 22:25:57 +00:00
skotlex
5f8753f24b - Corrected clif_pase_DropItem so ack/nak is always sent (or client hangs waiting for a reply)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-03 14:11:15 +00:00
samuray22
bac80b97a8 * Added Indian RO "Children Week" Event. Thanks $ephirot
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02 18:38:08 +00:00
zephyrus
283edfc342 - Added some missing headgears from others official servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02 17:53:41 +00:00
ultramage
2b186ae7b8 Fixed some minor inconsistencies in homunculus packets, in an attempt to 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://svn.code.sf.net/p/rathena/svn/trunk@11851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02 16:29:37 +00:00
samuray22
3c484f4193 * Rescripted Headgear Quests 1 (Comodo) to Aegis 10.3 Standards.
- Corrected a little Typo error in the "Inn". (bugreport:536)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11849 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02 14:28:46 +00:00
ultramage
b9a9c76f2b Fixed charserver unable to reestablish link to login server after a 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://svn.code.sf.net/p/rathena/svn/trunk@11848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-02 09:39:35 +00:00
ultramage
a6400393da Fixed 'unit walking in sight' packet missing the 'level' value (mistake in r11791)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11847 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-01 18:43:04 +00:00
samuray22
32044af937 * Added Missed Storage Password Function. (bugreport:515)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-30 15:56:51 +00:00
skotlex
132da258d7 - pc_setoption no longer does view_data changes while disguised (as this breaks things)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-30 07:07:51 +00:00
FlavioJS
754b397edf * Random cleanup/documentation.
* 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://svn.code.sf.net/p/rathena/svn/trunk@11844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-30 00:17:26 +00:00
samuray22
f21818b762 * Rescripted Hair Dresser to the Aegis 10.3 Standards.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29 15:54:55 +00:00
skotlex
47315d00c8 - Allowed disguising while riding a peco-peco (this does not seem to cause 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://svn.code.sf.net/p/rathena/svn/trunk@11842 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29 13:11:33 +00:00
skotlex
5617e38fba - Probably fixed splash damage.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29 12:32:25 +00:00
skotlex
eee82904e7 - Integrated the SG related info of hate_mob and feel_map into a single 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://svn.code.sf.net/p/rathena/svn/trunk@11840 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-29 12:20:43 +00:00
samuray22
8e755a140b * Fixed problem in the Hair Dyer NPC. (bugreport:509)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 23:21:58 +00:00
skotlex
d3397a4640 - Cleaned up some disguise related code, it fixes the disguise sprite not having flinch animation
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 15:58:17 +00:00
skotlex
7ca3198824 - Applied the required changes to handle def as a signed char (allows for negative def)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 13:13:42 +00:00
skotlex
37d79a46de - Corrected skill_check_condition to not delete items right away for certain 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://svn.code.sf.net/p/rathena/svn/trunk@11836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 12:57:34 +00:00
ultramage
c4f9142c9d Fixed reflected spells bypassing WoE no-knockback restriction, because the code allowed that when cast on self; not anymore (bugreport:231)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 11:43:20 +00:00
ultramage
722c5f3f90 Fixed a typo in r11826 messing up TXT gm account loading.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 11:11:41 +00:00
ultramage
979cf2cdf9 Yikes, forgot to add the new admin.c file... (followup to r11826)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 11:02:38 +00:00
skotlex
8463446738 - Reverted the position of the max_hp/max_sp basic setting, modified the max_hp/max_sp bonuses to use casting in order to work correctly with negative bonuses.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 10:50:31 +00:00
ultramage
0b58320eb0 Applied clif_setlevel() to the new trade window packets to make it display properly when going over lvl99.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 00:40:21 +00:00
ultramage
1f8e1313df * Reconstructed a list of all PACKETVER types, by reverse-engineering it 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://svn.code.sf.net/p/rathena/svn/trunk@11830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-28 00:07:12 +00:00
samuray22
c89ad7bb99 * Corrected some broken warp points. (bugreport:497)
* Corrected a bug on Sample Dynamic Shop. (bugreport:421)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 23:37:50 +00:00
FlavioJS
e207fecd8c * Added safesnprintf to strlib.c/h (bugreport:372)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 23:06:37 +00:00
skotlex
d19659bbdd - reverted R11820, Cart Termination was already a 0x8 nk skill, I accidentally set inf2 to that, which meant 'spirit skill'!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 20:35:23 +00:00
ultramage
ea5212c5a8 * TXT/SQL login server code synchronization
- 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://svn.code.sf.net/p/rathena/svn/trunk@11826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 19:38:16 +00:00
ultramage
4b8cf3c768 Removed some unneccessary charserver code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 19:17:00 +00:00
L0ne_W0lf
eac1b05f1f Added Battle field and Memorial dungeon maps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 18:39:32 +00:00
skotlex
a63fc8093f - Overpowered some more NPC_EARTHQUAKE as per Gravity retardation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 12:58:34 +00:00
skotlex
f98611b450 - Cleaned some more the sc_end check so it is more generic and not so limited just to infinite endure.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 10:08:22 +00:00
skotlex
ff43b0d74a - Cart Termination now ignores the attacker's cards, as a side effect makes it bypass AutoGuard & Cicada Skin Shedding
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 09:46:30 +00:00
skotlex
b06c88e70f - Moved basic max HP/SP calculation to before parsing equipment, fixes negative absolute HP/SP bonuses not working.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 09:38:38 +00:00
skotlex
9a56a88f4a - Corrected the online_data_cleanup routine setting offline characters that 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://svn.code.sf.net/p/rathena/svn/trunk@11817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 09:21:18 +00:00
FlavioJS
8e58ea8df8 * Fixed fake_nd not being exported correctly and being unloaded when reloading scripts. (probably fixes bugreport:444)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 07:12:30 +00:00
L0ne_W0lf
6e7b655600 Fixed a bad warp in ice dungeon.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 04:35:41 +00:00
L0ne_W0lf
5660527f12 Updated the Soul Linker job quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 04:25:43 +00:00
L0ne_W0lf
669ebdc9dd Updated the Taekwon Master quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-27 03:25:02 +00:00
FlavioJS
7bfaec4529 * Normalized makefiles:
- 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://svn.code.sf.net/p/rathena/svn/trunk@11812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-26 22:36:30 +00:00