2551 Commits

Author SHA1 Message Date
Lance
81efffac73 * Fixed typo (this time it's not my fault) in script_reload() clearing the same db each time o_o
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 10:59:36 +00:00
Lance
6dc8e549e4 Reloadscript cleanup
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 10:40:54 +00:00
Lance
c243406d9e Crash prevention
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 10:34:08 +00:00
Lance
56005cb610 * Fixed sleep command.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6705 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 09:54:27 +00:00
Lance
fa084e111c * Added 'setd' support for local NPC scope (') variables.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 08:35:22 +00:00
Lance
5120d7677c * [Scripting Engine Update] New variables are ready to be used.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 08:22:53 +00:00
Lance
aaa3738ed9 Dunno what the hell the causing the errors when using '@variables, 'variables works fine.. something is messing up....
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 08:01:40 +00:00
skotlex
1a06a9a6f4 - Updated skill_delayfix to return 0 for mobs since they have no skill delay other than the one specified in mob_skill_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 19:56:26 +00:00
skotlex
8e1cd35c5a - Corrected the 20 lvl diff 15% exp bonus on pk_mode servers. Thanks to Vayu for pointing it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6698 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 17:33:58 +00:00
skotlex
b59d433a35 - Fixed a pair of compilation logic errors.
- status_get_sc_tick will now use directly Stun's formula rather than invoking the status sc chance once.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 15:58:49 +00:00
skotlex
98de35a4f7 - Fixed a possible null pointer in script command misc_effect
- Modified Investigate to take into consideration final def/vit-def rather than base values for damage adjustment.
- Added missing include unit.h in pet.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6695 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 14:38:18 +00:00
eaac
80fd709fbb - eAAC Update for Donation Girl [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 13:07:47 +00:00
Lance
4284e3352a git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6693 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-22 12:40:05 +00:00
Lance
0867d2e23e * Looks like I fixed all of the leaks.. need someone to check :P
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 12:39:47 +00:00
Lance
2870364349 - Fixed some of the leaks.. still fixing..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6691 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 12:38:12 +00:00
Lance
a7e5993400 * WARNING: New scripting system contains memory leak
TODO: Free all scripts using script_free_code() instead of old methods. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 12:15:49 +00:00
Lance
afdee66062 Forgot to uncomment jobmaster from npc-loading list -.-
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6689 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 09:44:24 +00:00
Lance
5dbe5de760 * Excluded idle and auto-trade party members from TK_POWER list.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6688 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 09:40:18 +00:00
Lance
daaf8a0d13 * Global_Functions fix. Jobmaster fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6687 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 09:07:50 +00:00
Lance
6ae92d0a86 * Fixed compilation errors.
* Tidy up jobmaster for easy debugging. 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 08:52:56 +00:00
Lupus
64a604f58e added thanks
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6685 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 08:34:16 +00:00
Lupus
24beddd3ae SC_SPEARSQUICKEN -> SC_SPEARQUICKEN normalized enum name
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6684 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-22 04:49:33 +00:00
eaac
6a3fbf2605 * eAAC Update + Fix [erKURITA]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6682 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 20:10:42 +00:00
blackhole89
752cd268ef * Part A of the Homunculus code.
This only features the structures, status_* and clif_* (packets) and is
	  not functional yet in any conventional way, but doesn't interfere
	  with present functionality either.
I would only forget half of this stuff if I tried to do all at once.
Expect the rest somewhen within the upcoming week.
(This is not similar to jA's implementation.)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 18:59:13 +00:00
Lance
9e7055026e Bugfix wrong code block.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6680 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 16:33:06 +00:00
Lance
4908a915e7 Incorrect dates in changelog :(
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6679 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 13:37:55 +00:00
Playtester
c23da643c3 Incantation Samurai Card now ignores def of all non-boss races
- should include players now

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6678 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 12:08:39 +00:00
Zido
c10e8877aa - Fixed the "fake" mute status bug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 11:55:20 +00:00
Lance
3fbb543cfc * Speed up array size calculation and deletion.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 08:09:20 +00:00
Lance
741f06722c Bugfix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 04:57:02 +00:00
Lance
e174a54ca3 Rewrote JobChanger..
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6674 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 04:44:43 +00:00
Lance
f0d3a6cb54 * Player must learn the skill before doing auto-spell
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6673 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:48:25 +00:00
Lance
2e341e2a76 And again
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6672 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:39:32 +00:00
Lance
90d285dbd9 * Fix the fix: Should be sd->npc_str[message_len]=0;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6671 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:38:34 +00:00
Lance
2a38662225 * Exploit prevention in clif_parse_NpcStringInput
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-21 02:37:36 +00:00
Lance
58204d275e * Ammendment: battle_config.skill_sp_override_grffile
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6668 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:23:01 +00:00
Lance
96817a95ec * grfio_final moved back (with condition) if any of GRF overriding is enabled so servers with such configuration will not have different values after reloading.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:17:18 +00:00
Lance
720879a767 * grfio_final moved back to do_final since it's used by @reloaditemdb.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6666 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:08:31 +00:00
Lance
fdfaf7ba79 * jA1983 script.c buildin_menu fix. Thanks to End_of_exam.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6665 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 15:01:47 +00:00
Lance
a233231e4c * Abit of alterations to login-server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6664 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-20 08:14:35 +00:00
killercube
454704a957 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6663 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-05-20 03:24:38 +00:00
Playtester
51daec13ce Major fix to the mob_skill_db
- traps are now placed around2 rather than self
- all idle skills should work now

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6662 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 22:57:08 +00:00
Lance
025ee8cbb4 * Minor unsigned/signed alteration in pc_additem to shut the compiler up.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6661 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 17:12:01 +00:00
skotlex
1f864cfee8 - Small change in pc_additem that could be fixing the current bug with it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6660 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 16:52:38 +00:00
Playtester
5746260499 More fixes on Amon Ra
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 16:48:57 +00:00
skotlex
078cab13fd - Fixed loginlog definition in main.sql, thanks to Tempesta
- Likely fixed the mob-skill random picking behaviour causing infinite loops sometimes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6658 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 16:27:14 +00:00
skotlex
1b2a882dc3 - Added some braces to clear up the code in pc_additem, even though I doubt it'll fix the problem :X
- Modified mobskill_use behaviour to pick a random starting point and check skills from that, rather than always checking from first to last. Fixes skills with high priority blocking skills lower down in the list from triggering.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 15:38:15 +00:00
skotlex
0d31063329 - Corrected number of water-ball hits when used by mobs and not consuming deluge cells when using lv1 (Thanks to Kyoki).
- cardillust_read_grffile, item_equip_override_grffile, item_slots_override_grffile, and item_name_override_grffile are set to 0 after map-server loads to prevent crashes on item_db reloading.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6656 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 14:42:52 +00:00
skotlex
5e600508f8 - Updated mob ai behaviour so that mobs use IDLE state skills when their current target cannot be reached for melee fighting.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6655 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 14:03:40 +00:00
Playtester
e79ba881bb Fixed Bascojin's mob summoning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-19 10:46:07 +00:00