Using DebugMode

I’ve gone back to see if I can pick up the OC which I didn’t find very interesting first time round but want to give another try. I’ve managed to pick up where I was but have hit a pretty big obstacle.

After sorting out Charwood and the town being reduced to rubble I made the not so intelligent decision to lighten my load by throwing away the “Charwood Cultists’ Journal”. It turns out this is needed for proof for Aribeth or I cant proceed into Luskan so I tried to retrace my steps but it is no longer there.

In a final attempt I tried to use DebugMode to spawn in the item. I thought it was working but no dice.

DebugMode 1
dm_spawnitem_m2q3g_cultjourn

produces not found.

Any way round this or am I doomed to wander Neverwinter Woods for eternity?

I had a thought about teleporting myself into Luskan instead but I think I need co-ordinates ?

PS. I tried killing the gate guards and battering away at the main door of the city but I have a sneaking suspicion it might have been invulnerable…

DebugMode 1
dm_spawnitem m2q3g_cultjourn

m2q3g_cultjourn is the parameter to dm_spawnitem debug function.

You can jump to any area in debug mode in current module. But Luskan is a whole new module. You can execute script that will take you there. But try the item first.

Sorry, I don’t understand. I’m not really a scripter. Is that not the resref of the book? How should the line read?

You get the ‘not found’ message because you had an underscore between dm_spawnitem and the resref of the item.However the resref is not a part of the function name but the parameter. So no underscore but a space.

1 Like

This was your command:

dm_spawnitem_m2q3g_cultjourn

But this is correct (from my post):

dm_spawnitem m2q3g_cultjourn

Console commands are like shell commands: function arg1 arg2 ..., split by whitespace, which internally translate to something like function(arg1, arg2, ...).

Use tab key whenever possible to auto-complete the function name. It will also auto-insert a space at the end, reducing grief. Example: type D and press tab to get DebugMode.

1 Like

Thanks for the help guys.

Didn’t know about this either. Thanks for the help and the explanation.

Yay !!! It worked. I’m back in the hunt . Good tip to know. Thanks again both.

1 Like