elbesh Posted December 20, 2007 Author Share Posted December 20, 2007 Well, I've searched on the EE V1 and I found a BUG on the Heads of the Players Chars. The Heads of the others players follow your movements when you Scroll the Map.So I and the Unnown have made a Client FIX to this problem.The problem can be found at the Sub BltPlayerTop in the Source on the modGameLogic.bas in this part:Original Part:> If Index = MyIndex Then> x = NewX + sx> y = NewY + sx - 32> > Else> x = GetPlayerX(Index) * PIC_X + sx + Player(Index).XOffset> y = GetPlayerY(Index) * PIC_Y + sx + Player(Index).YOffset - 32> > If y < 0 Then> rec.Top = rec.Top + (y * -1)> y = 0> End If> > > Call DD_BackBuffer.BltFast(x - (NewPlayerX * PIC_X) - NewXOffset, y - (NewPlayerY * PIC_Y) - NewYOffset, DD_SpriteSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)> End If> rec.Top = GetPlayerSprite(Index) * 64> rec.Bottom = rec.Top + PIC_Y> Call DD_BackBuffer.BltFast(x, y, DD_SpriteSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)But This part have some bugs in the IFsthen the fixed part is:> If Index = MyIndex Then> x = NewX + sx> y = NewY + sx - 32> rec.Top = GetPlayerSprite(Index) * 64> rec.Bottom = rec.Top + PIC_Y> Call DD_BackBuffer.BltFast(x, y, DD_SpriteSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)> Else> x = GetPlayerX(Index) * PIC_X + sx + Player(Index).XOffset> y = GetPlayerY(Index) * PIC_Y + sx + Player(Index).YOffset - 32> > > If y < 0 Then> rec.Top = rec.Top + (y * -1)> y = 0> End If> > > Call DD_BackBuffer.BltFast(x - (NewPlayerX * PIC_X) - NewXOffset, y - (NewPlayerY * PIC_Y) - NewYOffset, DD_SpriteSurf, rec, DDBLTFAST_WAIT Or DDBLTFAST_SRCCOLORKEY)> End IfSo, changing this part of the Code the Bug is Fixed.This is the Download of the Fixed EXE of the Client:http://rapidshare.com/files/77867785/ClientFIXED.rar.htmlWell, Hope that its help. =]Credits: Striker(elbesh) and Unnown 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