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
Blacksmithing and Skillmenus
Author Message
Jonaleth
Apprentice
*

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



Post: #7
RE: Blacksmithing and Skillmenus
Still not working... Sad

Here's the issue;

Code:
[SKILLMENU sm_blacksmith]
Blacksmithing

ON=i_ANVIL Repair
TEST=BLACKSMITHING 1.0
REPAIR

ON=i_ingot_iron Ingots
SKILLMENU=sm_ingots

ON=i_rock_plain Stone Items
SKILLMENU=sm_items_stone

This works just fine, then I choose to enter the Stone Item menu;

Code:
[SKILLMENU sm_items_stone]
Stone Items

ON=i_sword_viking Weapons
SKILLMENU=sm_weapons_stone
ON=i_bone_chest Armors
SKILLMENU=sm_stonearmor_armor

This works as well, but it is in these two menus the problem appears;

Code:
[SKILLMENU sm_weapons_stone]
Stone Weapons

ON=i_gold Info // <---- THIS WORKS!
sysmessage @025 Stone weapons  // <---- THIS WORKS!
ON=i_stone_dagger <name> (<resmake>)
MAKEITEM=i_stone_dagger
ON=i_stone_sword_broad <name> (<resmake>)
MAKEITEM=i_stone_sword_broad
ON=i_stone_sword_2h <name> (<resmake>)
MAKEITEM=i_stone_sword_2h
ON=i_stone_axe <name> (<resmake>)
MAKEITEM=i_stone_axe
ON=i_stone_axe_large <name> (<resmake>)
MAKEITEM=i_stone_axe_large
ON=i_stone_mace <name> (<resmake>)
MAKEITEM=i_stone_mace
ON=i_stone_maul <name> (<resmake>)
MAKEITEM=i_stone_maul
ON=i_stone_hammer_war <name> (<resmake>)
MAKEITEM=i_stone_hammer_war

[SKILLMENU sm_stonearmor_armor]
Stone Armor

ON=i_gold Info  // <---- THIS WORKS!
sysmessage @025 Stone armors  // <---- THIS WORKS!
ON=i_stone_helm <name> (<resmake>)
MAKEITEM=i_stone_helm
ON=i_stone_chest <name> (<resmake>)
MAKEITEM=i_stone_chest
ON=i_stone_bracers <name> (<resmake>)
MAKEITEM=i_stone_bracers
ON=i_stone_gauntlets <name> (<resmake>)
MAKEITEM=i_stone_gauntlets
ON=i_stone_legguards <name> (<resmake>)
MAKEITEM=i_stone_legguards

Only the two gold coins show in the skillmenu, but no other items does. It did work with the standard blacksmithsystem, where you just dclick on the smith hammer and target i_stone. But not by dclicking on the anvil, according to the script I posted above...

If you have any idea what causes this problem and how to solve it, I'd be most interested in knowing how... otherwise, is there a way to use the standard blacksmith system and implement the "forge lit by coal".
(This post was last modified: 08-10-2014 03:30 AM by Jonaleth.)
08-10-2014 03:28 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Blacksmithing and Skillmenus - Jonaleth - 08-09-2014, 10:34 PM
RE: Blacksmithing and Skillmenus - Skul - 08-10-2014, 01:04 AM
RE: Blacksmithing and Skillmenus - Skul - 08-10-2014, 02:24 AM
RE: Blacksmithing and Skillmenus - Skul - 08-10-2014, 02:52 AM
RE: Blacksmithing and Skillmenus - Jonaleth - 08-10-2014 03:28 AM
RE: Blacksmithing and Skillmenus - Skul - 08-10-2014, 09:35 AM

Forum Jump:


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