beer12 Posted March 10, 2013 Author Share Posted March 10, 2013 how do i change max stats from 255 with stat points and item bonuses?i changed these to As Long so it wont crash but wheres the actual set 255??Stat(1 To Stats.Stat_Count - 1) As LongPOINTS As Long Link to comment Share on other sites More sharing options...
PD Posted March 10, 2013 Share Posted March 10, 2013 As Byte is your set 255 ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) You'll be good now that you changed it to Long. Link to comment Share on other sites More sharing options...
beer12 Posted March 10, 2013 Author Share Posted March 10, 2013 yea but it still not working lol, when i go over the 255 mark it starts to minus stats and i cant add any past 255 still the + sign goes away Link to comment Share on other sites More sharing options...
PD Posted March 10, 2013 Share Posted March 10, 2013 Take a look in Server > modHandleData > HandleUseStatPoint, you'll find this line:```If GetPlayerRawStat(index, PointType) >= 255 Then```Just change that and it should work ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
beer12 Posted March 10, 2013 Author Share Posted March 10, 2013 haha yea i alrdy changed that and it was a no go :Si did a search for 255 and changed anything that had to do with stats but it still caps at 255 :/ client and server side. Link to comment Share on other sites More sharing options...
PD Posted March 10, 2013 Share Posted March 10, 2013 Well, I'm stumped. The only think I can this of is to delete all your accounts and create a new one and then try. Link to comment Share on other sites More sharing options...
beer12 Posted March 10, 2013 Author Share Posted March 10, 2013 ok i got it to add points i missed the:If GetPlayerPOINTS(MyIndex) > 0 ThenFor x = 1 To Stats.Stat_Count - 1If GetPlayerStat(Index, x) < 255 Thenclient sideso i can add points past 255 but a new issue came up where its not counting past 255 lol Link to comment Share on other sites More sharing options...
DarkRevenge Posted March 10, 2013 Share Posted March 10, 2013 should work? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now