Tithing packet not setting in 097 RC3 Coregina

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.
Locked
Justae
Expert Poster
Posts: 79
Joined: Thu May 24, 2007 2:12 pm

Tithing packet not setting in 097 RC3 Coregina

Post by Justae »

APOLOGIES!! Not sure why there's a duplicte post of this.

Hello,

Using your standard Stathook package works 100% in POL 096 RC3 Vestal Virgin. One of the Packets there is for Tithing. This shows-up nicely in the Book of Chivalry.

However, I've setup another Dev environment under 097 RC3 Coregina and now the Tithing points do not appear in the Book of Chivalry.

Should this section in Stathook.src change somehow ?

Code: Select all

    // TITHING    
    var tithe := Cint(GetObjProperty(character,"Tithing"));
    if(!tithe)
    	tithe := 0;
    endif
    if(tithe <= 255)
    	packet.SetInt8(87, tithe);
    else
    	packet.SetInt16(86, tithe);
    endif
Thanks for the excellent Server guys ;)

Biggest change I've had to make thus far (and it really wasn't a big change), is to change arrays that set props to NPC's during creation to struct. For example, where I had :

var props array; or var props := { };

I have now changed to :

var prop struct;

And all the CreateNpcFromTemplate entries work 100%, including passing props.

I'd appreciate some feedback on the Tithing packet for POL097 RC3 Coregina. :cool:

Regards
Justae
The Forgotten Realm
South Africa
Locked