Zopto Posted June 12, 2011 Author Share Posted June 12, 2011 example player got lvl 10 and he need to go on some place and there to evolue(pokemon) that somting???how to set evolution???i using EO Link to comment Share on other sites More sharing options...
ReubenNick Posted June 12, 2011 Share Posted June 12, 2011 Erm.. I am pretty sure that requires coding. Link to comment Share on other sites More sharing options...
GrimReaperReborn Posted June 12, 2011 Share Posted June 12, 2011 You'll have to code it into the source. Find the level up sub, then change the player sprite after the part that adds the level. Link to comment Share on other sites More sharing options...
Zopto Posted June 13, 2011 Author Share Posted June 13, 2011 tyyyy Link to comment Share on other sites More sharing options...
Zopto Posted June 13, 2011 Author Share Posted June 13, 2011 Public Sub SendRequestLevelUp()Dim Buffer As clsBuffer ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler Set Buffer = New clsBuffer Buffer.WriteLong CRequestLevelUp SendData Buffer.ToArray() Set Buffer = Nothing ' Error handler Exit Suberrorhandler: HandleError "SendRequestLevelUp", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit SubEnd Subhere??? Link to comment Share on other sites More sharing options...
erkro1 Posted June 13, 2011 Share Posted June 13, 2011 @Zopto:> Public Sub SendRequestLevelUp()> Dim Buffer As clsBuffer> > ' If debug mode, handle error then exit out> If Options.Debug = 1 Then On Error GoTo errorhandler> > Set Buffer = New clsBuffer> Buffer.WriteLong CRequestLevelUp> SendData Buffer.ToArray()> Set Buffer = Nothing> > ' Error handler> Exit Sub> errorhandler:> HandleError "SendRequestLevelUp", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContext> Err.Clear> Exit Sub> End Sub> here???No, its server side : HandleRequestLevelUp Link to comment Share on other sites More sharing options...
Zopto Posted June 13, 2011 Author Share Posted June 13, 2011 Sub HandleRequestLevelUp(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long) SetPlayerExp Index, GetPlayerNextLevel(Index) CheckPlayerLevelUp IndexEnd Subok i found what now?? Link to comment Share on other sites More sharing options...
erkro1 Posted June 14, 2011 Share Posted June 14, 2011 ```Setplayersprite (sprite)```Sprite is the number of the sprite you want to get. Link to comment Share on other sites More sharing options...
Zopto Posted June 14, 2011 Author Share Posted June 14, 2011 ok tyy and now how to set if he need to evolue in lvl 15 ??? Link to comment Share on other sites More sharing options...
Zopto Posted June 14, 2011 Author Share Posted June 14, 2011 and i went to set example to:caracter 1-evolue in sprite 3 caracter 2-evolue in sprite 2 caracter 3 evolue in sprite 1how that??? Link to comment Share on other sites More sharing options...
Joyce Posted June 14, 2011 Share Posted June 14, 2011 Basically something such as this would work:```Select Case Player(Index).Level Case 15 ' Level 15 SetPlayerSprite(Index, SpriteNumHere) Case 30 ' Level 30 SetPlayerSprite(Index, SpriteNumHere)End Select```And so on. Note that this is NOT divided by class, and you'd need to do that yourself. Link to comment Share on other sites More sharing options...
Sunku Posted June 14, 2011 Share Posted June 14, 2011 @Yami:> Basically something such as this would work:> > ```> Select Case Player(Index).Level> Case 15 ' Level 15> SetPlayerSprite(Index, SpriteNumHere)> > Case 30 ' Level 30> SetPlayerSprite(Index, SpriteNumHere)> End Select> > ```And so on. Note that this is NOT divided by class, and you'd need to do that yourself.always with the good work yami. Link to comment Share on other sites More sharing options...
Benn Posted June 17, 2011 Share Posted June 17, 2011 so if I did this it would make things evolve (change sprite) by leveling up? not by standing on a panel while being a certain level or higher? Link to comment Share on other sites More sharing options...
erkro1 Posted June 17, 2011 Share Posted June 17, 2011 @Benn:> so if I did this it would make things evolve (change sprite) by leveling up? not by standing on a panel while being a certain level or higher?Yes 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