5171 Commits

Author SHA1 Message Date
ultramage
84cb63e650 Minor stuff (typos, socket.c, junk in login reply packet)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-21 13:09:22 +00:00
Lupus
3a92e6a3dc minor dialogue fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-21 12:39:29 +00:00
Lupus
305de07438 Moved Master Kavaruk NPC a bit (2 NPC on the same cell)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-21 12:31:02 +00:00
Lupus
9f5e46c78a updated Dance Job Quest. Optimized, Fixed typos, added missing text
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-21 10:48:57 +00:00
Lupus
dac22bc4e9 changed 'Improved Concentration' to 'Attention Concentrate'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-20 23:04:04 +00:00
Lupus
435356fe51 final fix of Dancer Job Quest. Works on TRUNK only, due to latest initnpctimer changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-20 23:00:49 +00:00
Lupus
0a9018f80b fixed Dancer quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-19 16:37:44 +00:00
Lupus
7abe6b32a4 fixed @cartitems typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-19 16:07:58 +00:00
Lupus
d3497fee2b msg typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-18 16:11:46 +00:00
Lupus
fe4527d3a7 Guilds with Emergency Call skill mastered or with 9+ skill points can't take part in Novice Castles WoE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-18 16:10:44 +00:00
ultramage
987eb74e86 Fixed a typo from r9778, allowing non-gm chars to use /kick
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9875 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-17 23:08:19 +00:00
FlavioJS
e74a5e2456 - Reviewed the client and the shorts at 104 and 106 are part of the char 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://svn.code.sf.net/p/rathena/svn/trunk@9874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-17 07:25:22 +00:00
FlavioJS
fcda68caa4 - Fixed the structure of packet 0x67 (new char info). It's the same as the one used for packet 0x6b (chars info).
Info based on the 1218 client and on experiments with 'orchish' skin.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-17 01:03:12 +00:00
skotlex
5ed686f6a8 - Updated the Dancer job quest to attach a player to the main timer script.
- 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://svn.code.sf.net/p/rathena/svn/trunk@9872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-16 20:53:05 +00:00
skotlex
dddd48f15d - Modified the "guardian" spawn script command, it no longer receives a "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://svn.code.sf.net/p/rathena/svn/trunk@9871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-16 19:30:28 +00:00
ultramage
cf3421d7f1 - Cleaned up clif_party_info a bit
- Reverted some of my mobdb code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15 23:22:30 +00:00
ultramage
d47a72bf9f Cleaned up set_reg and the surrounding code
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15 20:54:36 +00:00
skotlex
dabaf379a9 - The default packet version is now 8. Clients from November2006 and before 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://svn.code.sf.net/p/rathena/svn/trunk@9868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15 18:22:56 +00:00
ultramage
a66e23aa18 Corrected all Schwarzwald typos (except for the WIP one)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-15 13:43:09 +00:00
skotlex
81b4f30221 - Applied Rayce's dangling pointer fix when returning a temporary npc string variable (those starting with .@)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13 22:27:30 +00:00
Playtester
74bbb42178 Fixed Bacsojin's mob id in mob_boss
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9862 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13 19:40:50 +00:00
skotlex
158c398cec - Required Weapon, ammo, and skill state are now only checked on begin 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://svn.code.sf.net/p/rathena/svn/trunk@9861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13 17:32:47 +00:00
skotlex
c1044cf02f - Reverted Venom Splasher's element to take your weapon's
- 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://svn.code.sf.net/p/rathena/svn/trunk@9858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13 00:17:32 +00:00
FlavioJS
781fa7bb72 - A bit more work on Ticket #41.
- 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://svn.code.sf.net/p/rathena/svn/trunk@9857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-13 00:07:24 +00:00
ultramage
6eb920bf96 Fixed clif_parse_GMmessage cutting off messages randomly (typo in r9778)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12 22:03:55 +00:00
skotlex
dbfaad69ef - Fixed npc_check_areanpc, Wand of Hermod works now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12 18:38:10 +00:00
skotlex
68e1eb420a - Corrected range of self destruction / bio explosion to be equal to their 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://svn.code.sf.net/p/rathena/svn/trunk@9853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12 18:02:41 +00:00
ultramage
725ed1909e - Fixed the inverted behavior of display_skill_fail, caused by r9823
- Commented out some duplicit homunculus speed calc code

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12 02:46:00 +00:00
ultramage
108c74125f Disambiguation
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-12 01:04:28 +00:00
ultramage
06074c6046 Fixed @loadnpc not updating the script_event[] array
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9850 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-11 21:44:37 +00:00
Playtester
7b9539f4e3 * Fixed Armeyer Dinze Card
* Reverted Fly Wing and Butterfly Wing to the old version
- old version has less problems

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9846 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-11 00:21:08 +00:00
ultramage
1ad9bb7c15 Fixed clif_party_message using an incorrect buffer length
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9845 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-11 00:16:06 +00:00
FlavioJS
79fd4cb7be - Ups @ last commit. This time the changes in the buildin_func array are 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://svn.code.sf.net/p/rathena/svn/trunk@9844 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-10 20:50:37 +00:00
FlavioJS
1041f38037 * Cosmetic changes to the buildin section of script.c (use defines for function names/definitions).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9843 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-10 13:56:49 +00:00
skotlex
3f8bb2d5bb - Fixed skill usage being blocked if you use Weapon Refine and there is nothing available to upgrade.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 21:10:17 +00:00
FlavioJS
b8bc4928ac - Corrected/updated info on Xor/setd/getd/callfunc/callsub/return and updated some examples to use "better" code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9838 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 19:57:20 +00:00
skotlex
b09a064281 - Updated the 'unit walk' to functions so they stop your attack if it's possible to walk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9837 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 19:50:57 +00:00
skotlex
971ea7e332 - Fixed char server SQL not sending the guild info update to other map servers when a new member is added.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9835 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 19:20:00 +00:00
skotlex
6e7a224bd1 - Fixed skill range considerations using skill_get_range rather than 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://svn.code.sf.net/p/rathena/svn/trunk@9833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 17:12:05 +00:00
ultramage
1de2ea7630 Updated some info in script_commands:
- updated 'cutin' (removed lies, removed outdated bmp list)
- removed 'cutincard' since eA no longer implements it

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 14:16:16 +00:00
eaac
05def906dd eAAC has checked the source and added missing commands to the 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://svn.code.sf.net/p/rathena/svn/trunk@9831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-09 02:09:33 +00:00
ultramage
64fcacf6b3 - Added code for SQL that will automatically detect the ping interval at startup, and copy-pasted it around the code
- Removed the conf setting as it is not needed anymore

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 23:26:00 +00:00
skotlex
eabdf9af64 - Spider web can again be recasted on target.
- 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://svn.code.sf.net/p/rathena/svn/trunk@9828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 18:25:51 +00:00
ultramage
81c50c19b7 Added a missing null pointer check in clif_parse_globalmessage
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 17:58:38 +00:00
ultramage
1aa9c5ceca - Fixed the new socket code, which was triggering the inactivity timeout on the servers' listening sockets
- Fixed the TURBO code not working since r4468 (parse func never called)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9826 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 16:36:48 +00:00
ultramage
34d8dc0ad3 Fixed a skill_db.txt typo for AS_ENCHANTPOISON introduced in r9794
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 13:57:10 +00:00
skotlex
d47a0a0d52 - Fixed a bunch of probably incorrect logical comparisons.
- 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://svn.code.sf.net/p/rathena/svn/trunk@9823 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 05:34:12 +00:00
ultramage
0729d61b56 * More aggressive cleaning up of the socket code
- 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://svn.code.sf.net/p/rathena/svn/trunk@9822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-08 01:33:40 +00:00
skotlex
78d876f355 - Modified spider web so that the skill_unit_db flag restrictions may take place.
- Modified Spider web so that it can't be casted on top of another web.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9821 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07 23:23:53 +00:00
ultramage
3e4bef37b7 Wiped out the poorly written parse code from r2211
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9819 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-07 20:30:22 +00:00