7 Days to Die

7 Days to Die

View Stats:
LordTimzor Feb 15, 2017 @ 10:23am
Console commands: Giveself not working?
As I'm screwing around a bit in a "creative" map. I found out about some items i wanted to try out (ID's 1501, 1502 and 1503. Some overpowered things it seems)

But when i try to spawn something with giveself (no matter what I enter even the simplest of things) it says: NullReferenceException: Object Reference not set to an instance of an object.

What is this and how do I fix this?
< >
Showing 1-11 of 11 comments
Zewtastic Feb 15, 2017 @ 10:41am 
have you set your steamID to admin with full rights in the serveradmin.xml?

Also do you know how to use the command? You have to know the item name - with exact spelling.
Last edited by Zewtastic; Feb 15, 2017 @ 10:41am
LordTimzor Feb 15, 2017 @ 11:20am 
Allright i didnt give myself full rights. I thought i had that by default if i started my own map.
As far as i know the command should just be: giveself (item name/id) (quality)

right?
Sagerk Feb 15, 2017 @ 11:23am 
you need to use item names as found in items.xml for example: giveself fireaxeIron
LordTimzor Feb 15, 2017 @ 11:28am 
I put in my steam ID and set value to 1000 (I tested i can use for example the 'say' command) but it still gives me the error :/
Zewtastic Feb 15, 2017 @ 11:53am 
set value to zero. That gives all rights.

<admins>
<admin steamID="steamidnumber" permission_level="0" />
</admins>
Last edited by Zewtastic; Feb 15, 2017 @ 11:55am
Sagerk Feb 15, 2017 @ 12:42pm 
the lower the value the more power you have, value of 1000 is the same as anonymous, value of 0 is the highest
BioFringe Feb 15, 2017 @ 1:55pm 
I never had to change any files to use the giveself command in a single player creative game not on a server. Just make sure that you're using the command properly as suggested above. NO IDS!

Not sure if it matters as it's always the first thing that I do when I log into my creative world is to make sure that Debug Mode is enabled.

-------------------------------------
7D2D YouTube Videos
Last edited by BioFringe; Feb 15, 2017 @ 1:56pm
LordTimzor Feb 16, 2017 @ 8:44am 
It still doesnt work. I tried to spawn the fireaxe with Sagerk's command. Alltough the command got executed properly i didnt recieve anything. And the 'Super Diggah' doesnt work. wich is the item i want. (For easy block removal)
Wil E. Pontoon Feb 16, 2017 @ 11:59pm 
same problem says denying command for client soandso
BioFringe Feb 19, 2017 @ 9:55am 
Originally posted by LordTimzor:
It still doesnt work. I tried to spawn the fireaxe with Sagerk's command. Alltough the command got executed properly i didnt recieve anything. And the 'Super Diggah' doesnt work. wich is the item i want. (For easy block removal)

Just on the off-chance that this might be the issue...Know that the item is not placed inside your backpack but rather dropped on the ground at your feet. If the command appears to have worked as evidence of the output in the command console text then look on the ground to see if it isn't actually there waiting to be picked up.

-------------------------------------
7D2D YouTube Videos
Kunovega Feb 19, 2017 @ 10:09am 
Originally posted by LordTimzor:
As I'm screwing around a bit in a "creative" map. I found out about some items i wanted to try out (ID's 1501, 1502 and 1503. Some overpowered things it seems)

But when i try to spawn something with giveself (no matter what I enter even the simplest of things) it says: NullReferenceException: Object Reference not set to an instance of an object.

What is this and how do I fix this?

Or just turn on the creative menu and pull items from the creative menu index instead of using the text commands

< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Feb 15, 2017 @ 10:23am
Posts: 11