205 Commits

Author SHA1 Message Date
brianluau
7b835b0b4e - Changed some variables to scope instead of permanent char. (bugreport:3248)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-15 03:38:20 +00:00
L0ne_W0lf
5d88480879 Follow up to r13867, corrected the newly added MD_TARGETWEAK. Monsters with this mode will now only target players five level LOWER than itself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 19:54:34 +00:00
Playtester
be7ca8dd45 Added a little information about mob modes (random attack is not implemented yet, though).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 18:55:55 +00:00
skotlex
f5fa9d4daa - Added mob mode 0x4000, MD_TARGETWEAK: It makes aggro monsters only chase characters whose level is no higher than the monster's +5.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-06-08 18:35:26 +00:00
Inkfish
f090bdbdbc * Added a new battle flag for telling which skills can have bHealPower effect.
* Added documentation for bHealPower.
* Fixed some behaviors for healing skills, (thanks to L0ne_W0lf)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-29 14:25:14 +00:00
ultramage
aa9f9ec467 Removed outdated bMatk/bMatk1/bMatk2 documentation, followup to r9816 (bugreport:3116).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-24 09:00:49 +00:00
brianluau
1eaef19afe - Fixed double-quotes not being escaped in the custom xmas_rings_event. (bugreport:2546)
- Renamed an OnClock label so it's consistent with the other castles. (bugreport:2831)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13756 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-12 07:47:02 +00:00
Inkfish
a366ac53ce * Fixed some known and unknown player attached NPC timer problems
- Attached timer now can be stopped properly.
- Attached timer will now stop if the NPC is unloaded. (bugreport:2510)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-09 01:45:11 +00:00
brianluau
8c09676863 - Removed a duplicate entry in item_trade.txt (bugreport:2720)
- Documented more script commands and fixed some typos. 
(bugreport:1554, bugreport:2619, bugreport:2692, bugreport:3034)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13732 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-07 09:07:22 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
brianluau
a11e789e0a - Fixed some typos in the script command documentation. (bugreport:2547)
- Fixed a misleading message in the custom Job Changer. (bugreport:682)
- Updated some NPC's facing directions. (bugreport:3030)
- Added missing newline in some ShowWarning(). (bugreport:2940)
- Fixed SC_BOSSMAPINFO time being off by 1 minutes (bugreport:3035)
Now, the seconds are rounded up to the next whole minute.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-02 20:23:30 +00:00
Playtester
da39fb587d * A few quest updates due to bugreports
- added a missing close in the Kiel Hyre Quest (bugreport:2885)
- added L0ne_W0lf's Cool Event Corp script + a few fixes to it (bugreport:3019)
- fixed a small typo in rachel.txt (bugreport:3029)

