|
Post by ekstroem on Sept 26, 2006 9:31:56 GMT
Hi. If you have too much random loot on a toon the server throws an error. After a bit of experimenting it looks as if the threshold is 2^6=64. If you have fewer random items in your inventory you will see the rarity list (scry option 5->4). If you have more items you will get an error and no list. Don't know if the index variable or array that holds the information could be increased (128 would probably be enough) or if this is just a polite suggestion to make a stop at the bank and offload some of the items Cheers, Claus
|
|
|
Post by ekstroem on Sept 29, 2006 9:50:16 GMT
I noticed one other thing when checking the random loot. There seems to be a maximum length to the string that is written to the chat window. If you have many random items (or just some of the items with the long names) you will not see a list of all your items but only of some of them. The correct number of random items is listed, however.
I often use the rarity listing to see if a toon carries a specific item instead of manually searching through all the bags.
If the maximum message length is hard-coded in the game engine I guess there is nothing to do about it but if it something that can be tweaked it would be great.
Cheers,
Claus
|
|
|
Post by FunkySwerve on Sept 29, 2006 10:06:27 GMT
TMI (Too Many Instructions) errors are engine level. There's a threshhold of around 131k instructions before the engine decides that your script is chewing up too many cycles and kills it. Because nwn doesn't support array structures, I had to use a psuedo-array for that script, which eats up instructions. A fix, if one is possible, would be inordinately complicated, though I've often been tempted to short circuit it if a player has over x items as an incentive to keep inventory count down. Funky
|
|