Age | Commit message (Collapse) | Author | Files | Lines |
|
- replaced gmlvl arg with a flag arg for internal/player generated checks. (dummy sds that used this arg are given gm levels)
- each command check runs through is_atcommand() and is checked for its origin (internal or player generated)
- charcommands are also parsed in this function.
- script atcommand/charcommand function calls to is_atcommand() have been updated
- also updated some clif/map functions calls to is_atcommand()
* charcommands should now log properly with the target of the command included.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13545 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
* Added missing delete_timer's every time deletetimer is being set. (except when allocating)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13544 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
* Added missing delete_timer's every time spawn_timer is being set. (except when allocating)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13543 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
(bugreport:1579).
Added sql upgrade script to adjust the appropriate char table columns.
This is an enhancement to r5762.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13541 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
that is too big.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13539 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
4 fields. (bugreport:1063)
* Simplified atcommand_spiritball. (deprecated msg_txt 204 and 205)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13538 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- @spiritball creates spiritballs without timer (limited to the array size instead of 500)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13509 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- added option --enable-profiler (supports gprof)
- added option --enable-64bit (don't force 32bit)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13486 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- don't make assumptions about the calling order of timers
- ensure that sd->spirit_timer is is ordered by expiration time
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13485 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
(64bit portability issue)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13483 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
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
|
|
- 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
|
|
portability issue and potential dangling pointer crash)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13471 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
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
|
|
performance)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13465 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13462 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- 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
|
|
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
|
|
* Other minor cleanups.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13449 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- 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
|
|
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
|
|
- 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
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13443 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13435 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- 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
|
|
- 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
|
|
- 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
|
|
* 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
|
|
their respective representations instead of octal.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13414 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
* 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
|
|
[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
|
|
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
|
|
* 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
|
|
(since r9864/r9865, fixes bugreport:2488)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13388 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13386 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
previous commit. (r13383)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13384 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13383 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13380 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
(bugreport:2447)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13375 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
* 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
|
|
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
|
|
(bugreport:2419)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13358 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
- 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
|
|
* 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
|
|
(save for Novice and Baby) (bugreport:2312)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13336 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
Einbech (bugreport:2401)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13335 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13334 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
(bugreport:2368).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13332 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13331 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
deprecated in r6204.
Item 2385 was still using bLoseSPWhenUnequip -- fixed.
npc/custom/events/xmas_rings_event.txt still uses both in conjunction with setitemscript. Someone will need to make it so equip and/or unequip scripts change be changed as well, or find an alternative solution.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13327 54d463be-8e91-2dee-dedb-b68131a5f0ec
|