How to get basic commands/events working?

FullBoar

New member
Apr 2, 2020
4
1
0
46
Sorry guys... I've struggled with this and I've run out of pieces of string to pull on!

I've got RAT set up with the latest hotfix. I've got the 7D2D server running and players are interacting with it fine so far... All latest builds.

When running RAT locally to the server, all lights are "green". When running RAT remotely all lights except "local server" go green - all as I would expect.

First question - I can't get any "!" commands/events to run. Specifically "!help" or "!hunt". They're both enabled, and when typing them into the command console or chat windows in game (which should it be in?) neither work, and there's nothing showing in the RAT console log output. The events are "enabled", and other console commands work okay - well, most get denied since I haven't set up permissions for those yet.

Is there something that I'm completely missing that allows these RAT events to work? I've not seen anyone else with this problem so that makes me think it's so basic that I shouldn't be having a problem and that I've mucked it up somehow...

So... What are the prerequisites to getting "!" custom commands/events to work please?

Second question - When I run RAT from my gaming PC and connect to the server, the events and messages have not propagated through to my PC and show up as default values - Can I pull that config from the server somehow? Again, all lights are green when interacting remotely (except local server), and I can modify messages etc... things just end up out of sync as the changes on the remote instance of RAT don't show up on the server instance of RAT. Perhaps I just need to pick one and stick with it?

Last question - Can the remote instance of RAT, modify the "Server Settings"?

Thanks guys. New Zealand is in full lock down right now so I'm having some good game time with mates :-)
 
Haio an ya the lock down sucks when ya cant work but well ive been doing the same messing with servers xD.
soo to get started if you are running rat local on the server then use that one for events an anything in the server settings.
as to your remote rat connection disable all events as why use them when u have the local that will be always active vs ur gaming pc.
With that server setting do not work remotely as they are for local server and RAT does not have ftp.
As for making commands work there is a number of ways but everything that is enabled should work that doesnt have a level limit or admin level limit.
on that note if you had like a command ya just wanted to add for a short time or something then you could make it on your remote rat tho it will only be active when rat is running. so if it is a event you always want running then do it on the local version of RAT an keep the remote as another way of easy access for admin stuff or spawning what ya need :)
I think i covered everything enjoy.
An for quicker reply's there is the RAT discord server.
 
I think I'm misunderstanding something here.

Does RAT need to be running on the server for the "!" commands to work?

Where should the user be entering the !help/!hunt command? In the standard command console (F1). This just returns "unknown command" each time.

So... The server's running. RAT is running on the server. The "!help" and "!hunt" commands are enabled in RAT. The player joins the game, presses F1 and types "!help" and gets the response "unknown command"

There is a disconnect happening somewhere...

Edit: I do not have discord setup in any way
 
they are chat commands open the normal global chat an enter them.
the ! commands you can change it to what ever you want it to be :)
last off as i said in the last post that can be run from remote or local but to save double ups of the event firing twice its better to just use 1 main place for events an disable them in the 2nd install of RAT.
 
Thanks! Persistence finally paid off...

OMG about bloody time... I don't know what was happening that was preventing those commands from working.

So I think from what you're saying, reading between the lines... the RAT client needs to be running for those commands to work?

Last question... the default !help response includes mention of VIP commands such as !north, !east etc... but I can't find these in the event editor. Is it perhaps that the comment is out of date?
 
Last edited:
Yes rat needs to be running as all events are a rat thing not a built in server thing :)
as for vip the wording is an example. many things are made for you to edit the way you want it to be like for example you have a vip building built in the north then ur editing the reply from the command to whatever you made for the vip person like instead of !north you could change it to !viplounge so they could use it to get teleported there tho you still need to make such teleport events for any command to work.
 
  • Like
Reactions: Trekkan