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

Subscript out of range (Stable)


Guest
 Share

Recommended Posts

whenever i die on eclipse stable i get this error, and npc's won't move or attack until i close the window. any advice on how to stop this?

it looks like this
____________________
Eclipse SE Server
TYPE: Subsript of of range
LINE: 10
COLUMN: 0
CODE:
___________________
Please help

–will
Link to comment
Share on other sites

  • 1 month later...
My ondeath is

```
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
```

but my npc's dont move yet. only attack me…
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...