DshWinchester Posted August 13, 2011 Author Share Posted August 13, 2011 The filling of the bar does not fill as it should.For example: I have 50 exp and need 100 exp to levelUp,my ExpBar filling would must be in half in expBar but its in the begining(no filling)this does not happen in the beginning when the player is weak but getting stronger, gives this 'mistake'.I didnt mess with exp bar or something and my TNL is the right value so I cant see why this happen.Anyone can help ?thanks Link to comment Share on other sites More sharing options...
DshWinchester Posted August 14, 2011 Author Share Posted August 14, 2011 anyone understand what I said?english isnt my main language so ..really need help D: Link to comment Share on other sites More sharing options...
DshWinchester Posted August 16, 2011 Author Share Posted August 16, 2011 up Link to comment Share on other sites More sharing options...
canido Posted August 17, 2011 Share Posted August 17, 2011 On the **client** side.In **modHandleData**search**Sub HandlePlayerExp**And replaced by….```Private Sub HandlePlayerExp(ByVal index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)Dim Buffer As clsBufferDim i As LongDim TNL As Long ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler Set Buffer = New clsBuffer Buffer.WriteBytes Data() SetPlayerExp index, Buffer.ReadLong TNL = Buffer.ReadLong frmMain.lblEXP.Caption = GetPlayerExp(index) & "/" & TNL ' mp bar frmMain.imgEXPBar.width = ((GetPlayerExp(MyIndex) / EXPBar_Width) / (TNL / EXPBar_Width)) * EXPBar_Width ' Error handler Exit Suberrorhandler: HandleError "HandlePlayerExp", "modHandleData", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Sub```sorry, I speak Spanish Link to comment Share on other sites More sharing options...
DshWinchester Posted August 17, 2011 Author Share Posted August 17, 2011 Hi canido,did you modificate your HandlePlayerEXP sub?Cause mine is the same as yours(default EO) and give this anoying problemIt realy sucks the player dont see how much(visualy) left to levelUpReally need help on this and am sure that others too cause its a Default code Link to comment Share on other sites More sharing options...
canido Posted August 17, 2011 Share Posted August 17, 2011 the image of the bar should have the same width as the image what depicted in VB6 Link to comment Share on other sites More sharing options...
DshWinchester Posted August 17, 2011 Author Share Posted August 17, 2011 It can be any width cause the 'EXPBar_Width' gets the exp bar width..But still,I didnt change the bar,nothing so its a problem by default source Link to comment Share on other sites More sharing options...
DshWinchester Posted August 18, 2011 Author Share Posted August 18, 2011 up 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