Denizen/0.7/Troubleshooting: Difference between revisions

From Citizens Wiki

< Denizen‎ | 0.7

No edit summary
No edit summary
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="float:right;margin-left:2.0em; padding:10px; font-family:camingodos-web; font-size:110%; ">__TOC__</div>


<div style="margin-right:2.0em; margin-top:35px; padding:10px; font-family:camingodos-web; font-size:110%;">
For more up-to-date information and full details on specific features (individual commands or tags, for example), check the [https://one.denizenscript.com/denizen/cmds/ Meta Documentation].
<span style="font-family:natalya-alternate-one; font-size:650%; margin-right:-7px; margin-left:-10px;">D</span>enizen can seem a bit complicated at first. If you are having problems there are several tools available to help you.
 
</div>
If you want a full tutorial to help get you set up, check out the [https://one.denizenscript.com/denizen/cmds/denizen/vids Tutorial Videos] on youtube or the [https://guide.denizenscript.com/ Beginner's Guide] text website.
 
If you need quick help, visit our [https://discord.gg/Q6pZGSR Discord group].
 
<br><br><br>


==== Assignments not working? ====
<span style="font-family:natalya-alternate-one; font-size:300%; margin-right:-7px; margin-left:-10px;">This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!</span>
<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%;">
To check assignments on a Denizen use <tt>/denizen info</tt> with the NPC selected to make sure assignments have taken. This also shows other great information, such as bookmarks and activities. If you are the NPC's owner you can also sneak and right click to view this info. See: [[Denizen/In_Game_Commands#Info-Click|Info-Click]]


If assignments are not showing up, ensure that your <tt>assignments.yml</tt> is properly formatted, you've saved your assignments.yml, and you've used <tt>/denizen reload</tt>. See: [[Denizen/In_Game_Commands#Denizen_Reload|Reload Command]]


<s>
<div style="font-family:camingodos-web; font-size:100%;">
<div style="float:right;margin-left:2.0em; padding:10px; font-family:camingodos-web; font-size:110%; ">__TOC__</div>


Check that the proper scripts are assigned to the Denizen. Also check the the appropriate triggers are turned on.</div>
<div style="margin-right:2.0em; margin-top:35px; padding:10px; font-family:camingodos-web; font-size:110%;">
<span style="font-family:natalya-alternate-one; font-size:650%; margin-right:-7px; margin-left:-10px;">D</span>enizen can seem a bit complicated at first, especially when you don't know what to look for when something isn't working exactly like you want. Luckily, if you are having problems, there are several tools available to help you.
</div>




=== Assignments not working? ===
<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%;">
To check assignments on a Denizen use <tt>/denizen info</tt> with the NPC selected to make sure assignments have taken. This also shows other great information, such as bookmarks and activities. If you are the NPC's owner you can also sneak and right click to view this info. See: [[Denizen/0.7/In_Game_Commands#Info-Click|Info-Click]]


If that does not solve the problem next turn on Denizen debugging:
If assignments are not showing up, ensure that your <tt>assignments.yml</tt> is properly formatted, you've saved your assignments.yml, and you've used <tt>/denizen reload</tt>. Also check spelling of the Denizen NPCs name. This is case-sensitive! See: [[Denizen/0.7/In_Game_Commands#Denizen_Reload|Reload Command]]
:'''<code>/denizen debug</code>
</div>


This will turn on debugging mode. In debugging mode useful information is printed to the server console about what is going on behind the scenes.


It will show you errors such as invalid commands, non-matching requirements, or triggers that are disabled.
=== Trigger not working? ===
<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%;">Denizen NPCs, by default, have only their Click Trigger and Chat Triggers enabled. Use <tt>/denizen trigger list</tt> to see the status of the triggers for your NPC. Red means disabled. See:  [[Denizen/0.7/In_Game_Commands#Trigger_Toggles|Trigger Command]]
<br>
You may also have a plugin conflict. If you suspect this, try disabling all plugins except Permissions, Citizens2, and Denizen to see if the problem persists.
</div>


If you are still having problems check your console messages for errors, especially at start up.  
=== Script not working as intended? ===
<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%;">Turn on <tt>/denizen debug</tt> and check the information being sent to the console when your script runs. There's likely some information in there that can be used to track down the problem, whether it be failed requirements, incorrect flow logic, syntax, or simply a spelling mistake. See:  [[Denizen/In_Game_Commands#Debug_Mode|Debug Mode Command]]
</div>


If all else fails join us on IRC. http://webchat.esper.net/?channels=citizens
=== Still having problems, what now? ===
<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%;">If you are still having problems check your console messages for errors, especially at start up. Any kind of error, from any plugin, may lead to problems. Take this opportunity again to triple-check spacing in your script. If all else fails join us on [http://webchat.esper.net/?channels=denizen-dev EsperNet in #denizen-dev].
</div>
</div>
</div>
[[Category:Denizen 0.7]]
</s>

Latest revision as of 16:10, 24 March 2020

For more up-to-date information and full details on specific features (individual commands or tags, for example), check the Meta Documentation.

If you want a full tutorial to help get you set up, check out the Tutorial Videos on youtube or the Beginner's Guide text website.

If you need quick help, visit our Discord group.




This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!


Denizen can seem a bit complicated at first, especially when you don't know what to look for when something isn't working exactly like you want. Luckily, if you are having problems, there are several tools available to help you.


Assignments not working?

To check assignments on a Denizen use /denizen info with the NPC selected to make sure assignments have taken. This also shows other great information, such as bookmarks and activities. If you are the NPC's owner you can also sneak and right click to view this info. See: Info-Click

If assignments are not showing up, ensure that your assignments.yml is properly formatted, you've saved your assignments.yml, and you've used /denizen reload. Also check spelling of the Denizen NPCs name. This is case-sensitive! See: Reload Command


Trigger not working?

Denizen NPCs, by default, have only their Click Trigger and Chat Triggers enabled. Use /denizen trigger list to see the status of the triggers for your NPC. Red means disabled. See: Trigger Command


You may also have a plugin conflict. If you suspect this, try disabling all plugins except Permissions, Citizens2, and Denizen to see if the problem persists.

Script not working as intended?

Turn on /denizen debug and check the information being sent to the console when your script runs. There's likely some information in there that can be used to track down the problem, whether it be failed requirements, incorrect flow logic, syntax, or simply a spelling mistake. See: Debug Mode Command

Still having problems, what now?

If you are still having problems check your console messages for errors, especially at start up. Any kind of error, from any plugin, may lead to problems. Take this opportunity again to triple-check spacing in your script. If all else fails join us on EsperNet in #denizen-dev.