It is currently Wed Oct 15, 2008 11:28 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Tithing packet not setting in 097 RC3 Coregina
PostPosted: Fri May 25, 2007 6:07 am 
Offline

Joined: Thu May 24, 2007 2:12 pm
Posts: 45
Location: South Africa
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 ;)

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl