Author Topic: [2238] FOnline: 2238 GM Abuse Tutorial  (Read 81934 times)

Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #15 on: July 03, 2013, 02:14:24 pm »
Why CTRL+CLick dosn't work for me

Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #16 on: July 03, 2013, 03:55:56 pm »
First make .cfg file inside of config folder where you need to put:
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
Then after you log into game, write ~getaccess... after that write ~gmtools menu load (nameofyourconfig.cfg)

JovankaB

  • Guest
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #17 on: July 03, 2013, 04:01:19 pm »
It can be inside GMTButtons.txt file (default gmt buttons file) in the client root folder

Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #18 on: July 03, 2013, 04:03:09 pm »
Yes, much more simple than what I did.

Offline Ganado

  • Moderator
  • Dishonest Abe
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #19 on: July 03, 2013, 10:42:57 pm »
Oh man, this is so much better than TLA's SDK. Thanks a lot for releasing it!

In particular I really like how the admin interface shows the pids for scenery and walls, shows the hex locations, and that this fixed some of the annoying bugs that were in TLA SDK + it has the convenient Awareness, timeouts, etc. already built into it.

Also love the little things, like when an admin +requesthelp, or the other funny texts with some of the commands.

Questions:
Is it possible to make it also show the pid for tiles? That could help for mapper purposes.

Why doesn't `param 0 11 value change my carry weight? This problem seems to be in the original SDK, too. On 2238 when I type 100 for value, it says it changed param 11 from 68250 to 67960. 67960 is definitely not 100. The coding for CARRY_WEIGHT seems to be the same as everything else...
« Last Edit: July 04, 2013, 03:09:19 am by Ganado »
Error while opening cfg file: spawnnpc.cfg
Shit! Damn admins! Always ruining my fun! I guess I'll talk to them. WITH MY FISTS!!!! No seriously, I will write them a nice email or make a thread on the forums or something. Thanks!

Offline SEGA_RUS

  • Arbeit macht frei
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #20 on: July 03, 2013, 11:07:35 pm »
about ~param 0 param [value]
Quote
Command: param
Uncnown command.

hahahahhaha, sorry, just used ~ instead `
« Last Edit: July 03, 2013, 11:45:59 pm by SEGA_RUS »
Skype - sega_75rus

JovankaB

  • Guest
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #21 on: July 04, 2013, 03:13:45 am »
Questions:
Is it possible to make it also show the pid for tiles? That could help for mapper purposes.

Nothing can be done with tiles with scripts.

Quote
Why doesn't `param 0 11 value change my carry weight? This problem is in the original SDK too. On 2238 when I type 100 for value, it says it changed param 11 from 68250 to 67960? 67960 is definitely not 100. The coding for it seems to be the same as everything else...

The carry weight is in grams. You have to use a very large value (1000x CW) to see some result.
« Last Edit: July 04, 2013, 03:28:36 am by b__B »

Offline Ganado

  • Moderator
  • Dishonest Abe
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #22 on: July 04, 2013, 05:12:02 am »
Okay it works fine now, thanks.

First off, is this all I need to do for the GodOfTheRealm part in cheats.fos?
Quote
bool GodOfTheRealm(uint id)
{
    return true;        // default is false
}

Second,
Quote
After it's done, the admin can run god function from the cheats.fos module to become GodOfTheRealm. To go back to normal mode the admin can run mortal function.
How exactly does one run the god function? What would the command be in-game? I'm not sure how this part works, I've tried various things. Same applies for the AdminLook. The AdminLook seems to be the most convienent way of making all the NPCs work again after ~regenmap by being able to see every NPC at once in order to kill them.
Error while opening cfg file: spawnnpc.cfg
Shit! Damn admins! Always ruining my fun! I guess I'll talk to them. WITH MY FISTS!!!! No seriously, I will write them a nice email or make a thread on the forums or something. Thanks!

Offline Wipe

  • Rotator
  • Random is god
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #23 on: July 04, 2013, 05:58:19 am »
First off, is this all I need to do for the GodOfTheRealm part in cheats.fos?
Technically: yes.
However, it would open some of features to every character - unlike regular cheats, GodOfTheRealm may have some things enabled without need to be authenticated. For example, once you enabled this mode, your character will always stay invisible, until you disable it (note that invisibility includes list of players online provided by ~gameinfo 1).
tl;dr - If that's for local server, then you're ready to go; if not, i'd uncomment original part of the function and use own name(s) there. Unless you remove/modify how it works in scripts and extensions, ofc.

Second,How exactly does one run the god function? What would the command be in-game?
Enable:
~run cheats god 0 0 0
Disable:
~run cheats mortal 0 0 0
Games are meant to be created, not played...

JovankaB

  • Guest
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #24 on: July 04, 2013, 06:16:46 am »
If that's for local server, then you're ready to go

However, in that case you don't really need it. GodOfTheRealm doesn't give you some special features that normal admins don't have. It's mostly protections from abuses of other admins (they can't slap you, teleport you to WM etc).

Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #25 on: July 07, 2013, 02:25:04 pm »
Don't think this was mentioned in the tutorial but: if you want to change that message which the player gets when he fails to login as admin you have to go in client_message.fos and from the line 311 to 316 is what you need to change.

Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #26 on: August 06, 2013, 10:08:24 pm »
How to spawn some barrels/etc. for event ?
+
How to change the number of players required for having a faction ?
« Last Edit: August 07, 2013, 12:46:00 am by K-9 »

JovankaB

  • Guest
Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #27 on: August 07, 2013, 10:58:34 am »
You spawn barrels like any other item. Look for their PIDs in ITEMPID.H file. Commands to spawn items are in the tutorial. The minimum number of people you need to register a new faction is in the dialogs of the NPCs who sell bases. So you have to modify the dialogs.
« Last Edit: August 07, 2013, 11:16:45 am by b__B »

Re: [2238] FOnline: 2238 GM Abuse Tutorial
« Reply #28 on: August 09, 2013, 05:44:17 pm »
Ahh ! Thank you for the answer
« Last Edit: August 25, 2013, 04:40:56 am by K-9 »

Re: [FOnline: 2238] GM Abuse Tutorial
« Reply #29 on: September 15, 2013, 08:39:39 am »
Lazy dev forgot to add it, so i did :'(

Please tell me how you do that...