9284 Commits

Author SHA1 Message Date
ai4rei
81a1e993cc * Fixed description of bCriticalAddRace having 'race' and 'crit' parameters interchanged (bugreport:4383, since r1116 and r1382, related r12804).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14509 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 16:16:30 +00:00
ultramage
81420ce9cd Reverted r14504, the old value is correct due to how the equation works.
Fixed an ancient off-by-one mistake in the statpoint calc equation, details are in bugreport:4575.
This will affect players with levels above 99, now giving them one stat point a level later.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14508 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 16:08:09 +00:00
ultramage
74872445ff Changed 'killerrid' and 'killedrid' from player vars to player params (bugreport:3249).
Now stored in player session data, so they don't get saved on logout anymore.
Added sql upgrade script 'upgrade_svn14507.sql' to remove the now unused player variables.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 14:03:41 +00:00
ai4rei
6354bf0a0c * Some updates and fixes to script command documentation. [Ai4rei]
- Fixed small inaccuracy in description for homevolution (bugreport:125).
- Added ~AnnieRuru~'s fixes to item scripts, variables, and commands addtimer and addnpctimer (bugreport:373).
- Fixed documentation for function command in regard of passed arguments and return value. (bugreport:373).
- Simplified description for getusers, by hiding internal mechanics of the command, which are irrelevant to a scripter (bugreport:2545).
- Added description for setfont and mercenary-related commands (bugreport:3034).
- Added documentation for ?: operator and "global" labels provided by Gepard (bugreport:3650).
- Added documentation for operators -, ~ and ! (bugreport:3650).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 11:37:45 +00:00
ai4rei
5042f8262c * Fixed base and job exp not getting reset on (de)leveling through commands (bugreport:85).
- Fixed level up related functions not updating client-side exp information, causing the exp percent value display random values.
- Fixed party system not getting notified of level-ups through parameter changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 07:44:35 +00:00
ai4rei
f483bfedc3 * Fixed auto-generated statpoint table missing 3 status points (since r1107).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26 07:10:38 +00:00
ai4rei
10396bbbbf * Too large client packets, which would otherwise cause the client to crash, are now dropped and reported (bugreport:4391).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25 23:06:06 +00:00
ai4rei
3541b61e5e * Fixed a crash when an unknown map is encountered during parsing a 'script' npc and the script has mismatched curly braces (bugreport:4423, since r11502).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25 20:59:50 +00:00
ai4rei
db5357a6e0 * Fixed script commands attachrid and detachrid not updating the attached character's information about currently running script, causing errors with dialog-based scripts or preventing characters from walking (bugreport:4571).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25 15:44:44 +00:00
ai4rei
68168bbf6d * Fixed party booking search not interpreting level 0 as 'all levels' and using level as upper rather than lower bound (bugreport:4537, since r14412).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25 00:49:50 +00:00
Paradox924X
8b08fa4241 Display a message showing the user where to change MAX_ITEMDELAYS when they have too many entries in the item_delays db. Follow-up to r14455.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24 23:42:57 +00:00
ai4rei
d19aa50b9e * Fixed calls to pc_delautobonus assuming map_session_data::autobonus2 and map_session_data::autobonus3 arrays having the same size as map_session_data::autobonus (since r13915).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24 23:31:14 +00:00
ai4rei
d503330ed8 * Fixed pets with player sprites causing the client to crash while looking for non-existing resources (topic:260895, follow up to r14488).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24 23:15:11 +00:00
ai4rei
c1bd43aef6 * Fixed script command getusers causing map server to crash when called with type 0 without attached character (bugreport:4565).
- Lack of character is now reported like other script commands do. Additionally invalid types are reported as well.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 15:11:22 +00:00
ai4rei
f4cf08b311 * Fixed script command getusers causing map server to crash when called with type 0 without attached character (bugreport:4565).
- Lack of character is now reported like other script commands do. Additionally invalid types are reported as well.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 15:11:22 +00:00
ai4rei
b0089b0edc * Labels longer than 23 characters will no longer cause the server to exit immediately (bugreport:4563, since r1213).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 11:56:44 +00:00
ai4rei
338b3ad2d4 * Labels longer than 23 characters will no longer cause the server to exit immediately (bugreport:4563, since r1213).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 11:56:44 +00:00
ai4rei
09968c0815 * Various small cleanups.
- Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436).
- Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541).
- Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700).
- Reformatted unit_blown to make it look cleaner (follow up to r14492).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 11:13:49 +00:00
ai4rei
4ffaed9527 * Various small cleanups.
- Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436).
- Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541).
- Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700).
- Reformatted unit_blown to make it look cleaner (follow up to r14492).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 11:13:49 +00:00
ai4rei
f91260ea57 * Added script command pushpc, which is required by newer scripts.
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 09:26:00 +00:00
ai4rei
1b9c1fc3d1 * Added script command pushpc, which is required by newer scripts.
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 09:26:00 +00:00
ai4rei
778f130de9 * Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 00:49:12 +00:00
ai4rei
3d66b0309b * Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 00:49:12 +00:00
L0ne_W0lf
85a4250060 * Added quest log support for the following quests.
- Factory Quest, Murder Quest, Cursed Spirit Quest, Juno Remedy Quest, Airship Ticket Quest, How the Airship Works, Ice Necklace Quest, Siblings Quest, Thor Volcano Base Quest, Muff's Loan, Broken Diamond, and the Z-Gang Quest


