summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2009-04-21* Fixed items that use the "AddSPAmount_Action" bonus on aegisPlaytester1-2/+9
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13686 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-12- Added missing bonuses for 'Maiden Hat'. (bugreport:2826)Kisuka1-1/+1
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-12Applied patch to getitem2/delitem2 to handle charid embedding correctly ↵ultramage1-5/+26
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22Removed outdated bSPDrainValue command from item bonus documentation (see ↵ultramage1-5/+2
r3149). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-15Updated script_commands.txt with the book reading command info.sketchyphoenix1-0/+6
Added/reworded/removed comments to/in/from r13450 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-27Some bug fixes. (bugreport:2558, bugreport:2588, bugreport:2583, bugreport:2587)Kisuka1-10/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-20* Extended how duplicates work: (based on Orcao's work in bugreport:2361) ↵FlavioJS1-12/+21
[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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-18Removed charcommand code while allowing atcommand code to support its ↵sketchyphoenix1-16/+3
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-11* Updated script_commands.txtFlavioJS1-7/+9
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28Removed leftovers of "bLoseSPWhenUnequip" and "bDamageWhenUnequip" -- ↵Paradox924X2-4/+1
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-09Enabled WoE SE to be run independently of WoE. Let's see how long it is ↵L0ne_W0lf1-6/+19
before something blows up, or Ultramage pulls out his hair while cursing my existence. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13202 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01Removed hardcoded equip position names from getequipname (bugreport:2156).ultramage1-9/+10
Now it's the npc's responsibility to store and display the names. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-20- New invisible walls system (for WOE SE and Battlegrounds).zephyrus1-0/+9
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-15Split off mapreg code from script.cultramage1-1/+1
* 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-12Added updated client effects list.ultramage2-5/+20
Corrected some doc/npc typos. Reindented some mob AI code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13074 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31Removed the mob controller system, now a customization (see topic:194375).ultramage1-79/+0
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15Updated WoE Time Explanation for Sunday.Paradox924X1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-06* Slight cleanup of item-based walk speed bonusesultramage1-1/+0
- removed bSpeed bonus code (was just disabled until now) - changed speed_rate to use base value 0% instead of 100% git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22Added support for killmonster to fire OnMyMobDead optionally.sketchyphoenix1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-22* Modified *killmonsterall to support a new argument that will allow it to ↵sketchyphoenix1-2/+9
kill monsters using the new OnMyMobDead behavior (in order to avoid breaking older scripts) (bugreport:1734) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-21* Extended script command 'set' to return the variable reference (topic:190602).FlavioJS1-2/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-17Swaped documentation about gatlingun and shotgun.shadow1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-12* Added support for skill names to script commands:FlavioJS2-19/+41
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-10Cleared up a bit some of item_bonus documentation.shadow1-105/+147
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09Cleared documentation about autospellwhenhit, a lot of cards will need to be ↵shadow1-19/+29
revised Fixed 2000,Destruction_Rod being 0.2% per refine instead of 2%. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08Fixed 5293,Ramen_Hat, should cast AgiDown on enemy at 3% when melee ↵shadow1-1/+2
attacked, bugreport:286 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08Added a list of aegis effect constants to be used on scripts, this should ↵shadow1-2/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29- Added support for NPC with different sizes (setnpcdisplay).zephyrus1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01Corrected several effect descriptions.L0ne_W0lf1-202/+203
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12676 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25* Modified delitem/delitem2 to have the same behaviour as getitem/getitem2 ↵toms1-8/+11
(optional account_id parameter) bugreport:1035 * Modified doc in consequence git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12648 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-16Fixed an issue in r12575 where 'not setting char offline when going from ↵ultramage1-8/+12
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12606 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-07* Made script command 'flagemblem' and guild_emblem_change send an update of ↵FlavioJS1-2/+9
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-03Updated Valkirye, Global_Functions, Turtle Island Quest varsLupus1-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-02First round of minor updates for WoE SE.L0ne_W0lf1-0/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27Added proper script constants and documentation for the 'checkcell' command. ↵ultramage1-1/+40
(topic:183035) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-25Added proper checks to adoption processing (followup to r12428).ultramage1-2/+2
Cleaned up some code / fixed some typos. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-14* extended the "npc_event: event queue is full" error message to also print ↵ultramage1-2/+4
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-12Corrected cashshop description. (#FREEPOINTS->#KAFRAPOINTS)L0ne_W0lf1-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-04- Updated firepillar so it cannot be placed on top of others.skotlex1-2/+2
- Updated the firepillar code so it behaves like the other traps. - Changed the default format for @me and @main to avoid crashes on the newer clients. - Fixed the char-sql server so it returns a valid 'not found' packet when attempting to load a non-existing homunculus. - Fixed jump to use 0,0 for random coordinates rather than -1,-1 - Added missing \n to error reporting in getmonsterinfo - Additional status changes now only get triggered if the attack did damage, not if they get absorbed. - Fixed a logical comparison in unit_free to properly remove pets/homuncs when their intimacy is reduced to 0. - Properly set the opt3 value for Moonlight, Changeundead and Soul Link - Fixed the "no equip" flag of cards not being properly applied when attemting to equip items. - Added a check to avoid invoking pet menu entries when the pet is incuvated. - Fixed the session_data de-association in chrif_auth_delete - Cleaned chrif_auth_ok so that the latest received char info is kept when previous char login data was already in there. - Corrected docs mentioning non-existing flag 'mf_nopvp' git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12293 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29Woopth. Fixed spelling. ;P Should be a bit clearer now.L0ne_W0lf1-4/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-29Added some information and documentation for cash shop.L0ne_W0lf1-1/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-28* Removed "F_CheckMaxCount" as it seems "checkweight". preforms the ↵L0ne_W0lf1-0/+6
aforementioned check in addition to checking weight. * Updated 2004 headgear quests to use checkweight. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-02-11* Expanded the script command 'input': (bugreport:811)FlavioJS1-6/+15
- two new optional arguments 'min' and 'max' - return value indicating if it's in the correct range - config variables for the default value of the arguments: 'input_min_value' and 'input_max_value' in script_athena.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-10- Fixed getmonsterinfo to return "null" when returning the name of a ↵skotlex1-2/+2
non-existing mob instead of -1. - Extended the status_percent_damage define to include a bolean to specify whether or not the target can be killed from it. - Corrected CR_CULTIVATION to fail when the target cell has some BL_CHAR on it already. - Changed the meaning of 'flag' in status_percent_change, to enable differentiation between damage that can kill the object and damage that cannot. - Script command percentheal will no longer kill the player if the specified amount is negative (and not -100). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-04Modified the map_setcell() code to to use a boolean flag instead of needing ↵ultramage1-11/+42
SET_ / CLR_ pairs of defines (topic:174323). Also removed script object 'setcell', added script function 'setcell'. - Now you can manipulate cell information without needing @loadnpc - You can also manipulate the terrain ('gat') type itself, using the new cell_walkable, cell_shootable and cell_water constants (currently the implementation uses bit flags too, so to get the type you want, you need to adjust the flags one by one) - This breaks current scripts, so please adjust places that use setcell (also be sure to _only_ use predefined constants, not direct numbers) - Details can be found in the script reference. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-29Implemented THE official Steal skill equation and game mechanics (basically ↵ultramage1-0/+2
version from /stable plus a few tweaks) (see topic:116540). Added missing bAddStealRate reference to doc/item_bonus.txt. Removed skill_steal_rate, as it was never used in the code (see r231). Removed skill_steal_type, it's just a one-liner source mod (see r231). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-27* Corrected description of scope and npc variables in script_commands.txt.FlavioJS1-14/+20
* Made temporary character string variables not have a limited length. (now all temporary string variables don't have limited length) * Made temporary character variables reuse free positions. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11984 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-19Corrected mistakes in script_commands.txt (bugreport:373)ultramage1-108/+66
- reformatted the file header (less junk more info) - corrected "$" variable description saying that it always uses save/mapreg.txt - added missing OnMinute: reference - corrected OnLoadMapEvent saying 'loadmap' is the mapflag to use (should be 'loadevent') - fixed getcharid() script example doing the opposite of what it said it was doing - corrected getmonsterinfo() saying its parameter was an 'item id' - corrected attachrid() saying "use character id as parameter" when RIDs are account ids - placed commands from the 'RoVeRT' block to where they logically belong - re-phrased the documentation to npc timers git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11948 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-14Guardian hp handling code removal (see bugreport:342)ultramage1-7/+11
- removed guardian hp from the castle data structure, database, savefiles and various script functions (use upgrade_svn11914.sql) - removed guardian hp calculation and manipulation from the castle manager npc, now the hp values are updated by the server itself (glitch: when castle defense changes, all guardians are healed to full) - tweaked script function 'guardianinfo' to provide some data needed by the manager npc (currently available are hp, maxhp and visibility); also, it doesn't need a player attached to execute anymore The whole thing is experimental, use at your own risk (seems to work though...) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-11- Added query_logsql script command to perform sql commands using the log db ↵skotlex1-0/+6
connection. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11892 54d463be-8e91-2dee-dedb-b68131a5f0ec