craft (archemy) problem

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

craft (archemy) problem

Postby whria78 » Sat Dec 13, 2014 11:42 pm

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 1476 times
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: craft (archemy) problem

Postby whria78 » Sun Dec 14, 2014 12:45 am

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 ?
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: craft (archemy) problem

Postby Leodagan » Sun Dec 14, 2014 7:16 am

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)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: craft (archemy) problem

Postby whria78 » Sun Dec 14, 2014 8:17 am

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 1465 times
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: craft (archemy) problem

Postby whria78 » Sun Dec 14, 2014 8:43 am

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 1459 times
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: craft (archemy) problem

Postby whria78 » Sun Dec 14, 2014 2:25 pm

( 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_%';
Last edited by whria78 on Sun Dec 14, 2014 2:49 pm, edited 1 time in total.
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: craft (archemy) problem

Postby whria78 » Sun Dec 14, 2014 2:48 pm

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
User avatar
whria78
Contributor
 
Posts: 128
Joined: Fri Sep 21, 2007 11:27 pm

Re: craft (archemy) problem

Postby Graveen » Sun Dec 14, 2014 8:16 pm

yes it is a bug
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12661
Joined: Fri Oct 19, 2007 9:22 pm
Location: France


Return to “%s” Support

Who is online

Users browsing this forum: Google [Bot] and 0 guests