6134 Commits

Author SHA1 Message Date
L0ne_W0lf
af1e3083ac git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11545 54d463be-8e91-2dee-dedb-b68131a5f0ec 2007-10-22 16:35:51 +00:00
Playtester
85d3f5a3e4 * Heat isn't supposed to consume SP when used against players
- please report if it still consumes SP in pvp

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 11:03:40 +00:00
Playtester
3d7e086154 * Added new cards to drops so they can be tested
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 16:05:05 +00:00
ultramage
33decb0759 Fixed a small mistake in r11503 causing a fatal error&exit on unix when you try to do a graceful exit (by ctrl+c for example)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 13:37:46 +00:00
Playtester
9d1359a5c2 Implemented remaining 12.1 cards
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 13:18:38 +00:00
Playtester
18227dd6d8 Fixed some typos in the item_db
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 11:21:07 +00:00
skotlex
a3590acef4 - Removed SC_INCAGIRATE/SC_INCDEXRATE as they are not used anymore (and where even incompletely coded)
- Added SC_INCASPDRATE, SC_INCFLEE2, SC_INCCRI, SC_INCDEF, SC_INCBASEATK and SC_FASTCAST as these are required by the newer items.
- Cleaned a bit the implementation of Suffragium


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 11:17:07 +00:00
ultramage
28dcdcdf9e * Fixed 'unequip' removing items in the wrong position (bugreport:252)
* Fixed #refine unequpping the caller's item by mistake (bugreport:265)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 02:18:15 +00:00
Playtester
96626a3127 Fixed some item bugs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 23:39:20 +00:00
L0ne_W0lf
8b47fc5275 Corrected Desert Twilight and slots.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 23:12:47 +00:00
ultramage
6cca14200e Fixed a nasty bug from r11410 which let people create chars with already taken char names, and (in TXT's case) even cause a crash.
Closes bugreport:234.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 21:21:54 +00:00
SinSloth
ea5a2947bd * Small fixes to Hugel and Lighthalzen quests.
- 'gettimetick' checking in Schwartzvalt Trilogy now looks for both positive and negative values.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 17:40:30 +00:00
L0ne_W0lf
658b1d10af Small Adjustment to the Juperos Elevator timer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 16:10:47 +00:00
Playtester
63b525649c * Some more updates to the skill unit code
- renamed SKILLUNITTIMER_INVERVAL to SKILLUNITTIMER_INTERVAL
- Heat now depends on the interval settings rather than firewall_hits_on_undead
- if you want Heat to do more or less hits you can now change the interval value in the skill_unit_db.txt (official+default: 20ms)
- Icewall doesn't break anymore when the SKILLUNITTIMER_INTERVAL gets changed

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 14:53:23 +00:00
ultramage
98b513bf71 Fixed a signed/unsigned integer glitch in r11520 messing up random lvl1 Teleport.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 10:47:25 +00:00
L0ne_W0lf
00426a29e1 Fixed the error sin the recent change to the Juperos warps.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 03:45:20 +00:00
L0ne_W0lf
179fa873a1 * Implemented proper Juperos Core event-driven access.
- Bug testing and further optimization required.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-20 02:02:55 +00:00
Playtester
627ef4f13c Updated some new cards for testing purposes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-19 23:23:11 +00:00
Playtester
ddfbc69bfe Fixed some typos and updated Atroce Card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-19 22:29:13 +00:00
ultramage
94af74be1d Removed some overly verbose messages from the TXT login server.
Fixed some signed/unsigned mismatches in the code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-19 21:09:26 +00:00
skotlex
a1becae58f - Added bonusautoscript and bonusautoscript2. These are used to attach a script to a player which gets executed on attack (or when attacked). Required for several of the more recent items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11519 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-19 20:31:57 +00:00
skotlex
8d0ac1d316 - Applied some cleanups that should correct "Infinite Endure" ending sometimes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11518 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-19 19:10:21 +00:00
Playtester
3cd6ed7355 Updated Gorynych's DEF/MDEF
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11517 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 22:33:37 +00:00
L0ne_W0lf
1607b50c59 Uncommented the ShowWarning and ShowDebug from rev. 11508, and cleaned up the warnings it produced.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11516 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 22:04:47 +00:00
ultramage
ee02c2190b Fixed some gcc-specific stuff, silenced some more warnings
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11515 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 21:59:20 +00:00
ultramage
4cfb15d8bb Fixed numerous /W4 warnings (and created more :)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11514 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 21:25:26 +00:00
Playtester
4eba2db770 Fixed Ahlspiess not ignoring def of bosses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11513 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 19:20:45 +00:00
FlavioJS
630552ca97 * Fixed the incorrect map names on the debug messages (mapid->mapindex mishap from r11508).
* Fixed the incorrect reporting of npc names being too long when the the length is 24 (from r11508).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11512 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-18 19:17:58 +00:00
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