manhun1222 Posted December 23, 2014 Share Posted December 23, 2014 Hello guys!So we are playing in don't starve together with my friend and if i have too small HP and i dont want to die i type in console: c_sethealth(1) , but my friend cant use this command (looks like only server hoster can use this cheats),how can he use this cheat?Sorry for my bad english!Merry Christmas! Link to comment Share on other sites More sharing options...
Enbo Posted December 23, 2014 Share Posted December 23, 2014 You did it wrong, first you have to type this in the console:c_sethealth(0)It disables gullibility. Link to comment Share on other sites More sharing options...
Zillvr Posted December 23, 2014 Share Posted December 23, 2014 As far as I know, there is no way for clients to use console commands or be given permission to use them. Only the host of the server can use the console and have an effect in-game. But if you want to heal your friend with your console while you are host, you can try the following code:c_find("wilson"):c_sethealth(1)If your friend isn't using Wilson you can change the character name wilson to whichever character your friend is using. This will use the sethealth command on the character found. If there are other wilson's on the server, sadly I don't know the right command for it. Sorry. Hope this helps somewhat. Again, only hosts are allowed to use the console so he won't be able to heal you if you are the host. Good luck. Link to comment Share on other sites More sharing options...
Enbo Posted December 23, 2014 Share Posted December 23, 2014 sniperinoReally? You can't use commands as a client?Enter a public server, open the console and type that in:TheWorld.minimap.MiniMap:ShowArea(0,0,0,9000)Or c_gonext("charactername"). Link to comment Share on other sites More sharing options...
Zillvr Posted December 23, 2014 Share Posted December 23, 2014 Really? You can't use commands as a client?Enter a public server, open the console and type that in:TheWorld.minimap.MiniMap:ShowArea(0,0,0,9000)Or c_gonext("charactername").You're right, clients can use the console. But they can't use the console to cheat by spawning things in, or change their health, sanity, hunger like hosts can. And that was what OP was wondering about. Clients can't use the console to its full capacity. Sorry for not being clear. Link to comment Share on other sites More sharing options...
rezecib Posted December 23, 2014 Share Posted December 23, 2014 @Zillvr, Unfortunately that won't work because c_sethealth() is actually a shorthand function that refers specifically to the player entering the command. @manhun1222, I believe this will work, though: c_find('wilson').components.health:SetPercent(1) Link to comment Share on other sites More sharing options...
manhun1222 Posted December 23, 2014 Author Share Posted December 23, 2014 @Zillvr, Unfortunately that won't work because c_sethealth() is actually a shorthand function that refers specifically to the player entering the command. @manhun1222, I believe this will work, though: c_find('wilson').components.health:SetPercent(1)Thanks you It's works! Link to comment Share on other sites More sharing options...
Developer PeterA Posted December 23, 2014 Developer Share Posted December 23, 2014 The host could also do it in a loop such asfor k,v in pairs(AllPlayers) do v.components.health:DoDelta(-1000) end Link to comment Share on other sites More sharing options...
Sarcen Posted December 24, 2014 Share Posted December 24, 2014 I've heard you can add other players as admin in"Documents/Klei/DoNotStarveTogether/save/adminlist.txt" (source: http://forums.kleientertainment.com/topic/47206-admin/) Which might allow them to do console commands. I've also noticed that if you press control when the console is open it says REMOTE infront of the command, which might mean it performs the command remotely (which would be required for several commands since local data simply isnt available to the client). But.. this is just speculation, might be worth testing tho. Link to comment Share on other sites More sharing options...
rezecib Posted December 24, 2014 Share Posted December 24, 2014 @Sarcen, You have to both be an admin and set it to the remote mode when entering console commands as a non-host admin. Link to comment Share on other sites More sharing options...
Ridden Posted February 14, 2015 Share Posted February 14, 2015 how to enable God Mode? c_find('wilson').godmode() ? Link to comment Share on other sites More sharing options...
Jjmarco Posted February 14, 2015 Share Posted February 14, 2015 @Ridden, c_find("wilson").components.health:SetInvincible(true)or, if you are using remote commands, just c_godmode(). Link to comment Share on other sites More sharing options...
Ridden Posted February 14, 2015 Share Posted February 14, 2015 @Ridden, c_find("wilson").components.health:SetInvincible(true)or, if you are using remote commands, just c_godmode().Thanks, I'll try (if I host works just c_godmode (). If I do not host commands do not work at all) Link to comment Share on other sites More sharing options...
Kzisor Posted February 14, 2015 Share Posted February 14, 2015 @Ridden, You have to be an admin on the server and you have to send the command remotely by pressing the Ctrl button. Link to comment Share on other sites More sharing options...
ThatGuyHentai Posted August 15, 2015 Share Posted August 15, 2015 While going through the games console commands I did find the command "ConsoleCommandPlayer" along with "CHEATS_ENABLED." I don't know if the cheats enabled command works as I have not tested it but this might be your solution. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now