eddy34 Posted July 15, 2012 Author Share Posted July 15, 2012 Hello Guys!Today I teach you to fix a bug in Eclipse Origins attack. For that I will explain the problem. The following image:![](http://i1079.photobucket.com/albums/w509/Guardian34/BugAttack.png)Problem: When attacking, the sprite in your client moves from a Sprite to Sprite 2\. However, on account of the other players you're still standing with a sprite. What makes the game without animation stopped.Okay, let's resolution.**Server Side**In **Sub HandleAttack** find this:```' Send this packet so they can see the person attacking 'SendAttack Index```Switch to:```' Send this packet so they can see the person attacking SendAttack Index```Then the end of **ModServerTCP**, add:```Sub SendAttack(ByVal index As Long)Dim Buffer As clsBufferSet Buffer = New clsBufferBuffer.WriteLong ServerPackets.SAttackBuffer.WriteLong indexSendDataToMap GetPlayerMap(Index), Buffer.ToArray()Set Buffer = NothingEnd Sub```Sorry if you have an error in either English or topic, I am Brazilian and this is my first post.Credits : GuardianBR Link to comment Share on other sites More sharing options...
hisherwin Posted July 15, 2012 Share Posted July 15, 2012 Nice for your first post.. Link to comment Share on other sites More sharing options...
Guest Posted July 15, 2012 Share Posted July 15, 2012 thank you for this, easy & simple Link to comment Share on other sites More sharing options...
jcsnider Posted July 15, 2012 Share Posted July 15, 2012 Just going to add a side note that this should also work perfectly for my Nightly editions for those who are wondering.Good job GuardianBR!I hope to see more contributions from you in the future :D Link to comment Share on other sites More sharing options...
iHero Posted July 15, 2012 Share Posted July 15, 2012 You also started, good luck brother.~~He also is Brazilian~~:D Link to comment Share on other sites More sharing options...
eddy34 Posted July 15, 2012 Author Share Posted July 15, 2012 @jcsnider:> Just going to add a side note that this should also work perfectly for my Nightly editions for those who are wondering.> > Good job GuardianBR!> I hope to see more contributions from you in the future :DAnd you'll see. ;)@iHero:> You also started, good luck brother.> ~~He also is Brazilian~~> > :DThanks brother. \o/ Link to comment Share on other sites More sharing options...
tslusny Posted July 16, 2012 Share Posted July 16, 2012 @GuardianBR:> ```> Sub SendAttack(ByVal index As Long)> Dim Buffer As clsBuffer> > Set Buffer = New clsBuffer> Buffer.WriteLong ServerPackets.SAttack> Buffer.WriteLong index> SendDataToAll Buffer.ToArray()> Set Buffer = Nothing> End Sub> ```Dont SendDataToAll, send it to map like this - SendDataToMap GetPlayerMap(Index), Buffer.ToArray() Link to comment Share on other sites More sharing options...
eddy34 Posted July 16, 2012 Author Share Posted July 16, 2012 @Deathbeam:> Dont SendDataToAll, send it to map like this - SendDataToMap GetPlayerMap(Index), Buffer.ToArray()LOLI had not realized that I had committed this blunder. kkkk 'Thanks, you're just right. =D Link to comment Share on other sites More sharing options...
kibbelz Posted July 16, 2012 Share Posted July 16, 2012 I have noticed myself whilst playing eclipse games, a nice tutorial however i would suggest removing the orange in every first letter for each paragraph because it annoys me and i have trouble reading it on a white background, nether the less a nice fix.~Kibbelz 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