Status Character - empty

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Nsuidara
New User
Posts: 12
Joined: Tue Feb 11, 2014 9:24 pm

Status Character - empty

Post by Nsuidara »

Help!
Image
i'm dont uderstand why pol99 broke character status... is totaly empty...

my hook only change name... and return 0...
http://wklej.org/hash/52705172073/

and status bar dont work too... in bar health always 100% [is full]

HELP! :/ i dont have idea why...
Nsuidara
New User
Posts: 12
Joined: Tue Feb 11, 2014 9:24 pm

Re: Status Character - empty

Post by Nsuidara »

Ok... i know

uoclient.cfg

no def.

General General
{
Strength Strength
Intelligence Intelligence
Dexterity Dexterity

Hits Life
Mana Mana
Stamina Stamina

MaxSkillID 51
}
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Status Character - empty

Post by RusseL »

from packet docs
This function should return 0 if you wish POL to perform its normal data
processing on the packet (if any default packet handler exists for this packet
ID), or 1 if you wish POL to do no processing on the packet (i.e. your script
handled it fully). For example, the character profile packet has no internal
packet handler, so returning 0 would have no effect.
so, i would say you should use packet.SendPacket(character); and return 1 at the end... or return 0 :) check it out
Post Reply