18156 Commits

Author SHA1 Message Date
skotlex
0c8a59d012 - the charname request hack message has been downgraded to only include GM-invisible characters.
- corrected clif_charnameack to send negative ID when a disguised player asks for it's own disguised name.
- Cleaned up the disguised target-id checks taking into considering that the only character that sees a negative ID is the same disguised character.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6715 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 15:43:40 +00:00
skotlex
ed8a9e9848 - Modified battle_calc_weapon_attack to use new flags pdef/pdef (pierce defense), Investigate and Icepick will now use the final def/vit-def values rather than the base ones.
- The move-enable condition checks for skills are now checked for only when on skill use, not at cast-end time.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6714 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 15:08:37 +00:00
Playtester
b842e93beb Fixed a bug in the new Job Master
- he rebirthed you even if you haven't reached level 99

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 14:47:15 +00:00
Playtester
bfae5bbeae Changed the questions of the Wizard Quiz to official ones
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 14:19:09 +00:00
skotlex
e7a25fdeac - Corrected clif parse name request failing on disguised characters.
- Corrected Soul Drain draining from all non-ground-based skills including non-magic attacks.
- Corrected pc_setoption to change the option and then change class. changing option-wedding will automatically convert the view-class as well.
- Corrected the 15% drop rate increase when killing higher level mobs in pk-mode triggering for all mobs with lower level than yourself. Thanks to Vayu.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6709 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-23 13:51:42 +00:00
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