[ARCHIVED] Latest Version of UOX3 (Updated March 8th 2006)

Where we archive the version changelog threads
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Not sure if this was a change you did now, or if it has been done earlier - but any particular reason why sea serpents/kraken have NPCAI=6 instead of 2? As far as I remember, they're very hostile creatures in UO :P
-= Ho Eyo He Hum =-
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Xuri wrote:Not sure if this was a change you did now, or if it has been done earlier - but any particular reason why sea serpents/kraken have NPCAI=6 instead of 2? As far as I remember, they're very hostile creatures in UO :P
I changed them because they belong to the "predator" race, but if it's wrong just change it back.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Ah, well, so does (for instance) a dire wolf - and that has npcai 2 as well =) While they may all be predators, what makes them differ from other predators like bears, normal wolves, cougars, etc - is their default hostility towards human characters =P And therefor, NPCAI 2 ;)
-= Ho Eyo He Hum =-
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Xuri wrote:Ah, well, so does (for instance) a dire wolf - and that has npcai 2 as well =) While they may all be predators, what makes them differ from other predators like bears, normal wolves, cougars, etc - is their default hostility towards human characters =P And therefor, NPCAI 2 ;)
Ok, then I'll create a new race for the normally non-hostile predators. Because without NPCAI 6 they would hunger to death :P.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Oh? I was of the impression that only tame pets or npcs with NPCAI=6 would hunger? How exactly did it work, again? :P
-= Ho Eyo He Hum =-
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Xuri wrote:Oh? I was of the impression that only tame pets or npcs with NPCAI=6 would hunger? How exactly did it work, again? :P
There are two ways NPCs can hunger. As tamed NPC when the TAMEDHUNGER tag is set in the NPC dfn or as untamed NPC when the HUNGER tag is set in races.dfn. The "tamed hunger" may cause the pet to go wild again when the pet is starving, the "untamed hunger" can cause health loss when the NPC (or PC) is starving.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Ah.. right. Hm. What happens to an NPC with NPCAI=6, has HUNGER tag set in races.dfn and can't find anything to attack/eat? :P
-= Ho Eyo He Hum =-
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Xuri wrote:Ah.. right. Hm. What happens to an NPC with NPCAI=6, has HUNGER tag set in races.dfn and can't find anything to attack/eat? :P
It will hunger to death, just like in real-life ;).

Edit: You can also set the value for the hunger damage to 0 in the HUNGER tag, then nothing will happen to it. It just continues searching for something to attack.
Last edited by Grimson on Tue Feb 28, 2006 9:32 pm, edited 1 time in total.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Outrageous, think of the poor animals! ;P hehe ok.
-= Ho Eyo He Hum =-
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Code: Select all

[color=yellow]2/28/2006 - grimson[/color]
	Updated cCharStuff::FindSpotForNPC() to also allow spawning of water and amphibian NPCs.
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Code: Select all

[color=yellow]2/28/2006 - giwo (0.98-3.4s [3.5 BETA])[/color]
	Modified the JS Object creation to reduce memory waste.
	Made some minor modifications to CUSTOMSTRINGTAG and CUSTOMINTTAG handling.
Scott
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

giwo wrote:

Code: Select all

[color=yellow]2/28/2006 - giwo (0.98-3.4s [3.5 BETA])[/color]
	Modified the JS Object creation to reduce memory waste.
Memory usage looks really good with this and it seems faster. Are there any know drawbacks?
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Not pertaining to this code, no..

I have however been having my own issues with spidermonkey. The latest build (I found a VC6 project file for it) is very sluggish in debug and crashes in release.
Scott
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

giwo wrote:I have however been having my own issues with spidermonkey. The latest build (I found a VC6 project file for it) is very sluggish in debug and crashes in release.
Yes. The "best" version I found so far is a CVS checkout from 25. January 2006, that still compiles using nmake and seems quite stable.
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Code: Select all

[color=yellow]2/28/2006 - giwo (0.98-3.4t [3.5 BETA])[/color]
	Added some additional debug messages to Region handling.
	Fixed a crash involving weather.
	Fixed an issue that would cause invalid objects to be left in mapregions.
Scott
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

giwo wrote:

Code: Select all

[color=yellow]2/28/2006 - giwo (0.98-3.4t [3.5 BETA])[/color]	Fixed a crash involving weather.
Doh! Typical error from me, writing the if-statement the exact other way around than I wanted it to work.
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

:)
Scott
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Code: Select all

[color=yellow]3/01/2006 - giwo (0.98-3.4u [3.5 BETA])[/color]
	Fixed some issues caused by my previous changes to objects in mapregions.
	Fixed some issues when setting containers.
	Fixed an issue causing targeting cursors to sometimes target a character when the target should be invalid.
	Fixed an issue causing JS Gumps not to function.
	Added detailed packet logging to CPITargetCursor.
	Fixed a minor issue with axe.js
Scott
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Using UOX3 0.98-3.4u, my console keeps getting spammed with messages like these:
WARNING: Item 0x4000AB0E does not exist in MapRegion, remove failed
WARNING: Character 0xF02 does not exist in MapRegion, remove failed
WARNING: Item 0x4000AB0F does not exist in MapRegion, remove failed
WARNING: Character 0xF03 does not exist in MapRegion, remove failed
WARNING: Item 0x4000AB10 does not exist in MapRegion, remove failed
-= Ho Eyo He Hum =-
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

Xuri wrote:Using UOX3 0.98-3.4u, my console keeps getting spammed with messages like these:
WARNING: Item 0x4000AB0E does not exist in MapRegion, remove failed
WARNING: Character 0xF02 does not exist in MapRegion, remove failed
WARNING: Item 0x4000AB0F does not exist in MapRegion, remove failed
WARNING: Character 0xF03 does not exist in MapRegion, remove failed
WARNING: Item 0x4000AB10 does not exist in MapRegion, remove failed
Look at the size of your worldfiles, 0.98-3.4t has more or less doubled every item/char I had in them. So I had to use a backup of my worldfiles that was made before using 0.98-3.4t and all works fine.
Locked