summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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)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* Extended sv_escape_c to escape '\a','\b','\t','\v','\f','\?' characters to ↵FlavioJS1-4/+15
their respective representations instead of octal. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13414 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-22Fixed incorrect usage of sv_escape_c() in TXT's login_log function, which ↵ultramage1-2/+2
produced malformed log entries (caused by r12489). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13408 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-24* Fixed a va_end using the wrong variable. (from r13383, fixes bugreport:2483)FlavioJS1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13386 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.FlavioJS10-147/+121
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.FlavioJS14-26/+26
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-17followupultramage3-2/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-17- Some "expire_time" = 0 considerations. Please update. (Bugreport 2451)zephyrus3-4/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16- Item Rental System.zephyrus11-74/+305
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-06* Fixed 'Char creation denied' message not being sent properly.FlavioJS2-2/+2
- Number 2 didn't exist in old clients so it used the default message, now it exists so the wrong message is displayed. - Changed 2 to 0xFF to get the default message. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13356 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
2008-10-24Added protection from segfault by int overflow in atcommand heal. ↵Paradox924X1-2/+10
(bugreport:1886) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-24Commented out unused function clif_marriage_process.Paradox924X1-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13320 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-21Added a check to make sure a player wasn't in a guild when they accepted a ↵Paradox924X1-1/+6
guild invitation. This fixes a few possible problems that could/would arise. (Zomg. My first source commit. =x) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-10-18* Corrected a target checking problem brought about with Kaizel/Osiris ↵sketchyphoenix1-1/+1
combination. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13308 54d463be-8e91-2dee-dedb-b68131a5f0ec