The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Good evening. about spells.scp [SOLVED]
Author Message
Dullais
Journeyman
*

Posts: 65
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
Sad Good evening. about spells.scp [SOLVED]
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
(This post was last modified: 03-08-2013 05:57 AM by Dullais.)
03-08-2013 03:44 AM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #2
RE: Good evening. about spells.scp
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?
(This post was last modified: 03-08-2013 03:50 AM by Crusader.)
03-08-2013 03:49 AM
Find all posts by this user Like Post Quote this message in a reply
Dullais
Journeyman
*

Posts: 65
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
RE: Good evening. about spells.scp
(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...
(This post was last modified: 03-08-2013 04:05 AM by Dullais.)
03-08-2013 03:54 AM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #4
RE: Good evening. about spells.scp
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 ?
03-08-2013 04:28 AM
Find all posts by this user Like Post Quote this message in a reply
Dullais
Journeyman
*

Posts: 65
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #5
RE: Good evening. about spells.scp
(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
(This post was last modified: 03-08-2013 05:56 AM by Dullais.)
03-08-2013 04:31 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)