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

[ANY] ASteambot - Arkarr's Steam bot


Post New Thread Reply   
 
Thread Tools Display Modes
drhax9908
Member
Join Date: Oct 2014
Old 10-01-2017 , 23:42   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #501

I think the bot has a bug, I was testing the donation plugin, it seems the points callback never made it back to the donation plugin, or never fired at all, no points were added by it. Also, i was using zephyrus store as a store plugin, and the donation module was linked to it with the command setting
drhax9908 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-02-2017 , 02:27   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #502

@arne1288

Yeah, I know how a web api work ;) ! I'm actually providing an API key.
I'm actually doing this, without the registration part nor the timeout/limit query day.

Check the houre I released the version 2.2.2. I'll finish the json server probably today or tomorrow, so it will include security.
Quote:
Originally Posted by drhax9908 View Post
I think the bot has a bug, I was testing the donation plugin, it seems the points callback never made it back to the donation plugin, or never fired at all, no points were added by it. Also, i was using zephyrus store as a store plugin, and the donation module was linked to it with the command setting
Make sure you are using the last available ASteambot version. (Currently : 2.2.2)
And check the bot's config file.

Make sure you have the last version of donation module.

Then do the following :
1) StartASteambot
2) Wait a few seconds, until the bot is sucessfully logged on steam.
3) Start your server
4) Wait a few minutes, 1-2 mins for exemple, until the bot refresh his prices
5) In game server chat, write "!donate"
6) Does a menu pop-up ? If yes, select your items, validate with 'OK' (last option in the menu)
7) A message in the chat should pop-up
Wait a few seconds, 10-15 sec.
9) Check your trade offers, accept or refuse the one created by the bot.
10) STAY ON SERVER and wait about 60 seconds (that's the maximum ammount you have to wait to get a confirmation)

It's not istant because I can only do trade offer checks every X minutes, otherwise steam block the bot.

ALSO: LOGS! Give me the logs. From ASteambot and game server.
__________________
Want to check my plugins ?

Last edited by Arkarr; 10-02-2017 at 02:28.
Arkarr is offline
drhax9908
Member
Join Date: Oct 2014
Old 10-02-2017 , 02:56   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #503

Quote:
Originally Posted by Arkarr View Post
Make sure you are using the last available ASteambot version. (Currently : 2.2.2)
And check the bot's config file.

Make sure you have the last version of donation module.

Then do the following :
1) StartASteambot
2) Wait a few seconds, until the bot is sucessfully logged on steam.
3) Start your server
4) Wait a few minutes, 1-2 mins for exemple, until the bot refresh his prices
5) In game server chat, write "!donate"
6) Does a menu pop-up ? If yes, select your items, validate with 'OK' (last option in the menu)
7) A message in the chat should pop-up
Wait a few seconds, 10-15 sec.
9) Check your trade offers, accept or refuse the one created by the bot.
10) STAY ON SERVER and wait about 60 seconds (that's the maximum ammount you have to wait to get a confirmation)

It's not istant because I can only do trade offer checks every X minutes, otherwise steam block the bot.

ALSO: LOGS! Give me the logs. From ASteambot and game server.
I AM using the latest bot, and I was waiting for five minutes AFTER confirmation, still nothing. There was also no sourcemod error for that, so idk what the issue was. Also, the bot crashed at some point today within the last 4 hours, but idk if it was related. Here's the log for the crash in a spoiler tag

Spoiler
drhax9908 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-02-2017 , 03:09   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #504

Quote:
Originally Posted by drhax9908 View Post
I AM using the latest bot, and I was waiting for five minutes AFTER confirmation, still nothing. There was also no sourcemod error for that, so idk what the issue was. Also, the bot crashed at some point today within the last 4 hours, but idk if it was related. Here's the log for the crash in a spoiler tag

Spoiler
It his related. Always share the logs.
I'll fix it.
__________________
Want to check my plugins ?
Arkarr is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-02-2017 , 04:20   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #505

Couldn't reproduce the bug. Also, make sure that the game server got his server ID from ASteambot.
To do that, wait until the bot is sucessfully logged into steam (You can see him online), and write :
sm plugins reload ASteambot_Core
In the game server console
__________________
Want to check my plugins ?
Arkarr is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-02-2017 , 13:29   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #506

Updated to V 2.3.0, CHECK THE NEW CONFIG FILE !
__________________
Want to check my plugins ?

Last edited by Arkarr; 10-02-2017 at 13:30.
Arkarr is offline
drhax9908
Member
Join Date: Oct 2014
Old 10-02-2017 , 14:38   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #507

Quote:
Originally Posted by Arkarr View Post
Updated to V 2.3.0, CHECK THE NEW CONFIG FILE !
your api key adding sql script is spewing sql info on the page itself, when i generated a key, i saw this:

>>>>> **CENSORED BY DRHAX9908**
SELECT * FROM apikeys WHERE IP="**CENSORED BY DRHAX9908**"

INSERT INTO apikeys (IP, lastconnection, connectioncount, apikey) VALUES ("**CENSORED BY DRHAX9908**", 0, 0, "**CENSORED BY DRHAX9908**")

Last edited by drhax9908; 10-02-2017 at 18:43. Reason: ... f*** me, missed one item to censor
drhax9908 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-02-2017 , 14:55   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #508

Yeah, I saw. Doesn't matter too much. It's your public IP.
I can't get my php to write on database from OUTSIDE of localhost. Strange.

EDIT:
STUPID ME! Fixed. God damn 'nux permissions.
__________________
Want to check my plugins ?

Last edited by Arkarr; 10-02-2017 at 15:25.
Arkarr is offline
drhax9908
Member
Join Date: Oct 2014
Old 10-02-2017 , 16:39   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #509

Quote:
Originally Posted by Arkarr View Post
Yeah, I saw. Doesn't matter too much. It's your public IP.
I can't get my php to write on database from OUTSIDE of localhost. Strange.

EDIT:
STUPID ME! Fixed. God damn 'nux permissions.
you do realize that database info CAN technically be abused by sql injection by a hacker? you might want to patch that if you haven't, as the table names could be used by an injection program or script.


EDIT: I know how annoying linux permissions can be. They have caused me MANY bothersome issues over the years. And when dealing with web servers... well, they can cause website crashes on occasion.

EDIT 2: I noticed you are using a dyndns hostname, if that ip points to an ip on your home network, I HIGHLY advise you to move it to a VPS, and if it IS on a vps, i also recommend buying a cheap domain name, and set it's name servers to cloudflare, but also sign up on cloudflare to use it, that way you can get ddos protection.

Last edited by drhax9908; 10-02-2017 at 18:52. Reason: info regarding dyndns
drhax9908 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 10-03-2017 , 01:25   Re: [ANY] ASteambot - Arkarr's Steambot
Reply With Quote #510

Calm down.
All user input are verified, there isn't a lot of them (3 to be exact), no sql injection possible.

Also, as soon as I notice that someone is trying to do harm, I'll close everything. I have no time for such things.

I can't buy anything, since I have not enough money (really).

EDIT: JSON server down for an houre or two, I'll try to improve respons time.

EDIT2: Forgot to remind you, the server is back up, query are now about 1.5X faster !
__________________
Want to check my plugins ?

Last edited by Arkarr; 10-03-2017 at 03:34.
Arkarr is offline
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:15.


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