
I have upgraded the top merge hak as described above (thanks for the instructions), but the module still crashes when the Scout character is loaded.
I went back to my PRC 3.3g installation and created a Fighter, then gained a level & took Scout. Exiting and reloading the character was fine. Restarting the server and reloading the character was fine. I was also able to load up the Scout-6/Bowman-6 character where we originally found the problem. So PRC 3.3g works fine with a Scout, PRC 3.5 does not.
Here is the latest log file from PRC 3.5 - much the same as the other one, except I added in debug statements in the hif_onenter script and around the on_heartbeat script. You can see that it executes hif_onenter, then executes prc_onenter, then finishes hif_onenter. Then it crashes. From my inspection of the prc_scout code, it looks like it is doing the calculation for Skirmish bonuses when it fails, but I've pretty well reached the limits of my expertise as far as understanding the coding.
The only other thing I can think of is that the module's onenter script does do a location move on the character that is entering, but it did that with PRC 3.3 as well, so I don't understand why it would make a difference with PRC 3.5, when checking for the Skirmish bonuses.
I don't know what else to try - as far as I know, the Scout is the only class with the Skirmish ability.
If anyone else has the time to look at this, the PRC3.3-version of the module is available to be downloaded from the vault at
http://nwvault.ign.com/View.php?view=Modules.Detail&id=6096. Just open it in a PRC 3.5 toolset, and resave it after recompiling the scripts. The top Merge hak doesn't seem to make a difference to this situation.
Create a Fighter, talk to Barliman in the Inn, do the quest for Hamfast and that will get you enough XP for level 2. (or just use a leveller module or DM). Choose Scout as your second level. Exit the module & reload the character. It works.
Exit the module, restart the server & reload the character - it should fail.
Any other suggestions are welcome.