SphereCommunity
Good evening. about spells.scp [SOLVED] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Good evening. about spells.scp [SOLVED] (/Thread-Good-evening-about-spells-scp-SOLVED)



Good evening. about spells.scp [SOLVED] - Dullais - 03-08-2013 03:44 AM

Good evening friends.
When i got this, i knew already that this is going on forum and i could't solve this by myself.
So i put my nose into sphere_spells.scp because i wanted to specify dmg for lightning and flamestrike, i thought that i did so by this kind of thing :

ON=@EFFECT
var.DMG = <STRSUB 0 <STRPOS 0 . <SRC.MAGERY>> <SRC.MAGERY> > /2
var.DMG1 = <var.DMG> - 15
var.DMG = rand(<eval.<VAR.DMG1>>, <eval.<VAR.DMG>>)
HITS -= <eval.<var.DMG>>
SAY @5467 -<eval.<VAR.DMG>>

It really did all i wanted. But i knew that it wont be so easy. And today i Got errors like this:

ERROR:(sphere_item_magic_wands.scp,1045)Bad resource list id ' MAGERY 70.0'
ERROR:(sphere_item_magic_wands.scp,855)Bad resource list id ' MAGERY 60.0'
ERROR:(sphere_item_magic_wands.scp,437)Bad resource list id ' MAGERY 30.0'
ERROR:(sphere_item_magic_wands.scp,1178)Bad resource list id ' MAGERY 80.0'
ERROR:(sphere_item_magic_wands.scp,779)Bad resource list id ' MAGERY 60.0'
ERROR:(sphere_item_magic_wands.scp,1159)Bad resource list id ' MAGERY 80.0'

Those little morons are everywhere, wands, alchemy in every file where there is something about magery.

So my question - "What the hell is this and how do i kill it ?"
BTW I removed my script into spells.scp and it didn't kill the errors...
Please help my Cry


RE: Good evening. about spells.scp - Crusader - 03-08-2013 03:49 AM

prolly u modified the sphere_skills.scp:

Code:
[SKILL 25]
DEFNAME=Skill_Magery
KEY=Magery
TITLE=Mage
etc...

doing something on magery. didn't u?


RE: Good evening. about spells.scp - Dullais - 03-08-2013 03:54 AM

(03-08-2013 03:49 AM)Crusader Wrote:  prolly u modified the sphere_skills.scp:

Code:
[SKILL 25]
DEFNAME=Skill_Magery
KEY=Magery
TITLE=Mage
etc...

doing something on magery. didn't u?

Nope, At first i thought that you saved me, but nope, i checked it out and no editions(or mby there is, i'am newbie into this so please tell me):

Code:
[SKILL 25]
DEFNAME=Skill_Magery
KEY=Magery
TITLE=Mage
PROMPT_MSG=
STAT_STR=20
STAT_INT=100
STAT_DEX=40
BONUS_STR=0
BONUS_DEX=0
BONUS_INT=100
BONUS_STATS=15
ADV_RATE=0 //=10.0,200.0,800.0
VALUES=1,20,80
//DELAY=1.0 // based on skill and difficulty.

ON=@Fail
    SRC.SYSMESSAGE The spell fizzles.

ON=@Abort
    SRC.SYSMESSAGE You stop casting the spell.

by the way, one of those error locations is:
Code:
[ITEMDEF i_wand_blade_spirits]
ID=i_wand_1
TYPE=t_wand
RESOURCES=i_wand_1,10 i_scroll_blade_spirits
SKILLMAKE=INSCRIPTION 50.0, i_pen_and_ink, MAGERY 50.0
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Wands
DESCRIPTION=Wand of Blade Spirits

ON=@Create
   HITPOINTS={11 21}
   ATTR=attr_magic
   MOREX=s_blade_spirits
   MOREY=50.0
   MORE2={5 15}
  
ON=@ClientToolTip
   SRC.ADDCLILOC 1044413

The fifth line...


RE: Good evening. about spells.scp - Crusader - 03-08-2013 04:28 AM

well usually magery error is done coz u messed up with the magery skill in that file, maybe u renamed the file sphere_skills.scp ?


RE: Good evening. about spells.scp - Dullais - 03-08-2013 04:31 AM

(03-08-2013 04:28 AM)Crusader Wrote:  well usually magery error is done coz u messed up with the magery skill in that file, maybe u renamed the file sphere_skills.scp ?

Nope, didn't, I have'nt even got to temper with skills yet...

I discovered (by backuping files one by one) that this was happening because of save, I backuped my save from 2 days ago and now all is running smoothly. I hope this will solve my problem and tomorrow there wont be situation like this Rolleyes
So if anyone has the same problem, you var try my way of dealing with it. Veryhappy