Kaymak Posted May 19, 2015 Author Share Posted May 19, 2015 Hello Community,I'm sorry that i write so much threads with multiple problems, but no one else did post anything similar like my suggestions.My problem right now is that the stats which i rendered with RenderText Font_Default etc etc blah blah.My Weapon with +33Str does his work against NPC's the Text stats does update in background but theText does not update after i equiped the item. After i walked to another map or the Relogg i get the + 33 (+ 1= 34) STRon the character window str text.![](http://fs2.directupload.net/images/150519/lk4gt5pn.png) Link to comment Share on other sites More sharing options...
Kaymak Posted May 19, 2015 Author Share Posted May 19, 2015 //EDIT: I solved the problem by my own. All i did is:i added:**CLIENT-SIDE**```For i = 1 To Stats.Stat_Count - 1SetPlayerStat Index, i, buffer.ReadLongNext```to **Private Sub HandlePlayerStats** so it looks like :```Private Sub HandlePlayerStats(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)Dim buffer As clsBufferDim i As Long' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo ErrorHandlerSet buffer = New clsBufferbuffer.WriteBytes Data()For i = 1 To Stats.Stat_Count - 1SetPlayerStat Index, i, buffer.ReadLongNext' Error handlerExit SubErrorHandler:HandleError "HandlePlayerStats", "modHandleData", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub``` 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