Whackeddie99 Posted June 29, 2012 Author Share Posted June 29, 2012 This fixes a bug which puts you in the party twice if you send a player an invite, he sends you one, they accept your invite and then you accept theirs.Server side, find Sub HandleAcceptParty and replace it with this:```Sub HandleAcceptParty(ByVal index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long) If TempPlayer(index).inParty Then PlayerMsg index, "You are already in a party!", BrightRed Exit Sub End If Party_InviteAccept TempPlayer(index).partyInvite, indexEnd Sub```It simply checks if they are in a party first, and if they are it sends them a message saying they're in a party already. (: Link to comment Share on other sites More sharing options...
RyokuHasu Posted June 29, 2012 Share Posted June 29, 2012 nice!!!I didn't realize this was a problem… that could lead to a MAJOR cheating problem if my Party level system is used without this!I give this the Party level system stamp of recommendation!Re-edited Link to comment Share on other sites More sharing options...
Whackeddie99 Posted June 29, 2012 Author Share Posted June 29, 2012 @Ryoku:> ~~nice!!!> > I didn't realize this was a problem… that could lead to a MAJOR cheating problem if my Party level system is used without this!> > I give this the Party level system stamp of recommendation!~~ > > ….wait a sec.... this was already int he code in the actual accept party sub... never mindNot for me it wasn't…what are you using??EDIT: downloaded a fresh EO2 to see and this is what there is:```Sub HandleAcceptParty(ByVal index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long) Party_InviteAccept TempPlayer(index).partyInvite, indexEnd Sub```DOUBLE EDIT: I see what you mean, the Party_InviteAccept sub. I know it's their, but it doesn't actually work for some reason. You need this or it will fuck it up. This bug fix works. 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