FOnline Development > Questions and Answers
[2238] FOnline: 2238 GM Abuse Tutorial
shinglaifs:
`param 0 param [value]
A command allowing to view and set your character params. Full list of params can be checked in _defines.fos.
Just to add additional information about the command, I took me a while to figure out how to change param of other players and npc(s).
[-p player | -n npcID] would work on this command also; however, you must specify the [value] parameter, and the [-p player | -n npcID] can only comes AFTER the [value] parameter.
So for example, to change the Strength of other player(named player1 for example), you will have to put:
`param 0 0 10 -p player1
You cannot "view" the current value of parameters of others by using
`param 0 0 -p player1 <-- this will give you an invalid argument error.
However, you can still able to "view" the current value of other player's(or npc) parameter by changing it to some other values first and read the log about the original values.
Or you can use `critterinfo [-p player | -n npcID] to get some basic info.
Wipe:
While that's correct, it's worth to note that editing other players params isn't possible "out of box"; you have to disable this little check first.
Oh, one more thing: checking target params is also possible thru ~run cheats checkparam2 [param] [targetId] 0
JovankaB:
The easiest way to see parameters of other player/npc is to use `clone command!
shinglaifs:
Oh nice~ thanks for the info, I overlooked these two useful commands.
I took a look at the codes for the clone command, it seems that there is no easy turning back once you become someone else.
And I do have another newbie question about critter ID:
I have notice that there is a difference in the first digit of the ID for NPC between what is displayed in the OSD and that displayed on the Ctrl + Click GM menu.
For example the OSD will display 6596108 and the Ctrl + Click will show 1596108?
What is the logic behind for these numbering? how do they work?
By the way, I am glad that this community is still very active. Given that the previous post before my post was a few months ago, I did not expect I would get any replies. ;)
JovankaB:
--- Quote ---I took a look at the codes for the clone command, it seems that there is no easy turning back once you become someone else.
--- End quote ---
You can make a second character as a "backup" (by cloning the original GM character). Then if you mess your GM character in any way, you can just login the backup character, relog to the original one, and clone the backup character. You have to use -full option to clone all aspects of character not just basic stats (though vars aren't cloned if I remember correctly).
--- Quote ---And I do have another newbie question about critter ID:
I have notice that there is a difference in the first digit of the ID for NPC between what is displayed in the OSD and that displayed on the Ctrl + Click GM menu.
For example the OSD will display 6596108 and the Ctrl + Click will show 1596108?
--- End quote ---
Ctrl + Click shows "NPC Id", which is Critter Id - 500000.
Player characters register with Ids starting from 1 and NPCs are created with Ids starting from 500001. So there is this "NPC Id" for convenience when typing commands. But the real value is Critter Id.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version