Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2009, 12:31 AM
Rabayn
Fire Beetle
 
Join Date: Apr 2009
Location: In a house
Posts: 16
Default Tradeskill combine question.

There are some trade skill combines that ( on live at least ) give you back components on a fail. For example, the combine with the Rusty Sylvan Morning Star in this quest:

http://everquest.allakhazam.com/db/q...tml?quest=2051

However, on combine both the rusty weapon and sharpening stone are being consumed. Using peq rev 628 I looked in the tradeskill_recipe_entries table and found the recipe:
Code:
id    recipe_id   item_id   successcount  failcount  componentcount  iscontainer   
54714 5847        20297     0             1          1               0
54715 5847        12056     0             0          1               0
54716 5847        20300     1             0          0               0
54717 5847        17        0             0          0               1
The sword ( item 20297 above ) has it's failcount set to 1, which to my understanding means on failure it gets returned. But alas, the weapon gets eaten on a failed combine =(. I did confirm this same issue on rev 590 as well. Is my understanding of the failcount wrong and there is no way to return an item on failure or is there something else I need to set or look for?

Thanks for any help you can provide.
Reply With Quote
  #2  
Old 06-14-2009, 01:30 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I my recent experimenst I found a "bug" or "feature" (not even devs can answer this question atm) which prevents return of "return on fail" items

read about it here:

http://www.eqemulator.net/forums/showthread.php?t=28355
Reply With Quote
  #3  
Old 06-14-2009, 07:29 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Did you try creating a separate entry for component count and failure count?
Reply With Quote
  #4  
Old 06-14-2009, 04:15 PM
Rabayn
Fire Beetle
 
Join Date: Apr 2009
Location: In a house
Posts: 16
Default

Quote:
Did you try creating a separate entry for component count and failure count?
That did the trick. Several combines are defined like this in the peq database, so I will have to do a few spot updates. Thanks!
Reply With Quote
  #5  
Old 06-14-2009, 04:37 PM
Rabayn
Fire Beetle
 
Join Date: Apr 2009
Location: In a house
Posts: 16
Default

From tradeskills.cpp this appears to be due to this query:

Code:
//Pull the on-fail items...
	qlen = MakeAnyLenString(&query, "SELECT item_id,failcount FROM tradeskill_recipe_entries"
	 " WHERE failcount>0 AND componentcount=0 AND recipe_id=%u", recipe_id);
Being new to the code base, I guess I have to ask is there any reason we can't remove the componentcount=0 restriction as it appears on the surface to be a little unnecessary?
Reply With Quote
  #6  
Old 06-14-2009, 08:10 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I want to point out that in my DB comdines with retun on fail work fine having a single entry for both component and fail - and they work just fine
Reply With Quote
  #7  
Old 06-15-2009, 01:33 AM
Rabayn
Fire Beetle
 
Join Date: Apr 2009
Location: In a house
Posts: 16
Default

After getting my little build laptop up after it's hard drive became a statistic, I was able to determine that, in my case at least, changing the above query fixes my issue.

Quote:
I want to point out that in my DB comdines with retun on fail work fine having a single entry for both component and fail - and they work just fine
Unless there are other code paths that retrieve recipe items, I'm at a loss as to how you are working and I am not. /shrug ... =)
Reply With Quote
  #8  
Old 06-15-2009, 02:04 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

it is posible that SOME of the recepies in PEQ DB may have been slightly screwed up.

the thting is that I have wiped my TS tables clean and making my own recepies from the scratch using George TS editor (using Rev 535), and the editor only adds a SINGLE line for component, fail and succes - if its the same item- think smithing hammer which is always returned

and as i said they all working fine in game
Reply With Quote
  #9  
Old 06-15-2009, 01:43 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The PEQ team fixes tradeskill recipes daily, so yeah undoubtedly many are still left broken/need tweaking. If you find any, please post them over at PEQ so we can fix them: http://www.projecteq.net/phpBB2
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:55 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3