| Mirage Source http://miragesource.net/forums/ |
|
| Runtime 380[Its All Good] http://miragesource.net/forums/viewtopic.php?f=201&t=3542 |
Page 1 of 1 |
| Author: | Ravuya [ Tue Apr 01, 2008 4:59 pm ] |
| Post subject: | Runtime 380[Its All Good] |
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 |
|
| Author: | Rezeyu [ Tue Apr 01, 2008 9:24 pm ] |
| Post subject: | Re: Runtime 380 |
What line is it erroring on? |
|
| Author: | Coke [ Wed Apr 02, 2008 12:28 am ] |
| Post subject: | Re: Runtime 380 |
Change the minimum value of the scrollbar(s) to 1. |
|
| Author: | Ravuya [ Wed Apr 02, 2008 9:09 pm ] |
| Post subject: | Re: Runtime 380 |
In mod game logic spell editor init Code: frmSpellEditor.scrlLevelReq.Value = Spell(EditorIndex).LevelReq
|
|
| Author: | GIAKEN [ Wed Apr 09, 2008 1:01 am ] |
| Post subject: | Re: Runtime 380 |
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) |
|
| Author: | Ravuya [ Mon Apr 14, 2008 7:59 pm ] |
| Post subject: | Re: Runtime 380 |
no man I cant find that bit of code you just gave me anywhere |
|
| Author: | seraphelic [ Mon Apr 14, 2008 9:38 pm ] |
| Post subject: | Re: Runtime 380[Still Not Working] |
In the sub clearspell serverside, make spell(index).LevelReq = 1 and delete the spell data from the server |
|
| Author: | Kousaten [ Tue Apr 15, 2008 12:57 pm ] |
| Post subject: | Re: Runtime 380 |
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. And yes, do what Sera said too. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|