Originally posted by [b]~AnnieRuru~[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=373
I guess its time to clean up all lies about script_commands.txt
1. attachrid uses account ID , not character ID
http://svn.eathena.ws/bugs/browser/trunk/d...mands.txt#L3183
line 3183
topic = http://www.eathena.ws/board/index.php?s=&a...st&p=893719==================================================================
2. npctimer has no player attachedif want the npctimer has player attached, has to use
attachnpctimer; command
http://svn.eathena.ws/bugs/browser/trunk/d...mands.txt#L4988line 4988
topic =
http://www.eathena.ws/board/index.php?s=&a...st&p=874610see my method 3
attachnpctimer and detachnpctimer only works when the npctimer is not running
==================================================================
3. addtimer command has player attachedthe correct explanation can be found in Yhn's Pee Each Pee version of script commands
http://ea.dj-yhn.com/index.php?c=addtimerops ...
CODE
If no such label is found in the NPC object, it
will run as if clicked.
don't add this, if no such label, map-server return error (IMG:
style_emoticons/default/tongue.gif)
http://svn.eathena.ws/bugs/browser/trunk/d...mands.txt#L4886line 4886
==================================================================
4. add 20000 and 10000 to monster ID to increase/decrease monster size no longer support in current version
http://svn.eathena.ws/bugs/browser/trunk/d...mmands.txt#L232
line 232
topic = http://www.eathena.ws/board/index.php?s=&a...st&p=875486
==================================================================
5. add OnMinute: label on document
because many member dunno this command exist
http://svn.eathena.ws/bugs/browser/trunk/d...mmands.txt#L831
line 831
topic = http://www.eathena.ws/board/index.php?s=&a...st&p=867225
==================================================================
6. add some more explanation about OnNPCKillEvent, etc
there are further explanation about it on eAthena\doc\pccommand_list.txt
also, that document didn't mention anything about killerrid
http://svn.eathena.ws/bugs/browser/trunk/d...mmands.txt#L869
line 869
topic = http://www.eathena.ws/board/index.php?s=&a...st&p=927574
PS : I dunno what happen if it is killed by pet or homunculus, please try out for me (IMG:style_emoticons/default/tongue.gif)==================================================================
7. add some more explanation about player variablenothing - A permanent variable attached to the character, the default variable type.
They are stored with all the account data in "save\athena.txt" in TXT versions
and in the SQL versions in the 'global_reg_value' table using type 3.http://svn.eathena.ws/bugs/browser/trunk/d...mmands.txt#L506line 506
==================================================================
8. mapreg saved in SQL table if use SQL server
"$" - A global permanent variable.
They are stored in "save\mapreg.txt" file in TXT versions
and in the SQL versions in the 'mapreg' table.
http://svn.eathena.ws/bugs/browser/trunk/d...mmands.txt#L512
line 512
===================================================================
9. getusers(<type>) only use 0 or 1
http://svn.eathena.ws/bugs/browser/trunk/d...mands.txt#L2549
line 2549
topic = http://www.eathena.ws/board/index.php?s=&a...st&p=872901
===================================================================
10. OnPCLoadMapEvent uses loadevent, not loadmap
This special label will trigger once a player steps in a map marked with the
'loadevent' mapflag and attach its RID. The fact that this label requires a
mapflag for it to work is because, otherwise, it'd be server-wide and trigger
everytime a player would change maps. Imagine the server load with 1,000 players
(oh the pain...)
http://svn.eathena.ws/bugs/browser/trunk/d...mmands.txt#L880
line 880
topic =
http://www.eathena.ws/board/index.php?s=&a...st&p=936762
http://www.eathena.ws/board/index.php?s=&a...st&p=927537
===================================================================I think thats all
This post has been edited by ~AnnieRuru~: Dec 24 2007, 06:25 AM