PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Tithing packet not setting in 097 RC3 Coregina

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Bug Reports 097
Display posts from previous:   

Author Message
Justae



Joined: 24 May 2007
Posts: 25
Location: South Africa

PostPosted: Fri May 25, 2007 10:05 am    Post subject: Tithing packet not setting in 097 RC3 Coregina Reply with quote

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:

    // 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 Wink

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

Post new topic   Reply to topic    PenUltima Online Forum Index -> Bug Reports 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty