Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

EO2 Party Bug Fix!


Whackeddie99
 Share

Recommended Posts

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, index
End 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

@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 mind

Not 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, index
End 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...