05-02-2007, 06:04 PM
thats it =/ i was hopeing somone had a tut for an EXP bar
EXP bar
|
05-02-2007, 06:04 PM
thats it =/ i was hopeing somone had a tut for an EXP bar
05-02-2007, 07:50 PM
Code: ' Player tnl packet Also make sure this part is correct for you: Code: Player(MyIndex).MaxExp = Val(Parse$(1))
05-02-2007, 09:08 PM
thanks. althou i dont know what u mean by 9510 and the width thing , and ummm ware do i put the code
![]()
06-02-2007, 05:37 PM
Server Side
Add this at the bottom of modServerTCP: Code: Sub SendTNL(ByVal index As Long) Now, on all places that you find: Code: Call SendHP(index) Code: Call SendSP(index) Code: Sub LoadExps() Code: Public Experience(1 To MAX_EXP) As Long Code: Function GetPlayerNextLevel(ByVal Index As Long) As Long Code: Function GetPlayerNextLevel(ByVal index As Long) As Long Now in modHandleData: add this: Code: ' Player tnl packet Code: width = 2000 Below: Code: Sub SetPlayerExp(ByVal Index As Long, ByVal Exp As Long) Code: Sub SetPlayerMaxExp(ByVal Index As Long, ByVal MaxExp As Long) Code: MaxSP As Long Code: MaxExp As Long Now add a ini filed name: experience.ini in the server folder, and add the following: Code: [EXPERIENCE] Code: Public Const MAX_SPELLS = 50 Code: Public Const MAX_EXP = 200
02-07-2007, 02:14 PM
William Wrote:Now, on all places that you find: Wouldn't that be Call SendXP? Just want to make sure because many people might get confused. |
« Next Oldest | Next Newest »
|