4738 Commits

Author SHA1 Message Date
ultramage
fbe23f27a2 Undid the memset->malloc_set replacement
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9626 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-07 16:49:03 +00:00
ultramage
9f164c312b - re-added the duplicit nj/gs name messages in msg_athena
- renamed atcommand_sub to is_atcommand_sub (charcommand too)
- reformatted conf-tmpl's comments a bit
- and a fix to the stable changelog to make my last commit more descriptive

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-07 07:48:04 +00:00
ultramage
d83cb2e926 - Fixed Succubus/Incubus combo not doing regen correctly
Read why at http://www.eathena.ws/board/index.php?showtopic=129814

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06 16:07:19 +00:00
FlavioJS
db02576357 - Now winsock 2 is required.
- Cleaned up do_close and socket_init a bit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9621 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06 12:11:50 +00:00
FlavioJS
56921611e1 - Fixed the weight icon dissapearing and reappearing when attacking. (introduced by me at r9600, fix based on ultramage's code)
Ref: http://www.eathena.ws/board/index.php?showtopic=131211

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9620 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06 07:27:52 +00:00
ultramage
59b38494b7 - Major reconfiguration of the trunk VS8 project files, read the changelog for details
- Also removed some deprecated code that was causing linking conflicts
- And fixed a missing md5calc reference in stable's VS8 files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9619 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-05 15:57:01 +00:00
Lupus
f78ebc0cd7 updated noicewall, updated SL ques,
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9618 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-05 15:32:10 +00:00
Lupus
c7b86500e5 fixed @go bug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-05 11:52:21 +00:00
ultramage
38b17c776d - Added Au{R}oN's updated version of the effect list
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9616 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-04 18:40:25 +00:00
ultramage
851a1e259a - Updated /doc from jAthena
- Completed adding of the new cities to @go
  > that function is ugly and needs a complete rewrite, asap
- Updated thor volcano warps

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9615 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-04 18:33:53 +00:00
ultramage
74d8bc1cab - eol-styled some remaining files
- deleted some outdated files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9614 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 22:12:33 +00:00
ultramage
e46b9e7d41 - Now the server will by default perform symmetric adding of friends
- > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
- Added a first approximation of warps for the new maps (by $ephiroth)
- Added Rachel and Veins to the list of @go destinations

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9613 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 18:18:50 +00:00
FlavioJS
63c6008744 ups... forgot to remove this before committing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9612 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 12:03:22 +00:00
FlavioJS
129bff5fb6 - Fixed FIFO defines in TURBO mode.
Ref: http://www.eathena.ws/board/index.php?showtopic=129766
  The rest of the TURBO related errors are about the HEAD defines having to be at the start of a block because they contain a variable declaration. (i won't fix these)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9611 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 12:01:43 +00:00
FlavioJS
ed74a4c9c7 - Moved refusal of a known packet versions to clif_parse_WantToConnection and made it check for non-player object with that id.
Changed in reaction to: http://www.eathena.ws/board/index.php?showtopic=130808

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9610 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 07:57:05 +00:00
FlavioJS
00c558490a - JK_JOINTBEAT as described in:
http://www.ragnainfo.net/wiki/index.php/Vital_Strike
  Although not clear, it's being assumed that the 2x damage is only for the break neck ailment.
  Reported by zaibach in http://www.eathena.ws/board/index.php?s=&showtopic=93873&view=findpost&p=727844

Note: this should be reviewed by Skotlex or someone that knows this part of the code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9609 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 05:07:58 +00:00
ultramage
215762fe8c - Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements.
- Re-applied change r9593 that got accidentally reverted by r9595.
- Added the official behavior of monsters regaining full hp when they morph.
- Added support for text/comments at the end of monster spawn lines (<tab> required)
- Silenced the debug message in socket.c that's been freaking people out.
- Modified the useless error message in atcommand_effect.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9608 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-03 03:05:43 +00:00
FlavioJS
88addb1951 - Fixed SC_JOINTBEAT not doing crit damage for the Neck Break ailment.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9605 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-02 08:46:03 +00:00
FlavioJS
a35ee1f5d7 - Gospel sends the buff message to the affected player.
Reported by holybeske in http://www.eathena.ws/board/index.php?showtopic=130440

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9604 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-02 07:17:11 +00:00
FlavioJS
2bd2fbacbe - added info about sleep,sleep2,awake commands and updated the variables section (hopefully all info is correct)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9603 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-01 18:47:59 +00:00
DracoRPG
b6aac83a77 Made High Speed Cart Ram (WS_CARTTERMINATION) ignore Crusader's Guard and Shield Reflect.
And happy new year!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-31 22:48:50 +00:00
FlavioJS
d085b9f628 - Added more info when npc_scriptcont tries to continue a different script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9601 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-31 13:07:22 +00:00
FlavioJS
e0399ebb83 * Refer to http://www.eathena.ws/board/index.php?showtopic=130285
- Renamed pc_checkweighticon to pc_updateweightstatus and cleaned it.
- Updated pc_is50overweight to use battle_config.natural_heal_weight_rate.
- Added 90% weight check when attacking.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9600 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-31 12:12:42 +00:00
FlavioJS
0cf60d9ca1 - Updated getitem and guardian entries in script_commands.txt.
- Fixed getitem trying to get <character ID> from the wrong argument.
- Now getitem can be run on scripts without a player attached if <character ID> is specified.
- Now the two last arguments of guardian are optional and independant of each other ("<event label>" and <guardian index>). This way the previous implementation and script_commands definition are still valid code.
- Now buildin function names and argument definitions are checked for validity before adding the function to the script engine.
  Argument definitions follow the pattern:
    (v|s|i|l)*\?*\*?
    v - value (string or int)
    s - string
    i - int
    l - label
    ? - one optional parameter
    * - unknown number of optional parameters

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-31 09:22:25 +00:00
FlavioJS
4fa4e26d99 - Reverted the packet structure changes to mmo_char_send006b in r9588 and corrected the bug that I was originally fixing.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9598 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-30 20:28:37 +00:00
Playtester
8160fd2b40 Fixed typo in mob_skill_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-30 14:15:42 +00:00
Lance
b319b03eba WTF was I doing?
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-29 18:45:41 +00:00
Lance
f2df4e5b2a * Small fix in TK_MISSION from 1/101 to 1/100 probability. (Valaris)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9594 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-29 18:44:00 +00:00
skotlex
eb080dbd67 - Fixed spiritballs not correctly being used for skills such as Finger Offensive when GM unconditional is set.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9593 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-29 18:36:15 +00:00
skotlex
678096381e - Skill use is now cancelled when you use it while cloaking, and the uncloaking process warps you.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9591 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-29 14:21:09 +00:00
FlavioJS
6a7bdd6ffe - Reapplied Skotlex's socket.c changes from r9587 and r9582. :S (sorry)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 19:42:59 +00:00
FlavioJS
f863581174 - Part 3 of TheUltraMage's socket cleanup.
- Fixed the packet structure in mmo_char_send006b for PACKETVER 8.
- Removed search_str from add_str (add_str already searches for the string).
- Native script words like do,while,for,... are case insensitive now.
- Changed SCRIPT_HASH_SIZE to 1021 (prime hash sizes give better distributions).
- Added alternative hash implementations to the script engine (to try out later).

removed int_homun.c from header section of the VS8 map project files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 19:11:40 +00:00
skotlex
807acd0aac - Added a func_parse invocation when an invalid socket is found, so that the underlying code (char/map/login) can handle it and free any related resources.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 18:02:14 +00:00
skotlex
82e54d7c75 - Added some skill effect packets so it displays a generic effect for unknown targetted skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 17:41:33 +00:00
KarLaeda
223d87c197 - Fixed typo in the Priest Quest.
- Added year to the dates in stable/npc/Changelog.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 17:14:26 +00:00
Playtester
d5f7de4d0e Added some history books
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 16:02:22 +00:00
skotlex
8bcc26d8dd - Some cleaning in do_sendrecv, added error messages when handling an incorrect socket.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-28 14:03:39 +00:00
blackhole89
65ee3d07e9 minor fix; see Changelog-Trunk.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-27 17:56:14 +00:00
toms
0a1b9629b6 Updated SQL files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-27 16:10:49 +00:00
skotlex
3048495c54 - Cleaned up item_misc.txt
- Fixed a bug which makes the group heal bonus be applied as many times as the item is in that group.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-27 15:11:50 +00:00
skotlex
74e263086a - Applied Rayce's suggestion to improve the script hash size usage. eA now uses a hash of 1024.
- The str hash report can be printed by turning on the etc_log


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-27 14:40:04 +00:00
skotlex
cd14e36a68 - Full Buster's auto-blind chance is now reducable by stats/items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-27 13:48:21 +00:00
skotlex
b6dbcc39c9 - Fixed some warnings
- Corrected the comment for the global functions file.
- Updated Charge Attack's damage equation as per the only source I've seen of it so far.
- Now Guardians/Emperium can't hit /be hit if their current map isn't a gvg_castle or woe is off. This enables "localized" WoE by removing/setting the mapflag gvg_castle on the castles where you want WoE to take effect (note that even though normal players can't be hit on non gvg_castle maps, normal mobs can still be killed in such maps, you'd still need to modify the WoE scripts to use this kind of feature)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-26 16:10:53 +00:00
skotlex
58bb9be68a - Cleaned up some more the code so it works for -DTURBO
- Cleaned the pvpoff @ and script commands.
- mob_get_random_id now has two additional flags to specify that the monster to acquire should not be a boss type (4) or that it should give exp (8).
- TK_MISSION will now pick any mob from the DB as long as it is not a boss type and it gives base exp.
- Fixed the double-stone issue when hitting a petrified character.
- Minor cleanups


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-26 15:07:18 +00:00
FlavioJS
dd92bd13fd - a couple of warnings fixed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-25 08:21:49 +00:00
FlavioJS
8751fbd631 - Fixed buildin_getscrate, thanks Trancid.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-25 07:28:15 +00:00
FlavioJS
60e3d1b499 - Applied part 1 of TheUltraMage's socket cleanup.
"Basically what I did was perform simple one-liner substitutions for ugly repetitive blocks of code. The most apparent are the send/recv code and the other basic socket calls."
- flush_fifo is non-blocking now. I guess best effort is good enough...
- Copied header files from vcproj-7.1 files to vcproj-8 files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-25 06:59:25 +00:00
FlavioJS
266f66cfff - Applied the rest of Rayce's suggestions and fixes (http://www.eathena.ws/board/index.php?showtopic=129185)
- warn_cmd_no_comma, warn_func_no_comma, warn_cmd_mismatch_paramnum are now warn_func_mismatch_paramnum and it only prevents showing the error, as it was probably intended in the first place. (correct me if i'm wrong)
- Merged the parsing of function calls in the script engine, removing the parse_cmd hackery, and made "heal (.@val+rand(0xff))&0xff,0;" valid again.
- Fixed a bug in eye_of_hellion.txt and a bug in hunter.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9569 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-25 06:15:46 +00:00
KarLaeda
2f7bd25279 Small fir for changeset 9539
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-24 18:59:58 +00:00
Playtester
b334bf37d7 Fixed some autospell bonuses thanks to NLZ
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-23 19:18:06 +00:00