Author Topic: How to active Prestiges Classes (Community Patch 1.71)?  (Read 450 times)

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« on: April 05, 2014, 04:36:22 am »


               

I can see the prestige classes of Community Patch, but I can not use any of them, we can read the restrictions of classes, but even with all the conditions complete, you can not choose.


 


I am trying to take the classes "Eye of Gruumsh" and "Shou Discipline" but I am unable to get. I am able to look for, so only "look".


 


(Yes, I test 2 times with 2 different characters to take this 25 levels nothing) =(


 


I found something on documentation of community patch:


 


---------------------------------------------------------------------------------------------


classes.2da:

- the two unlocked prestige classes, the Shou Disciple and the Eye of the Gruumsh, enabled by default but restricted by variable so they can be toggled on/off by the PC widget tool or custom scripting

---------------------------------------------------------------------------------------------

 

 

Does anyone know what is happening?


               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #1 on: April 05, 2014, 05:46:54 am »


               

Two ways:


 


1) Scripting


 


put this code into OnClientEnter event:


 


SetLocalInt(oPC,"70_AllowShou",1);


SetLocalInt(oPC,"70_AllowGruumsh",1);


 


2) 2DA edit


 


take the files cls_pres_gruumsh.2da and cls_pres_shou.2da from the 1.71 builders resources, open them and change the 1 on the line with ScriptVar to 0, save and put into server override.


 


That should work. They are disabled intentionally as many builders might find them unbalanced or whatever '<img'> .



               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #2 on: April 05, 2014, 10:51:46 am »


               

Could you store the variable on the module? 


 


EDIT: Nm, answered my own question with a little research. Although, for the sake of consistency with other Prestige Classes it might be worth it to enable them by default. Builders that found them unbalanced could then disable them via variable.



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #3 on: April 05, 2014, 01:54:08 pm »


               

Shadooow entered in the field he likes, knows everything.


 


I am using the first option:


 


SetLocalInt(oPC,"70_AllowShou",1);


SetLocalInt(oPC,"70_AllowGruumsh",1);


 


I have just changed oPC to oEnteringPC (as my configurations event OnClientEnter to object GetEnteringObject()).


 


I asked this yesterday and a few hours later I was answered. It's way to make things easy here.


 


謝謝!  '<img'>



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #4 on: April 05, 2014, 02:51:36 pm »


               

Sorry,


 


After I picked the Shou Discipline, I can't log in the game with this character.


 


ERROR: Invalid character - player login refused. Character class is non player class.


 


'<img'>



               
               

               
            

Legacy_WhiteTiger

  • Hero Member
  • *****
  • Posts: 889
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #5 on: April 05, 2014, 03:18:08 pm »


               

Seems I've figured out how to solve the problem. I also had to do the second procedure:


 



Take the files cls_pres_gruumsh.2da and cls_pres_shou.2da from the 1.71 builders resources, open them and change the 1 on the line with ScriptVar to 0, save and put into server override.



 


This allowed login for Shou Discipline and Eye of Gruumsh classes! 


 


The worst thing is that I thought just by configuring the module was enough.



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #6 on: April 05, 2014, 04:00:59 pm »


               


Seems I've figured out how to solve the problem. I also had to do the second procedure:


 


 


This allowed login for Shou Discipline and Eye of Gruumsh classes! 


 


The worst thing is that I thought just by configuring the module was enough.




Weird. This shouldn't be. I will retest and check this issue to make sure.


               
               

               
            

Legacy_Zwerkules

  • Hero Member
  • *****
  • Posts: 1997
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #7 on: April 05, 2014, 09:44:48 pm »


               


 


謝謝!  '<img'>




 


How did you get the forum to dispay the xie xie like that?


               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #8 on: April 05, 2014, 10:34:46 pm »


               

Sorry,
 
After I picked the Shou Discipline, I can't log in the game with this character.
 
ERROR: Invalid character - player login refused. Character class is non player class.
 
'<img'>

 
My wild guess based on no testing at all: the server is refusing your login because Enforce Legal Characters is on, meaning the 2das have to be altered for you to pass the ELC checks and even get into the module.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to active Prestiges Classes (Community Patch 1.71)?
« Reply #9 on: April 06, 2014, 06:32:48 am »


               


 

My wild guess based on no testing at all: the server is refusing your login because Enforce Legal Characters is on, meaning the 2das have to be altered for you to pass the ELC checks and even get into the module.




Confirmed. The ELC checks the variable before login as well. Since a player wont have the variable after server is shutdown, it thinks its invalid character.


 


Consequences in the development thread - link in my signature.