Raised This Month: $12 Target: $400
 3% 

[ANY] ASteambot - Arkarr's Steam bot


Post New Thread Reply   
 
Thread Tools Display Modes
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-27-2017 , 16:35   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #491

V 2.1.2 released, check the config file.
__________________
Arkarr is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-28-2017 , 17:54   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #492

I made my own API. You never get better served than by yourself I guess...
__________________
Arkarr is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 09-28-2017 , 21:18   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #493

good job

Last edited by 8guawong; 09-28-2017 at 21:19.
8guawong is offline
drhax9908
Member
Join Date: Oct 2014
Old 09-30-2017 , 19:35   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #494

I encountered a problem with the bot, not sure if it's an api failure, or a server crash causing a bot failure, but my server crashed (it runs a custom gamemode that is prone to crashes due to it being VERY CPU intensive), and I didn't see a bot reconnect when the server came up again, and shortly after, I tried the donation plugin, and the bot crashed. I didn't get a look at the crash error though, so idk what it was, if possible, please try to recreate the crash in a test and see what it is.

EDIT: ........... really arkarr? You updated the config AFTER you updated the bot files. I downloaded the bot BEFORE the config update. THAT left out three configuration settings that were important! It likely caused the crash error, but there's still the possibility of a connection failure related bug. Please try to update the config files on your copy to upload BEFORE you upload the bot. It prevents this stuff from happening. It's also a rookie move to not post updated config files with an update If you need to fix a config file on an already released bot, it's better practice to do a version bump, in this case, if it were my bot, I'd have added the same bot files again, but with added text saying "rev2" without quotes, for every config update on that bot version, i'd increase the revision number by 1, it would be rev3, rev4, rev5, etc. Keep that in mind, it's better practice.

EDIT 2: I managed to get the crash log, AND I witnessed the crash happen. See the text in the spoiler tag

Spoiler

Last edited by drhax9908; 09-30-2017 at 21:15. Reason: crash log update
drhax9908 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-01-2017 , 09:35   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #495

I forgot the mention the config file update, my bad.
Anyway, I found the bug, and I will fix it.
__________________
Arkarr is offline
drhax9908
Member
Join Date: Oct 2014
Old 10-01-2017 , 15:13   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #496

Here's another error from sometime last night, i didn't know it had crashed until i checked around noon Pacific Standard Time today



*************************
10/1/2017 12:24:55 AM (Version 2.1.2 - PUBLIC)
*************************
The request was aborted: The request was canceled.
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadToEnd()
at SteamTrade.SteamMarket.SteamMarket.Fetch(Stri ng url, String method, NameValueCollection data, Boolean ajax, String referer, Boolean fetchError)
at SteamTrade.SteamMarket.SteamMarket.Handle429( String url)
at SteamTrade.SteamMarket.SteamMarket.<>c__Displ ayClass32_0.<ScanMarket>b__0()
at System.Threading.ThreadHelper.ThreadStart_Con text(Object state)
at System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(Executi onContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(Executi onContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
drhax9908 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-01-2017 , 15:23   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #497

Don't worry too much about that, I'm rewritting all this part. It will be cleaner and bug less (Right now, my uptime is 23 houres no crash.)
__________________
Arkarr is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-01-2017 , 17:54   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #498

Fixed lots of bugs, release V 2.2.2, made my API public.

Abuse it and I'll remove it. Definitly. I will stop developing ASteambot.
__________________

Last edited by Arkarr; 10-01-2017 at 17:55.
Arkarr is offline
drhax9908
Member
Join Date: Oct 2014
Old 10-01-2017 , 19:13   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #499

Quote:
Originally Posted by Arkarr View Post
Fixed lots of bugs, release V 2.2.2, made my API public.

Abuse it and I'll remove it. Definitly. I will stop developing ASteambot.
DANG! Was NOT expecting that. You can trust me to not abuse your API. I'll test the bot shortly
drhax9908 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 10-01-2017 , 22:36   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #500

Quote:
Originally Posted by Arkarr View Post
Fixed lots of bugs, release V 2.2.2, made my API public.

Abuse it and I'll remove it. Definitly. I will stop developing ASteambot.
Make the API require a key, e.g. HTTPS calls like this:
Code:
https://api.example.net/getprices/{ITEM_ID}?key={KEY}
and then require people to sign up for a such key.

To keep only active keys, make them expire after e.g. 30 days without use and require re-registration.

Should a specific key abuse the API, e.g. with 1 million queries per day, where the normal is like 100 per day, you can then blacklist that individual key.

Certain "verification" purposes can be added to a registration system, e.g. similar to GSLT's requiring SMS verifiation, or other stuff, to avoid the same person / group from registering thousands of keys, etc.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Reply


Thread Tools
Display Modes

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 08:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode