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
Scrolls not stacking properly?
Author Message
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #1
Scrolls not stacking properly?
For some reason my scrolls don't want to stack even though they are exactly the same? For example If I create a scroll .add i_Scroll_harm then i_scroll_harm again.. They wont stack? I'm confused here.. ;p

Code:
[ITEMDEF 01f38]
DEFNAME=i_scroll_harm
RESOURCES=i_scroll_blank, i_reag_nightshade, i_reag_spider_silk
SKILLMAKE=INSCRIPTION 20.0, MAGERY 10.0
TYPE=T_SCROLL
WEIGHT=1
//CIRCLE=2
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Scrolls - 2nd Circle
DESCRIPTION=Harm Scroll

ON=@Create
    ATTR=ATTR_MAGIC
    MOREX=s_harm
    MOREY={20 60}
04-29-2012 11:07 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: Scrolls not stacking properly?
MOREY={20 60}

This creates a random MOREY... different MOREY will not stack... This has been the case for as long as I remember... and before you ask... it can't be fixed!

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
04-29-2012 11:29 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #3
RE: Scrolls not stacking properly?
What is the MOREY for exactly?
04-29-2012 11:42 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #4
RE: Scrolls not stacking properly?
I believe that is the strenght of the spell

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
04-30-2012 12:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #5
RE: Scrolls not stacking properly?
So is it possible to manually script everything within the spell and make it static without a range then remove it possibly? so scrolls stack.
04-30-2012 12:32 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #6
RE: Scrolls not stacking properly?
Morey is probably messing it up.
Also, add this in somewhere in the basedef or after @create trigger:
Code:
can=can_i_pile|can_i_flip
04-30-2012 12:51 AM
Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #7
RE: Scrolls not stacking properly?
No Luck..

Code:
[ITEMDEF 01f38]
DEFNAME=i_scroll_harm
RESOURCES=i_scroll_blank, i_reag_nightshade, i_reag_spider_silk
SKILLMAKE=INSCRIPTION 20.0, MAGERY 10.0
TYPE=T_SCROLL
can=can_i_pile|can_i_flip
WEIGHT=1
//CIRCLE=2
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Scrolls - 2nd Circle
DESCRIPTION=Harm Scroll

ON=@Create
    ATTR=ATTR_MAGIC
    MOREX=s_harm
    MOREY={20 60}
    //can=can_i_pile|can_i_flip // gives error when being placed here. No errors if placed where it is currently under itemdef. I also tried adding this to all the unnamed scrolls.
04-30-2012 01:08 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #8
RE: Scrolls not stacking properly?
You are going to have to make morey a static value. Which won't change the ones on the server.
04-30-2012 01:19 AM
Find all posts by this user Like Post Quote this message in a reply
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #9
RE: Scrolls not stacking properly?
I couldn't find anything on what exactly the scroll's settings do. I am really confused as to what the MOREY actually does. Ben said it's the strength. However, what do you mean by strength? There are other variables that specify the strength via the Spell script. So what does the scroll morey actually do?
Example:

Code:
[ITEMDEF 01f3c]
DEFNAME=i_scroll_strength
RESOURCES=i_scroll_blank, i_reag_mandrake_root, i_reag_nightshade
SKILLMAKE=INSCRIPTION 20.0, MAGERY 10.0
TYPE=T_SCROLL
WEIGHT=1
//CIRCLE=2
CATEGORY=Provisions - Alchemy & Magic
SUBSECTION=Scrolls - 2nd Circle
DESCRIPTION=Strength Scroll

ON=@Create
    ATTR=ATTR_MAGIC
    MOREX=s_strength
    MOREY={20 60}
(This post was last modified: 04-30-2012 06:25 AM by Reflex.)
04-30-2012 06:25 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #10
RE: Scrolls not stacking properly?
Effects the strength of the spell on the scroll as strength is effected by your magery skill in the spell. It is basically like a stored magery value.
04-30-2012 06:27 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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