summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-02-19fixed @cartitems typoLupus2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-18msg typoLupus1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-18Guilds with Emergency Call skill mastered or with 9+ skill points can't take ↵Lupus2-2/+41
part in Novice Castles WoE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-17Fixed a typo from r9778, allowing non-gm chars to use /kickultramage2-3/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-17- Reviewed the client and the shorts at 104 and 106 are part of the char ↵FlavioJS3-96/+69
structure. And a correction on what i said: 0x6d is the packet that sends the new char data, 0x67 is the request to create the new char. (updated code accordingly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-17- Fixed the structure of packet 0x67 (new char info). It's the same as the ↵FlavioJS3-146/+113
one used for packet 0x6b (chars info). Info based on the 1218 client and on experiments with 'orchish' skin. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-16- Updated the Dancer job quest to attach a player to the main timer script.skotlex5-56/+140
- Updated script commands startnpctimer, stopnpctimer, initnpctimer so you can attach a player to them, this is done because the attach/detach functions can't be used to attach to a different script than the one currently running. - Some script code cleaning - Updated the script_command reference with the new flag values of [start/stop/init]npctimer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-16- Modified the "guardian" spawn script command, it no longer receives a ↵skotlex24-508/+479
"amount" argument (since that only leads to trouble), if the class is negative, it'll pick a random class the same way the monster spawn script command does, and if you pass a spawn position with coordinates equal or less to 0, a random spot in the map will be taken. However you can't use "this" as a map name anymore since these script commands do not need an attached player. - Guardian spawning will now fail if you attempt to spawn a guardian that already exists on the same position. - Collapsed clif_party_main_info and clif_party_join_info into a single function: clif_party_member_info - Collapsed config settings "sg_miracle_skill_min_duration" and "sg_miracle_skill_max_duration" into "sg_miracle_skill_duration", which defaults to an hour. - Miracle of the Sun, Moon and Stars can now retrigger to lenghten it's effect, and it is cancelled on warp/map-change. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15- Cleaned up clif_party_info a bitultramage6-24/+28
- Reverted some of my mobdb code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15Cleaned up set_reg and the surrounding codeultramage2-72/+61
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15- The default packet version is now 8. Clients from November2006 and before ↵skotlex5-27/+16
can no longer get past the char-server unless you change it back to 7. - Fixed Storm Gust counter freezing on fourth hit instead of third. - Fixed @homstats not taking into consideration that the stat growth decimals get discarded on level up (so the real minimum/maximum displayed was off). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15Corrected all Schwarzwald typos (except for the WIP one)ultramage17-23/+25
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13- Applied Rayce's dangling pointer fix when returning a temporary npc string ↵skotlex2-0/+8
variable (those starting with .@) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13Fixed Bacsojin's mob id in mob_bossPlaytester2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9862 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13- Required Weapon, ammo, and skill state are now only checked on begin ↵skotlex3-20/+23
casting, instead of both on begin and end casting. - Now when autoguessing ammo consumption, the amount of ammo required is always one (making it require HIT number of arrows was rather high for things like Sonic Blows, specially when things like Arrow Vulcan only consume one arrow) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13- Reverted Venom Splasher's element to take your weapon'sskotlex5-11/+8
- reverted the item skill usage update since Flywings and the like do not use skill use scripts anymore. - Restored tid when a castend-id skill becomes castend-pos, fixes certain skills, most notably Resurrect Homunculus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13- A bit more work on Ticket #41.FlavioJS7-89/+144
- Added 'r' (variable reference) to the script argument definitions. - Added a simple define for suspitious actions. (empty at the moment) - Added clif_clearcart and moved sending cart packets to pc_setoption. - clif_parse_ChangeCart checking the player level. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12Fixed clif_parse_GMmessage cutting off messages randomly (typo in r9778)ultramage2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12- Fixed npc_check_areanpc, Wand of Hermod works now.skotlex3-2/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12- Corrected range of self destruction / bio explosion to be equal to their ↵skotlex12-30/+48
splash range. - Corrected Spider Web casting around caster instead of target's position - Corrected a possible crash during login due to checking for the incorrect variable (lets pc_calc_status be invoked when it shouldn't) - Reenabled the base status aspd calculation for homunc (status_calc_bl calculates battle_status, status_calc_homunculus calculates base_status, they are not the same!) - Corrected the meaning of "skill_display_fail&2", made 2 the default setting. - Added bounds checking to map_foreachincell - Opt2 values (poison, blind, and so on) are now resent on warp/map-change - Corrected description of isloggedin script command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12- Fixed the inverted behavior of display_skill_fail, caused by r9823ultramage4-5/+6
- Commented out some duplicit homunculus speed calc code git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12Disambiguationultramage1-2/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-11Fixed @loadnpc not updating the script_event[] arrayultramage4-1/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-11* Fixed Armeyer Dinze CardPlaytester2-4/+7
* Reverted Fly Wing and Butterfly Wing to the old version - old version has less problems git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-11Fixed clif_party_message using an incorrect buffer lengthultramage2-28/+31
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-10- Ups @ last commit. This time the changes in the buildin_func array are ↵FlavioJS1-2/+2
automatic, so there should be no more errors due to erroneous manual checking. ( got to remember to do automatic changes more often >.> ) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-10* Cosmetic changes to the buildin section of script.c (use defines for ↵FlavioJS2-962/+1005
function names/definitions). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09- Fixed skill usage being blocked if you use Weapon Refine and there is ↵skotlex2-7/+8
nothing available to upgrade. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09- Corrected/updated info on Xor/setd/getd/callfunc/callsub/return and ↵FlavioJS1-188/+189
updated some examples to use "better" code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09- Updated the 'unit walk' to functions so they stop your attack if it's ↵skotlex3-5/+20
possible to walk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09- Fixed char server SQL not sending the guild info update to other map ↵skotlex2-1/+4
servers when a new member is added. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09- Fixed skill range considerations using skill_get_range rather than ↵skotlex2-5/+5
skill_get_range2 - Corrected the range of EnergyDrain/BloodDrain (when Tharis says the range is 7, that means 7 without the cells on which the chars stand, so that means 9 in eA terms) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09Updated some info in script_commands:ultramage1-56/+21
- updated 'cutin' (removed lies, removed outdated bmp list) - removed 'cutincard' since eA no longer implements it git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09eAAC has checked the source and added missing commands to the ↵eaac1-2453/+3095
script_commands.txt (the long-awaited mob control suit made by Lance, for example), also explained the logical operators AND,OR,XOR, left and right shift. We also sorted the commands according to what they do. I'd also like feedback of the new version, to either me, Trancid or Dj-Yhn, to see what should be changed or what is incorrect / missing. ~erKURITA. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08- Added code for SQL that will automatically detect the ping interval at ↵ultramage8-63/+115
startup, and copy-pasted it around the code - Removed the conf setting as it is not needed anymore git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08- Spider web can again be recasted on target.skotlex6-27/+42
- Modified Spider Web so it can instantly retrap a target, rather than idling on the ground waiting for a new target. - Cleaned up some the rude-attacked code, being attacked while under spider web now triggers rude-attacked. - Sped up the FrostJoke/Scream message length chat check. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08Added a missing null pointer check in clif_parse_globalmessageultramage2-4/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08- Fixed the new socket code, which was triggering the inactivity timeout on ↵ultramage5-8/+9
the servers' listening sockets - Fixed the TURBO code not working since r4468 (parse func never called) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08Fixed a skill_db.txt typo for AS_ENCHANTPOISON introduced in r9794ultramage2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08- Fixed a bunch of probably incorrect logical comparisons. skotlex5-21/+21
- Some small updates on the skill_db file (some max levels of npc skills, some elements for skills that didn't really need them) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08* More aggressive cleaning up of the socket codeultramage3-154/+138
- removed unused session_data2 entry in sd - added a new create_session() function, helps keep things cleaner (although it's ad-hoc and not perfect, since this is C) - undid r4978 since it was getting in the way (re-add it if you need it) - added defines for the recv, send and parse func pointers - added null functions for the three actions, and made create_session() calls use those instead of NULL pointers; insignificant penalty and now: - since all three funcs are always initialized, removed all those NULL checks - removed the efd set, since as the people from the developernet forums pointed out, it's only for out-of-band data and NOT for error checking (in fact, select() bails out without giving any info if it errors out) - reorganized the randomly placed socket.c contents somewhat git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Modified spider web so that the skill_unit_db flag restrictions may take ↵skotlex4-3/+7
place. - Modified Spider web so that it can't be casted on top of another web. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07Wiped out the poorly written parse code from r2211ultramage4-52/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Removed function inter_party_logged, which after some testing and ↵skotlex6-68/+0
thinking, has been concluded is no longer necessary. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07Cleaning up of the socket codeultramage19-67/+66
- Shuffled includes around for files that were leeching off of socket.h - Added code that enforces standard shutdown behavior for sockets git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Updated the range of BioExplosion and Self Destruction so they count as ↵skotlex10-41/+32
ranged skills. - Removed old script bonuses bMatk, bMatk1, bMatk2 - Fixed char-server not sending online notification when a party member logs in. - When skill range by distance is set, the distance checked for is now 5 cells rather than 3. - Fixed bMatkRate bonuses not applying to status earned modifications to int/matk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Removed deprecated console code.FlavioJS11-85/+23
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9815 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07- Moved CHAT_SIZE back to map.h because log_atcommand uses it on sql builds. ↵FlavioJS3-4/+6
(moved to clif.c in r9811) [FlavioJS] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07Cleaned up the script engine's get_val() functionultramage2-83/+76
- changed the long if-spaghetti into a compact switch statement - changed its behavior so that it exits if !sd and it requires one - upon exiting, it will now ensure that meaningful values get returned (the old code would return random memory / crash) - removed many !sd checks since they are done at the beginning now git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-06- Moved define CHAT_SIZE to clif.c, added define CHATBOX_SIZE to specify ↵skotlex6-93/+100
that 70 char limit of the input area. - Fixed #lvup having the gm level check backwards. - Fixed the stormgust freeze counter going up even if the attack is blocked/cancelled. - Updated mes_len_check to receive max expected size as well (clif.c) - Cleaned up parsing functions for /mm, /resetskill, /resetstate, /item, /monster, /hide - git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9811 54d463be-8e91-2dee-dedb-b68131a5f0ec