8428 Commits

Author SHA1 Message Date
ultramage
e441bae997 Corrected a variable defined in a header file.
Cleaned up a bad case of variable recycling.
Separated the ALL_WEWISH case from the unrelated sage skill cases (undo of r14183).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14190 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-08 00:41:29 +00:00
L0ne_W0lf
6f91dfe451 Implemented the first version of Sealed Shrine.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14189 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-05 03:17:52 +00:00
L0ne_W0lf
2955c14af1 * A rather hefty updates to the mob_skill_db and added some more info for newer pets.
- Added official skills for 13.1 monsters. (Orc instance, 13.1 field, WoESE Guild dungeon.)
- Added new skills for some older monsters (mostly alternate types of pre-existing ones.)
- Uncommented some mob_db entries as there are now skills assosiated with those mobs.
- Rearranged some skills/commented out others to match official files better.
- Updated existing pet data, most data should now be official.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14188 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-05 02:48:18 +00:00
Paradox924X
92ed65fd9a Prevented online user count from going negative. (bugreport:3913)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14186 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-03 07:51:55 +00:00
brianluau
789f9fd1d5 - Added mob_avail IDs for iRO Halloween Event 2008, added in r14112. (bugreport:3703)
- Fixed Tatacho's race, should be Brute. (bugreport:3664)
- Fixed a label name in Control Device01#aru04. (bugreport:3716)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 20:45:52 +00:00
L0ne_W0lf
1b633ead78 Added customized iRO Christmas 2008 Event mob overrides to mob_db2.txt.
Updated custom WoESE Spawns to official, still commented out though.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14184 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 20:17:13 +00:00
L0ne_W0lf
27d0043c05 Semi-revert of 14182, moved ALL_WEWISH up under SA_GRAVITY instead, as I hadn't noticed it does exactly what the new case did.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14183 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 17:37:14 +00:00
L0ne_W0lf
ccfe13cd56 Added skill ALL_WEWISH. This skill in older clients plays a song, however in current clients it does not. The effect (AL_ANGELUS) still shows.
Added ALL_WEWISH to the skill databases, and enabled the Christmas Musicbox item.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14182 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 17:31:30 +00:00
Inkfish
69bd8dced5 * Autobonus code cleanups.
- removed the 'script_parsed' flag to fix the issues with combo items.
- introduced a global cache for autobonus scripts so that we don't have to parse scripts everytime invoking status_calc_bl.
- fixed such script commands as 'getrefine()' not working inside autobonus scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14180 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-02 10:30:10 +00:00
brianluau
1189a5f9a6 - Fixed weight of Mandragora_Cap (5399) should be 30, not 300. (bugreport:3910)
- Re-added more Sakexe packets that were accidentally removed in eAthena rev 14155.
This fixes colored broadcasts not appearing in some clients. (bugreport:3903)
- Updated SQL item/mob databases to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14179 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-12-01 05:34:17 +00:00
Kisuka
bcc93a061b - Fixed typo in WoE:SE Castle announcements (bugreport:3714).
- Fixed typo of a check in god_weapon_creation.txt (bugreport:3613).
- Fixed missing changequest in Knight Job Quest (bugreport:3757).
- Fixed placement of Control Device01#aru04 (bugreport:3716).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14178 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-29 23:23:42 +00:00
Kisuka
01d8d4c8d8 - Fixed a typo in skill_db.
- Fixed issue caused by 'renewal' client support getting rid of lots of version 23 (sakexe) packets.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14177 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-29 12:49:04 +00:00
Kisuka
abd523512f - Fixed some item script typos.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14176 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-29 10:52:21 +00:00
Kisuka
cb6fdc59cd - Official castle defense damage reduction/defense status changes. (bugreport:2901)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14175 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-29 07:18:35 +00:00
Inkfish
80591b2611 Fixed warping in OnPCDieEvent revives people with 0 hp.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14174 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-27 02:35:17 +00:00
Inkfish
5485daa6df * NPC event code cleanups.
- removed the 'OnMyMobDead' dead code. It's never supported though documented.
- removed the 'feature' that events only trigger when the player is in the OnTouch area IF it's specified. 
  It's never documented and breaks official scripts.
- some cleanups and bug fixes to OnTouch_.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14173 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26 12:01:19 +00:00
Paradox924X
0c828bfc57 Moved log_sql_init() call up in map-server-init to after after map_sql_init() call to prevent unnecessary processing before a potential quit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26 10:13:56 +00:00
Paradox924X
10c788b2da Fixed strnpcinfo(1) returning blank strings when NPC names did not have a hidden portion of the display name. (bugreport:3758)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-26 00:22:28 +00:00
Inkfish
2503e57535 Fixed damage doesn't cancel status changes.(followed up to r14164)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-25 00:18:51 +00:00
ultramage
e3300232a5 Cleaned up leftover PACKETVER define on the charserver (followup to r14155).
Expanded the error message in guild_castledataloadack() to actually provide some useful info.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24 23:40:42 +00:00
ultramage
ada5a13abe Fixed instances not initializing after reloadscript (bugreport:3522).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24 17:15:23 +00:00
Inkfish
96c3de31a6 * Fixed the logged damage from pets doesn't count when 'pet_attack_exp_to_master' is inactive.
* Uncommented the codes that stop pc_bleeding when dead (shouldn't have been commented out.....)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24 10:12:43 +00:00
L0ne_W0lf
702c4783c6 Changed Talkie Box to trap type, and removed the UF_NOREITERRATION flag. (Partial fix for Bugreport:3748)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14165 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-24 05:24:39 +00:00
Inkfish
cc02657862 * Fixed player keeps bleeding when dead.
- if battle_config.invincible_nodamage is true, reflected damage to targets in invincible status is now 1.
* Fixed a script typo i made when i was fixing a typo...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14164 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-23 10:38:01 +00:00
Paradox924X
e7a9a5bf46 Added ipban_cleanup_interval to the Login_Config struct (Follow-up to r14161).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-22 10:27:49 +00:00
Paradox924X
d2313b836b Added 'ipban_cleanup_interval' option which determines how often expired IP bans are cleaned from the database. (bugreport:3734)
Modified ipban_check() to only include ipbans that haven't already expired. (bugreport:3734)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14161 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-22 10:19:44 +00:00
Paradox924X
40a9a236c0 Removed an extra { from previous commit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14159 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-21 04:15:40 +00:00
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