GameFAQs: Debug Commands

Gamespot and GameFAQs posted some additional information on Debug Commands in their Cheats section.
Debug Mode Codes

The experience formula

I know I forget this every few months, so here it is thanks to kevinodie and Jassper who posted this on the official forums:

(Current Level * NextLevel)*500 = XP needed for next level.

So level 1 = 0xp,
(level 1 * Level 2)*500 = (1*2)=2*500= 1000 xp for level 2
(level 2 * Level 3)*500 = (2*3)=6*500= 3000 xp for level 3
ect.

Encounter Calculator

If you need to get a rough idea on how much XP a party will get from an average encounter for a certain level, consider the Encounter Calculator v3.5.

http://www.geocities.com/edymnionii/EPLvsEL.html

It's a great way to figure out how many encounters a party might need. Remember to divide by 10 (assuming your experience slider for the module is set to 10%).

3.5 Ruleset

Sometimes I find that I need to reference some minor factiod about the 3.5 ruleset. Here are some links dealing with this.

The power of 32 characters

Before you do anything, save yourself a lot of time and make sure all your modules, areas, object tags, variable names etc. are less than 32 characters. Failure to do so will result in missing data, crashes and other unexpected behavior.

For example:

WotC: Adventure Builder Archive

While digging around looking for some ideas, I came across the Writing Your First Adventure article By Wolfgang Baur on the Wizards of the Coast site. It's a fun read and can help stretch your brain:

Kivinen: module debug tools

Kivinen has some great tools for working the the toolset on his site here:

http://www.kivinen.iki.fi/nwn/

check-module

One of the best tools for debuging your module is his check module tool, which can be downloaded here:

Avoiding area corruptions

Most people have had better luck after patch 1.05, but apparently it is still happening. Here is some basic information to help:

Issues with stores in patch 1.05

GodBeastX, Ash Darkwood and others recently reported a problem with patch 1.05 where you can no longer  set the buy and sell list of item types for stores. Apparently this worked fine in 1.05 beta, but now throws an exception and makes it impossible to set up these lists in 1.05 final.

Stores and merchants

From the official documentation:

Syndicate content