summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-11-26Changed 'killerrid' and 'killedrid' from player vars to player params ↵ultramage8-5/+25
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14507 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Some updates and fixes to script command documentation. [Ai4rei]ai4rei2-36/+193
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14506 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Fixed base and job exp not getting reset on (de)leveling through commands ↵ai4rei3-11/+24
(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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14505 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-26* Fixed auto-generated statpoint table missing 3 status points (since r1107).ai4rei2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14504 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Too large client packets, which would otherwise cause the client to crash, ↵ai4rei3-0/+20
are now dropped and reported (bugreport:4391). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14503 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Fixed a crash when an unknown map is encountered during parsing a 'script' ↵ai4rei2-2/+13
npc and the script has mismatched curly braces (bugreport:4423, since r11502). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14502 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Fixed script commands attachrid and detachrid not updating the attached ↵ai4rei2-3/+31
character's information about currently running script, causing errors with dialog-based scripts or preventing characters from walking (bugreport:4571). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14501 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-25* Fixed party booking search not interpreting level 0 as 'all levels' and ↵ai4rei2-1/+2
using level as upper rather than lower bound (bugreport:4537, since r14412). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14500 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24Display a message showing the user where to change MAX_ITEMDELAYS when they ↵Paradox924X2-1/+2
have too many entries in the item_delays db. Follow-up to r14455. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24* Fixed calls to pc_delautobonus assuming map_session_data::autobonus2 and ↵ai4rei3-4/+5
map_session_data::autobonus3 arrays having the same size as map_session_data::autobonus (since r13915). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-24* Fixed pets with player sprites causing the client to crash while looking ↵ai4rei2-2/+4
for non-existing resources (topic:260895, follow up to r14488). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14496 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Fixed script command getusers causing map server to crash when called with ↵ai4rei2-6/+33
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Labels longer than 23 characters will no longer cause the server to exit ↵ai4rei2-9/+11
immediately (bugreport:4563, since r1213). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Various small cleanups.ai4rei4-47/+118
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Added script command pushpc, which is required by newer scripts.ai4rei7-39/+120
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402).ai4rei2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Added quest log support for the following quests.L0ne_W0lf9-273/+470
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14490 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).ai4rei2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed disguising as player clone causing the client to crash while looking ↵ai4rei2-2/+3
for non-existing NPC sprites (bugreport:4428, since r14387, related r14383). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed guild and guild member exp truncation issue (bugreport:4130, since ↵ai4rei11-46/+48
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed saving/loading errors with compilers (such as VC6, MinGW), which do ↵ai4rei3-4/+6
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed map server getting notified of hair, hair color, gender, class and ↵ai4rei2-1/+3
level changes from a char server (TXT only) twice (since r2986). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Batch files (Windows) now detect whether the server crashed, aborted or ↵ai4rei8-54/+72
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14484 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed a crash when shutting down char-server (TXT only), after it failed ↵ai4rei2-4/+11
to load storage save data (since r1275). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* mail_deliveryfail no longer attempts to log (since r12910) and give items ↵ai4rei2-5/+10
(since r11855), when there is no item attached to the mail (bugreport:3239). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added enumeration RC2_* for mob data 'race2' (bugreport:4561).ai4rei9-7/+32
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added 64-bit variants of the socket and buffer I/O macros.ai4rei2-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) ↵ai4rei37-59/+622
portability framework for Visual C++ compilers (related bugreport:4059). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Made atcommand declarations use ACMD_FUNC macro (bugreport:4252, related ↵ai4rei2-225/+226
r11607). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed login-server account engine initialization not getting checked, ↵ai4rei3-7/+14
whether it succeeds or not (bugreport:4361, since r12700, related r13000). - Failure to retrieve account engine and initializing it is now considered fatal and causes the server to exit immediately. - Fixed two data type inconsistencies, while being at it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed @doom and @doommap spamming packets for the visual effect on invoker ↵ai4rei2-2/+4
unnecessarily over whole map and server respectively. The effect is now displayed on each killed character (bugreport:871, since r311). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20- Fixed equip locations and view IDs for some headgears. (bugreport:4336)L0ne_W0lf3-58/+69
- Corrected the value of hit given by Military Ration C. (bugreport:4369) - Updated bonus for items that increase attack by class. (bugreport:4387) These 'fixes' should be considered a temporary fix until proper bonuses can be added to emulate aegis. - Added bonus increase_agi autocast to Krieger_shoes01. (bugreport:4406) - Added EXP script to Miracle and Secre Medicine items. (bugreport:4416) - Corrected weight of Some_of_Report to 0, as per desc. (bugreport:4541) - Corrected typos in skill name column in abra_db.txt. (bugreport:4557) - Corrected what jobs can use the Weihna and Krieg. (bugreport:4558) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed a crash when SqlStmt_ShowDebug is given NULL pointer as statement ↵ai4rei2-1/+2
handle (since r10753, related r10818). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Removed ; from INTPTR_* defines (since r13449).ai4rei2-5/+6
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed pc_marriage not checking spouse character job for baby class.ai4rei2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Made script command getmapxy print a warning, if an invalid type is ↵ai4rei2-0/+5
supplied (related r69, r8459). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Fixed packet layout of wanttoconnection for packet_ver 16 and 22 ↵ai4rei2-2/+4
(bugreport:3359, since r9958). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Fixed WFIFOL being used instead of WFIFOW for a short field of packet ↵ai4rei3-2/+3
0x2710 (bugreport:2819). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Fixed plug-in version getting checked against itself and a wrong operator ↵ai4rei2-2/+3
being used for the check (bugreport:3952, since r9631). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14467 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Various VC6-related fixes and tweaks. [Ai4rei]ai4rei7-23/+35
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-17Added a missing argument to a warning containing a format specifier.Paradox924X2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-16Follow-up to r14456. Default initialize atk_rate to 0 instead of 100 to ↵Paradox924X3-5/+8
match new effect of bonus bAtkRate. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-14* Updated quest_read_db. Might need reviewing. ;-;L0ne_W0lf11-39/+209
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-13- Fixed a typo in abra_db.txt (bugreport:4548)brianluau4-15/+13
- 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10* Added some items with enforced delays to the item_delay_db!L0ne_W0lf3-1/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Changed the check prior to adding to the attack rate so it ensures the value ↵Paradox924X1-1/+1
is non-zero instead of not 100. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Made bAtkRate add the rate rather than setting it. (bugreport:4499)Paradox924X2-1/+2
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Added an item_delay database usable for item-specific use delays.Paradox924X6-4/+84
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Use packet 0xe7 instead of 0x1f5 within clif_tradestart() when there is no ↵Paradox924X2-16/+14
trade_partner (or an invalid one) specified even for PACKETVER >= 6. (bugreport:4544) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-09Follow-up to r14368. Load last_map from SQL on char load so the information ↵Paradox924X2-2/+7
is available during char select for PACKETVER > 20100721. Patch based on Ai4rei's. (bugreport:4429) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14453 54d463be-8e91-2dee-dedb-b68131a5f0ec