Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runtime 380[Its All Good]
#1
When I open the spell editor And click a spell to edit this come up Runtime error 380 Invalid property value and when I click ok mirage terminates
Reply
#2
What line is it erroring on?
Reply
#3
Change the minimum value of the scrollbar(s) to 1.
Reply
#4
In mod game logic spell editor init
Code:
frmSpellEditor.scrlLevelReq.Value = Spell(EditorIndex).LevelReq
Reply
#5
Make sure the value isn't lower than the minimum value or the maximum...

Code:
If Spell(EditorIndex).LevelReq < frmSpellEditor.scrlLevelReg.Min Then Spell(EditorIndex).LevelReq = frmSpellEditor.scrlLevelReg.Min
If Spell(EditorIndex).LevelReq > frmSpellEditor.scrlLevelReq.Max Then Spell(EditorIndex).LevelReq = frmSpellEditor.scrlLevelReq.Max

(I didn't check this with my source, just typed it up in the post...so not 100% sure if it's right)
Reply
#6
no man I cant find that bit of code you just gave me anywhere
Reply
#7
In the sub clearspell serverside, make spell(index).LevelReq = 1 and delete the spell data from the server
Reply
#8
Ravuya Wrote:no man I cant find that bit of code you just gave me anywhere

The code he gave isn't in mirage, it's just an additional check you can put in to make sure no problems occur with going out of the scrollbar limits. Wink

And yes, do what Sera said too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)