Official Core: 096.7
Official Core: 097 2008-02-26
POL Home
FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in to check your private messages
Log in
CDbl Problem in AP_CheckSkillCap()
PenUltima Online Forum Index
->
Distro Bug Reports
Display posts from previous
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
CDbl Problem in AP_CheckSkillCap()
Author
Message
Battousai
Joined: 27 Dec 2007
Posts: 5
Location: Netherlands
Posted: Thu May 15, 2008 5:04 am
Post subject: CDbl Problem in AP_CheckSkillCap()
in skills.inc function AP_CheckSkillCap()
Code:
return ( total >= cap_val );
if my total is 0 and my cap_val is 1200 it returns 1;
When i both covert them into CInts it returns 0;
Author
Message
Battousai
Joined: 27 Dec 2007
Posts: 5
Location: Netherlands
Posted: Thu May 15, 2008 5:19 am
Post subject:
I parsed the cap_val to Dbl now. And it works.
the cap_val is/was still a String.
Author
Message
Battousai
Joined: 27 Dec 2007
Posts: 5
Location: Netherlands
Posted: Thu May 15, 2008 6:39 am
Post subject:
NvM. Ignore my post.
PenUltima Online Forum Index
->
Distro Bug Reports
All times are GMT - 4 Hours
Page
1
of
1
Powered by
phpBB
© 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty