Page 1 of 1

craft (archemy) problem

PostPosted: Sat Dec 13, 2014 11:42 pm
by whria78
SVN 3388, client 1.109

Alchemy -> Healing potions -> weak elixir of healing

albion : success
midgard : fail
hibernia : fail

As the screenshot below, albion character can make the potion, but both mid & hib cannot.

Even though I click the quick bar (mid & hib) , no response. no message from the server.

I tried to make it with GM(Admin) account, it always make no response, no message.

all kinds of healing potions are not maden in Hib & Mid.
Untitled-1 copy.jpg
Untitled-1 copy.jpg (519.43 KiB) Viewed 1477 times

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 12:45 am
by whria78
I try to debug.

In case of hibernia character,
Code: Select all
public override bool IsAllowedToCraft(GamePlayer player, ItemTemplate item) { return player.Realm == (eRealm)item.Realm || (item.Realm == 0 && ServerProperties.Properties.ALLOW_CRAFT_NOREALM_ITEMS); }
player.Realm -> hibernia
item.realm -> midgard


item.realm should be hibernia. so IsAllowedToCraft return "FALSE"

Is it DataBase problem ?

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 7:16 am
by Leodagan
Yes all craft recipes are in database...

Recipes ID are hardcoded in Client, you have to match them with your Data Records...

I don't think anyone ever succeed in providing a full working export of a Crafted Item Table (even Storm still have some bug I think)

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 8:17 am
by whria78
In case of greater inhibiting poison (alchemy -> poisons -> )

right click (INFO) -> greater inhibiting poison (correct salvage list of greater inhibiting poison)
quickbar -> greater inhibiting poison

but when when i click quickbar to make it,

The system shows,

the salvages and success message of THE MAJOR TOXIC VENOM , and the salvage list of THE MAJOR TOXIC VENOM

Why this mismatch occr ?
aaa.jpg
aaa.jpg (91.91 KiB) Viewed 1466 times

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 8:43 am
by whria78
And another problem.

Even GM(ADMIN) account cannot craft sigi marked lamelalar sleeves ( 0% )

Which part should I look up to fix these problem ? source code ? or DB ?

bbbb.jpg
bbbb.jpg (68.05 KiB) Viewed 1460 times

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 2:25 pm
by whria78
( 0% )
table crafteditem
-->
CraftingSkillType : 11 (tailoing) -> 2 (armocrafting)

It was DB table problem..
Code: Select all
UPDATE `crafteditem` SET CraftingSkillType=2 WHERE `Id_nb` LIKE '%Sigil_Marked_Lamellar_%';

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 2:48 pm
by whria78
I try to debug...

for greater inhibiting poison

MakeProductHandler.cs

ushort ItemID = packet.ReadShort();
client.Player.CraftItem(ItemID);

//
ItemID return 624 in case of Albion . --> correct (greater inhibiting poison)
ItemID return 14621 in case of Hibernia --> incorrect !!! ( MAJOR TOXIC VENOM )

I dont understand the situation .. but It returns incorrect value when I played hibernia character. :P

Re: craft (archemy) problem

PostPosted: Sun Dec 14, 2014 8:16 pm
by Graveen
yes it is a bug