5171 Commits

Author SHA1 Message Date
FlavioJS
f48a49e655 ups, how did that get in...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 13:57:55 +00:00
FlavioJS
b7f0cc8905 - Corrected the structure and added info on the skill fail packet (0x110).
- Added packet 0x223 as clif_upgrademessage (not used yet).
- More work on Ticket #41.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 13:49:25 +00:00
DracoRPG
4f95fcb339 Updated the src/tool/Makefile to allow compiling the mapcache builder
I don't have an available Unix environment here, so it's very likely it won't work x_x feedback please

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 10:44:19 +00:00
skotlex
fec9da329e - Small change in the login-sql server that prevens crashes when somehow people change the lastlogin column to accept nulls.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10011 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 04:41:34 +00:00
DracoRPG
95b2bfbc14 Added brief doc for the mapcache builder
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 00:11:14 +00:00
skotlex
a132a2c72c - Increased Shield Chain's range by one. It is now a ranged skill.
- Added SC_CHANGEUNDEAD to differentiate it from the other elemental change skills. It now fails on Undead/Dark elemental targets.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-14 19:33:58 +00:00
skotlex
0fa8a867bd - Corrected party item share settings not being properly updated on logon.
- Corrected battle_attr_none setting applying to elemental attacks instead of neutral ones.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-14 19:31:43 +00:00
ultramage
5eedf6a398 Restored file history deleted in r10003
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 23:08:45 +00:00
DracoRPG
61d30841c0 Fixed a warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10004 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 21:22:29 +00:00
DracoRPG
58dcd187b0 Mapcache update, should polish off remaining bugs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 20:24:08 +00:00
Playtester
a519071a70 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 16:07:02 +00:00
skotlex
2b3c274f78 - @pvpoff and @gvgoff will make everyone in the map stop auto-attacking now.
- when @killer is deactivated the issuer will stop attacking.
- when @killable is deactivated, everyone around the user who is attacking the issuer will stop.
- Cleaned up some the code for dispell. It no longer removes food boosts.
- Players will stop attacking when they change their look.
- Applied Alydis's fix to the mvp item logs logging mvp items even if the player couldn't get the item.
- Changed the default of debuff_on_logout to 1 since food items shouldn't dispell on logout.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 15:49:49 +00:00
Playtester
08c5cbcfa0 * Reduced the chance to socket enchant a C rank item to 40%
- info comes from kRO monthly and jRO players
- this is based on "better too low than too high"

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-13 12:16:09 +00:00
Playtester
f84461eda6 Small fix on aegis names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9995 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-12 23:10:09 +00:00
skotlex
d25c9daa47 - Cleaned up the implementation of party_send_movemap, it should fix the client receiving the party-mate positions before receiving the party information when you first log on.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-12 19:02:20 +00:00
skotlex
3035c863f9 - Corrected the new packet version entries for skilluseposinfo
- Corrected item reloading not unsetting the "delay consume" flag if the item had changed it's type.
- the Attack_Type variable in skill_attack now inherits the damage.flag properties, this fixes ranged status effects not triggering.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-12 16:10:15 +00:00
skotlex
29cb0abe60 - Added player not attached crash prevention to countitem/countitem2
- Probably corrected delitem not deleting pet eggs at all.
- Possibly nullpo fix on npcskilleffect
- Corrected a warning when using #fakename
- Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites.
- Mob skill state "anytarget" no longer triggers when the mob has an item-target (looting).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 22:21:34 +00:00
skotlex
ddfc677c99 - @storage/@gstorage will no longer work if you have a trade or a storage opened already.
- Cleaned up a bit @gstorage
- Added a bunch of npc functions required to properly handle moving the NPC cells when an npc is moved from it's previous location.
- Added npc_setcells to handle setting down the NPC cells of ontouch npcs.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9990 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 20:02:42 +00:00
Playtester
03b226591b * Updated the "AddEffWhenHit" cards
- chances got lowered according to Aegis, Freya, cRO and euRO
- Lion Mask has 5% chance of silence instead of 3%

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9989 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 19:51:10 +00:00
skotlex
9e9628afca - Added resetting the total count of labels to 0 when unloading an npc clears the labels.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9988 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 17:53:22 +00:00
skotlex
9692154429 - Removed function clif_movepc as it's no longer invoked anywhere.
- Removed clif_move as it's not needed anymore.
- Renamed clif_moveunit to clif_move and uncommented it. This is the new "unit movement" packet to use (the code should be robust enough to always invoke a clif_insight/outsight for characters going in/out of sight).
- Because of this, many functions that handled the return of conv_str need to be changed, I haven't finished doing the conversion process because I must go already, if someone else can continue, please do so (I will resume work on this in ~5 hours


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 17:33:58 +00:00
skotlex
7691130732 - cbasetypes now assumes that Mingwin does defines ssize_t
- Modified the guild master change ack packet to return the aid/cid of the new guild master instead of the index where it was, the previous method could cause problems in situations where the order of guild members would not match exactly between char/map servers.
- Updated the Soul Linker's Rogue Spirit Stealth's speed bonus to +60%, according to forum infor from ragnagate.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9985 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-11 16:11:20 +00:00
Playtester
10153c3968 Fixed some autocast rates of the new headgears
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9982 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-10 18:33:47 +00:00
FlavioJS
9e1989e51d - Took care of all the warnings in grfio and mapcache.
- Mapcache can run on system with any endianness.
  The generated file contains data in little endian.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9980 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-09 02:27:16 +00:00
