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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
crafting - my first help request
Author Message
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #1
crafting - my first help request
Cry
i've found nothing similar searching the forum or browsing the wiki...

i've made my custom sets of colored armors and weapons, and cared to specify skillmake amount and resources for each "piece".
after that i edited my poor sphere_skillmenu.scp and everything was totally awsome!
then i thought...man i must craft my first new armor!
so i grabbed my smith hammer near the forge and anvil, set my skills...and with more resources than i needed, started the menu...i've selected my custom armor...and.......nothing...

tried several times...with different part...nothing
i tried to craft a custom weapon...then i tried with a standard iron weapon and armor and shields...nothing at all...

so...i tried using carpentry (untouched and unedited)...same thing...as i select the item to craft nothing happens...

so i've decided to make a test item with a test dialog...everything works fine since i select the item to craft...my char turns to the forge but nothing happens...

what's wrong with my crafts?
(This post was last modified: 12-31-2015 08:35 PM by zottolo.)
12-31-2015 08:32 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: crafting - my first help request
Can you craft normal items?

Also you should post your script, so we can take a look.



PS: This is the wrong section for asking help Tongue
12-31-2015 09:34 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes darksun84's post
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #3
RE: crafting - my first help request
(12-31-2015 09:34 PM)darksun84 Wrote:  PS: This is the wrong section for asking help Tongue

oh god...sorry for that i wasn't thinking when i choose the section Confused


(12-31-2015 09:34 PM)darksun84 Wrote:  Can you craft normal items?

can't craft anything at all, neither normal, neither custom...when i choose something from the skill menu it just do nothing, and i'm also left without any console message...

posting scripts...
example of armor:
Code:
[ITEMDEF i_plate_silver_Chest_female]
DEFNAME=i_plate_silver_Chest_female
NAME=Silver Female Platemail Chest
ID=i_armor_female_plate
TYPE=T_ARMOR
WEIGHT=10
ARMOR=127
REQSTR=120
RESOURCES=25 i_ingot_silver
SKILLMAKE=BLACKSMITHING 50.0
CATEGORY=plate armor mondodisco
SUBSECTION=Silver Platemail
DESCRIPTION=Chest female

ON=@Create
COLOR=0bac

relative lines from skillmenu
Code:
[SKILLMENU sm_colored_armor]
Colored Armor & Shields
ON=i_decorative_armor Silver Armor
SKILLMENU=sm_silver_armor
etc etc...

[SKILLMENU sm_silver_armor]
Silver Armor

ON=i_plate_silver_Chest_female <name> (<resmake>)
MAKEITEM=i_plate_silver_Chest_female

dunno if it can help...because every crafting skill seems to be affected...
(This post was last modified: 01-01-2016 07:02 PM by zottolo.)
01-01-2016 06:42 PM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #4
RE: crafting - my first help request
you need to add FLAGS=SKF_CRAFT to your crafting skills definitions like this;

[SKILL 7]
DEFNAME=SKILL_Blacksmith
KEY=Blacksmithing
TITLE=Blacksmith
FLAGS=skf_craft
PROMPT_MSG=
DELAY=1.0
STAT_STR=95
STAT_INT=15
STAT_DEX=25
BONUS_STR=75
BONUS_DEX=20
BONUS_INT=5
BONUS_STATS=10
ADV_RATE=2.5,50.0,200.0
01-01-2016 07:33 PM
Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #5
RE: crafting - my first help request
(01-01-2016 07:33 PM)azmanomer Wrote:  you need to add FLAGS=SKF_CRAFT to your crafting skills definitions like this;

it worrrrkksss Woot
thank you really much!

i'm think about why i didn't have it before in my skillmenu...
(This post was last modified: 01-01-2016 07:49 PM by zottolo.)
01-01-2016 07:48 PM
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)