6106 Commits

Author SHA1 Message Date
L0ne_W0lf
9c147d9f42 * Commented out ShowWarning and ShowDebug messages added in revision 11508. Aside from the ShowDebug being faulty, they are both fare too annoying for public use for the time being. If/when I get the NPC names fixed, we can add it back.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11511 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 18:25:16 +00:00
Playtester
6bcbcb11bb * Further optimization of the skill unit code
- removed code for Crimson Fire Formation it now uses the same code as Fire Wall
- added same knockback behavior as Fire Wall for Fire Formation
- Heat now does 50 hits a second in pvp too
- please let me know of any bugs that might appear

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11510 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 18:07:09 +00:00
Playtester
12f4be5b2e * Optimized the skill unit code
- reverted the unit timer interval to 100ms to save CPU usage
- rewrote the unit code of Fire Wall, Fire Formation and Heat so that they hit every 20ms if the target wasn't knocked back despite of the unit timer interval
- Heat now does 15 SP damage to players instead of 60 per hit
- optimized memory usage
- TODO: Renaming or removing firewall_hits_on_undead config

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 16:19:51 +00:00
FlavioJS
613b8a5b65 * Clarified how npc names work in script_commands.txt.
* Fixed a forgotten "return 0;" that stopped the parsing of the file after the first "script" of the file is parsed sucessfully (caused by r11502).
* Applied the same parsing and restrictions of npc names to warps, duplicates and shops (other code expects unique names for them too).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 14:21:46 +00:00
ultramage
2c2af57a84 * Removed commented-out code for check_fake_id()
* Merged improved/cleaned up (WiP) code for clif_parse_WisMessage
* Removed the requirement to provide a character name in the message string when calling is_atcommand() (needed for the previous fix)
- currently both ways work, but old will be removed in the upcoming command cleanup so please adjust your custom code if you use this!
* Added clif_process_message(), an unified way to validate all four types of player message packets and retrieve their components
* Applied the new checking function to clif code, this fixes various length mismatches caused by incomplete code in r11386 (bugreport:198)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 12:49:49 +00:00
ultramage
28a6350610 Fixed unix compilation problem due to a missing include (caused by r11499)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 10:11:54 +00:00
ultramage
d2b9e2498e Some code cleaning...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 08:04:53 +00:00
ultramage
0bbf505d59 * Merged do_sendrecv() and do_parse() into do_sockets()
* Fixed subnet check message displaying incorrect ip addresses
* client_addr will now be properly set to 0 for server connections
* Removed socket code that attempts to cope with code bugs at runtime
* Removed outdated copyright and version number from startup logo

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 20:24:48 +00:00
FlavioJS
05134f3dcc * Reworked the parsing at npc.c.
- Fixes npc.c discarding the '}' at the end of file, when there is no newline. (uncovered as a side-effect of r11487)
* Empty script functions always have code now (won't report as missing when you try to call them).
* Changed userfunc_db to not limit the name to 50 characters.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 20:15:39 +00:00
ultramage
3d7a129b90 Using predefined constants as parameters to the exit() function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 17:20:01 +00:00
Playtester
6c04229cb6 * Ground skill now can trigger every 20ms
- Firewall, Fire Formation and Heat now can do 50 hits a second
- this was proven to be official behavior, but it will raise CPU usage

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 16:55:06 +00:00
ultramage
6b2c679c3f * small timer.c cleaning
- removed "with less than 4 values, it's speedier to use a simple loop" as this case will never occur (premature optimization from r1284)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 12:07:25 +00:00
Playtester
7088251f9e Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 08:20:26 +00:00
L0ne_W0lf
1a95b375c1 Missed one. :> And thanks for Jetvictor for pointing it out. bugreport:239
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 23:43:09 +00:00
L0ne_W0lf
37e98485d1 * Added a return at the end of several scripts. Should deal with errors being shown in due to a recent commit by FlavioJS
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 23:40:07 +00:00
ultramage
472e15c188 * Venom Splasher fixes according to bugreport:230
- added passive skillv*30% bonus from Poison React
- added official splash damage calculation - damage gets split by the number of targets at range 1, then applied to all targets in range 2
- reverted some very old code - clif_calc_delay() - that was preventing skills from displaying properly, by erroneously assuming that if the target has ddelay 0, it has endure effect activated
- TODO: the skill should not consume a gemstone when it fails

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 23:24:39 +00:00
ultramage
425112aef3 * Fixed a copy-paste mistake in disguise code (from r5833)
* Commented out clif_skill_damage2() as it is not used anymore
* Made Venom Splasher a splash attack that distributes damage
* Fixed displaying of several splash skills (see bugreport:238)
- added flag SD_PREAMBLE for skills that need the 'magic' packet (fixes Grimtooth / Cart Revolution displaying out of sync)
- hacked together Venom Splasher's "no animation for central mob"
- hacked in a custom packet to make Dragonfear display semi-correctly

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 19:00:03 +00:00
Playtester
ead417758e Fixed used levels of NPC_CRITICALWOUND
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 18:02:47 +00:00
FlavioJS
b445bfa64e >.>
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 17:39:49 +00:00
FlavioJS
7109831b80 * Tweaked the loop in parse_script to better handle when the outer brackets aren't checked.
* Fixed a typo in skip_space that stopped skipping characters when it encountered a '*' or '/' in a block comment.
  ex: /* this will give a parse error after this character->* */
      /* same thing here->/ */

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 17:32:47 +00:00
Playtester
253807fc03 Fixed NPC_CRITICALWOUND to reduce heal by 20% per level
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 17:28:52 +00:00
zephyrus
26eba3eb7c - Fixing TK Mission asigning non spawning mobs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 03:25:48 +00:00
Playtester
7d23a41f0b Cosmetical changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 00:20:42 +00:00
Playtester
adf31fdd8d Reverted arrow crafting as there's no evidence that it really has been changed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-16 00:09:53 +00:00
skotlex
22b43b5903 - fixed Halo-Halo not being consumed on use.
- Updated the item price/sell reading code to enable 'null' values. The difference between a blank value and 0 is that when the value is blank, it should automatically take half/double the other value. The previous behaviour did this automatically and didn't let you specify, for example, if you wanted a given item to sell for 0.
- Also added a warning when an item in the db has an exploitable price (through overcharge/discount).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 23:26:28 +00:00
L0ne_W0lf
34a1e73c9f Readded Sonic Acceleration to the skill DB. -_-
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 18:14:25 +00:00
Playtester
3608801c4a Fixed duration of Enchant Deadly Poison
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 16:13:50 +00:00
Playtester
e3290e6d15 Reverted last fix according to tests on Aegis
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 13:20:47 +00:00
Playtester
eae1fe5d0b Fixed aftercast delay and timer of Venom Splasher
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 12:33:07 +00:00
L0ne_W0lf
2434418db0 Eek, made it so the Memory of Wedding item only works if you're married.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 06:09:47 +00:00
L0ne_W0lf
d43329708f Implemented new skill "Enlarge Weight Limit R", and increased MAX_SKILL_TREE by 1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 05:55:55 +00:00
L0ne_W0lf
cd2d4c04d4 Item Database updates.
- Updated Memory of Wedding effect, and some item names.
- Added the Diablos item set information.
- Added cast-delay reduction to Diablos Robe.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 05:48:43 +00:00
L0ne_W0lf
ada9a68f94 Whoops. Updated headers for the last two edited files. Just not thinking straight tonight.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 03:46:39 +00:00
L0ne_W0lf
99fc9221e7 Changed "Marthilda" to "Mathilda" in the Aco and priest Job quests.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 03:44:28 +00:00
L0ne_W0lf
b961eade8e Updated Merchant quest skill NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 03:16:57 +00:00
L0ne_W0lf
530ba9b09b Updated Archer, Mage, and Thief quest skill NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 03:01:46 +00:00
L0ne_W0lf
676e47ff5b Added headers to Acolyte, Swordman, and Novice quest skill files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 02:51:48 +00:00
L0ne_W0lf
1f3109cdc6 Updated Acolyte, Swordman, and Novice quest skill NPCs.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-15 01:51:39 +00:00
ultramage
d2b0e3a658 Fixed charsrever crashes, caused by r11410
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-14 17:44:09 +00:00
Playtester
e5c2908dce Fixed a typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 23:50:22 +00:00
samuray22
0690c75453 * Fixed a Little Typo Error in Breeder NPC (Custom).
-Thanks to ~AnnieRuru~.
* Fixed a little typo error in Prontera Guide (Extra RGB Values).
-Thanks to Brainstorm.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 23:40:07 +00:00
ultramage
a9d1a039fb Fixed a messup in r11398 - option to skip brackets around item scripts was added but not used where it should have been.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 14:19:08 +00:00
Playtester
229dea7eb8 * Fixed up NPC_POWERUP and NPC_AGIUP
- NPC_POWERUP: 3x ATK and 2x HIT for 10+5*level seconds
- NPC_AGIUP: 2x MOVE and 2x FLEE for 10+5*level seconds

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 13:26:52 +00:00
Playtester
b0220e00d4 * Some further changes to the delayfix function
- aftercast delay is at least amotion no matter what skill (this includes skills with cast time AND skills with skill delay!)
- aftercast delay reductions can NEVER reduce the aftercast delay below amotion (this includes Bragi and Soul Links)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 11:25:34 +00:00
Playtester
5d96e3c802 Fixed duration of NPC_POWERUP
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 10:54:46 +00:00
skotlex
49ee59c5cb - Again modified the delayfix function to reflect the current skill delay knowledge. Skills with 0 delay use amotion always (regardless of cast times)
- Renamed the config default_skill_delay to default_walk_delay as that is the only thing it does now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 10:50:37 +00:00
ultramage
3e5c810544 Fixed a memleak during shutdown, caused by missing mail db shutdown code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 03:13:34 +00:00
ultramage
74c5d717aa Fixed memleak hell during mapserver shutdown (if grf reading is used and the deallocation routine is actually called).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 03:00:51 +00:00
L0ne_W0lf
d2e2f9924f Corrected pet tames for newest pets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 02:32:48 +00:00
Playtester
4d17b1a7bf * Further updates to skill_delayfix function
- aftercast delay can never be lower than amotion
- please report if this broke any skills

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-13 02:21:55 +00:00