This is an attempted fix for Shayan's Subrace Engine v3.0 to make it compliant with NWN v1.69. It was not fully tested and may not address every problem, but you can give it a try.
Posted by Shargast at 2009-06-15 23:05:47 Voted 10.00 on 06/15/09
Found the error and it had nothing to do with Axe's modifications. So I vote 10 as the script does what it promises.
Cheers
Shargast _________________________ Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth
Posted by Shargast at 2009-06-14 09:15:53 Voted 10.00 on 06/15/09
Got a wee, wee problem
I can't seem to get my sha_subr_consts configured correctly.
Pre-1.69 I had no problems. Now I end up in a repeating loop. The engine recoginzes the subrace, adds special abilities and then boots the PC and he returns to the WP in my starting area.
Problems are: the abilities are not changed (even though I have nwnx2 installed) and then the process starts all over again. The PC is booted, relogs automatically ad. infinitum.
Can you help me with this problem?
Cheers
Shargast [email protected] _________________________ Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth
Posted by Victor Lazlo at 2009-01-18 19:41:04 Voted 10.00 on 01/18/09
How about the Feats limitations
Is anyone working to fix those???
I will love to use this Subrace system but it has to work because if it breaks, there is no way I could fix it :(
Posted by Saduj at 2009-01-16 20:06:23 Voted 10.00 on 07/20/08
BTW, Thanks for all the hard work put into the 169 update, Axe, its great to have SSE back, it's a brilliant system indeed, and your work is defiantly appreciated :)
Posted by Saduj at 2009-01-16 09:46:21 Voted 10.00 on 07/20/08
You make a good point, ill see about making a dummy Constant for fix posted, rather than hardcoding. (however i dont see many people out there renumbering feats, but rather adding to them, if anything...)
The Circular file dependency happens if you apply this patch to the SEE30 Demo.
Tyy it and see for youself.
The following error message is produced when you open sha_subr_methds :
Circular file dependency detected:
File x3_inc_horse includes itself.
Reverse heirarchy of files included from current file:
OK what you are doing there looks just plain wrong to me and hardcoding the numbers like that can be a major problem for those who have customized their 2DAs. So even if it worked for you it can easily dork up other people's stuff. I definitely do not recommend anybody follow those instructions to get around it.
Can you post or e-mail me the actual script you are getting a circular reference from? Because I just went thru all of Shayan's library scripts again and there are no circular refs in it. You must be doing it yourself. Look for a script that includes both x3_inc_horses and sha_subr_methods. If you see one including both of those then get rid of the x3_inc_horses include.
The feats list can be found by looking at the feats.2da file. All the ones whose row numbers are above 1023 are in the list...
I read a thread in the scripting forums (maybe tooset forums) concerning an include problem with the horse libraries but it had to do with too many nested levels. I haven't heard of anybody with circular dependency problems.
Just to make sure you know what to look for... A circular dependency is when one library #includes another which #includes the first. Or lib A includes B which includes C which includes A. No library X can include a library whose tree of included libraries contains X or else there is a circular reference. Afraid I can't be more helpful than that.
Just got done setting this all up, and I'm getting all sorts of Circular file dependency errors... Looks like the horse include is stacked on top of itself in about 30 ways :(
Posted by Victor Lazlo at 2008-12-29 09:09:14 Voted 10.00 on 01/18/09
Could you give us the list of feats that must be added manually?
Shayan's engine has a limitation I just found for those interested. It only understands feat numbers ranging from #0-#1023. As soon as it hits 1024 it loops back around and starts at zero again.
As of v1.69 the feats.2da file runs from #0-#1115 so there are many feats not supported by Shayan's engine. These include the horse combat & menu feats, purple dragon knignt feats, a bunch of epic feats, and the player & DM tool feats among others. None of these will work with Shayan's and trying to use them will result in the system thinking you specified some other feat.
To fix it will require a pretty major overhaul to his code and it will also invalidate all characters using a Shayan subrace. Short of doing that it should be safer and easier to apply the feats above #1023 manually and independently of Shayan's code OnClientEnter.
The system was not taking the 1.69 horse additions into account when handling the player skins, so older players could lose their horse feats and radial menu. I made sure whenever Shayan's makes a new skin that the mounting feats would carry across.
Shayan also had a function in his miscellaneous functions library whose name came into conflict with the name of a new function Bioware introduced in 1.69 called StringReplace defined in the x3_inc_string library. So compiling a script that incuded both Bioware's x3_inc_string and Shayan's sha_misc_funcs libraries would fail, often pointing to Bioware's new x3_inc_string library in the error message. I renamed Shayan's function and updated all the scripts in his system that were using it to eliminate the conflict.
What did you change that wasn't compliant with 1.69....I only ask cause I use the original one, and so far haven't met with any problems.. _________________________ PW Action Server:
| Chaosgate |
Posted by electricsmoothie at 2008-07-31 18:23:51 Voted 10.00 on 07/31/08
Thanks a lot for this! Our first time using SSE, and we used this update, so far everything is working, relatively, flawlessly!
Step 8 in the instructions I provided says OnHeartbeat when it should say OnModuleLoad. It should be pretty obvious that sha_mod_load belongs in the OnModuleLoad event anyway. Sorry about the mistake.
I've changed it to be correct now but if you downloaded this prior to 7/23/2008 that step in the instructions is incorrect.
Posted by Saduj at 2008-07-23 00:47:55 Voted 10.00 on 07/20/08