So, I'm recently breaking into nwn2 scripting on behalf of a server, I know enough to be able to do what I'm setting out to do, but I've encountered an issue, and because I'm a derp I can't find the solution.
An existing script isn't working as intended (unless you're an elf, despite making no calls to check race), but looking at the code itself there is no apparent reason for it to be behaving unexpectedly. So, I figure if I can get a log of precisely what is happening when the script runs that might point me in the right direction, but I seem to be unable to generate the necessary information.
How would I go about getting this log generated from the server, do I need to have DM privileges to do so, and if so how would a DM go about doing this so they can pass on the relevant information to me?
Thanks in advance.
Stupid question regarding logging a script
#1
Posté 16 septembre 2014 - 08:12
#2
Posté 17 septembre 2014 - 02:18
Would debug mode show you what you need to know? (See my toolset guide, vol. 1, p. 116.)
#3
Posté 17 septembre 2014 - 04:00
Why don't you test locally rather than on the server?
Put some debugging in your script. I generally just use: SendMessageToPC(GetFirstPC(), feedback text); to find out what is happening, although there are other ways.
#4
Posté 17 septembre 2014 - 08:40
(unless you're an elf, despite making no calls to check race)
I don't know what the script is supposed to do, but even if it doesn't check the race, the game engine does (when you equip/unequip items: some item properties include race restrictions; when you change appearance: the new appearance has to be compatible with the character skeleton; when you play animations: the animation has to exist for the character skeleton).
#5
Posté 17 septembre 2014 - 10:40
And why not post your script here with an explanation of what you are trying to do?
#6
Posté 17 septembre 2014 - 12:23
- Loki_999 aime ceci
#7
Posté 17 septembre 2014 - 05:41
If he is a builder he should be able to test on his local system though, unless its something requiring the DB, then its always possible to get a copy of the DB as well.





Retour en haut






