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

Server error when a player die


antho3000
 Share

Recommended Posts

Yeah, I'm just curious.. But what version of eclipse are you using? This problem seems to pop up every now and then.. and it seems to be the same one >_>

replace ur entire onDeath sub with that.
The reason ur getting errors is because it's using Target instead of Index >.>
```
Sub OnDeath(Index)
If GetMapBootMap(Index) > 0 Then
Call PlayerWarp(Index, GetMapBootMap(Index), GetMapBootX(Index), GetMapBootY(Index))
Else
Map = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "Map"))
X = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "x"))
Y = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "y"))

Call PlayerWarp(Index, Map, X, Y)
End If

Call SetPlayerHP(Index, GetPlayerMaxHP(Index))
Call SetPlayerMP(Index, GetPlayerMaxMP(Index))
Call SetPlayerSP(Index, GetPlayerMaxSP(Index))
Call SendPlayerData(Index)       

End Sub

```
Link to comment
Share on other sites

@Admiral:

> I'll move this to the bugs/errors board; hopefully someone has a resolution.

I wonder why this is still considered a bug. People should be using the latest version of my Main, not some of the earliest.

Locking this topic as this bug has been fixed a long time ago.

Regards,
  Godlord.
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...