Author Topic: Question about cep_custom.hak  (Read 434 times)

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Question about cep_custom.hak
« on: May 31, 2013, 12:06:18 am »


                If I put a modified (variables) version of the classes.2da or feat.2da in the cep_custom.hak, would my players be required to download the hak, I mean it wouldn't mess with their game correct?

They wouldn't have to download the hak would they?
               
               

               


                     Modifié par _Guile, 30 mai 2013 - 11:07 .
                     
                  


            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #1 on: May 31, 2013, 12:46:58 am »


               Yes, your players would need to use your version as well. Yes, it would or could cause them problems when they then play in another Module or PW that also uses the cep2_custom.hak. Since they then need to download your version, you may as well just make it a uniquely named hak instead and save them any possible grief.

The cep2_custom.hak is primarilly for serverside only use. If you do things like change stacking limits or the weights of base items, you can plop it into this hak and players won't need it. If you edit the base item 2da to make wands and rods equipable like a normal weapon, you would need players to also have the change. Some 2das when changed are serverside only, some server and client and as the example in base items, it can depend on what you've changed as to whether or not a player needs it.

Myself, I use the cep2_custom.hak to store my module's player housing, guilds and a few hundred other areas with normally low traffic along with my crafting convos and scripts. I also keep this at the bottom of my hak list to prevent other's versions of it from interfering. I.e., all of my changed 2das are in my own custom tophak which solves most conflicts when a player is using a cep2_custom they downloaded from another PW. Unfortunately, many PWs have their cep2_custom.hak at or near the tops of their hak lists and problems do occur.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #2 on: May 31, 2013, 04:45:49 am »


               Basically Kalbaern, I wanted to remove the Requirements for Prestige classes....

I've seen this on quite a few servers, and I didn't need to download anything to receive the benefit...

So I did some digging and found the 2da that removed the requirements....

I just wanted to remove the requirements from the Prestige classes more or less...

I figured if they can do it, surely I can too??
               
               

               


                     Modifié par _Guile, 31 mai 2013 - 03:46 .
                     
                  


            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #3 on: May 31, 2013, 04:14:45 pm »


               If that's all your changing, you can just drop the changed 2da into your server's override folder. No need to confuse things by using a hak.
               
               

               


                     Modifié par kalbaern, 31 mai 2013 - 03:15 .
                     
                  


            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #4 on: June 01, 2013, 02:56:05 am »


               We did not have much luck with server side only class 2da edits sadly. Not saying it can't be done, but that was our experience. classes.2da, I am not sure about however. Prolly not much useful info for you here Guile, but thought I would chime in.

P.S. Nice to see you come out of retirement in the NWN 1 universe recently.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #5 on: June 01, 2013, 01:44:01 pm »


               

Lazarus Magni wrote...

We did not have much luck with server side only class 2da edits sadly. Not saying it can't be done, but that was our experience. classes.2da, I am not sure about however. Prolly not much useful info for you here Guile, but thought I would chime in.

P.S. Nice to see you come out of retirement in the NWN 1 universe recently.


Thanks for the input Lazarus...

As far as the retirement thing goes, well, I've been coding off and on for a long time now, but I really haven't been releasing much to the public because I'm tied up with my own server module.

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

I'll have to test the classes.2da in the override and see how that goes...
               
               

               


                     Modifié par _Guile, 01 juin 2013 - 12:49 .
                     
                  


            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #6 on: June 01, 2013, 10:09:43 pm »


               Please report back once you find out. I too would be interested to know, as I am sure others would as well.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #7 on: June 02, 2013, 12:39:31 am »


               Anything thing that deals with the leveling up of a PC is client based.   So just throwing the 2da into the override folder or the cep_custom.hak will not work.   The clients will have to have a copy of the 2das
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #8 on: June 02, 2013, 01:39:59 pm »


               

Lightfoot8 wrote...

Anything thing that deals with the leveling up of a PC is client based.   So just throwing the 2da into the override folder or the cep_custom.hak will not work.   The clients will have to have a copy of the 2das


That is correct for the 1rst level Lightfoot8, however I've witnessed first hand otherwise (after level 1)....

I've already told everyone that I logged into a server which I did NOT have the classes.2da in my override, and they allowed all classes to be taken at any given time (after level 1)...

So I'd say it can be done, btw it was scarface's server to be precise...

Lazarus Magni wrote...

Please report back once you find out. I too would be interested to know, as I am sure others would as well.


I'll do that, but I'm thinking it would probably be best to just put it in the cep_custom.hak to ensure that the game engine uses it for certain...

btw, here is the file I found..   http://nwvault.ign.c....Detail&id=4917
               
               

               


                     Modifié par _Guile, 02 juin 2013 - 12:45 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #9 on: June 02, 2013, 09:28:55 pm »


               

_Guile wrote...

Lightfoot8 wrote...

Anything thing that deals with the leveling up of a PC is client based.   So just throwing the 2da into the override folder or the cep_custom.hak will not work.   The clients will have to have a copy of the 2das


That is correct for the 1rst level Lightfoot8, however I've witnessed first hand otherwise (after level 1)....

I've already told everyone that I logged into a server which I did NOT have the classes.2da in my override, and they allowed all classes to be taken at any given time (after level 1)...

So I'd say it can be done, btw it was scarface's server to be precise...


Yes, I heard that you said that.   However I question if it was something that was done with the server or something that was done on your client.    Are you sure that it was the server allowing it and not just your own client? 

The first level problem you make refferance to is a differant problem all together, reguarding multiplayer vs single player, and has nothing to do with what you asked. 
               
               

               
            

Legacy_leo_x

  • Sr. Member
  • ****
  • Posts: 403
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #10 on: June 03, 2013, 05:47:53 pm »


               The server does calculate class requirements and sends a message to the client which classes are available at the beginning of a level up .

Axs made a plugin called nwnx_extend for Linux that essentially expanded the class_pres_* 2das, among other things.  He add stuff like checking for divine caster levels, not being of a particular race, a few more; I'm positive that all worked server side, but I never used it myself.
               
               

               


                     Modifié par pope_leo, 03 juin 2013 - 04:59 .
                     
                  


            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Question about cep_custom.hak
« Reply #11 on: June 04, 2013, 07:20:01 pm »


               

pope_leo wrote...

The server does calculate class requirements and sends a message to the client which classes are available at the beginning of a level up .

Axs made a plugin called nwnx_extend for Linux that essentially expanded the class_pres_* 2das, among other things.  He add stuff like checking for divine caster levels, not being of a particular race, a few more; I'm positive that all worked server side, but I never used it myself.


Cool Leo, thanks for the info, though I don't use linux. =(

I'll have to test what I can and see if I can get this thing working...