4340 Commits

Author SHA1 Message Date
FlavioJS
2fdf093539 * Made the socket limit not be set in cygwin, which has bogus behavior. (bugreport:1684)
* Made the socket limit be set to the maximum allowed value when setting to FD_SETSIZE fails.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-16 05:07:56 +00:00
ultramage
696ac9ce34 Fixed Icewall not restoring the original cell type (mistake in r11175).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12836 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-15 03:34:46 +00:00
shadow
09e7cb0515 Fixed PF_FOGWALL working on Boss monsters.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-14 11:49:07 +00:00
shadow
76274aa15f Fixed Evil Land working versus undead element instead of undead race.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 14:40:55 +00:00
shadow
491d146d39 Fixed Grandcross and darkgrandcross, should only cause blind against undead race.
Also confirmed that ME, evil land, sanctuary, grandcross/DGC and status recovery are versus element, not race.
Removed confusion effect part from AL_CURE, it doesnt work on official anymore.
Partial revert of signum crucis modification, it doesnt work against players, but work on ELEMENT undead monsters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 13:22:36 +00:00
shadow
a80253d14f Fixed some skills working on undead element when they were supposed to work on undead race.
Skills Fixed: GrandCross, Dark GrandCross, Cure, Head Crush, Signum Crusis, Blessing, Demons Bane, Divine Protection.
Skills needing confirmation: Magnus Exorcismus, Evil Land, Sanctuary, Status Recovery.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-13 11:39:13 +00:00
ultramage
06f9538ece Added check to prevent crashing on logmes with no player attached (bugreport:1648).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-12 09:59:46 +00:00
FlavioJS
625f9f62fd * Added support for skill names to script commands:
- skill, addtoskill, guildskill, getskilllv, getgdskilllv, itemskill, petskillattack, petskillattack2, petskillsupport, skilleffect, npcskilleffect, unitskilluseid, unitskillusepos
- bonus/bonus2/bonus3/bonus4/bonus5 for bonuses bAutoSpell, bSkillAtk, bSkillHeal, bAutoSpellWhenHit, bAddSkillBlow, bCastrate

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-12 09:30:12 +00:00
ultramage
2352b1996e Increased MAX_PACKET_DB to handle the new packet range.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-11 16:40:03 +00:00
ultramage
1db8d976fd Added partylock/guildlock mapflag checking for @changeleader/@changegm (bugreport:72)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12810 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-11 13:02:16 +00:00
shadow
91f75e6d21 Fixed double attack working with unarmed attacks, as reported by Lone Wolf.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-10 16:09:16 +00:00
FlavioJS
c9a3dc80bf * Added experimental code to set the socket limit at runtime.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 23:44:52 +00:00
shadow
233d15c130 Fixed SN_SHARPSHOOTING doing 100% atk less damage than it should, bugreport:1654
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 17:29:51 +00:00
shadow
a7f7dae99d Fixed 1734,Orc_Archer_Bow working with Iron Arrow instead of Steel Arrow. Thanks Muad Dib for reporting.
Fixed Active Guild skills not working when WoE is OFF, follow up on r12770, bugreport:1653 and bugreport:1637

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 12:43:08 +00:00
shadow
542867516d Fixed Fire Pillar (and any future splash damage magical trap) not working on Land Protector.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 09:20:50 +00:00
shadow
097072f1fe Fixed reject sword having a infinite duration, bugreport:695 (both stable and trunk)
Fixed 13007,Jitte and 13008,Jitte_ break chances (5->2%).
Fixed 1535,Hollgrehenn_Hammer break chances without combo (2->1%) and with combo (12->10%), also has no chance of breaking user equip.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-09 00:33:09 +00:00
ultramage
5d98e5cbf4 Implemented the two-handed staff/rod type (thanks to Muad_Dib).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 13:17:51 +00:00
ultramage
4ffe35e8bd Corrected definition of 'delitem' and 'delitem2', which prevented the optional accountid parameter from working (bugreport:1512).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 13:06:08 +00:00
shadow
55f8ddeb2f Fixed SA_DISPELL removing SC_CRITICALWOUND.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-08 03:42:49 +00:00
ultramage
4517a5c8e2 Swapped the weapon type IDs of Shotgun and Gatling Gun weapons to match aegis.
Added Mace Mastery bonus to 2handed maces, and made them unbreakable.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 17:01:29 +00:00
ultramage
91e7ba7d50 Usage of map_flag_gvg2() in Emergency Recall code (minor followup to r12770).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12774 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 12:07:41 +00:00
ultramage
66fe96fbb0 Devotion links will now be sent properly in all situations (followup to 12171).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12772 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 11:37:52 +00:00
shadow
01cb41bb34 Fixed GD_EMERGENCYCALL not working inside gvg castles when WoE is off, bugreport:1637 fix by Meyraw
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 11:21:27 +00:00
ultramage
d5f1f0a910 Kaite should not work against high-level mobs - bug introduced in r11230 (bugreport:1623).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12767 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 10:22:33 +00:00
ultramage
9568930e99 Fixed 'soundeffectall' not reading its params correctly, since r10844 (bugreport:1627).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12766 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 03:27:38 +00:00
shadow
f292935743 Fixed PF_DOUBLECASTING casting % bugreport:140
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12765 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 03:00:00 +00:00
shadow
69089d210e Fixed a few properties of NPC_CHANGEUNDEAD bugreport:79
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12763 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 02:52:03 +00:00
zephyrus
e595e1f69f - Little cleanup to OnTouchNPC.
- Updating Release of Wish script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-04 13:13:34 +00:00
zephyrus
41ee2c000b - Fixed BugReport 1608. I forgot to merge npc.h sorry.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12755 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-03 01:09:40 +00:00
zephyrus
5c7a1807e4 - Added support for OnTouchNPC event, required for Monster Race. Script commands need to be tested. Already tested sc_start.
- Added status SC_WALKSPEED required in monster Race.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12752 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-02 15:54:50 +00:00
ultramage
37ddd1c503 Added Ai4rei's "gm can view all players' equips" feature (topic:186519).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12751 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-01 08:14:47 +00:00
Lupus
51b885b417 crashfix to attach/detach timers
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-31 07:23:43 +00:00
ultramage
5ae3401e2a Removed the debug message from r12726 (bugreport:1587)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12747 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-31 01:53:51 +00:00
zephyrus
b37569c083 - Cleanups and a little fix to NPC Sizes (thanks to ultramage).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12745 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-30 12:01:59 +00:00
zephyrus
2da8086509 - Added support for NPC with different sizes (setnpcdisplay).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12744 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29 13:07:54 +00:00
zephyrus
4ced695e7e - Support for SP Regen status just like HP Regen (by items, by a little time). Required in some new items from Ep 12.1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12743 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29 12:48:08 +00:00
zephyrus
edcd7e6d28 - Fixed bug report 1436 (Auction)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12742 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-29 11:46:36 +00:00
ultramage
af570158d8 Added extra safeguards against invalid inputs to pc_equipitem / pc_unequipitem (bugreport:1568).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12739 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-28 15:07:05 +00:00
Playtester
aaf715d0b5 * Updated Ankle Snare duration (bugreport:1438)
- agi now has only half the effect on the duration (100 agi reduces it by 50%)
- minimum duration is 5 seconds no matter what

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12738 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-28 11:02:40 +00:00
ultramage
7779074bd2 Fixed stat values displaying incorrectly when increasing them past 255 (wraparound, ack packet only has 1 byte).
Reordered the packets so that a status update for the increased stat is sent immediately after the buggy ack packet.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12737 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-28 11:00:55 +00:00
ultramage
2ecdab9606 Moved the options to disable specific compiler warnings from the generic 'AdditionalOptions' to the appropriate 'DisableSpecificWarnings' section.
Corrected an ancient mistake in the grfio/zlib code (calling inflateEnd in case of an error during the Deflate process).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26 12:16:53 +00:00
ultramage
6b904e34cb Increased the allowed packet size for chat messages.
Changed the capacity of the message column in chatlog (see sql update).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26 11:25:12 +00:00
ultramage
99926544f3 Added clif_announce_ex() for broadcasts with varying font size
(patch by Euphidime)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12724 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26 10:27:02 +00:00
Playtester
5dca41aec6 Increased storage space to 600
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12723 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-25 07:33:13 +00:00
ultramage
dcbee8ef6c Fixed 64bit timestamps messing up auction/storage (bugreport:1454)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12713 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-16 16:11:16 +00:00
ultramage
d9e5150a44 Added changes missing from the previous update (followup to r12710).
Corrected party invite failure not informing the inviting player.
Cleaned up some foreach() code int_party.c.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12711 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-16 07:28:46 +00:00
ultramage
3931c2db42 Added more player state variables to track party creation/invitation (bugreport:1180)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12710 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-16 07:11:19 +00:00
ultramage
dca2adcfd4 Fixed a mistake in r11344 that caused the 'my shop' window to display info about cards slotted in items incorrectly (bugreport:1502).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12704 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-13 06:15:35 +00:00
ultramage
836deebfb9 Fixed a script engine problem where warping away while having a menu window open and talking to an another npc with a menu would produce menu option count mismatch errors (bugreport:1208)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12703 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-12 09:18:24 +00:00
ultramage
47cb29c556 Fixed @showmobs not working due to a mistake in r12436 (bugreport:1487)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12699 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-10 06:27:20 +00:00