Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sakes

Pages: [1] 2 3 ... 39
1
General Discussion / Re: Last Post Contest
« on: January 25, 2016, 04:37:24 AM »
I just wanted to pop by and say that it's been 10 years since I originally created this thread. 

Well, 10 years and 2 days, just about.  I forgot to post this on Friday.

In any case, I was going declare a winner since it's been 10 years, but nah.  It just doesn't feel right.

So here's to 10 more?

2
Information / Re: The Forgotten Realms Calendar and Holidays
« on: September 02, 2015, 12:49:34 PM »
AO isn't an idiot, he just wants instability.  Why? Because it's fun. 

AO is essentially right below the DM in the hierarchy (Or possibly even the DM's avatar) and the DM needs campaigns and plots, so why have intelligent, well adjusted Gods?  I mean, we are talking about a world where everyone has a specific canonical alignment that can be read, if AO wanted stability or peace he could just erase all the evils and/or chaotics and be done with it. Or hell, just change everyone's alignment to Lawful Good.  Or, at the very least punish Gods for killing each other instead of actively rewarding it with portfolios that can be taken by force.

The only logical explanation for anything he does this is that is that he wants conflict.

3
General Discussion / Re: Last Post Contest
« on: July 09, 2015, 02:24:57 AM »
#Winning

4
General Discussion / Re: Last Post Contest
« on: March 20, 2015, 05:48:01 AM »
Oh look, it's a thing.

5
General Discussion / Sword Coast Legends
« on: February 12, 2015, 04:36:28 PM »

6
Player's Corner / Re: Player Housing - The Pruning
« on: August 22, 2014, 03:32:05 AM »
Please keep Raff's treehouse. 

Danke.

7
General Discussion / Re: *sneak pokes the server, pokes repeatedly*
« on: December 21, 2013, 06:55:13 PM »
Sup.

8
Bug Reports / Re: Streaking is punishable by death!
« on: August 13, 2013, 05:47:16 AM »
Yea, what I said makes no sense, it's not just a matter of equipping because the armor isn't spawning at all.  Which makes the whole thing more perplexing.

That's what I get for trying to think after a 9 hour shift right before passing out.

9
Bug Reports / Re: Streaking is punishable by death!
« on: August 13, 2013, 02:10:35 AM »
I ran into similar issues with Niccolo when I was programming him.  Because no players are in the area when he spawns, the default NWN thing to do is to lower his process priority into the dirt.  Without enough processing power dedicated to him, he would very reliably do very stupid things.

Because Nic is constantly doing things, I handled it with the very naughty method of permanently setting his priority to a higher level.  This wouldn't be a good idea for bounties, as enough of them hungrily chomping away will have a meaningful impact on server performance.  However, temporarily buffing their priority while they handle their business could solve the problem.

Check out Nic for reference material, but you're going to be interested in the SetAILevel function.

Alternatively, you could try altering the AI to spawn and equip items when players are present.  Having a player in the same area is generally enough for NWN to give AI priority to a creature.

I can give it a look.  It's interesting the AI would ignore equip armor calls but not equip weapon calls, but then equip armor calls check for combat so maybe they are more resource intensive or something.

10
Bug Reports / Re: Streaking is punishable by death!
« on: August 12, 2013, 08:48:28 AM »
Couldn't you just use the standard palette, unenchanted armors resrefs? Then you could just reapply the enhancement bonus after it is already spawned in the inventory. I don't see why you would need to spawn +6 versions of stuff, wipe them, and then add enhancement. Seems like an extra step for nothing.

You could, but then all their armor would look the same.  The reason for doing it that way is to have a lot of different armor types.  Originally there were a lot more armor options on the bounties but we removed everything but light armor because it was creating possible imbalance on low level bounties.

Sakes,

It could be there are custom items created with the same tag as the original chain shirt (someone forgot to change). Scripts do look for tags instead of resrefs from my experience.  Also from your results case 2: sArmor = "nw_maarcl046"; is not working as there are 9 results instead of 10!

Hmm I missed it when I was checking the resrefs.   I think it just happened that Chain shirts +5 didn't spawn on the bounties I tested.  If that one item was the problem then only 10% of bounties should be naked.  From experimentation as well as what we've noticed the percentage seems to be much higher.

11
Bug Reports / Re: Streaking is punishable by death!
« on: August 12, 2013, 02:13:55 AM »
Okay well now I'm even more confused.

Here are the results on about 20 or so bounties:

nw_aarcl011 - banded mail x 1
x0_maarcl010 - Chain shirt +5 x 0
nw_maarcl083 - Leather +3 x 2
x2_maarcl027 - Leather +6 x 3
nw_maarcl084 - Padded + 3 x 2
x2_maarcl025 - Padded + 6 x 1
nw_maarcl087 - Studded + 3 x 1
x2_maarcl029 - Studded + 6 x 2
x2_mduerar008 - Dreguar studded + 4 X 3

Naked! x 7

Chain shirt + 1? x 2


The chain shirts are particularly puzzling.  The tag used is for Chain Shirts +5.  This is according to NWN lexicon and confirmed by me.  However the item that spawns is named Chain Shirt +1.  Oh, and it's gold colored.  For the record, we don't have any gold colored chain shirts on the default palette.  +1 shirts are short sleeved and silver, +5 shirts are silver/gray and long sleeved. 

In any case, every type of armor on the palette is capable of spawning, so it's not a certain armor type.  Maybe the reason it's wonky is because it's using tags and not resefs.  I don't really know.  I'm at a loss for now.

12
Bug Reports / Re: Streaking is punishable by death!
« on: August 11, 2013, 05:30:44 PM »
Alright.  Here's the current code:

Code: [Select]
//Give the bounty a random armor
    n = Random(nMaxArmr)+ 1;
    switch (n)
    {
    case 1: sArmor = "nw_aarcl011"; break; //light armors
    case 2: sArmor = "nw_maarcl046"; break;
    case 3: sArmor = "x0_maarcl010"; break;
    case 4: sArmor = "nw_maarcl083"; break;
    case 5: sArmor = "x2_maarcl027"; break;
    case 6: sArmor = "nw_maarcl084"; break;
    case 7: sArmor = "x2_maarcl025"; break;
    case 8: sArmor = "nw_maarcl087"; break;
    case 9: sArmor = "x2_maarcl029"; break;
    case 10: sArmor = "x2_mduerar008"; break;
    }
//SendMessageToPC(oPC, "Using Case "+IntToString(n)+" For Armor");
return sArmor;
}