FlavioJS
2b42ec13cf - Added info on packet 0x86 (simple move packet). Not usable until a clear separation between entering sight/leaving sight/walking in sight is done.
- Propagating const char* from the script engine.
- ".gat" is appended to the map name before sending the changemapserver packet to the client.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-09 01:49:50 +00:00
skotlex
9387ff566b - Made conv_str return const char* since the script engine screws up if you mess with the position of the terminator on the received string.
- Because of this, many functions that handled the return of conv_str need to be changed, I haven't finished doing the conversion process because I must go already, if someone else can continue, please do so (I will resume work on this in ~5 hours


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-09 00:10:06 +00:00
Playtester
2c78473a09 Updated various one-handed weapons
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-08 21:02:50 +00:00
skotlex
b10091246c - Normalized the mapname in guild get/set castle data, should fix guild flags.
- Added log options 0x800/0x1000 to log storage moves ('R') and guild storage moves ('G')
- Added upgrade_svn9976.sql to include 'R'/'G' on the picklog type column set.
- Updated the logs_athena description to include the letter of each type (512 - M, 32 - N, etc)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-08 16:27:06 +00:00
skotlex
e45a007db2 - Corrected the pet/homunc data not being free'd if the player logs out before being authed.
- Initialized player's speed on pc_setnewpc to prevent homunculus copying a speed of 0.
- Added comment to reloadbattleconf specifying that some settings do not take effect inmediately.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9975 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 18:58:33 +00:00
skotlex
ed7bef2fee - Normalized guild castle names so guardians may spawn properly again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 17:19:35 +00:00
skotlex
c350fe1318 - Made the map server abort when it can't open the mapcache file.
- Added a normalizing function to map.c which handles removing the extension of the map name.
- Applied said function when reading maps from maps_athena, since the mapcache lookup fails without it (maps are stored there without extensions)
- TODO: Apply the normalizing function everywhere when parsing map related scripts.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 16:47:51 +00:00
skotlex
22d3158a94 - Cleaned some up the add-effect code.
- Corrected ranged add-status only triggering if the attack is arrow based.
- Updated counter add-status so they trigger on ranged attacks instead of using "arrow_atk" state.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9972 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 16:11:40 +00:00
DracoRPG
deb34a8ae5 New mapcache system :x
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9971 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-07 02:02:32 +00:00
skotlex
07e53259a5 - Corrected the define for NK no cardfix (def).
- Updated skills that shouldn't ignore the target's cards: Smoking, Fling, Zenynage
- Fixed the char sql server not escaping the server name before inserting it on the ragsrvinfo table.
- Corrected @lvup not doing the party even share check.
- Corrected breaker's misc part not ignoring element.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-06 16:16:25 +00:00
Playtester
4455a88cbc Fixed Flying Angel headgear
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-06 15:59:04 +00:00
skotlex
0c7ca5de82 - Added NK value 0x80: ignore target's cards (0x8 will now only ignore attacker's cards).
- Corrected the NK values of skills (0x08 -> 0x80): Self Destruction, Smoking, Pressure, Fling, Zeny Nage, BioExplosion
- Soul Burn & Gravitation got NK 0x80 (previously hardcoded)
- Corrected Soul Breaker ignoring target's cards instead of the caster's.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9967 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 22:00:01 +00:00
Playtester
49b783129b * Added various new headgears thanks to Argatlahm
- some headgears might not be fully official, feel free to report bugs if you find any
- also updated item_db.sql

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9965 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 19:29:10 +00:00
Playtester
90e9a649c4 Fixed some weapons and their prices
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 19:11:37 +00:00
Playtester
2ae7164044 * Fixed Aegis name, price and weight of all special type items
- beware of exploits due to the changed prices
- also added some new items

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 17:54:12 +00:00
toms
5a7f6ded40 Fixed an infinite loop if script name contains a single ':'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 16:59:20 +00:00
skotlex
58da8d54fb - Soul Breaker no longer ignores elemental adjustments.
- Simplified the Utsusemi/Bunsinjyutsu check to only block weapon skills that do not ignore offensive cards.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9960 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 16:24:13 +00:00
Zephiris
02fcc024bd additional packets that were left out of the last update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 12:41:36 +00:00
Zephiris
1200075fee * Added support for the 2 new packet versions. [Zephiris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 12:33:09 +00:00
ultramage
3c9f1094b5 Fixed the loginlog's user column length (use upgrade_svn9957.sql)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9957 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-05 10:23:05 +00:00
skotlex
de694a2c08 - Removed delete_session invokcations from ladmin.c...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9956 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-04 23:31:29 +00:00
skotlex
a0bfff19a1 - Removed delete_session from socket.h since it shouldn't be used by them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-04 22:51:22 +00:00
ultramage
5625383530 More tweaks to socket.c to simplify the code
- many generic cleanups - reformatting, useless code removal, etc
- made the mode_neg setting a compile-time decision, not a run-time one
- removed the silly frame_size setting (there since r1)
- added some TODOs to http://www.eathena.ws/board/index.php?showtopic=127988

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-04 21:06:28 +00:00
skotlex
4c9c8bb7a3 - Added the +20hit that were missing the NPC elemental attack skills.
- Added support for autospells using "a random skill level". The last value of bonus4 bAutoSpell is used for determining this as well as the target. &1 is to cast on target (otherwise cast on self), and &2 is to use a random level UP to the level specified in the script (otherwise always cast the specified level)
- Updated item_bonus.txt with the documentation for the bAutoSpell/bAutoSpellWhenHit changes.
- Corrected @refresh not reupdating the basic stat bonuses.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-04 16:39:30 +00:00
skotlex
56896a79da - Modified the Storm Gust freeze counter code so it is resetted when standing on a different storm gust before landing the hit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-02 20:02:08 +00:00
skotlex
4dd0c95c58 - Modified set_reg so that it returns whether it succeeded or not in setting the requested variable.
- Externalized battle skill range and blewcount bonus into their own static functions (battle_range_type & battle_blewcount_bonus).
- Sped up the skill range flag setting code.
- Added automatic support of damagesplit. This means that if a skill's nk value includes damage split among targets, it will do a divide by the number of targets (whereas before the list of skills where this worked was hardcoded)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-02 16:39:33 +00:00