summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2009-01-15Updated script_commands.txt with the book reading command info.sketchyphoenix1-4/+6
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-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-13* Cleaned up command @users/#users:FlavioJS1-29/+24
- 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 ↵ultramage5-30/+32
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.sketchyphoenix1-28/+32
- 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).ultramage3-5/+35
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-05Added @charcommands to return a list of available charcommands (bugreport:2630)sketchyphoenix1-35/+7
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.ultramage3-5/+11
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)ultramage1-19/+23
- 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
2008-12-31* Changes to the script engine:FlavioJS2-177/+212
- 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:FlavioJS4-49/+68
- 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-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.sketchyphoenix1-10/+83
* 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-25* Charcommands no longer default to self if no target is found.sketchyphoenix1-2/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-23 * Added a few missing atcommands.sketchyphoenix4-22/+357
* Added more commands to configurations (bugreport:2565) * Added a missing charcommand symbol config to atcommand configs. * GM command configs under the old format will have a warning printed back to the console as being deprecated. * Other fixes/cleaning partially resolving bugreport:2549 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-20* Extended how duplicates work: (based on Orcao's work in bugreport:2361) ↵FlavioJS2-56/+208
[FlavioJS] - you can duplicate warps/shops/cashshops/npcs (before only npcs could be duplicated) - warp duplicates inherit the target location - shop/cashshop duplicates inherit the item list - npc duplicates inherit the script code (backward compatible behaviour) - updated script_commands.txt with the information git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-20some minor generic cleanupsultramage1-16/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13406 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-18Removed charcommand code while allowing atcommand code to support its ↵sketchyphoenix11-4305/+425
functionality. Charcommands still retain their '#' symbol but now looks for a character name as the first parameter instead of last. Atcommand configs now support charcommand level configurations by comma seperation (e.g. 60,99) As a result of this, all atcommands that don't affect multiple users already (@kickall, @doom, @mapexit) are capable of remote usage. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13403 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-12-01* Fixed rare crash when using Flying Kick on clones (bugreport:2506)ultramage1-26/+9
* Corrected Flying Kick's debuff rules to match official servers - only works on players - soul linkers and stalkers with Preserve active are immune - only removes Berserk Potion, Kaahi, Kaite, 1HQ, AAR and Soul Links git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-27* Fixed a memory leak when returning a string variable in the script engine. ↵FlavioJS1-5/+0
(since r9864/r9865, fixes bugreport:2488) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-23* Readded code that was removed from atcommand_showmobs by mistake in the ↵FlavioJS1-0/+3
previous commit. (r13383) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22* Hunted down improper uses of va_list variables.FlavioJS8-143/+108
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-22* Hunted down the simpler 64bit pointer truncations.FlavioJS10-17/+17
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-20Added setting of state.speed_changed in script function 'npcspeed'.ultramage1-5/+8
Should fix the walking npc display problem (bugreport:2434). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-18Autotrade characters will no longer get caught by Urgent Recall. ↵L0ne_W0lf1-1/+1
(bugreport:2447) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-17- Some "expire_time" = 0 considerations. Please update. (Bugreport 2451)zephyrus1-4/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16- Item Rental System.zephyrus9-40/+263
Script Usage: - rentitem <itemid>,<seconds>; - rentitem <itemname>,<seconds>; git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-11* Updated script_commands.txtFlavioJS2-45/+97
* Made scripts terminate with an error: (fixes bugreport:2429) - when getitem/getitem2 tries to delete more items than the player has - when trying to set Zeny to a negative number. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-10Added a check to make sure killed monster's level was greater than half of ↵Paradox924X1-1/+1
the mercenary owner's level before incrementing mercenary's killcount. (bugreport:2410) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-08Cleaned up mob_readskilldb() a bit (moved row processing to its own function).ultramage1-218/+248
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-08Changed how mobcount works since it wasn't counting last mob death. ↵L0ne_W0lf1-1/+2
(bugreport:2419) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06some minor tweaks to previous commitsultramage1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06Fix of accident in 13353Sara1-266/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13354 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-06* Fixed the maximum level of Create Elemental Converter. (bugreport:2326) [Sara]Sara2-1/+267
* Fixed issue preventing you from changing to the original cart when using Change Cart. (bugreport:2383) [Sara] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-02stop erasing revision history, damnit...ultramage2-3955/+3955
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-02* Added charcommands again. Wrong project.sketchyphoenix2-0/+3955
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-02Removed charcommands from the source.sketchyphoenix2-3955/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-30slight cleanup for r13336sketchyphoenix1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-30Small cleanup of r13321/r13322/r13331.ultramage2-70/+10
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-30Small cleanup of r13332 (bugreport:2368).ultramage1-6/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-29* Novice skill, Trick Dead, will no longer be granted to classes upon reset ↵sketchyphoenix1-0/+8
(save for Novice and Baby) (bugreport:2312) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28Made script command "unequip" call status_calc_pc. Thanks to Orcao. ↵Paradox924X1-1/+3
(bugreport:2368). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-28Fixed all overflow checks and made the code a bit cleaner from r13322.Paradox924X2-23/+75
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-24Added protection from segfault by int overflow in charcommand heal and fixed ↵Paradox924X2-2/+10
a typo in atcommand heal. (Follow-up to r13321) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13322 54d463be-8e91-2dee-dedb-b68131a5f0ec