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-nmm7 (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-nmm7 (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-nmm7 (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
Agility and Great Agi Not Stackeable.
Author Message
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #1
Agility and Great Agi Not Stackeable.
Agility and great agi has not stackeable.

Any way to do Shock?

i_bottle_blue for more reference
or i_potion_agility and agilitygreat.


Lazarus.

[This is so stupid... but my players are so fussy]

Tongue


Other question:

24-09-2012, Terrikate
- Fixed #2078: t_multi_custom causes memory leak in client

This fix, uses any script? or it's hardcoded? Shock

[Image: 2hy9q0y.png]
(This post was last modified: 10-14-2012 09:29 AM by Lazarus.)
10-14-2012 09:24 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: Agility and Great Agi Not Stackeable.
Post the script for those potions and we can tell you how to change it.
10-14-2012 09:29 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #3
RE: Agility and Great Agi Not Stackeable.
(10-14-2012 09:29 AM)RanXerox Wrote:  Post the script for those potions and we can tell you how to change it.

This are NOT stackeables [Default potions of agility]
Code:
[ITEMDEF i_potion_Agility]
ID=i_bottle_blue
NAME=Agility
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_reag_blood_moss, i_bottle_empty
SKILLMAKE=ALCHEMY 15.1

ON=@Create
    MORE1=s_Agility
    MORE2={ 15.1 60.0 }

[ITEMDEF i_potion_AgilityGreat]
ID=i_bottle_BLUE
TYPE=T_POTION
NAME=Greater Agility
TDATA1=i_bottle_empty
RESOURCES=i_reag_blood_moss 3, i_bottle_EMPTY
SKILLMAKE=ALCHEMY 70.1

ON=@Create
    MORE1=s_Agility
    MORE2={ 70.1 80.0 }

The other normal potions [DEFAULT POTS] are stackeables :|

I_bottle_blue

Code:
[ITEMDEF 0f08]
//Potion (Blue)
DEFNAME=i_bottle_blue
TYPE=T_POTION
TDATA1=i_bottle_empty
RESOURCES=i_bottle_empty
WEIGHT=1
DESCRIPTION=Potion (Blue)(Agility)
SUBSECTION=Potions
CATEGORY=Provisions - Alchemy & Magic

ON=@Create
    MORE1=s_agility
    MORE2={ 300 900 }


I didn't see any difference with the others potions and bottles.

[Image: 2hy9q0y.png]
10-14-2012 09:55 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #4
RE: Agility and Great Agi Not Stackeable.
They are the same spell at different strengths, that's why. Agility will not stack with itself, nor will any spell.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
10-14-2012 10:01 AM
Find all posts by this user Like Post Quote this message in a reply
Lazarus
Master
**

Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1

Hybris Ultima Online

Post: #5
RE: Agility and Great Agi Not Stackeable.
(10-14-2012 10:01 AM)Anarch Cassius Wrote:  They are the same spell at different strengths, that's why. Agility will not stack with itself, nor will any spell.


NOnonono!
I don't want the stack of AGILITY and GREATER AGILITY.

The ID of BOTTLE_BLUE don't stack [GREATER AGILITY + GREATER AGILITY DON'T STACK!]
Tongue

haha.
^_^

and this:

Other question:

24-09-2012, Terrikate
- Fixed #2078: t_multi_custom causes memory leak in client

This fix, uses any script? or it's hardcoded?

[Image: 2hy9q0y.png]
10-14-2012 11:04 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ShiryuX
Journeyman
*

Posts: 249
Likes Given: 1
Likes Received: 19 in 14 posts
Joined: Mar 2010
Reputation: 4



Post: #6
RE: Agility and Great Agi Not Stackeable.
Is an internal fix in the core, packet handling.
10-14-2012 11:42 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #7
RE: Agility and Great Agi Not Stackeable.
Way back when...

I would edit the tiledata to make all bottles stackable.
You could do that.

[Image: 2nis46r.jpg]
(This post was last modified: 10-14-2012 12:35 PM by Mordaunt.)
10-14-2012 12:35 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #8
RE: Agility and Great Agi Not Stackeable.
Oh, that sort of stacking Smile

In that case change this part:
MORE2={ 15.1 60.0 }

to something like

MORE2=35.0


The issue is that your potions are generated in a range of strengths and the values need to be exact to stack.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
10-14-2012 12:42 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #9
RE: Agility and Great Agi Not Stackeable.
Yeah... but isn't there an issue with one type of potion not being set as stackable in the game files?
Or was that fixed finally?

[Image: 2nis46r.jpg]
10-14-2012 12:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rayvolution
Journeyman
*

Posts: 135
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 1

Aetharia

Post: #10
RE: Agility and Great Agi Not Stackeable.
For potions to be stackable, they have to have the exact same values across the board, so you'll have to set MORE2 to a "hard" whole number, not a variable.

Think of it this way: When a few items are stacked, they technically become "one item" with an AMOUNT value. How would the server be able to figure out what potion is what if they're all merged into one big item?

I made all my potions stackable, and just added 3 tiers for each (Minor, Moderate and Major). They have hard-set values so they can stack.

EDIT: I reread your post, and from what I can tell none of your potions should be able to stack, I'm parplexed why the I_BOTTLE_BLUE can at all. It should *not* be able to. did you check the MORE2 values of the stacking blue potions in game? Maybe through some fluke they are all generating the same value?

.. also, If they are different values, but still somehow stacking, you may have another problem too. The stacked (and then unstacked) bottles will probably all have the same MORE2 value once you split them up overwriting their old values.

[Image: 4_Logo.png]
An MMORPG based on the Ultima Online engine.
Completely Custom Map, GUI, AI, Combat, Skills, Crafts, Art, Music and so much more.
http://aetharia.com - Home of Ambition!
(This post was last modified: 10-14-2012 02:43 PM by Rayvolution.)
10-14-2012 02:36 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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