azaew Posted August 3, 2012 Author Share Posted August 3, 2012 1 Question just cant figure out how a characters stats can be put above 255 instead of not having to have the cap at 255? I have vb6 so yeah Link to comment Share on other sites More sharing options...
zerohero Posted August 3, 2012 Share Posted August 3, 2012 If you check in the server, within **ModHandleData** you will find this chunk of code``` ' Make sure they have points If GetPlayerPOINTS(index) > 0 Then ' make sure they're not maxed# If GetPlayerRawStat(index, PointType) >= 255 Then PlayerMsg index, "You cannot spend any more points on that stat.", BrightRed Exit Sub End If```Notice```If GetPlayerRawStat(index, PointType) >= 255 Then```I think there is your answer :) Link to comment Share on other sites More sharing options...
abhi2011 Posted August 3, 2012 Share Posted August 3, 2012 Delete```If GetPlayerRawStat(index, PointType) >= 255 Then PlayerMsg index, "You cannot spend any more points on that stat.", BrightRed Exit Sub End If```in modHandleData server side in sub```Sub HandleUseStatPoint(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)``` Link to comment Share on other sites More sharing options...
azaew Posted August 3, 2012 Author Share Posted August 3, 2012 What do you mean in mode handleserver side in sub, so on Link to comment Share on other sites More sharing options...
zerohero Posted August 3, 2012 Share Posted August 3, 2012 @azaew:> What do you mean in mode handle> > server side in sub, so onServer side search for```If GetPlayerRawStat(index, PointType) >= 255 Then```Either increase that number or entirely delete -```If GetPlayerRawStat(index, PointType) >= 255 Then PlayerMsg index, "You cannot spend any more points on that stat.", BrightRed Exit Sub End If```Its very simple! Link to comment Share on other sites More sharing options...
abhi2011 Posted August 3, 2012 Share Posted August 3, 2012 Server side means in server.vbpmodHandleData is a mod that is found in server.vbp press control+f and find it. 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