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

Eclipse Final Frontier Server.exe error


GalacticGlum
 Share

Recommended Posts

I have noticed that my server.exe has been crashing lately I then found my error log with this message. Only this message!

"The following error occured at 'GetClassName' in 'modDatabase'. Run-time error '9': Subscript out of range."

Does anyone know the problem if you do please help!
Link to comment
Share on other sites

@[member="JSventoraGD"] This is my .ini file

[INIT]
MaxClasses=5

[CLASS1]
Name=Warrior
MaleSprite=201
FemaleSprite=202
Strength=6
Endurance=7
Intelligence=6
Agility=7
Willpower=6

[CLASS2]
Name=Magician
MaleSprite=201
FemaleSprite=202
Strength=1
Endurance=3
Intelligence=10
Agility=5
Willpower=10

StartSpellCount=1
StartSpell1=1

[CLASS3]
Name=Rogue
MaleSprite=201
FemaleSprite=202
Strength=1
Endurance=6
Intelligence=6
Agility=10
Willpower=6

[CLASS4]
Name=Archer
MaleSprite=201
FemaleSprite=202
Strength=4
Endurance=6
Intelligence=6
Agility=7
Willpower=6

[CLASS5]
Name=Circuit
MaleSprite=203
FemaleSprite=203
Strength=5
Endurance=6
Intelligence=4
Agility=3
Willpower=3
Link to comment
Share on other sites

Try this 

```
Function GetClassName(ByVal ClassNum As Long) As String
If ClassNum < 1 Or ClassNum > Max_Classes Then
GetClassName = "CLASS"
Else
GetClassName = Trim$(Class(ClassNum).Name)
End If
End Function

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