| Mirage Source http://miragesource.net/forums/ |
|
| LevelReq http://miragesource.net/forums/viewtopic.php?f=210&t=1358 |
Page 1 of 1 |
| Author: | William [ Thu Feb 15, 2007 11:12 am ] |
| Post subject: | LevelReq |
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
|
|
| Author: | Lea [ Sun Jul 13, 2008 11:33 am ] |
| Post subject: | Re: LevelReq |
This is untested, but this is how I would fix it: Server side, sub ClearSpell in modGameLogic Change "Spell(Index).LevelReq = 0" to "Spell(Index).LevelReq = 1" |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|