summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-03-18- Implemented new item and bonuses for Kreiger Von Midgard rewards.zephyrus8-38/+282
* Execute script on skill (bonusautoscript3) * Add effect on skill (bAddEffOnSkill) * Execute skill on skill (bAutoSpellOnSkill) - Fixed some boxes Rental time according to item descriptions. - Implemented SC_ITEMSCRIPT, a status that gives you temporally the effect of an item. Check items 14597 to 14605 if you want to get the idea. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13596 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17- Battleground mapflags:zephyrus1-3/+12
* 1 = no scoreboard (as Tierra Valley is). * 2 = scoreboard enable (as Flavius and KvM requires). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17- Implemented official battlechat packets (thanks to Pakpil).zephyrus5-29/+153
- Implemented the scoreboard packets (thanks to Pakpil). - Updates to Tierra Valley according to official info. * There are no barricades around each base, barricades are in the middle left path. * There is another graveyard used for the owners of the middle base, with faster spawn (each 20 seconds). * I added a flag respawn in the middle, currently I don't know if this if official or not, but it allows each team recapture the middle base. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-16Fixed a logic typo in one empty string check (from r4823).ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-13Corrected a potentially uninitialized variable in sv_parse (bugreport:2860).ultramage1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-10* Results of client behavior investigation when mes/next/close/menu/input is ↵FlavioJS1-18/+63
used. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08Fixed statpoint table-based stat reset code using 'short' instead of ↵ultramage1-12/+10
'unsigned int' and messing up stat calculation (followup to r13541) (bugreport:2841). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08* Fixed a couple bugs with marionette controlultramage3-143/+59
- Reduces caster max hp by 1000. - Job and Equipment bonuses counts toward the 99 limit. - Fixed stat overflow on baby targets with stats over 80 (bugreport:2232). - Fixed clowns being able to cast it on another bard/clown (same for gypsy/dancer) (bugreport:166). - Caster is no longer blocked from using items. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-08Added several mail id checks to prevent a map server crash (bugreport:2837).ultramage1-3/+16
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04Fixed a crash if for some reason a mob uses Blade Stop.ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-04Small edits to battleground code (bugreport:2816)ultramage10-490/+427
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-03Removed the Blade Stop range check against players.ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02Partial revert of r13556. The client doesn't handle active skills with 0 sp ↵ultramage1-1/+1
correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02Blade Stop status no longer prevents item use and equip changing.ultramage2-4/+4
Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-02Just some generic cleanups.ultramage4-34/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01Fixes from 2008/10/13 bugreport:2077 (Only commiting because nobody did ↵shadow3-2/+5
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-01Ankle Snare cannot be knocked back anymore (bugreport:2804).ultramage1-0/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26- Second Part of BattleGround Implementation.zephyrus2-0/+412
* Still need to merge visual studio files and scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-26- Fixed item Nemesis.zephyrus18-214/+1021
- Fixed Tarot Card being used on Emperium. - First Part of BattleGround Implementation (please wait). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25* Wrong variable being used in StringBuf_Vprintf. (follow up to r13386, ↵FlavioJS1-1/+1
fixes bugreport:2798) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-25- Bugreport #2800 ( Atcommands usables without restriction :S )zephyrus2-5/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-24Replaced giving dummy sd gm levels in script commands atcommand and ↵sketchyphoenix2-3/+2
charcommand with a check by internal flag. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23 * Consolidated is_atcommand() and is_atcommand_sub()sketchyphoenix5-113/+100
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23* Made mob_timer_delete check the deletetimer in the mob.FlavioJS3-7/+26
* Added missing delete_timer's every time deletetimer is being set. (except when allocating) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-23* Made mob_delayspawn check the spawn_timer in the mob.FlavioJS1-4/+24
* Added missing delete_timer's every time spawn_timer is being set. (except when allocating) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-20Increased variable size for status/skill points to remove the 65k cap ↵ultramage6-67/+28
(bugreport:1579). Added sql upgrade script to adjust the appropriate char table columns. This is an enhancement to r5762. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-20* Modified WFIFOSET to trigger a fatal error when trying to send a packet ↵FlavioJS1-1/+9
that is too big. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-19* Fixed impropper filling of w4 in npc_parsesrcfile when there are less than ↵FlavioJS2-22/+16
4 fields. (bugreport:1063) * Simplified atcommand_spiritball. (deprecated msg_txt 204 and 205) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-16Fixed card remover commands not preserving item rental time.ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-12Applied patch to getitem2/delitem2 to handle charid embedding correctly ↵ultramage1-14/+14
(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-02-06* Follow up to r13485. (bugreport:2741)FlavioJS2-9/+10
- @spiritball creates spiritballs without timer (limited to the array size instead of 500) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-06Yet another fix to r13503 - dangling player chatroom pointer in id_db ↵ultramage1-0/+1
(bugreport:2750). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-02Fixing r13503...ultramage3-4/+12
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-31Added skillunit_db for efficient execution of skill_unit_timer() (followup ↵ultramage1-11/+11
to r13503). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-31objects[] array removal (bugreport:2559)ultramage4-133/+48
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-29Fixed mob_spawn_dataset() not initializing the spawn_timer variable ↵ultramage1-0/+1
(followup to r13497). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13498 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-29- Fixed a little spawn_timer bug. Discovered with a previous fix from ↵zephyrus1-10/+8
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25- Implemented monster skill "Full Heal" NPC_ALLHEAL.zephyrus2-3/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25- Ops... missing var from my source. Sorry.zephyrus1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25- Implemented new Pet Bonus System. Enjoy!! :Dzephyrus8-77/+156
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-25- Implemented new item bonus scripts required for battlegrounds.zephyrus8-137/+267
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-24* Changed pc_spiritball_timer and pc_addspiritball: (bugreport:2705)FlavioJS1-18/+28
- don't make assumptions about the calling order of timers - ensure that sd->spirit_timer is is ordered by expiration time git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-24* Changed the variables of the mapcache structs to fixed size equivalents. ↵FlavioJS3-50/+51
(64bit portability issue) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-24* Changed all uses of struct skill_unit_group* to group_id in ↵FlavioJS5-17/+49
status_change_entry's. (last known 64bit portability issue) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-23* Changed npc_get_new_npc_id to ensure that it never returns invalid/used ids.FlavioJS1-1/+21
- npc_get_new_npc_id is used to generate ids for npcs/mobs/homunculus/mercenaries/pets. If the server runs for long enough (years to months or less, depending on settings), the auxiliary variable npc_id will eventually overflow and go negative, then go through the range of object ids, then through the range of account ids. This can lead to all sorts of random crashes and memory leaks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-23Added a missing break; in pc_setstat, messing up LUK increasing (see r13460) ↵ultramage3-5/+6
(bugreport:2697). Corrected clif_bladestop(), void function returning a value (see r13471) (bugreport:2698). Fixed npcs with touch area not stopping walk timers (see r6516) (bugreport:2700). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22* Changed val4 of SC_BLADESTOP from a block_list pointer to an id. (64bit ↵FlavioJS5-16/+14
portability issue and potential dangling pointer crash) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21* Added a limit of 1MB of pending data in the write fifo for non-server ↵FlavioJS1-1/+11
sockets. Connections that go over the limit are closed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21Fixed a null pointer crash in r13463 (thanks to Ramsey for reporting it).ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13467 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21* Replaced the fake timer heap (sorted array) with a real heap. (improves ↵FlavioJS1-98/+38
performance) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13465 54d463be-8e91-2dee-dedb-b68131a5f0ec