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

lol123xb

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

lol123xb's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. @'Growlith1223': > @'lol123xb': > > > @'skyzero': > > > > > @'Sy-Man': > > > > > > > Is there anybody who can see whats wrong with this code of my classes.ini? > > > > > > > > My two Problems are: > > > > > > > > 1\. In the chareditor, when I make a new char after the registration in the game, they don't show me the 4\. class to choose. I just can see 3 classes. > > > > 2\. When I klick the Itemeditor as the Admin in the Game, there comes an error ("Run-time error '9': Subscript out of range"). > > > > > > > > Thank You very very much for your help! :-) > > > > > > > > Here is my code: > > > > ``` > > > > [INIT] > > > > > > > > MaxClasses=4 > > > > > > > > [CLASS1] > > > > Name=MC > > > > DoNotAdvance=1 > > > > MaleSprite=1 > > > > FemaleSprite=2 > > > > > > > > Strength=1 > > > > Endurance=1 > > > > Intelligence=1 > > > > Agility=1 > > > > Willpower=1 > > > > > > > > StartItemCount=2 > > > > StartItem1=1 > > > > StartValue1=1 > > > > StartItem2=2 > > > > StartValue2=1 > > > > > > > > StartSpellCount=0 > > > > > > > > [CLASS2] > > > > Name=Breaker > > > > DoNotAdvance=1 > > > > MaleSprite=3 > > > > FemaleSprite=4 > > > > > > > > Strength=1 > > > > Endurance=1 > > > > Intelligence=1 > > > > Agility=1 > > > > Willpower=1 > > > > > > > > StartItemCount=2 > > > > StartItem1=1 > > > > StartValue1=1 > > > > StartItem2=2 > > > > StartValue2=1 > > > > > > > > StartSpellCount=0 > > > > > > > > [CLASS3] > > > > Name=Writer > > > > DoNotAdvance=1 > > > > MaleSprite=5 > > > > FemaleSprite=6 > > > > > > > > Strength=1 > > > > Endurance=1 > > > > Intelligence=1 > > > > Agility=1 > > > > Willpower=1 > > > > > > > > StartItemCount=2 > > > > StartItem1=1 > > > > StartValue1=1 > > > > StartItem2=2 > > > > StartValue2=1 > > > > > > > > StartSpellCount=0 > > > > > > > > [CLASS4] > > > > Name=DJ > > > > DoNotAdvance=1 > > > > MaleSprite=7 > > > > FemaleSprite=8 > > > > > > > > Strength=1 > > > > Endurance=1 > > > > Intelligence=1 > > > > Agility=1 > > > > Willpower=1 > > > > > > > > StartItemCount=2 > > > > StartItem1=1 > > > > StartValue1=1 > > > > StartItem2=2 > > > > StartValue2=1 > > > > > > > > StartSpellCount=0 > > > > ``` > > > > > > Open Client Side and Find: > > > > > > For i = 1 To 3 > > > frmMenu.cmbClass.AddItem Trim$(Class(i).name) > > > Next > > > > > > change the number 3 by the number of available classes > > > > What is the file called? I tried searching "For i = 1 To 3" yet I cannot find it in any files. > > modHandleData if i remember correctly, but if you don't have vb6 then there's no point in editing your code, i should also mention you should do > ``` > For i = 1 To UBound(Class) > > ```instead of a direct number Thanks man! Now I can edit the starter classes XD
  2. @'skyzero': > @'Sy-Man': > > > Is there anybody who can see whats wrong with this code of my classes.ini? > > > > My two Problems are: > > > > 1\. In the chareditor, when I make a new char after the registration in the game, they don't show me the 4\. class to choose. I just can see 3 classes. > > 2\. When I klick the Itemeditor as the Admin in the Game, there comes an error ("Run-time error '9': Subscript out of range"). > > > > Thank You very very much for your help! :-) > > > > Here is my code: > > ``` > > [INIT] > > > > MaxClasses=4 > > > > [CLASS1] > > Name=MC > > DoNotAdvance=1 > > MaleSprite=1 > > FemaleSprite=2 > > > > Strength=1 > > Endurance=1 > > Intelligence=1 > > Agility=1 > > Willpower=1 > > > > StartItemCount=2 > > StartItem1=1 > > StartValue1=1 > > StartItem2=2 > > StartValue2=1 > > > > StartSpellCount=0 > > > > [CLASS2] > > Name=Breaker > > DoNotAdvance=1 > > MaleSprite=3 > > FemaleSprite=4 > > > > Strength=1 > > Endurance=1 > > Intelligence=1 > > Agility=1 > > Willpower=1 > > > > StartItemCount=2 > > StartItem1=1 > > StartValue1=1 > > StartItem2=2 > > StartValue2=1 > > > > StartSpellCount=0 > > > > [CLASS3] > > Name=Writer > > DoNotAdvance=1 > > MaleSprite=5 > > FemaleSprite=6 > > > > Strength=1 > > Endurance=1 > > Intelligence=1 > > Agility=1 > > Willpower=1 > > > > StartItemCount=2 > > StartItem1=1 > > StartValue1=1 > > StartItem2=2 > > StartValue2=1 > > > > StartSpellCount=0 > > > > [CLASS4] > > Name=DJ > > DoNotAdvance=1 > > MaleSprite=7 > > FemaleSprite=8 > > > > Strength=1 > > Endurance=1 > > Intelligence=1 > > Agility=1 > > Willpower=1 > > > > StartItemCount=2 > > StartItem1=1 > > StartValue1=1 > > StartItem2=2 > > StartValue2=1 > > > > StartSpellCount=0 > > ``` > > Open Client Side and Find: > > For i = 1 To 3 > frmMenu.cmbClass.AddItem Trim$(Class(i).name) > Next > > change the number 3 by the number of available classes What is the file called? I tried searching "For i = 1 To 3" yet I cannot find it in any files.
×
×
  • Create New...