8401 Commits

Author SHA1 Message Date
Paradox924X
31c237c225 Cleaned up mapreg dirty-marking code to only mark the mapreg as dirty when it actually is. (bugreport:3735)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-21 04:07:53 +00:00
Kisuka
995268398a - Added effects to some jRO items.
- Added effect of 'Cool Towel'.
- Fixed view id of Puppy Hat.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-20 01:49:52 +00:00
skotlex
c92ff591f1 - Applied the renewal client support patch from Diablo (eA forum topic 222623)
- Added support for strcharinfo(3) to retrieve the player's map
- Added script command "searchitem" for name item searches.
- Moved PACKETVER to src/common/mmo.h as it's needed by the char-server now
- Changed the status valX from int to long so that it won't break for pointer-storage in other architectures.
- Moved the change party leader code to party.c
- A few bugfixes or packet field completions based on my past experience messing around with my server.



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-19 18:19:09 +00:00
Inkfish
c3f733849c Random fixes to some script typos
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14153 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-18 15:39:24 +00:00
ultramage
9025c3c4c9 Removed unnecessary use of StringBuf in int_quest.c to avoid memleaks in certain cases.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14148 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-15 18:22:10 +00:00
L0ne_W0lf
298215600b Added Ifrit, Beelzebub, and Hibram to mob_boss, and a second Atroce.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14147 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-14 23:25:18 +00:00
ultramage
c517fd305a Resolved a client hang in the scenario where the client sent loadendack before the server finished loading all data (bugreport:3700).
Improved the performance of pc_autosave() to stop scanning players after it has already found the player it wanted to save (bugreport:3717).
The 'overweight' status changes (SC_WEIGHT50/SC_WEIGHT90) will now be cleared on logout, to avoid saving them into the database (they get derived from player weight during login anyway).
Improved lock.c on windows to use C's access(0) function instead of doing fopen/fclose when testing for existence of files.
Re-added the 'static' attribute to mapindex_getmapname_ext's buffer; returning the address of a non-static local variable is undefined behavior (see r13901).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14144 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-13 21:06:21 +00:00
brianluau
f3ca552ec5 - Fixed a typo in Strawberry Cake (12319). (bugreport:3702)
- Fixed a typo in Halloween 2009 Event. (bugreport:3711)
- Updated SQL item/mob databases to latest. (thanks Peter)
- Applied the change from r14087 to @tonpc, @shownpc, @hidenpc. (bugreport:3599)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-11 21:49:50 +00:00
Gepard
de0efc5bbd Fixed WoE:FE castles spawning too many Treasure Boxes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-10 19:09:00 +00:00
Inkfish
3959ec7218 Fixed the flag from my last commit not working
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14137 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-08 14:32:36 +00:00
Inkfish
c9c033cea3 Fixed mob is removed from map right after his rebirth.
Fixed dead event does not trigger when a mob has rebirth skill and dies for the second time.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-08 05:50:58 +00:00
Inkfish
3acf4d6c67 * Fixed possible memory leaks caused by invalid parameters of autobonus
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-07 15:39:10 +00:00
Inkfish
1d4c819268 Added a flag to indicate if the script of an autobonus was parsed for the sake of resource saving.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-07 15:29:24 +00:00
Inkfish
b0d3e8b0cf * All Songs/Dances now create a 3 second delay before Adaption can be used.
* Fixed unit still not being able to move when fiberlock is removed by Magnetic Earth.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-04 10:08:15 +00:00
L0ne_W0lf
c652787562 * Added known info for WoE SE Guild Dungeon monsters.
- Movement speed, and attack delays are not official. (copy/pasted)
- Skills are, like above, copy, pasted, edited. Not official.
- Decided not to drops added for the mentioned monsters.
* Added mapflags for WoESE guild dungeon.
* Added official WoESE Guild Dungeon NPCs, and custom spawns.
- As the mobs are not 100% (missing stats, no drops, etc) they are disabled by default.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-04 00:13:52 +00:00
L0ne_W0lf
82fd1bd8be * Added new broadcasting support from r14120 to WoE scripts.
- "Conquered" messages can now be effectively toggled off in Battle log
- Added fontsizes for WoESE messages. (At least the non-default sizes.)
* Added font weight constants, although they don't seem to do anything.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14122 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 19:41:37 +00:00
ultramage
6376c2255c Fixed gcc compilation warnings in r14120.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 17:57:12 +00:00
Gepard
f9cff9c6e0 Extended broadcast implementation:
- support for font formatting, like font-size
 - `bc_woe` flag to allow client-side filtering of WoE announcements
 - new broadcast packet 0x40C  

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 15:56:54 +00:00
L0ne_W0lf
8d0be03e8a * Added battle_config.mob_slave_keep_target config option (monster.conf)
- When yes (default) MVP slaves will always keep their prior targets.
- When no the old behavior of switching to the closest target is enabled.
* Updated MAX_MOB_DB to 4000 (Monsters are starting to appear in the 2k ranges)
* Changed default respawn time (when 0) to 500 from 5000.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 01:39:45 +00:00
L0ne_W0lf
0491ccb822 Implemented "Part-Time Work", another 13.1 quest and related NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14118 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 00:31:12 +00:00
Inkfish
b9c5a5fc32 * Quick fix to char command checking gm level of the target player instead of the command user (bugreport:3255).
* Disalbed @jump/@jumpto usage when dead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-02 14:31:24 +00:00
Lupus
564aa19b9f Fixed db/mobs_avail.txt according to the event mobs IDs. Fixed Halloween09
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-02 10:19:01 +00:00
L0ne_W0lf
a39d3e704f * Implemented the fix for Slim Pitcher working on WoESE objects (bugreport:3618).
* Added SC_SPIRIT to the list of buffs that are dispelled when the player logs out.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-01 19:23:34 +00:00
Lupus
ea5b2fc3f2 fixed exploit in HW2009 evnt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14114 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-01 17:57:42 +00:00
Kisuka
31714dc86d - Added Fool's Day Boxes effects (they go with the 2009 halloween event).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14113 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-31 22:59:06 +00:00
Kisuka
2b884672af - Added 2008 & 2009 iRO Halloween Events (Happy Halloween eAthena).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14112 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-31 07:10:45 +00:00
brianluau
1fa8a70422 - Fixed a copy-paste 'nowarpto' mapflag. (bugreport:3688)
- Updated documentation for 'rentitem'. (follow up to r14082)
- Fixed a variable name in Valentines 2009 quest. (bugreport:3644)
- Added a missing 'input' in Alchemist Job quest. (bugreport:3695)
- Fixed a typo in Cooking Quest. (bugreport:3691)
- Fixed some typos in Veins Quest. (bugreport:3588) and (bugreport:3692)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-30 08:46:09 +00:00
Gepard
bea15e3e37 Fixed warp position between Juno and Schwaltzvalt Realm.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-28 20:07:30 +00:00
Gepard
e7391a599d Removed unused duration/upkeep values for AM_TWILIGHT skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-28 19:37:34 +00:00
Gepard
b0789a837a Updated Socket Enchant: all items moved to proper NPCs, added slotted Hat of Sun God. (bugreport:2871)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14107 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-28 00:23:40 +00:00
Inkfish
e8d9984582 * Cast time of Emergency Call is doubled if you master of High Jump.
* High Jump can't be used on PvP maps.
* Fixed a potential null pointer from last commit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27 14:46:42 +00:00
Inkfish
c50cacf28d Fixed quest will never get erased when it's the only quest you have.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27 13:54:23 +00:00
L0ne_W0lf
8e59f84f36 Forgot to add the splash range for HT_LANDMINE (skill_db) in r14101.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 15:32:02 +00:00
Inkfish
2144b13b80 Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 09:42:44 +00:00
L0ne_W0lf
2c54b30746 * The status SC_INVINCIBLE now reduces all damage to 1.
- Official behavior, and allows players to cancel NPC_ALLHEAL casts.
- If battle_config.invincible_nodamage is true, reflected damage is still 0.
* Minor updates and supporting data for Sealed Shrine.
- Zone 5 is now designated for sealed shrine restricted skills.
- Added new quest_db entries for Sealed Shine cooldown.
- Updated mob_db entries for Orc's Memory Instance. (improper stats)
- Updated Land Mine to have a splash effect. (Provided by Daegaladh)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 02:33:53 +00:00
ultramage
a38fddad27 Hardcoded the even label config settings from r14097.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 11:59:09 +00:00
Inkfish
da07c3b06e Reverted renaming foreach functions and create a new one for OnTouch so that last commit will hopefully break NOTHING in use.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 11:20:47 +00:00
Inkfish
42987f61ad * Implemented the official version of 'OnTouch' named as 'OnTouch_'.(it can be defined in script_athena.conf)
* Adapted 'map_foreachinarea' to 'map_forsomeinarea' so that it allows you to specify the number of bl you wanna operate on.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 09:38:33 +00:00
ultramage
fa2f34ed86 Reverted the previous change to OnTouch not triggering for invisible chars.
While this is the official behavior for OnTouch (as opposed to OnTouch2 which we don't have), this change would break npcs that assume you can't just walk past them cloaked.
If there is a real need for implementing this behavior in the future, it should be done in a backwards-compatible way if possible (although, inverting the meaning of OnTouch/OnTouch2 would cause a lot of confusion).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-24 10:45:36 +00:00
Inkfish
7b46d2c473 * 'OnTouch' script shouldn't trigger when you are invisible.(same as warps)
* Fixed character doesn't stop walking when walking into OnTouch area of an NPC who doesn't have an OnTouch label. (bugreport:2700)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14095 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-24 03:03:30 +00:00
Gepard
f5024cfa8d Fixed login-server using already removed auth_node. (bugreport:3254)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-23 15:52:39 +00:00
ultramage
b0bf56cf2e Removed the char_rename setting in favor of a PACKETVER define.
Inverted the way renames are counted: '0' now means 'no renames left' (the default).
Please make sure your database matches this new behavior before starting the server.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-18 11:29:30 +00:00
L0ne_W0lf
4b56d4930d Added several 13.x and 12.1 map mapflags, might have missed some. Might just go through and redo all of them. :( Also added the first version of the partylock mapflag file, although it's not officially used by any maps that I know of. (may help prevent abuse later for instances)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14092 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-15 17:05:38 +00:00
ultramage
6c8293ed15 Ported over several TXT online code fixes from charmerge (autotrading chars couldn't be kicked due to a missing update).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-15 13:19:32 +00:00
Inkfish
58c0099b66 Removed 'char_max_rename', extended 'char_rename', fixed compatibility issues.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 11:46:24 +00:00
Inkfish
0088d3754c Fixed an error when 'char_rename' is set to 'no'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 09:51:47 +00:00
Inkfish
137e993d52 Partially revert r14085, NPC names are allowed to be more than 24 character long in Aegis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 08:57:02 +00:00
Inkfish
06eb6757d5 Added missing sql update file for rename
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14086 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 00:07:35 +00:00
Inkfish
6abe64b1d7 NPC should only have a 24 characters long name including EOS. (bugreport:3599)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-11 04:55:57 +00:00
Inkfish
a2b652aa87 Added character rename function.(topic:225576)(written by pakpil and fixed by me)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-11 03:07:52 +00:00