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

EO3 server crash after leader leaves party


Justin Knight
 Share

Recommended Posts

Okay well, I ran the server in vb6 and made a party. The party can earn EXP all day but when one person leaves and the party gets smaller the new party crashes the server on the next kill. the error happens here:

Server side

```
Function GetPlayerExp(ByVal index As Long) As Long
> GetPlayerExp = Player(index).exp
End Function

```
Link to comment
Share on other sites

its trying to pull an index that is outs of bounds, if you hover over the word index it would probably say 0.

just means that when the leader leaves its not kicking people properly and unloading everything, its trying to continue the party and boom error.
Link to comment
Share on other sites

OMG found the fix… maybe. We'll see but for now it looks like its working :)

Edit the server in Public Sub Party_ShareExp

Find

```
' find out the equal share
expShare = exp \ (Party(partyNum).MemberCount - LoseMemberCount)
leftOver = exp Mod (Party(partyNum).MemberCount - LoseMemberCount)

```
Replace with

```
' recount the freaking party members
Party_CountMembers partyNum

' find out the equal share
expShare = exp \ (Party(partyNum).MemberCount - LoseMemberCount)
leftOver = exp Mod (Party(partyNum).MemberCount - LoseMemberCount)

```
Link to comment
Share on other sites

> its trying to pull an index that is outs of bounds, if you hover over the word index it would probably say 0.
>
> just means that when the leader leaves its not kicking people properly and unloading everything, its trying to continue the party and boom error.

Thanks :) I'm sure my fix isnt the best way to handle this issue but I'll see what happens
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...