Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LevelReq
#1
Client Side
Not sure if this is a error other people get. But I just got it. You see if you delete the spells.ini, and restart the server, the levelreq would be set to 0. Now when you try to load a spell, the scrlevelreq in frmSpellEditor will try to become 0, but it's minimum level is 1. Therefore it will give you error 380 'Invalid Property Value'.

So make the scrlbar's minimum value 0 or add this:
Code:
if Spell(EditorIndex).LevelReq < 1 or Spell(EditorIndex).LevelReq > frmSpellEditor.scrlLevelReq.Max then Spell(EditorIndex).LevelReq = 1
Above:
Code:
frmSpellEditor.scrlLevelReq.Value = Spell(EditorIndex).LevelReq
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)