Also I really have to ask the developers again to document all the changes they do on item bonuses!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-28 16:16:11 +00:00
Playtester
87120da836 * Fixed items that use the "AddSPAmount_Action" bonus on aegis
- Guillotine gives you 2 SP each time you attack something with a normal attack (only worked with DemiHuman)
- Tjungkuletti gives you 1 SP each time you attack something with a normal attack (before it drained 1 SP from the target instead)
- Dark Priest Card gives Sages 1 SP each time you attack something with a normal attack (before it was per kill)
- also added the bSPDrainValue bonus to the documentation again

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-04-21 16:59:36 +00:00
Kisuka
c9c3700399 - Added missing bonuses for 'Maiden Hat'. (bugreport:2826)
- Fixed an issue with Battleground Exchange NPC. (bugreport:2839)
- Fixed an issue with Platinum Skills NPC. (bugreport:2847)
- Fixed some typos and engrish in iRO Experience quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-12 09:20:58 +00:00
ultramage
54d610302d Applied patch to getitem2/delitem2 to handle charid embedding correctly (bugreport:2735).
Added missing codepage option for ipban module in login_athena.conf.
Converted dbghelpplug project in vs9 directory to vs9 format.
Updated effects list doc with new data from 2009/01/21a sakexe.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-12 12:27:59 +00:00
ultramage
9c93c098e8 Removed outdated bSPDrainValue command from item bonus documentation (see r3149).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22 10:43:16 +00:00
sketchyphoenix
21b7ebe262 Updated script_commands.txt with the book reading command info.
Added/reworded/removed comments to/in/from r13450

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-15 12:31:10 +00:00
Kisuka
18841adcc2 Some bug fixes. (bugreport:2558, bugreport:2588, bugreport:2583, bugreport:2587)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-27 16:53:31 +00:00
FlavioJS
d55642d64c * Extended how duplicates work: (based on Orcao's work in bugreport:2361) [FlavioJS]
- you can duplicate warps/shops/cashshops/npcs (before only npcs could be duplicated)
- warp duplicates inherit the target location
- shop/cashshop duplicates inherit the item list
- npc duplicates inherit the script code (backward compatible behaviour)
- updated script_commands.txt with the information

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-20 22:57:29 +00:00
sketchyphoenix
76ff905e03 Removed charcommand code while allowing atcommand code to support its functionality.
Charcommands still retain their '#' symbol but now looks for a character name as the first parameter instead of last.
Atcommand configs now support charcommand level configurations by comma seperation (e.g. 60,99)
As a result of this, all atcommands that don't affect multiple users already (@kickall, @doom, @mapexit) are capable of remote usage.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-18 02:36:01 +00:00
FlavioJS
f74b445add * Updated script_commands.txt
* Made scripts terminate with an error: (fixes bugreport:2429)
- when getitem/getitem2 tries to delete more items than the player has
- when trying to set Zeny to a negative number.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-11 04:02:48 +00:00
Paradox924X
2df3de1596 Removed leftovers of "bLoseSPWhenUnequip" and "bDamageWhenUnequip" -- deprecated in r6204.
Item 2385 was still using bLoseSPWhenUnequip -- fixed.
npc/custom/events/xmas_rings_event.txt still uses both in conjunction with setitemscript. Someone will need to make it so equip and/or unequip scripts change be changed as well, or find an alternative solution.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28 00:50:32 +00:00
L0ne_W0lf
331e0a0a15 Enabled WoE SE to be run independently of WoE. Let's see how long it is before something blows up, or Ultramage pulls out his hair while cursing my existence.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-09 17:33:10 +00:00
ultramage
cf57c2fc20 Removed hardcoded equip position names from getequipname (bugreport:2156).
Now it's the npc's responsibility to store and display the names.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 08:06:46 +00:00
zephyrus
c1fa49b7e6 - New invisible walls system (for WOE SE and Battlegrounds).
- New script commands for this system "setwall" and "delwall"
- Added other scripts commands "changelook" (can be used to try clothes colors, hair styles, headgears, etc without saving this on logout).
- Added getmobdrops to request a list of drop and rate of an specified class.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20 20:56:35 +00:00
ultramage
dcc2cdb5da Split off mapreg code from script.c
* new mapserver files, mapreg.h, mapreg_txt.c, mapreg_sql.c
 * removed MAPREGSQL from project files / makefiles
 * mapreg storage engine is now fully dependent on the server type
 * added config settings mapreg_txt and mapreg_db to inter config
 * added get_str() function to complement add_str()
 * fixed txt mapreg code allowing too long variable names

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15 11:14:45 +00:00
ultramage
a9a32d2da8 Added updated client effects list.
Corrected some doc/npc typos.
Reindented some mob AI code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12 05:45:35 +00:00
ultramage
115c5b6896 Removed the mob controller system, now a customization (see topic:194375).
The system consists of
 * script command to spawn a controlled mob
 * script commands to attach npcs to such mobs and manipulate their AI
 * a page of documentation for these commands
 * callbacks at various source code locations that invoke the attached npcs
 * two npc examples

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 05:37:40 +00:00
Paradox924X
0d0f4588ea Updated WoE Time Explanation for Sunday.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 02:28:03 +00:00
ultramage
0c9d9f5a48 * Slight cleanup of item-based walk speed bonuses
- removed bSpeed bonus code (was just disabled until now)
- changed speed_rate to use base value 0% instead of 100%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06 03:46:00 +00:00
sketchyphoenix
d218e11636 Added support for killmonster to fire OnMyMobDead optionally.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 14:22:08 +00:00
sketchyphoenix
1cb87e882f * Modified *killmonsterall to support a new argument that will allow it to kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22 00:27:30 +00:00
FlavioJS
57cfa2d794 * Extended script command 'set' to return the variable reference (topic:190602).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21 21:46:24 +00:00
shadow
9acd2669e1 Swaped documentation about gatlingun and shotgun.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-17 11:02:33 +00:00
FlavioJS
625f9f62fd * Added support for skill names to script commands:
- skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill, petskillattack, petskillattack2, petskillsupport, skilleffect, npcskilleffect, unitskilluseid, unitskillusepos
- bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk, bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-12 09:30:12 +00:00
shadow
69d4ed69d9 Cleared up a bit some of item_bonus documentation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-10 06:16:09 +00:00
shadow
e07ba9d3b8 Cleared documentation about autospellwhenhit, a lot of cards will need to be revised
Fixed 2000,Destruction_Rod being 0.2% per refine instead of 2%.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 12:03:53 +00:00
shadow
089ed8e415 Fixed 5293,Ramen_Hat, should cast AgiDown on enemy at 3% when melee attacked, bugreport:286
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 07:10:40 +00:00
shadow
c1c44cbec2 Added a list of aegis effect constants to be used on scripts, this should help on script conversion.
They go up to 377, but for higher values, you can still use the integers found on /doc/effect_list.txt
Added a list of aegis npc name constants to be used on scripts (eA doesnt support this yet).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 03:20:35 +00:00
zephyrus
2da8086509 - Added support for NPC with different sizes (setnpcdisplay).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29 13:07:54 +00:00
L0ne_W0lf
41fee2d70d Corrected several effect descriptions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 00:31:35 +00:00
toms
c68d9e2a7d * Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 (optional account_id parameter) bugreport:1035
* Modified doc in consequence

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 06:54:53 +00:00
ultramage
70e34f81cd Fixed an issue in r12575 where 'not setting char offline when going from mapserver to charserver' also caused a permanent account lockout if the player pressed 'cancel' in the char select screen.
Merged some recent changes from SQL to TXT, as someone didn't bother to do it.
Ifdefed the quest data request code as SQL-only (this was causing server disconnects whenver someone logged in).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-16 07:48:53 +00:00
FlavioJS
cd1f48cc9e * Made script command 'flagemblem' and guild_emblem_change send an update of the emblem_id to the players in the area.
- known bug: ui components that are displaying the emblem at the time (emblem in flag npc and emblem over head in gvg maps) are not updated, but putting the mouse over the target shows the new emblem
* Modified script command 'guardian':
- returns the id of the guardian
- if guardian index isn't supplied, it generates a temporary guardian
* Implemented support for temporary guardians (not saved with castle).
* Added missing includes from r12520.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07 21:04:28 +00:00
Lupus
c70703e473 Updated Valkirye, Global_Functions, Turtle Island Quest vars
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-03 09:15:22 +00:00
L0ne_W0lf
a1d132effc First round of minor updates for WoE SE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-02 17:44:48 +00:00
ultramage
ea403a9f9a Added proper script constants and documentation for the 'checkcell' command. (topic:183035)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27 18:27:22 +00:00
ultramage
9c07918456 Added proper checks to adoption processing (followup to r12428).
Cleaned up some code / fixed some typos.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-25 09:56:18 +00:00
ultramage
8b00f6dbdd * extended the "npc_event: event queue is full" error message to also print the name of the event (so that the cause can be tracked down)
* removed a strange (and undocumented) event name check for "GM_MONSTER" in the npc event execution code
* added effects from recent sakexes to effects list
* removed ladmin from vs8 sql builds
* added int_auction.c/.h to vs6 and vs7 project files
* some small cleanups

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-14 12:59:02 +00:00
L0ne_W0lf
3b801b284a Corrected cashshop description. (#FREEPOINTS->#KAFRAPOINTS)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-12 15:33:29 +00:00