Author Topic: The 16k Limit DM Client Crash - Some Questions  (Read 840 times)

Legacy_SamuelFingJackson

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« on: January 06, 2011, 09:12:50 pm »


               Hi. I'm having a problem that is very similar to what you would experience if you had a palette size of over 16k. My DM client gets to 75% then crashes.

However, when I look at the contents of the temp0 folder, it only has 7k files. I should be below the limit. Does anyone know why this crash would occur?

This module runs the latest version of CEP and PRC. (It was an old module that I recently updated to the newest versions.)
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #1 on: January 06, 2011, 09:31:37 pm »


               The limit is for what is on the pallettes.Haked blueprints (premade creatures, placeables, items, etc..) do not count as module resources, but they do add to the overall pallette count.though both has the same 16k cap, it's not unusual to confuse them.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #2 on: January 06, 2011, 09:49:24 pm »


               You can easielt check to see it it is the palette crashing your game, If you still have a copy of your module from before you updated it.

Open your Pre-Updated module in the toolset.   Find find and copy all of the .itp files from the temp0 folder to the override folder.  Close the toolset.  

Restart the server with the old .itp files in the override.  Log in as a DM. 

If you dont crash this time the most likely cause is the palette.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #3 on: January 06, 2011, 11:11:22 pm »


               A simple fix would be to remove the scripts and blueprints cep hak from your list, if you're not using those items.



Another alternative is to edit your custom palette to not show certain categories.



Funky
               
               

               
            

Legacy_SamuelFingJackson

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #4 on: January 09, 2011, 05:15:52 am »


               Thank you for your comments and advice. '<img'> I have to keep the scripts and blueprints in the list, but I'm very interesting in editing the custom palette to not show certain categories. Is there some easy way to do that? (I'm fairly experienced in building but I've never run into this problem until now, so I'm a bit fresh when it comes to this.)
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #5 on: January 09, 2011, 07:05:51 am »


               If you're using the CEP's "cep2_build.hak", remove it from the module you'll be testing and playing in. If you're not using that hak, then post your entire current hak order from top to bottom so we can make other suggestions.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #6 on: January 09, 2011, 08:09:06 am »


               Sorry for the delay in response. Editing the custom palette isn't particularly simple or easy, but it can be done. You need to make edits to itp files. You can find a great deal of information on them in the docs bioware provided on them:
Click Me

You want the doc under the ITP (Palette) File Format. Here's a direct link to the pdf version (you can find a link to a .doc format version in the link above, should you need):
Click Me

They are GFFs, so you can view and edit them with a GFF program. You can also view simplified views of them using nwnexplorer. The use strrefs - you can borrow standard ones to populate your category names, if you like. Here's our placeable palette as an example:

Click Me

You can also take a look at CEPs, for more examples - just extract them from the hak using nwhak in your NWN/utils folder.

Funky
               
               

               
            

Legacy_Thayan

  • Sr. Member
  • ****
  • Posts: 435
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #7 on: September 13, 2011, 06:49:29 am »


               Well, I'm resurrecting this topic because I'm worried I might be running in to it. Up until our last module update we weren't having any problems with DM clients crashing the server. Now however, it seems like there is a better-than-not chance a DMing logging in will crash the server itself in addition to the DM client locking up for that person as well.

Our module uses no haks and has only 8180 items in the temp0 folder. Of those, just over 1900 are items in the custom item palette, which is by far the largest of the palettes. Could either of these factors be causing our DM clients to crash the server? It does not seem likely given that 16K seems to be the limit long talked about and there are no haks inflating the number or messing with the custom palettes. Or should I instead be looking at faulty scripts?

Finally, in regard to Lightfoot's test at the top, do those .itp files go in the server's override directory, the DM client machine's override directory, or both?
               
               

               
            

Legacy_virusman

  • Sr. Member
  • ****
  • Posts: 448
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #8 on: September 13, 2011, 07:20:51 am »


               No, palette bug only affects the DM client, not the server.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #9 on: September 13, 2011, 07:48:39 am »


               I use chest in the module and use mainly template items on the palette, this way I don't get a bloated palette.  In fact I build my stores completely in a different module and import the entire area into my other modules, this way I can have a working stores area and use one waypoint to referrence all the stores in that one area;

It takes a very long time to load my Stores area, as I have a lot of stores there, but it's not something I go into an edit much and I can just copy & paste new stores into the area.  Having 30 stores in a module is definitely not something you want on your palette!

(GetNearestObjectByTag("tagname", oWay);
oWay being the waypoint...
               
               

               


                     Modifié par _Guile, 13 septembre 2011 - 06:49 .
                     
                  


            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
The 16k Limit DM Client Crash - Some Questions
« Reply #10 on: September 13, 2011, 09:14:52 pm »


               You might be interested in reading this:
http://social.biowar...0/index/7905042
There are also a couple other threads about regarding this.

The 16Kish limit actually pertains to the maximum number of total resources a module can have and still be stable. In fact there is a way to work around this too using the nwnx_resman plugin (see the nwnx site.) The DM pallet crash also as far as I know doesn't crash the server, just the DM (in my experience anyways), and the number I found (keep in mind my module has CEP 2.3) was 5625, although Funky and kalbaem threw out slightly different numbers (but taken with standard and CEP resources they come out about the same.) Also keep in mind it's not just items that contribute to the DM pallet, as noted in that thread, it's also encounters, placeables, creatures, ect. Also from what I gather the pallet issue is not the only thing that can cause DM crashing, but if the pallet is the issue there you can also work around this using resman by putting items, encounters, ect... in there and only leaving the items that a DM actually needs in the pallet in the module. It's a pain moving everything around when you need to edit stuff, but it works, and has allowed my 24+k resource module to function, and DM's to be able to log in.
Laz
               
               

               


                     Modifié par Lazarus Magni, 13 septembre 2011 - 08:17 .