fodev.net

FOnline Development => Questions and Answers => Topic started by: Nick.is.Back on July 03, 2013, 01:43:08 pm

Title: [2238] No commands work
Post by: Nick.is.Back on July 03, 2013, 01:43:08 pm
I have my server.I try to get accest with ~getacces admin Nick(that's the pass)nothing happens
the commands with ~param do not work
and I can't get a skin to myself
Title: Re: [2238] No commands work
Post by: Mayck on July 03, 2013, 01:45:51 pm
I would recommend going through this: http://fodev.net/forum/index.php/topic,29382.0.html
Title: Re: [2238] No commands work
Post by: wladimiiir on July 03, 2013, 01:52:07 pm
I have my server.I try to get accest with ~getacces admin Nick(that's the pass)nothing happens
the commands with ~param do not work
and I can't get a skin to myself
It is ~getaccess with double s. But I think 2238 have some additional access check (GetAccess.cfg).
Title: Re: [2238] No commands work
Post by: JovankaB on July 03, 2013, 02:16:29 pm
2238 uses GetAccess.cfg, it's not additional, it's replacement.
And yea, read the GM tutorial. All basics are there.
Title: Re: [2238] No commands work
Post by: Nick.is.Back on July 03, 2013, 02:43:43 pm
I read it but I can't get it to work.
I got in on the left upper part of the screen.But I can't do annything else from there
Title: Re: [2238] No commands work
Post by: JovankaB on July 03, 2013, 02:59:43 pm
If you have OSD info in upper left corner then probably the only thing you lack is GMTbuttons.txt file.

Save this as GMTbuttons.txt in your client folder:

Code: [Select]
;;
;;Standard devmenu
;;

ONPLAYER,ONNPC;Possess;internal possess
ONPLAYER,ONNPC;Trade;runscript_unsafe dev_menu@unsafe_Trade $[Critter.Id] 0 0
ONITEM,ISCONTAINER;Browse items;runscript_unsafe dev_menu@unsafe_Trade 0 $[Item.Id] 0
ONPLAYER,ONNPC,ISALIVE;Kill;runscript_unsafe dev_menu@unsafe_KillCritter $[Critter.Id] 0 0
ONPLAYER,ONNPC,ISKNOCK;Kill;runscript_unsafe dev_menu@unsafe_KillCritter $[Critter.Id] 0 0
ONCHOSEN,ONPLAYER,ONNPC,ISDEAD;Revive;runscript_unsafe dev_menu@unsafe_KillCritter $[Critter.Id] 0 0
ONNPC;Remove critter;runscript_unsafe dev_menu@unsafe_RemoveCritter $[Critter.Id] 0 0
ONITEM;Remove item;runscript_unsafe dev_menu@unsafe_RemoveItem $[Item.Id] 0 0
ONITEM,ONGROUND;Teleport;runscript_unsafe dev_menu@unsafe_Teleport 0 $[HexX] $[HexY]
ONGROUND,NOHIDE;Airstrike;runscript dev_menu@Airstrike 0 $[HexX] $[HexY]
ONITEM,ISPOSSESS;Pick item;runscript_unsafe dev_menu@unsafe_PickItem $[Possessed.Id] $[Item.Id] 0
ONPLAYER,ONNPC,ISPOSSESS;Attack;runscript_unsafe dev_menu@unsafe_Attack $[Possessed.Id] $[Critter.Id] 0
ONGROUND,ISPOSSESS;Move to;runscript_unsafe dev_menu@unsafe_MoveTo $[Possessed.Id] $[HexX] $[HexY]
ISPOSSESS;Stop;runscript_unsafe dev_menu@unsafe_Stop $[Possessed.Id] 0 0
ONCHOSEN,ONPLAYER,ONNPC,ISKNOCK;Wake;runscript_unsafe dev_menu@unsafe_NeutralizeCritter $[Critter.Id] 0 0
ONCHOSEN,ONPLAYER,ONNPC,ISNTKNOCK;Neutralize;runscript_unsafe dev_menu@unsafe_NeutralizeCritter $[Critter.Id] 0 0
Title: Re: [2238] No commands work
Post by: Wipe on July 03, 2013, 03:00:01 pm
the commands with ~param do not work
Hardcoded ~param has been replaced with scripted `param, to allow change parameters of NPCs [when it wasn't possible using engine-provided command] and limit its usage for tester access. Scripted version syntax is same as in original.
Title: Re: [2238] No commands work
Post by: Nick.is.Back on July 03, 2013, 03:58:36 pm
I saw a `spawncar thingy.But it spawns normal items with keys

+ how to teleport on world map?
Title: Re: [2238] No commands work
Post by: EnergyForYou on July 03, 2013, 04:02:39 pm
For spawning a car you need to find id of a car, e.g.: 808-vertibird
Title: Re: [2238] No commands work
Post by: JovankaB on July 03, 2013, 04:04:05 pm
+ how to teleport on world map?

There is no teleportation on the WM, only between maps or to a critter. You can

~run cheats imsospeed extraspeed 0 0

To speed up WM travel. In place of extraspeed put some big number (like 50000)

~run cheats imsospeed 0 0 0 for default WM speed
Title: Re: [2238] No commands work
Post by: Nick.is.Back on July 03, 2013, 04:07:30 pm
It is saying that I got insuficient privileges
Title: Re: [2238] No commands work
Post by: JovankaB on July 03, 2013, 04:09:22 pm
you need admin access

~getaccess admin password

Of course you need admin level in GetAccess.cfg
Title: Re: [2238] No commands work
Post by: Nick.is.Back on July 03, 2013, 04:10:45 pm
I am admin
Also how to give me money?
Title: Re: [2238] No commands work
Post by: JovankaB on July 03, 2013, 04:15:53 pm
`give 41 9999999 -legit
Title: Re: [2238] No commands work
Post by: Outlawries on July 03, 2013, 04:18:29 pm
I am admin
Also how to give me money?

`give 41 500  - This will give you 500 caps
`give pid count - the pid is the ID of the object the ID's can be found in :Server\scripts\ITEMPID.H
Title: Re: [2238] No commands work
Post by: Ghosthack on July 12, 2013, 01:34:24 pm
`give pid count - the pid is the ID of the object the ID's can be found in :Server\scripts\ITEMPID.H

It's also possible to use define itself, i.e "`give PID_BOTTLE_CAPS 100" works just as well.