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 packetAlso 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
sorry i am a newbie but i am trying to learn
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 LongCode: Function GetPlayerNextLevel(ByVal Index As Long) As LongCode: Function GetPlayerNextLevel(ByVal index As Long) As LongNow in modHandleData: add this: Code: ' Player tnl packetCode: width = 2000Below: 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 LongCode: MaxExp As LongNow add a ini filed name: experience.ini in the server folder, and add the following: Code: [EXPERIENCE]Code: Public Const MAX_SPELLS = 50Code: 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 »
|