7730 Commits

Author SHA1 Message Date
zephyrus
179ea86284 - Release of Battleground Tierra Valley scripts 1 and 2.
- I put them on custom because it's not based on Aegis scripts, but most of the work is based on official dialogs and information.
- Thanks to UEAUP Team for most of the information from official servers.
- I will release Flavius 1/2 and Kreiger Von Midgard some days later (already done).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-06 17:33:37 +00:00
ultramage
c4a4f647a1 Fixed a crash if for some reason a mob uses Blade Stop.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 22:18:34 +00:00
L0ne_W0lf
4dd82cd1e8 Follow up to r13559, r13560 and r13561. Moved some stuff around in the WoESE agits, and corrected a few mistakes I made.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 18:28:22 +00:00
ultramage
9c6c292775 Small edits to battleground code (bugreport:2816)
- removed bg_idle_announce setting (could be considered later)
- moved crystal protection code to battle_calc_bg_damage
- removed mob state 'inmunity' in favor of a script-based solution
- removed unneeded 'setmobdata' (fixes collision with mob controller)
- added svn:eol-style native for battleground code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04 17:26:07 +00:00
L0ne_W0lf
317e54657b Removed extra lines from schg_cas02 resetting data before eco/def is applied.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 17:49:09 +00:00
ultramage
8d57253cc3 Removed the Blade Stop range check against players.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 15:57:28 +00:00
L0ne_W0lf
d28267ebcd * Applied the updated eco/def investment system to Juno WoESE castles.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 06:01:21 +00:00
L0ne_W0lf
ee268541d4 * Applied the updated eco/def investment system to Rachel WoESE castles, Juno's next.
* Corrected the conditions in the if block that I goofed up, in agit_template.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 05:41:17 +00:00
L0ne_W0lf
76397f8bc7 * Another round of bug fixes to various scripts.
- Added Satan Morroc spawn and corrected shadow spawn timers. (bugreport:2690)
- Fixed Group of Evil NPC not reactivating  when it should. (bugreport:2696)
- Fixed the Zeny check when summoning guardians in agits. (bugreport:2712)
- Added zeny check to Jawaii bartender (hung the script.) (bugreport:2747)
- Corrected a mapwarp assosiated with the z-gang quest. (bugreport:2757)
- Fixed warps in ice dungeon 3 being usable all the time. (bugreport:2776)
- Corrected impossible condition if in Keil Hyre quest. (bugreport:2789)
- Corrected leftover aegis variables in several scripts. (bugreport:2794)
- Removed duplicate line from nameless quest. (bugreport:2795)
* Implemented official behaviour/Cost for investing in economy and defence
- Eco/Def will be modified on the turn of the day instead of immediately.
- Cost has been updated to official values. Investing twice now costs 4 times the first investment.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03 04:11:22 +00:00
ultramage
6a33ab38d2 Partial revert of r13556. The client doesn't handle active skills with 0 sp correctly.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 19:24:52 +00:00
ultramage
1d82043903 Blade Stop status no longer prevents item use and equip changing.
Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 18:11:49 +00:00
ultramage
5af84c659d Just some generic cleanups.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02 17:54:13 +00:00
shadow
7699a5de32 Fixes from 2008/10/13 bugreport:2077 (Only commiting because nobody did until now and those bugs would get lost)
* Fixed monster's Spiral Pierce, now it is always blocked by Pneuma.
* Fixed Monk Absorb Spirits mana recovery per spirit absorbed, 7, not 10.
* Fixed Monk spirit balls not being removed on death (like happens with gunslingers).
* Fixed Swordman Auto-Berserk sp cost, 1, not 5. Should be 0, but eA wont allow the skill to work.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01 22:46:03 +00:00
ultramage
4a7bc5ad07 Ankle Snare cannot be knocked back anymore (bugreport:2804).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01 18:52:31 +00:00
zephyrus
f2509ed537 - Updated const.txt using battleground stuff.
- Updated item_db.txt battleground items. Fixed 2 premium items. Fixed Gunslinger Medal usable by all classes.
- Battleground Guardians status (copied from Veins, we need officials).
- Added skill_nocast_db.txt restrictions for battlegrounds. I just used the 8 flag (when WoE is on) because nothing used it.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-27 16:24:47 +00:00
zephyrus
1c69065343 - Updating visual basic project files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:59:43 +00:00
zephyrus
2511a7069f - Second Part of BattleGround Implementation.
* Still need to merge visual studio files and scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:40:34 +00:00
zephyrus
e9153a3c17 - Fixed item Nemesis.
- Fixed Tarot Card being used on Emperium.
- First Part of BattleGround Implementation (please wait).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26 21:27:12 +00:00
FlavioJS
14cbb64848 * Wrong variable being used in StringBuf_Vprintf. (follow up to r13386, fixes bugreport:2798)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25 16:15:09 +00:00
zephyrus
7311750f56 - Bugreport #2800 ( Atcommands usables without restriction :S )
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25 06:04:18 +00:00
sketchyphoenix
23f462ad60 Replaced giving dummy sd gm levels in script commands atcommand and charcommand with a check by internal flag.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-24 01:17:36 +00:00
sketchyphoenix
35dbe82eea * Consolidated is_atcommand() and is_atcommand_sub()
- replaced gmlvl arg with a flag arg for internal/player generated checks. (dummy sds that used this arg are given gm levels)
	- each command check runs through is_atcommand() and is checked for its origin (internal or player generated)
	- charcommands are also parsed in this function.
	- script atcommand/charcommand function calls to is_atcommand() have been updated
	- also updated some clif/map functions calls to is_atcommand()
	* charcommands should now log properly with the target of the command included.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 18:32:43 +00:00
