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
More newbie gumper problems :P
Author Message
Rayvolution
Journeyman
*

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

Aetharia

Post: #3
RE: More newbie gumper problems :P
HAH! It worked. Although I'd rather the GUMP close. But this is still a lot better than what I had. Wink

I did have to tweak it though, your script worked like a charm, but couldnt detect when the recipe was in your pack, so I still had to do the original RESTEST:
Code:
IF (<SRC.RESTEST i_mortar_pestle>) && (<SRC.RESTEST 3 i_reag_nightshade>) && (<SRC.RESTEST i_bottle_small_water>) && ((<SRC.near_alchemy_scroll i_alchemy_recipe_weak_poison>) || (<SRC.RESTEST i_alchemy_recipe_weak_poison>))

Once I complete my new alchemy system I plan on posting in here, it completely rewrites the entire system. I think a lot of people will like it, and it's a solid base for remaking other similar could-be recipe based skills, like Cooking for example.

But, in my new Alchemy system I have:
- 3 Bottle sizes (Small, Medium, Large. I made custom art for these.)
- You have to fill the bottles in a water source somewhere (Any water tile)
- You have to find the recipe for the potion you'd like to make
- Opening the recipe's GUMP will tell you what you need, and the skill requirements.
- Once you have the recipe, the correct bottle size (and filled with water), you click on the recipe and click "Mix"
- Checks and makes sure you have everything required, Triggers MAKEITEM
- The GUMP stays open once you click "Mix", so you just have to re-click "Mix" again to make a second potion. Making the process a little smoother too.

I also disabled @DCLICK on all the reagents, the mortar and t_empty_bottle, so people can't bring up the old skillmenu in any way shape or form. The only way to trigger MAKEITEM is via the recipe's mix button.

[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: 07-30-2012 04:21 AM by Rayvolution.)
07-30-2012 04:21 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: More newbie gumper problems :P - Rayvolution - 07-30-2012 04:21 AM

Forum Jump:


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