324 Commits

Author SHA1 Message Date
eathenabot
76f6cffc57 * Merged changes up to eAthena 15076.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15659 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-05 13:57:01 +00:00
gepard1984
f810293de3 - Guild Castle code cleanup:
- removed `MAX_GUILDCASTLE` limit
  - char-server now caches guild castles in `DBMap`
  - improved guild castle SQL queries to support non-default values of `MAX_GUARDIANS`
  - disallowed declaring guild castles on maps that are on other map-servers 
  - map-server now requests data for all guild castles from char-server on initial connect (bugreport:287)
  - removed ''guildcastleinfo events'' as they were esentially duplicated ''OnAgitInit''
  - optimized castle data load packets (bugreport:287)
  - updated WoE scripts to reflect source changes (scripts no longer need or should request castle or guild data)
  - updated related docs
- Added `db_size` macro.
- Replaced manual counting of castles occupied by a guild with `guild_checkcastles()` calls.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15657 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-03-04 18:37:29 +00:00
gepard1984
202909582c Updated Airship NPCs to official.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15636 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-28 20:11:46 +00:00
brianluau
3d8bd6c9c1 - Fixed a small typo in script_commands.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15634 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 20:04:30 +00:00
eathenabot
0041662145 * Merged changes up to eAthena 15075.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15631 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-27 03:15:59 +00:00
shennetsind
93f8dc1ffd Added 2 new item bonuses as per kenpachi's request:
- bonus2 bHPGainRaceAttack
- bonus2 bSPGainRaceAttack

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-18 18:15:31 +00:00
gepard1984
09193ae095 Added getgroupid() script command (follow-up to r15572).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-15 00:34:32 +00:00
gepard1984
ff37675328 Merged @kill and @die, since @kill was just a remote version of @die.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-14 02:05:16 +00:00
gepard1984
22f0714c07 - Added libconfig (configuration file library: http://www.hyperrealm.com/libconfig/):
- Updated VS9/10 project files.
   - Updated `configure` & `Makefile`s.
 - New GM, Commands & Permissions system:
   - '''This is a backwards compatibility breaking update''', please read tid:58877
   - Replaced GM levels with Player Groups.
   - Commands permissions & other privileges now depend on group, not GM level.
 - `@help` command improvements: requires "commandname" param and shows more detailed info about commands.
 - Modified GM whisper system to deliver messages basing on permissions, not GM level.
 - Remote trade request is now possible only if player is allowed to use `@trade` command as well.
 - Added a proper permission to use `/changemaptype` command.
 - `clif_displaymessage` is now capable of displaying multiline messages.
 - All `ACMD_FUNC`s are static now, and the only way to invoke them is with `is_atcommand()`; all client commands (starting with `/`) are now translated into corresponding atcommands (with exception of `/kick` used on monster, as there is no atcommand to kill single monster).
 - Removed nonsense "bot check" triggering when player blocked (`/ex`) Server.
 - Merged `@monster`, `@monsterbig` and `@monstersmall`.
 - Improved flow of atcommand execution to avoid revealing info about online players or existing commands to non-privileged players.
 - Merged `atcommand` and `charcommand` script functions (`charcommand` is aliased to `atcommand`).
   - Fixed `atcommand` script function reading unknown memory area (possible access violation).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-13 01:19:04 +00:00
kenpachi2k11
fc1159e200 Updated some monster slaves. (bugreport:4689)
Added description for monster spawn event in monster() script command. (bugreport:5251)
Removed some items from db/item_trade.txt. (bugreport:5301)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-02-07 22:08:53 +00:00
gepard1984
0709205ee8 Merged getmapmobs script function into mobcount (bugreport:244). See script commands documentation for details.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-31 15:15:32 +00:00
brianluau
00367cd7b7 - Removed more trailing tabs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 20:17:55 +00:00
brianluau
3aede46965 - Removed trailing tabs, and fixed some spacing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-30 16:02:55 +00:00
eathenabot
20207e3865 * Merged changes up to eAthena 15066.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 07:31:55 +00:00
eathenabot
0b4a77d2d2 * Merged changes up to eAthena 15061.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 06:53:19 +00:00
brianluau
43dcf27318 - Updates to script_commands.txt, and added svn:keywords property.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-17 06:15:05 +00:00
gepard1984
1a61c2d24e Removed unused and unofficial bonus bRandomAttackIncrease (in SVN since r2, bugreport:2139).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-03 22:25:12 +00:00
brianluau
9677b80a31 - Added 'showdigit' documentation (command was added in r15009, ea:15001).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-01 06:11:52 +00:00
xazax-hun
33cc72690e Fixed setting and removing restricted mapflags. bugreport:4119
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 18:49:58 +00:00
kenpachi2k11
fd0f281fd7 Added the two new bonuses from r15269 and r15270 to item_bonus.txt.
Updated Refined Bloody Roar (1273) bonus. (bugreport:4767)
Updated Entweihen Crothen Card (4451) bonus. (bugreport:4486)
Updated Angeling Hat (5132) DEF and required level. (bugreport:4517)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 17:35:10 +00:00
jmanfffreak
5a71a1ae65 Removed Changelog files left over from eAthena. We use Trac to log changes now, and these haven't been updated since rAthena start.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 05:13:10 +00:00
kenpachi2k11
1bbc69723c Updated October Fest Cap (5807) bonus. Assumed 2% chance until we get more information. (bugreport:4475)
Updated Shield of Naga (2134) bonus. (bugreport:4379)
Updated Well-Chewed Pencil (5574) bonus. (bugreport:4381)
Updated Parade Hat (5225) bonus. (bugreport:4481)
Removed changes from r15112 / bugreport:4356. (Was a custom iRO bonus.)
Updated Speed Potion drop chance in First Aid Kit. (bugreport:5157)
Fixed item_bonus.txt where x/10000 should be x/100.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-25 01:31:56 +00:00
mercurial123
0f47604f2d - Replaced all occurrences of "eAthena" to "rAthena" string
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-24 21:30:42 +00:00
shennetsind
9097a477af Added Official Costume (Style Tab) Headgear Support
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15194 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-21 05:07:39 +00:00
brianluau
c055832784 - Updated some script command documentation.
- Added default Doxygen 1.7.1 config file.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 06:23:15 +00:00
brianluau
d6d87a6f65 - Fixed pet.c not checking log_config.enable_logs setting. [lighta]
- Updated documentation for 'showevent'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15152 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-17 07:35:04 +00:00
GodLesZ
f6cb0b032f Small correction of item bonus (bugreport:1878)
- planed to make a HTML document, because tab's are always displayed different
Small correction on instance_create() documentation

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13 11:00:21 +00:00
kenpachi2k11
acc5fe8d6b Fixed bonuses for Kafra Dolls (ItemIDs 5340, 5341, 5342, 5343, 5344 5345) and added a missing semicolon in item_bonus.txt. (bugreport:3129)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15080 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-12 21:17:31 +00:00
epoque11
b6d144c4c4 - Added support for multi-line messages when using mes;
- Added getstatus; script command to retrieve information about a specific, active status effect

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-12 03:32:34 +00:00
kenpachi2k11
732c790990 Fixxed Mole Card bonus.(bugreport:2230)
Fixxed The Sign bonus.(bugreport:5116)
Fixxed documentation for Guardian() and GuardianInfo script commands.(bugreport:5117)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15058 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11 16:18:48 +00:00
brianluau
d02ec63880 - Added a blank line at EOF to make SVN and some compilers happy. (bugreport:5107)
- Removed trailing tabs in /doc/script_commands.txt
- Set svn:eol-style=native for some recently added text files (follow up to r15009).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09 03:44:35 +00:00
brianluau
ce4717c6a7 - Added ToastOfDoom's String Commands Package. (tid:53411, topic:204976)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09 02:46:31 +00:00
brianluau
92cd319889 - Updated some URLs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15037 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-09 02:36:59 +00:00
jmanfffreak
ca8ed1c7cf Added notes about block comments to script_commands.txt.
Also, changed all occurrences of 'eAthena' to 'rAthena'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08 16:16:46 +00:00
epoque11
a7d65b3d13 - Added support for additional item information when OnSellItem is called
- Added information is refine, attribute, identify flag and the item cards

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06 16:46:03 +00:00
brianluau
825caaa72f - Reverted r15002 because the Instance script commands were already in docs.
========================
|7.- Instance commands.|
========================

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-01 00:12:27 +00:00
script-z3r0
24bd71a948 Updated doc/script_commands.txt to include instance variables from wiki
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-29 21:58:18 +00:00
brianluau
146e136ad5 Welcome to RAthena! http://rathena.org/board/topic/53704-rathena-the-fork/
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15001 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-29 18:51:50 +00:00
ultramage
2da1b94830 Corrected documentation on monster respawn delay1/delay2 fields to reflect actual server behavior (followup to r11964).
Long ago they meant "delay since last spawn/death"; the current meaning is "fixed base delay + random variance".

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-11-08 22:19:51 +00:00
brianluau
9aa3a700a7 - Removed .gat from map names.
- Removed trailing tabs in some warp portal files.
- Removed `loginlog` table from convert_engine SQL scripts, because it's in the log database.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-31 23:19:36 +00:00
ai4rei
9ae81c84e8 * Fixed a mistake in RID description in doc/script_commands.txt (since r2402).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-26 14:19:53 +00:00
brianluau
b6e6bec3c6 - Fixed .@GID not being set in Gld_Trea_Spawn, since r13559. (bugreport:5067)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15 22:40:00 +00:00
brianluau
558b08bfe7 - Updated strnpcinfo documentation, following r14929.
- Fixed some script typos. (bugreport:5047, bugreport:5049, bugreport:5056)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-20 07:20:19 +00:00
ultramage
225a4b2ce2 Fixed 'getitem' documentation typo (stating the optional 3rd argument is char id instead of account id).
Initial documentation mistakes from r2402, propagated to code documentation in r9599, only partially fixed in r12648.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-01 21:19:10 +00:00
Skotlex
b7ad7aa055 - Commiting a bunch of cleanups piled up from the past few weeks/months/years.
- Updated unitwarp so that an id of "0" causes the script's rid to be warped.
- Updated the Brasilis ontouchNPC warp command to use unitwarp instead.
- Signum Crucis's duration is now specified in the skill_cast_db file
- Updated @warp/@jump commands so that when an invalid tile is specified, a nearby cell is chosen (rather than using a map-wide random value)
- The if(req.weapon) code was broken, since req.weapon is never "0" for a skill. Updated the code so that the requirement of '99' (any weapon) is stored as 0, in order to make the checks effective.
- Cleaned up the code for script command warpparty
- Fixed the define itemdb_canrefine()
- Cleaned up some the status_damage() function
- Fixed map_random_dir(), which at times would pick cells that didn't preserve the required distance.
- Some aesthetic code cleanups.
- Fixed some possible crashes for skills where the code assumes the caster is a player.
- Fixed a bunch of idiotic code-snippets that should have embarrassed whoever was responsible for them.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10 15:52:59 +00:00
L0ne_W0lf
02179c24bb * Added bonus3 bAddClassDropItem, care of Epoque.
- Added several missing items to the item database, updated others.
- Raised level 10 Dec. AGI to be level 48, when used by mobs.
- Added missing mercenaries to the mercenary DB, and skills.
- Added missing monster_chat_db entries for Nydhoggr's Shadow.
- Added Brasilis pets to the pet DB, these pets are unhatchable on purpose.
- Added additional quests to the quest_db, mostly for RE.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-11 20:13:22 +00:00
ai4rei
4d6e77c875 * Added script command 'getmercinfo' for retrieving information about a mercenary of an online character.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09 18:45:22 +00:00
ai4rei
9e4d7a1beb * Fixed script command 'warpguild' looking for an attached player even when it is not needed (bugreport:4941, since r2674, related r14840).
- Documented special map names recognized by the command.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14841 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-30 19:24:02 +00:00
ai4rei
aa0bf03f74 * Updated script commands 'npcshopitem', 'npcshopadditem' and 'npcshopdelitem' to support cashshops as well (bugreport:4928).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-29 12:41:16 +00:00
brianluau
d3d4504d7f - Fixed a typo in eA Job System documentation.
- Fixed some bugs in Cursed Spirit quest. (bugreport:4914, bugreport:4917)
- Changed <dir> in movenpc to wrap around if the number is < 0 or > 7.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-22 18:05:23 +00:00