FOnline Development > Questions and Answers
FOnline SDK - Question
Bugi:
Hi, how to teleport me in another plays?
JovankaB:
It looks like you will have to write the teleport/goto commands (and many, many other) on your own. Hurr durr.
If you didn't realize it yet, SDK is a TOOL for GAME DEVELOPERS people, not a toy for lazy kids.
Grampy:
1. exit
Level the access: any.
Output from the game.
2. myinfo
Level the access: any.
Demand mapping a certain information about the current character - identifier, name, password, the level access.
3. gameinfo <type>
Level the access: moderator.
The demand mapping information about the game, where the type the inquired information (type) can be the following:
0) the statistics the use memory;
1) summary according to the current players in the game;
2) the statistics locations and maps;
3) the current temporary events;
4) the current state data anyData;
5) the statistics objects in the game;
4. id <name>
Level the access: moderator.
Demand the identifier [krittera] on its name (name).
Note:
It is not active at the given moment.
5. move <id> <hx> <hy>
Level the access: moderator.
To move character (id) into specific [geks] (hx, hy).
6. kill <id>
Level the access: moderator.
To kill character (id).
7. disconnect <id>
Level the access: moderator.
To disconnect character (id) from the server.
8. toglobal
Level the access: tester.
To leave by the current character on the global map.
9. respawn <id>
Level the access: moderator.
To resurrect character (id). If id it is equal to 0, then it means to resurrect the current character.
10. param <type> <num> <value>
Level the access: tester.
To change the parameter in the current character.
type must be equal to zero, num to the number the parameter, value to its new value.
11. getaccess <access name> <access password>
Level the access: any.
To change the level access.
access name - name access (client, tester, moder, admin).
access password - password access.
12. crash
Level the access: implementor.
To drop [servernoe] application.
13. additem <hx> <hy> <pid> <count>
Level the access: moderator.
To add object (pid, count) to specific [geks] (hx, hy).
14. additemself, ais <pid> <count>
Level the access: moderator.
To add object (pid, count) into the inventory.
15. addnpc <hx> <hy> <dir> <pid>
Level the access: moderator.
To add [Npts] (pid, dir) to specific [geks] (hx, hy).
16. addloc <wx> <wy> <pid>
Level the access: moderator.
To add location (pid) into the fixed point (wx, wy) on the global map.
17. reloadscripts
Level the access: administrator.
To [perezagruzit] all [servernye] scripts.
18. loadscript, load <script name>
Level the access: administrator.
To load or to [perezagruzit] the specific [servernyy] script (script name).
19. reloadclientscripts, rcs
Level the access: administrator.
To [perezagruzit] client scripts.
20. runscript, run <module name> <func name> <param0> <param1> <param2>
Level the access: administrator.
To neglect the special [servernuyu] function (module name, func name), with the specific parameters (param0, param1, param2).
21. reloadlocations
Level the access: administrator.
To [perezagruzit] the prototypes locations.
22. loadlocation <pid>
Level the access: administrator.
To load the specific prototype (pid) location.
23. reloadmaps
Level the access: administrator.
To [reload] the prototypes maps.
24. loadmap <pid>
Level the access: administrator.
To load the specific prototype (pid) map.
25. regenmap
Level the access: administrator.
To refresh map on which at the current moment is situated character. THIS IS A USEFUL COMMAND TO FIX ANY ACCIDENT WITH THE MAP.
Note:
On the given moment it works with the failures.
26. reloaddialogs
Level the access: administrator.
To [perezagruzit] all dialogues.
27. loaddialog <dialog name> <dialog id>
Level the access: administrator.
To load the specific dialogue (dialog name), under the specific identifier (dialog id).
28. reloadtexts
Level the access: administrator.
To [perezagruzit] all MSG files.
29. reloadai
Level the access: administrator.
To [perezagruzit] the bag [npts] (Bags.cfg).
30. checkvar, cvar <tid var> <master is npc> <master id> <slave id> <full_info>
Level the access: moderator.
To verify the state the specific play variable.
tid var - number variable;
master is npc - does appear master id from [Npts], 0 are not, rest - yes. If yes, then to master id automatically is added 5kk, t to the indexing [npts] begins from this number;
master id - primary identifier;
slave id - second identifier;
full_info - to derive complete information in terms the variable, 0 are not, rest - yes.
31. setvar, svar <tid var> <master is npc> <master id> <slave id> <value>
Level the access: moderator.
To verify the state the specific play variable.
tid var - number variable;
master is npc - does appear master id from [Npts], 0 are not, rest - yes. If yes, then to master id automatically is added 5kk, t to the indexing [npts] begins from this number;
master id - primary identifier;
slave id - second identifier;
value - new value variable.
32. settime <tmul> <year> <month> <day> <hour> <minute> <second>
Level the access: administrator.
To change play time.
tmul - the acceleration time, 0 - not to change;
year - year, 0 - not to change;
month - month, 0 - not to change;
day - day, 0 - not to change;
hour - hour;
minute - minute;
second - second;
33. ban <add, add+, delete, list> <user> <hours> <comment>
Level the access: moderator.
To [zabanit] the specific player.
add - to add into [ban] character;
add+ - to add into [ban] character and IP address;
delete - to remove from the list [zabanennykh];
list - to derive the list [zabanennykh];
user - name character;
hours - time blocking, in the hours;
comment - commentary, it is possible not to write.
34. deleteself <password>
Level the access: any.
To remove the current character.
35. changepassword, changepass <password> <new password>
Level of the access: any.
To change password for the current character.
36. dropuid, drop
Level the access: tester.
To drop anti-alto timer for this character, that it was possible to [perezayti] for another character without waiting the specific time.
Wipe:
--- Quote from: Grampy on September 05, 2010, 10:31:28 am ---(...) 5. movecrit <id> <hx> <hy> (...)
--- End quote ---
It should be: move <id> <hx> <hy>
Kamilos93:
I downloaded fonline sdk and I have a problem. If I run Fonline singleplayer/Fonline multiplayer I get black screen and nothing. I'm using window mode (not fullscreen). My resolution is 1024x768. After run aplication I see loading and after loading black screen, not main menu.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version