7 Days to Die

7 Days to Die

データを表示:
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?
< >
1-11 / 11 のコメントを表示
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.
最近の変更はZewtasticが行いました; 2017年2月15日 10時41分
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 2017年2月15日 11時23分 
you need to use item names as found in items.xml for example: giveself fireaxeIron
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 :/
set value to zero. That gives all rights.

<admins>
<admin steamID="steamidnumber" permission_level="0" />
</admins>
最近の変更はZewtasticが行いました; 2017年2月15日 11時55分
Sagerk 2017年2月15日 12時42分 
the lower the value the more power you have, value of 1000 is the same as anonymous, value of 0 is the highest
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
最近の変更はBioFringeが行いました; 2017年2月15日 13時56分
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)
same problem says denying command for client soandso
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
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

< >
1-11 / 11 のコメントを表示
ページ毎: 1530 50

投稿日: 2017年2月15日 10時23分
投稿数: 11