8523 Commits

Author SHA1 Message Date
ai4rei
fb7617d575 * Various VC6-related fixes and tweaks. [Ai4rei]
- Fixed a typo in VC6 project files, that prevented login-server from compiling (bugreport:4061, since r12727).
- Fixed usage of 'long long' in Sql_P_BindSqlDataType preventing SQL VC6 projects from compiling (bugreport:1741, since r10779).
- Fixed usage of 'long long' in strtoull preventing VC6 projects from compiling (bugreport:4059, follow up to r14245).
- Made strtoull default to base 10 and actually process base 8, to match the normal behavior of this function (bugreport:4059, follow up to r14245).
- Fixed functions in db.c not being returned as pointer, causing warnings on VC6.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19 21:25:30 +00:00
Paradox924X
1c0fef5343 Added a missing argument to a warning containing a format specifier.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-17 02:16:13 +00:00
Paradox924X
8f8d25a76d Follow-up to r14456. Default initialize atk_rate to 0 instead of 100 to match new effect of bonus bAtkRate.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-16 02:01:19 +00:00
L0ne_W0lf
fa7003afd3 * Updated quest_read_db. Might need reviewing. ;-;
- Reports entries when read by server at start up like other DBs.
- Will now skip blank lines instead of reporting false errors.
- Will report when entries are > MAX_QUEST_DB.
* Updated quest and item DB with Eden Group information.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-14 22:26:26 +00:00
L0ne_W0lf
0c14edaeb0 * Updating spawns as a precursor for Eden group quests.
* Updated spawns for Juno fields to Renewal.
* Updated spawns for Umbala fields to Renewal.
* Updated spawns for Comodo fields to Renewal
* Updated spawns for Mjolnir fields to Renewal.
* Updated spawns for Payon fields to Renewal.
* Updated spawns for Morroc fields to Renewal.
* Commented out repeatable EXP quests.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-14 20:07:55 +00:00
brianluau
a7ef583dcb - Fixed a typo in abra_db.txt (bugreport:4548)
- Fixed a weight check in Level 4 Weapon Quest. (bugreport:4533)
- Removed a duplicate if() in battle.c, follow up to r14381. (bugreport:4549)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-13 18:23:35 +00:00
L0ne_W0lf
f04fb1ccfc Whoops. Actually deleted exp2.txt this time.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14460 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-11 19:25:06 +00:00
L0ne_W0lf
fc4c5902e9 Updated known EXP values, and deleted exp2.txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-11 19:23:54 +00:00
L0ne_W0lf
0644a4e491 * Added some items with enforced delays to the item_delay_db!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10 21:07:04 +00:00
Paradox924X
a9c0bc7924 Changed the check prior to adding to the attack rate so it ensures the value is non-zero instead of not 100.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10 20:46:18 +00:00
Paradox924X
45826cbbc5 Made bAtkRate add the rate rather than setting it. (bugreport:4499)
Warning: This will break backwards compatibility for item scripts which rely on the previous effect for this (although most people assumed it added, as described in the bonus doc).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10 20:32:31 +00:00
Paradox924X
840f04f41f Added an item_delay database usable for item-specific use delays.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10 18:57:14 +00:00
Paradox924X
9ab7bdfc12 Use packet 0xe7 instead of 0x1f5 within clif_tradestart() when there is no trade_partner (or an invalid one) specified even for PACKETVER >= 6. (bugreport:4544)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10 03:55:52 +00:00
Paradox924X
9730bc0139 Follow-up to r14368. Load last_map from SQL on char load so the information is available during char select for PACKETVER > 20100721. Patch based on Ai4rei's. (bugreport:4429)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14453 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-09 20:17:56 +00:00
Paradox924X
187aa99cbf Notify players involved in a trade that it has been canceled when one player changes maps/logs out or otherwise becomes unable to participate in the trade.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-08 23:28:11 +00:00
Paradox924X
975ab5e504 Send the actual level of the person you're trading with rather than limiting it by the max_lv/aura_lv settings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-08 22:21:03 +00:00
Gepard
a5762f27ff 'Exp gained' packets are now sent regardless of @showexp. @showexp can be enabled regardless of PACKETVER.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-07 11:08:06 +00:00
Gepard
35feae1e5c Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-07 10:44:16 +00:00
L0ne_W0lf
3a3e2cde66 * Just a couple Bug fixes. :P
- Added a missing close in quests_13_2.txt. (bugreport:4520)
- Corrected 'IProntera' typo in quests_prontera.txt (bugreport:4522)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-05 02:02:53 +00:00
L0ne_W0lf
6e8f281f4c Adding back a / that got removed in nowarpto.txt. THIS IS FOR YOU REDMAGEJOE. GOD SPEED.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-04 23:45:33 +00:00
L0ne_W0lf
7926aea297 This one's for you RedMageJoe! God speed!
Fixing some typos in the comments in the unused database I just added :3

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-04 23:17:12 +00:00
L0ne_W0lf
ee121cab6b This update renders this branch unplayable due to the defense value of monsters.
* Updated monster database. Most spawning monsters stats are now updated.
- 'Ghost' mobs, and event monsters are not updated at this time.
- Information collected from RODE by Gepard.
* Added demonstrative mob_penalty_db. (unused.)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-04 23:09:49 +00:00
L0ne_W0lf
1d60af7268 Added mapflags for the map 'cave' used in the Crow of Fate quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 22:21:02 +00:00
Paradox924X
0637dd55ac Fixed an issue where two ushorts were being strcmp'd. Follow-up to r14442. (bugreport:4523)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 16:28:45 +00:00
Paradox924X
85923fd182 Ensured character data is saved even when last map is the only value that has changed during save time. (bugreport:2218)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 05:27:19 +00:00
Paradox924X
32af9864c1 Fixed incorrect status change constants being used in cash food scripts. (bugreport:4477)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 04:54:34 +00:00
Paradox924X
11fd59555f Applied fix by Ai4rei to reintroduce mapName within charinfo packet when PACKETVER >= 20100803. Follow-up to r14432. (bugreport:4413)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 04:46:03 +00:00
Paradox924X
caece0ff5b Updated script doc to appropriately describe the effects of close/close2 when used without a window on screen. (bugreport:898)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14439 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 04:37:41 +00:00
Paradox924X
41a9a64170 Applied patch by xazax to clean up various bits of code across mapserver code. (bugreport:4512)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14438 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 04:24:46 +00:00
Paradox924X
2cf15a8d36 Changed Normal and Cash Food statuses so they do not stack and overwrite the other if the level (val1) is the same or higher. (bugreport:4519)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 03:38:24 +00:00
Paradox924X
dcc8df7702 Modified certain atcommands to use 64 bit arithmetic before capping a value to correct boundary logic for overflowing values.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02 01:36:14 +00:00
L0ne_W0lf
83bc339cef * Updated stats for monsters that spawn on Geffen Fields.
* Packet_db now uses packet_db_ver set to default
* Updated spawns for Geffen fields to Rewnewal.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-28 15:42:15 +00:00
Gepard
fa5f2d25ee * Removed unused 'indoors' mapflag (follow-up to r3729).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-21 00:38:57 +00:00
L0ne_W0lf
355bb58f5c * Updated stats for monsters that spawn on Prontera Fields.
* Updated spawns for Prontera fields to Rewnewal.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-20 04:19:42 +00:00
Gepard
bd13f53417 Fixed wrong char info packet size for clients after 2010-07-27 (follow-up to r14368).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-17 19:02:45 +00:00
Inkfish
1e060a7ade Fixed a typo in quests_13_1
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13 10:26:04 +00:00
Paradox924X
9134d4db5f Prevented direct transformation into dummy jobs via @jobchange command. (bugreport:4227)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13 10:22:59 +00:00
Paradox924X
2e7d224a8e Prevented @stpoint and @skpoint from causing overflows.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13 07:33:18 +00:00
Paradox924X
4a5136364d Renamed Changelog-Trunk.txt to Changelog-Renewal.txt in renewal branch. Removed unnecessary notice from top of Changelog-Trunk.txt and Changelog-Renewal.txt regarding updating of stable branch.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 06:22:03 +00:00
Paradox924X
cfbb5acc1b Implemented official cash food behavior, including use delay, not being dispelled (including on death), distinct status effects and icons from the ordinary food types.
Updated items accordingly. (bugreport:2560)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 06:17:49 +00:00
Paradox924X
fca83d7434 Applied ultramage's fix to prevent a segfault when a mob dead event triggered by a land-based skill causes the player to warp. (bugreport:4426)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 04:30:26 +00:00
Paradox924X
bed93164f2 Applied Ai4rei's patch to prevent an invalid rid from being attached to the execution of a script. (bugreport:4470)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 04:01:42 +00:00
L0ne_W0lf
80df86d7f7 * Wot's dis? Missed a warp in morroc field! THIS WILL NOT DO.
- ...corrected the versions in the file headers as well. :P


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:59:15 +00:00
Paradox924X
48ea3119dc Added NULL initialization to info variable in map_readfromcache() to satiate compiler. (bugreport:4399)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:58:18 +00:00
L0ne_W0lf
a9de18e42d * Renewal Update to warp portals, and deleted disabled_warps.txt.
- Only disabled warps, some coordinates might have slipped past me.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:51:07 +00:00
Paradox924X
c37cd6b2f0 Applied Ai4rei's patch to eliminate unnecessary and redundant castle data saving. (bugreport:4471)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:46:06 +00:00
Paradox924X
863160b004 Added a missing const qualifier to a variable. (bugreport:4472)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 03:10:11 +00:00
L0ne_W0lf
83ff1eed2b Follow up from r14413, should take care of the errors from bugreport:4472.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 02:21:49 +00:00
Paradox924X
c6826a2525 Pull name from character table instead of using master from guild table when loading guild data.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 01:57:27 +00:00
Paradox924X
d87cbd508c Use char_id rather than master when checking if a guild needs to be deleted during character deletion.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11 01:35:02 +00:00