Sauvus Posted November 16, 2010 Author Share Posted November 16, 2010 I cant seem to get imgEXPBar to work. It just wont show up in game anymore when i try and get EXP lblExp Is on top of it so it should work heres what it looks like![](http://www.freemmorpgmaker.com/files/imagehost/pics/5934272a8faabb0560fb8f7b5272a621.png)Im using Eclipse Origins if you could help me thatd be great. Thanks Link to comment Share on other sites More sharing options...
Aramyth Posted November 17, 2010 Share Posted November 17, 2010 I will explain you better what your problem is, because i know exactly what is wrong, and know a fix for this as well.–-------------When you are the only player online on your server, then the imgExpbar will work perfectly fine. But from the moment a 2nd player comes online on your server. The exp bar will refuse to work for the 2nd player and up.---------------Fix:Find this line (Client side)``` frmMainGame.imgEXPBar.width = Int(((GetPlayerExp(MyIndex) / 169) / (TNL / 169)) * 169)```And replace it with this one.``` frmMainGame.imgEXPBar.width = Int(((GetPlayerExp(Index) / 169) / (TNL / 169)) * 169)```This should let the Exp bar work for all players in the game. Tested it by myself and works just fine.Regards Aramyth. Link to comment Share on other sites More sharing options...
Sauvus Posted November 17, 2010 Author Share Posted November 17, 2010 Thank you so much. *kisses feet* 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