So I went and looked up all the codes and all are for default items.  Unless we deleted the following standard armors from the palette, that isn't the problem:

nw_aarcl011 - banded mail
x0_maarcl010 - Chain shirt +5
nw_maarcl083 - Leather +3
x2_maarcl027 - Leather +6
nw_maarcl084 - Padded + 3
x2_maarcl025 - Padded + 6
nw_maarcl087 - Studded + 3
x2_maarcl029 - Studded + 6
x2_mduerar008 - Dreguar studded + 4

Just a quick note, after it spawns the armor it wipes the stats and reapplies an enhancement bonus based on the level of the bounty.  Either it does that before the order to equip the armor, or NPCs don't have level restrictions because +6 stuff is working.

Now, I did notice that the script is using tags instead of ResRefs, which is interesting.  I checked NWNLexicon and it states you can use either or, but I'm wonder if maybe that's the problem?

I'm going to look into this more later today.  I'm going to take an inventory of the spawned bounties.  We spawn 25 at a time and we have 10 possible armors so if we find 1 or 2 that no bounty is ever being spawned with, that might narrow things down.  I'm going ahead assuming using tags instead of resrefs is the problem since I have nothing else to go on.  This will help me confirm it because if I'm right, only the armors whos resrefs and tags are the same will spawn, and any with differences will never spawn. 

If I'm wrong, at least I'll have narrowed the problem down.




13
Bug Reports / Re: Streaking is punishable by death!
« on: August 11, 2013, 07:40:38 AM »
Sometimes if too many processes go on at once NWN hiccups. Maybe some kind of delay on their spawns for adding clothes and equipping them? It's worked in the past for me. You could even go as far as 10 seconds or so. It's not like people are around when the bounties spawn, right?

Not sure. In some cases the delays actually make things worse, since they cause NWN to queue commands. At any rate, the bounties spawn only when someone reads the sign. So if nobody reads the bounty board, there's no criminals! (Next thing you know, reading is outlawed.) I think it's more likely that someone deleted something from the palette that's common as their armor, like Kattze said.

This is the most likely explination.  If the scripts just randomly skipped firing we'd have a lot of problems with pretty much every script, but even if it was somehow isolated to the bounty system, then the odds of weaponless or nameless or unleveled bounties should be the same since the script does all those steps in a row.  Instead, the only thing consistently missed is spawning armor, so it's most likely an error in the armor spawn table.

14
Bug Reports / Re: Streaking is punishable by death!
« on: August 08, 2013, 07:08:58 AM »
The current problem?  I don't know what's causing it.  AI is notoriously finicy, and there is no way to directly spawn armor onto an NPC's back, it has to be spawned into inventory and then told to equip it, and often NPCs will ignore orders.  I *think* that's what the current problem is.

Wouldn't the armor be found in the inventory of the NPC if that were the case?

Yup.  Has anyone logged on as a DM and checked to see if the armor is in their inventory?

15
Bug Reports / Re: Streaking is punishable by death!
« on: August 08, 2013, 02:01:13 AM »
The problem isn't a lack of armor proficiencies, I'd have squashed the problem long ago if it was.

For awhile the problem was that the equip armor script always ignored base AC 0 items, even if magically enchanted.  I thought this was fixed.

The current problem?  I don't know what's causing it.  AI is notoriously finicy, and there is no way to directly spawn armor onto an NPC's back, it has to be spawned into inventory and then told to equip it, and often NPCs will ignore orders.  I *think* that's what the current problem is.


Pages: [1] 2 3 ... 39
Powered by EzPortal
anything