FlavioJS
ddf501b224 * Made mob_timer_delete check the deletetimer in the mob.
* Added missing delete_timer's every time deletetimer is being set. (except when allocating)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 16:36:58 +00:00
FlavioJS
92d80d2e99 * Made mob_delayspawn check the spawn_timer in the mob.
* Added missing delete_timer's every time spawn_timer is being set. (except when allocating)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 15:57:02 +00:00
ultramage
e362a5ce6f Corrected revision number for the previous upgrade script.
Applied changes made inside the script to main.sql.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-21 10:59:18 +00:00
ultramage
c2cc0763d9 Increased variable size for status/skill points to remove the 65k cap (bugreport:1579).
Added sql upgrade script to adjust the appropriate char table columns.
This is an enhancement to r5762.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-20 19:47:17 +00:00
FlavioJS
8326096602 * Modified WFIFOSET to trigger a fatal error when trying to send a packet that is too big.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-20 05:53:50 +00:00
FlavioJS
ad963e52e6 * Fixed impropper filling of w4 in npc_parsesrcfile when there are less than 4 fields. (bugreport:1063)
* Simplified atcommand_spiritball. (deprecated msg_txt 204 and 205)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-19 16:57:01 +00:00
Kisuka
d95ad1e02a - Small fix to zeny check in airships.txt (bugreport:2763)
- Fixed a typo in thana_quest.txt (bugreport:2783)
- Added missing dialog to Biological Weapon Quest. (bugreport:2778)
- Optimized and fixed getequipname() in card_remover.txt (bugreport:2156)
- Added missing npc name in Lvl4_weapon_quest.txt (bugreport:2764)
- Updated item scripts for 12294 to 12297. (bugreport:2766)
- Updated item 1483 (Ivory Lance). (bugreport:2753)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-18 23:57:29 +00:00
ultramage
a6d6739409 Fixed card remover commands not preserving item rental time.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-16 00:38:57 +00:00
Lupus
1bdafa4c97 fixed 2nd bug in the event
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-13 20:55:39 +00:00
Lupus
822514596c fixed st.Val exploit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-13 18:36:59 +00:00
Kisuka
3944f69f1d - Added iRO Valentine's Day 2009 Event.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-12 17:43:13 +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
Kisuka
1887aa4d3c - Relocated 'Maseph' npc to moc_fild07. (bugreport:2749)
- Removed duplicate text from hellion quest. (bugreport:2738)
- Starting to translate any Japanese text I find in eAthena.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-07 04:59:49 +00:00
FlavioJS
29183f62d5 * Follow up to r13485. (bugreport:2741)
- @spiritball creates spiritballs without timer (limited to the array size instead of 500)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-06 18:47:30 +00:00
ultramage
913165e7c4 Yet another fix to r13503 - dangling player chatroom pointer in id_db (bugreport:2750).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-06 18:41:46 +00:00
ultramage
ac6b5f162a Fixed NPC_ALLHEAL being obtainable by players/gms, which also causes client crashes (bugreport:2737).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-03 11:09:58 +00:00
ultramage
7f2589f080 Fixing r13503...
- Added missing id_db removal calls for all flooritem objects (bugreport:2729)
- Added missing destruction of skillunit_db on mapserver exit

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-02 08:28:34 +00:00
ultramage
8e35ca3ebb Added skillunit_db for efficient execution of skill_unit_timer() (followup to r13503).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-31 19:31:30 +00:00
ultramage
54993d74aa objects[] array removal (bugreport:2559)
- Removed the 2 MB wide static array in favor of a general-purpose DBMap (id_db for now).
- Inlined functions map_addobject, map_delobject and map_delobjectnofree into their callers' code.
- Replaced the free id lookup algorithm from ancient jathena with something more efficient.
- Moved the algorithm to map_get_new_object_id() (similar idea as r13481).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-31 15:48:04 +00:00
Kisuka
c3859196e0 Fixed "junk symbols". (bugreport:2723)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-30 11:22:59 +00:00
ultramage
f4a36b9b63 Fixed mob_spawn_dataset() not initializing the spawn_timer variable (followup to r13497).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13498 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-29 01:05:29 +00:00
zephyrus
dfe943a397 - Fixed a little spawn_timer bug. Discovered with a previous fix from ultramage and because of this spawn line:
npc/mobs/fields/prontera.txt:
prt_fild06,222,30,40,10	monster	Green Plant	1080,15,900000,450000,1

This is an impossible spawn area, and the engine just keep trying each 5 seconds to spawn it again.
So we need to fix this line with a correct spawn too.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-29 00:13:25 +00:00
Kisuka
df1e61b6e0 - Fixed typo on Sprint Set item (bugreport:2679)
- Fixed typo on Poison Bottle Box item (bugreport:2715)
- Fixed Kafra coordinates for moc_ruins kafra (bugreport:2714)
- Added items 14228 - 14241 (bugreport:2716)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-26 21:46:50 +00:00
L0ne_W0lf
9b5bfcf8c5 Changed guild_skill_relog_delay to yes. Relogging no longer resets delay on guild skills.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-26 05:00:15 +00:00
zephyrus
96c953126c - Implemented monster skill "Full Heal" NPC_ALLHEAL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 20:14:19 +00:00
zephyrus
c728878085 - Ops... missing var from my source. Sorry.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 20:07:55 +00:00
zephyrus
d4c7aad803 - Implemented new Pet Bonus System. Enjoy!! :D
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 20:06:13 +00:00
zephyrus
ede9af3b29 - Implemented new item bonus scripts required for battlegrounds.
- Battlegrounds items rewards for Tierra Valley and Flavius done (but autoscript rate is suggested - 5%).
- Restricted trade/storage/drop for those items.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25 19:50:02 +00:00