Jump to content
McKay Development

Recommended Posts

hi,

I am getting this error when i send offer via bot with items from bot inventory-

 There was an error sending your trade offer.  Please try again later. (26)

But when i send offer again via bot with item from other's inventory- it works perfectly fine.

 

Please help me here as way of sending offer is same in both case except itemstogive and itemstoreceive value in offer.

Link to comment
Share on other sites

  • 6 months later...

Error 26 means the item does not exist in that inventory. So you are probably using the wrong asset id

 

 

^^^

 

https://steamerrors.com/26

 

 

Hi!

I'am Serg.

 

I apologize in advance for the bad english ..
Very need your help!
 
I have, for over a week prosihodit a similar situation with the bot - error "26"
 
I started trying to fix.
 
  1. Rechecked all constants - all true.
  2. I've updated to version 2 Trade Manager, slightly corrected by the new specification. However, the error "26" is not lost
  3. The old version of the working code - again, no luck with the "26" ...
 
What happened?
I have panic)
 
 
Maybe something I do not see panic and wonder?)
 
How can I use assetid - is not correct?
 
Here is the code screenshots
 
pVIB0ZYha6U.jpg

 

9BKW1-G8zXU.jpg

 
 
AND Another unsuccessful attempt
 
 

eAO6OlzIxwPdD2.jpg

Link to comment
Share on other sites

It usually helps to print out values of variables when debugging. In this case, I suspect one of appid, contextid, or assetid is undefined or not the value you are expecting.

 

hmm..

 

I am using:

if(winItem && winItem.appid && winItem.contextid && winItem.assetid ){
 newOffer.addMyItem({...})
}
undefined values are discarded...(

 

After work -  I be try to deduce the value ..
But I used and the constants:
 
appid == 730 (csgo)
context id == 2 (csgo)
 
 
 
Maybe data types matter (Number / String) ?
Edited by Vin4er
Link to comment
Share on other sites

Data types shouldn't matter. The module should convert everything internally for you. Are you absolutely sure you're using asset IDs which are owned by the account you're logged into? Maybe you mixed up some accounts?

mm ..
yesterday failed to get to the bot, I will try to check the accounts today. But - I start with this step, because recently bandaged account and keyapi and secrets
Link to comment
Share on other sites

Your asset ID is still wrong.

Yes, Thank you
I began to understand precisely this assetid
 
I found a way to get on the correct asseid obtained in JSON format bot equipment, digging in the property "rgInventory", for ClassID and InstanceID
 
3697d92b7d.jpg
 
 
If I have correctly translated the information from here https://dev.doctormckay.com/topic/332-identifying-steam-items/
 
 
 
 
 
That is what I do - right?
Edited by Vin4er
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...