AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] ASteambot - Arkarr's Steam bot (https://forums.alliedmods.net/showthread.php?t=273091)

Arkarr 10-13-2015 17:16

Re: [ANY] Steambot
 
Quote:

Originally Posted by skinheadxtreme (Post 2352752)
[...]

I wrote a very light / small plugin here wich display what the bot can do now.
Quote:

Originally Posted by abrandnewday (Post 2352754)
[...]

Well, I understand your idea, and it can yet be done but not in a very efficient way. I will create your request tomorrow, as my 2nd plugin using this bot.
You can also give a look at the exemple plugin (wich does exactly what you want but give credits points instend of VIP acces)

Anyway guys, HUDGE update tomorrow (for the bot AND the interface), also more clear informations and how to use it (it's kinda messy now.)

404UserNotFound 10-13-2015 17:17

Re: [ANY] Steambot
 
Quote:

Originally Posted by Arkarr (Post 2352785)
Well, I understand your idea, and it can yet be done but not in a very efficient way. I will create your request tomorrow, as my 2nd plugin using this bot.

You won't be doing this for free either bud, I'll toss some cash your way as compensation for such a task.

(Monies sent!)

Arkarr 10-13-2015 17:26

Re: [ANY] Steambot
 
Quote:

Originally Posted by abrandnewday (Post 2352788)
You won't be doing this for free either bud, I'll toss some cash your way as compensation for such a task.

(Monies sent!)

God... I mean, thanks ! Like, really, thank you ! But the really best part in that, is that you can see your work appreciated (I guess :3), thank you, thank you very much ! Also, feel free to give me any advice / ideas you got.

Now, I need to take a nap... See ya !
I will try to release this plugin in about 6-7 houres.

404UserNotFound 10-13-2015 17:49

Re: [ANY] Steambot
 
Am I meant to change ""Admins": ["234567"]," in the settings.json file?

And for MySteamID, is that the SteamID64 or "STEAM_0:0:00000000" ID?

EDIT: I'm a doofus, it's the "STEAM_" one. Also, SteamBotInterface.exe just freezes and crashes. I'd love to get the errors in the command prompt screen for you but that also freezes and crashes before I can resize the window and get a snapshot.

EDIT 2: Compatibility mode set to XP allowed me to resize the command prompt window and see that the error lies in trying to connect to my database (which may not work from my desktop because my database is on my VPS). So at least now I know what the problem is.

Arkarr 10-14-2015 02:42

Re: [ANY] Steambot
 
Quote:

Originally Posted by abrandnewday (Post 2352797)
Am I meant to change ""Admins": ["234567"]," in the settings.json file?

And for MySteamID, is that the SteamID64 or "STEAM_0:0:00000000" ID?

EDIT: I'm a doofus, it's the "STEAM_" one. Also, SteamBotInterface.exe just freezes and crashes. I'd love to get the errors in the command prompt screen for you but that also freezes and crashes before I can resize the window and get a snapshot.

EDIT 2: Compatibility mode set to XP allowed me to resize the command prompt window and see that the error lies in trying to connect to my database (which may not work from my desktop because my database is on my VPS). So at least now I know what the problem is.

It should definitly be the database connection wich fail, it's the first thing I'm trying to do before lauching the bot. Also, there is a try{}catch(Console.WriteLine()) so you should be able to see the error message, or I can add a line in the log files as well...

But, please, don't download the bot now, I'm going to release a update.

Also, help about configuration field could be found here
The admin param isn't needed, since I don't use it on my UserHandler class.

Arkarr 10-14-2015 06:23

Re: [ANY] Steambot
 
I hate to double message but...
UPDATE YOUR STEAMBOT WITH THE LAST ARCHIVE !

I added a way for developper to order the bot to create trade offer with any Steam user.
Also, totally rewrited the TCP server part.

Oh and you can type "LIST" when you chat with the bot to see his inventory (only work if you are the admin, "MySteamID" in settings.json)

Schpraaankiii 10-14-2015 12:41

Re: [ANY] Steambot
 
Hey, Using Windows 10 the BOT Crashes on start. Maybe I've missed somethin, idk!? :S
This is the console output: http://pastebin.com/aZ4V3BU1

Also tested on Windows 2012 Server R2 where the Console just shuts down with no display msg or any windows error dialog.
I must have missed something ?

Arkarr 10-14-2015 13:04

Re: [ANY] Steambot
 
Quote:

Originally Posted by Schpraaankiii (Post 2353018)
Hey, Using Windows 10 the BOT Crashes on start. Maybe I've missed somethin, idk!? :S
This is the console output: http://pastebin.com/aZ4V3BU1

Also tested on Windows 2012 Server R2 where the Console just shuts down with no display msg or any windows error dialog.
I must have missed something ?

That's because of your database settings, double check them !
Please, give us some feedback. Did it worked now ?

EDIT:
OH MY GOD! I just noticed that I hard coded the database, my bad. It should be fixed now, really sorry.

Arkarr 10-14-2015 13:51

Re: [ANY] Steambot
 
I hate to double message (again)but...
UPDATE YOUR STEAMBOT WITH THE LAST ARCHIVE !
I fixed some database errors also printed the message nicely + fixed the startup crash.

Spyrek 10-14-2015 14:35

Re: [ANY] Steambot
 
What aboout mono for linux users? Does it compile with success?
You can always use node js bots for windows and linux, not sure about osx.


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

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