Author Topic: Subrace Question  (Read 136 times)

Legacy_lluewhyn

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Subrace Question
« on: August 01, 2015, 11:55:19 pm »


               

Back in 2007 and 2008, my wife and I were running a server, and upgraded to the Shayan's Subrace Engine. This worked great, and PCs were playing all kinds of strange beasties. As many know, the final 1.69 patch broke the engine. He later patched it with upgraded versions of the scripts, but after looking at the erf and the changes, it seems like a major headache to pick through about 40 scripts and figure out what's different in each version, as the module has existing changes to many of those scripts already.


 


To the point, I'm not really concerned about a lot of the fantastical creatures, but would like to replicate just the basics for Drow and Duergar, or at least the Duergar (the Drow do have their SR working).


 


Is there a quick and easy way to set up an effect on a PC logging in to have Immunity to Poison for the duration of their login? How about the stat bonuses for Drow?



               
               

               
            

Legacy_JediMindTrix

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +0/-0
Subrace Question
« Reply #1 on: August 03, 2015, 07:42:09 am »


               

I'm a little confused. Do you want to 86 (stop using) Shayan's Engine and replace it with your own scripts?



               
               

               
            

Legacy_lluewhyn

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Subrace Question
« Reply #2 on: August 28, 2015, 02:59:55 am »


               

Well, I was initially trying to do a band-aid fix because I didn't want to re-integrate a bunch of scripts with the other subsystems I have in the module. But, I bit the bullet and spent a day merging the scripts together again. The biggest issue I ran into is that the Shayan Subrace Engine uses the APS persistent system, the HCR uses its own PWDB persistent system, and they had identically named functions.


 


Not being an experienced scripter, it took me several hours to figure out why I was getting "Function Implementation and Definition Differ", because the include of an


include of the HCR had custom functions like GetPersistentString that had different parameters than the include of an include of the subrace system.


 


Anyways, one error I'm running into (beyond it not being friendly with ILR), is that any race that has an appearance change has some kind of camera cutscene lock that they forgot to turn off when it's after the PC has their appearance changed. Anyone familiar enough with the Shayan Subrace engine to tell me right where to go to fix this issue?