git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 00:42:25 +00:00
L0ne_W0lf
6f62ea2499 * Added quest log support for the following quests.
- Factory Quest, Murder Quest, Cursed Spirit Quest, Juno Remedy Quest, Airship Ticket Quest, How the Airship Works, Ice Necklace Quest, Siblings Quest, Thor Volcano Base Quest, Muff's Loan, Broken Diamond, and the Z-Gang Quest


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23 00:42:25 +00:00
ai4rei
004835214a * Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 20:28:18 +00:00
ai4rei
6688ea5e2c * Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 20:28:18 +00:00
ai4rei
8136997bd0 * Fixed disguising as player clone causing the client to crash while looking for non-existing NPC sprites (bugreport:4428, since r14387, related r14383).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 19:43:19 +00:00
ai4rei
29f9e79242 * Fixed disguising as player clone causing the client to crash while looking for non-existing NPC sprites (bugreport:4428, since r14387, related r14383).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 19:43:19 +00:00
ai4rei
980ffd5887 * Fixed guild and guild member exp truncation issue (bugreport:4130, since r14242).
- Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 16:52:46 +00:00
ai4rei
53fd4cef96 * Fixed guild and guild member exp truncation issue (bugreport:4130, since r14242).
- Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 16:52:46 +00:00
ai4rei
1a8d26e888 * Fixed saving/loading errors with compilers (such as VC6, MinGW), which do not recognize %ll format (since r14242).
- This also fixes guild leader name being displayed and saved as "(null)" in the guild member list.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 16:00:03 +00:00
ai4rei
4a8ab94031 * Fixed saving/loading errors with compilers (such as VC6, MinGW), which do not recognize %ll format (since r14242).
- This also fixes guild leader name being displayed and saved as "(null)" in the guild member list.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 16:00:03 +00:00
ai4rei
f5f3949e4b * Fixed map server getting notified of hair, hair color, gender, class and level changes from a char server (TXT only) twice (since r2986).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 15:38:43 +00:00
ai4rei
c43e2699ee * Fixed map server getting notified of hair, hair color, gender, class and level changes from a char server (TXT only) twice (since r2986).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 15:38:43 +00:00
ai4rei
67820415f5 * Batch files (Windows) now detect whether the server crashed, aborted or shutdown cleanly (Ctrl+C or @mapexit) and print appropriate message, instead of always assuming, that the server crashed (bugreport:3476, since r1818).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 12:36:39 +00:00
ai4rei
611892db22 * Batch files (Windows) now detect whether the server crashed, aborted or shutdown cleanly (Ctrl+C or @mapexit) and print appropriate message, instead of always assuming, that the server crashed (bugreport:3476, since r1818).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 12:36:39 +00:00
ai4rei
9849471a84 * Fixed a crash when shutting down char-server (TXT only), after it failed to load storage save data (since r1275).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 10:48:57 +00:00
ai4rei
c56477a9fc * Fixed a crash when shutting down char-server (TXT only), after it failed to load storage save data (since r1275).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 10:48:57 +00:00
ai4rei
9938ca73a3 * mail_deliveryfail no longer attempts to log (since r12910) and give items (since r11855), when there is no item attached to the mail (bugreport:3239).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 09:09:01 +00:00
ai4rei
3c92cf8047 * mail_deliveryfail no longer attempts to log (since r12910) and give items (since r11855), when there is no item attached to the mail (bugreport:3239).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22 09:09:01 +00:00
ai4rei
e1f53f04ec * Changed party_share_level from 10 to 15 as per kRO maintenance from 2010/04/14.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 19:14:26 +00:00
ai4rei
103e46fdab * Added enumeration RC2_* for mob data 'race2' (bugreport:4561).
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277).
- Fixed bSubRace2 lacking bounds check (since r1257).
- Fixed bSubRace2 being documented as bSPSubRace2 (since r1257).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 16:20:26 +00:00
ai4rei
27d81db9f4 * Added enumeration RC2_* for mob data 'race2' (bugreport:4561).
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277).
- Fixed bSubRace2 lacking bounds check (since r1257).
- Fixed bSubRace2 being documented as bSPSubRace2 (since r1257).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 16:20:26 +00:00
ai4rei
f91b018810 * Added 64-bit variants of the socket and buffer I/O macros.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 14:10:59 +00:00
ai4rei
5b425d4941 * Added 64-bit variants of the socket and buffer I/O macros.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 14:10:59 +00:00
ai4rei
e82c68b8bc * Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) portability framework for Visual C++ compilers (related bugreport:4059).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 13:44:10 +00:00
ai4rei
10aab49306 * Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) portability framework for Visual C++ compilers (related bugreport:4059).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21 13:44:10 +00:00
ai4rei
bf02bec085 * Made atcommand declarations use ACMD_FUNC macro (bugreport:4252, related r11607).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20 11:38:53 +00:00
ai4rei
068e6685bb * Made atcommand declarations use ACMD_FUNC macro (bugreport:4252, related r11607).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/renewal@14477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20 11:38:53 +00:00