summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-24* Changed all uses of struct skill_unit_group* to group_id in ↵FlavioJS6-17/+51
status_change_entry's. (last known 64bit portability issue) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-23* Changed npc_get_new_npc_id to ensure that it never returns invalid/used ids.FlavioJS2-1/+28
- npc_get_new_npc_id is used to generate ids for npcs/mobs/homunculus/mercenaries/pets. If the server runs for long enough (years to months or less, depending on settings), the auxiliary variable npc_id will eventually overflow and go negative, then go through the range of object ids, then through the range of account ids. This can lead to all sorts of random crashes and memory leaks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13481 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-23Added a missing break; in pc_setstat, messing up LUK increasing (see r13460) ↵ultramage3-5/+6
(bugreport:2697). Corrected clif_bladestop(), void function returning a value (see r13471) (bugreport:2698). Fixed npcs with touch area not stopping walk timers (see r6516) (bugreport:2700). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22Removed outdated bSPDrainValue command from item bonus documentation (see ↵ultramage1-5/+2
r3149). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13474 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22- Fixed some item checks on gunslinger quest. (How was this not noticed for ↵Kisuka2-6/+8
so long?) (bugreport:2693) - Fixed Pheeroni spawn. (bugreport:2682) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-22* Changed val4 of SC_BLADESTOP from a block_list pointer to an id. (64bit ↵FlavioJS6-16/+16
portability issue and potential dangling pointer crash) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21* Added a limit of 1MB of pending data in the write fifo for non-server ↵FlavioJS2-1/+13
sockets. Connections that go over the limit are closed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13469 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21Fixed Assassin Dagger's item script (typo in r13457).ultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21Fixed a null pointer crash in r13463 (thanks to Ramsey for reporting it).ultramage1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13467 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21- Moscovia NPCs. (All the generic, kafra, and guide NPCs.)Kisuka6-29/+599
(Moscovia quest npcs still have horrible english, so that's why they aren't being committed yet.) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21* Replaced the fake timer heap (sorted array) with a real heap. (improves ↵FlavioJS2-98/+40
performance) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-21* Added a generic binary heap implementation based on defines. (round 2)FlavioJS1-12/+32
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20Efficiency improvement for clif_send (use pc_db iterator instead of sockets ↵ultramage1-53/+63
array). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20* Added a generic binary heap implementation based on defines.FlavioJS2-0/+207
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13462 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20Fixed pc_statusup2 to correctly update the client's stat windowultramage2-38/+68
- was sending the increment value instead of the new value itself (bugreport:2614) - wasn't refreshing the increase cost indicator (bugreport:2644) - wasn't handling stats above 255 correctly git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13460 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20Fixed a boolean operator mistake in @memo command, caused by r11625 ↵ultramage1-1/+1
(bugreport:2681). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20* Rev. 13458 Looooots of bugfixes provided by various people! [L0ne_W0lf]L0ne_W0lf10-125/+234
- Fixed Seal quest checking for oridecon hammer. Again. (Bugreport:2363) - Fixed some requirements for the socket NPC. (famiong) (Bugreport:2572) - Fixed a global variable-collision in Z-Gang quest. (Bugreport:2616) - Fixed issue with Zhed saying things he shouldn't (Bugreport:2627) - Fixed OnMyMobDwead in Nameless quest issue. (Bugreport:2628) - Fixed Kyle Hyre script halting on delitem. (Bugreport:2633) - Added missing part of Peace for Arunafelts (Gepard) (Bugreport:2639) - Added missing Kafra npc to Comodo. (Daegaladh) (Bugreport:2662) - Fixed a minor error in Einbroch Tower NPC. (magegahell) (Bugreport:2669) - Fixed exp reward in Peace for Arunafeltz. (Gepard) (Bugreport:2676) - Fixed exp reward in Meg. God Seal quest. (Daegaladh) (Bugreport:2677) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13458 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-20- Added support for item effect Ignore Def Rate by Race. bonus2 ↵zephyrus8-38/+66
bIgnoreDefRate,<race>,<%>; - Added support for item status effects on skills. bonus3 bAddEff,<sc_effect>,<rate>,ATF_SKILL; - Update to battleground equipment. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-19- Some episode 13.1 accessories. (Changes to Rogue's Treasure now called ↵Kisuka1-8/+8
Thief Ring with different effects) (Cannot complete Angelic Ring's effect, no such bonus on eA that I can think of) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-15Updated script_commands.txt with the book reading command info.sketchyphoenix3-4/+18
Added/reworded/removed comments to/in/from r13450 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-14#commands used by nonGM players now appear in the chat like normalsketchyphoenix1-3/+4
rather than being processed and ultimately failed, printing out failed command messages that should be visible to only GMs. (bugreport:2637) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-14* Added client login packets 0x01fa and 0x027c.FlavioJS6-24/+64
* Other minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-14Corrected a typo in r13444sketchyphoenix1-1/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-13Fixed Sql_SetEncoding() returning SQL_ERROR when it succeeds and vice versa ↵ultramage1-1/+1
(thanks to Rail for noticing it). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13447 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-13* Cleaned up command @users/#users:FlavioJS4-31/+32
- displays everything on the target user (self for @users) - uses a static array instead of a temporary DBMap - displays percentages with precision of 0.01% - uses safesnprintf instead of sprintf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13446 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-13Mobs with nonzero spawn time can now be cached as well, saving some more ↵ultramage6-30/+34
cpu/memory (bugreport:1197). Fixed dynamic mobs being unloaded without stopping their respawn timer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-12* #command parsing cleaned up.sketchyphoenix4-29/+38
- Fixed charname reading problems from r13441 - Corrected agitend typo to agitend2 (bugreport:2654) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-12Added regen_db to reduce hp/sp processing delays (bugreport:2256).ultramage4-5/+37
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-11bugreport:2637sketchyphoenix1-11/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13441 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-06Updated monster modes for battleground NPCs.L0ne_W0lf4-10/+15
Uncommented warp moc_fild02 -> pay_fild04, in morroc_fild.txt. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-05Added @charcommands to return a list of available charcommands (bugreport:2630)sketchyphoenix4-35/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-05Moved the 'changed' mailbox flag from shared mmo.h to mapserver-only.ultramage5-7/+12
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-05Fixed @mobsearch and @showmobs (bugreport:2481)ultramage2-19/+27
- now only search for mobs on the same map as the caller - now properly distinguish between dead and alive mobs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-04- Typo fixes to THQS.Kisuka3-18/+17
- Few fixes on warper.txt - Official warp cords for Kafra Teleport Service. (Someone delete Custom folder already before l0ne kills himself! :<) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13431 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-02- Novice quest fixzephyrus2-16/+7
- 2 missing headgears git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13430 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-02Removed bonuses from Novice Armlet. C'mon guys. :( L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-01-01Changes from Chapter 11:Kisuka4-33/+26
- Rates and Items in some item givers changed. - Ice Cream Maker disabled. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-31* Changes to the script engine:FlavioJS3-177/+219
- new stack datatype script_retinfo for C_RETINFO to hold all the return state info that was being stored in the stack. (the script engine in 64bit-ready now) - pop_stack is responsible for adjusting all the stack pointers. - push_* returns the created script_data. - 'return' only converts to value scope variables of the current scope. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-30* Changes to the script engine:FlavioJS5-49/+75
- script ends when run_func can't find the buildin command. (script engine error) - run_script_main doesn't change RERUNLINE to RUN automatically, the buildin command that set it is responsible for that now. The buildin command can use this to detect a rerun. - created functions to alloc/free a script_state. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-30Removed a trailing argument left in r13420sketchyphoenix1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-30Marked new Morroc fields as nomemo.L0ne_W0lf2-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29Fixed Econ values in agit_template. Commited by accident, as it's not finished.L0ne_W0lf2-21/+13
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29- Corrected issues with the Keil Hyre quest. (bugreport:2511)L0ne_W0lf7-136/+162
- Corrected minor typo in alchemsit quest. (bugreport:2530) - High Aco is now given skills on change. (bugreport:2552) - Added item checks to Ice Necklace quest. - Uncommented a warp in morroc_fild. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29Fixed broken card insert code (bugreport:2606).ultramage1-1/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-29 * Added missing command #delitem.sketchyphoenix3-10/+90
* Fixed charcommand behavior where those that can accept a name with no additional parameters being able to execute under said player's name with the name as a parameter.(bugreport:2601) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-28Corrected typo in @adjcmdlvl's parameter check.sketchyphoenix1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-28Cleaned up code for inserting cards into items.ultramage2-40/+38
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13418 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-28- Book reading script command.zephyrus3-0/+34
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-27Some bug fixes. (bugreport:2558, bugreport:2588, bugreport:2583, bugreport:2587)Kisuka4-20/+28
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-26Happy boxing day, eAthena! Here have a massive update.L0ne_W0lf28-10802/+12778
* Implemented the first round of episode 12.1 change which include: - Many Morroc NPCs have been moved to Morroc Ruins. - The addition of new of NPCs to the ruins of Morroc. - Several warp points leading around Morroc altered. - The implementation of the continental Guard Quest. - The removal of the 'Dandelion's Request" quest. - This update contains several changes, as Morroc and several fields no longer exist in one sense of the word. AS such, many NPCs have been moved, there may be quests that no longer function because of NPCs on inaccessable maps. * Commented out maps no longer accessable with 12.1 in maps_athena.conf * Updated mob_skill_db episode 12.1 skills to official. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13415 54d463be-8e91-2dee-dedb-b68131a5f0ec