Raised This Month: $32 Target: $400
 8% 

[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 03-20-2020 , 13:37   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #961

Quote:
Originally Posted by julianjl View Post
HTML Code:
Unhandled exception. System.AggregateException: One or more errors occurred. (No such file or directory)
---> System.ComponentModel.Win32Exception (2): No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at ASteambot.AutoUpdater.Updater.Update() in C:\Users\Arkarr\Documents\GitHub\ASteambot\SOURCE\ASteambot\AutoUpdater\Updater.cs:line 100
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at ASteambot.Program.Start() in C:\Users\Arkarr\Documents\GitHub\ASteambot\SOURCE\ASteambot\Program.cs:line 151
at ASteambot.Program.Main(String[] args) in C:\Users\Arkarr\Documents\GitHub\ASteambot\SOURCE\ASteambot\Program.cs:line 125
/entrypoint.sh: line 12: 12 Aborted (core dumped) dotnet ASteambot.dll
I think you forget a file in your release ^^

EDIT: This crash disapear when I disable auto updater but this crash occurs after steam connection:
HTML Code:
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at ASteambot.Bot.OnProfileInfo(PersonaStateCallback obj) in C:\Users\Arkarr\Documents\GitHub\ASteambot\SOURCE\ASteambot\Bot.cs:line 589
at SteamKit2.Internal.Callback`1.Run(Object callback)
at SteamKit2.CallbackManager.<>c__DisplayClass10_0.<Handle>b__1(CallbackBase callback)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at SteamKit2.CallbackManager.Handle(ICallbackMsg call)
at SteamKit2.CallbackManager.RunWaitAllCallbacks(TimeSpan timeout)
at ASteambot.Bot.Run() in C:\Users\Arkarr\Documents\GitHub\ASteambot\SOURCE\ASteambot\Bot.cs:line 825
at ASteambot.Manager.Start() in C:\Users\Arkarr\Documents\GitHub\ASteambot\SOURCE\ASteambot\Manager.cs:line 55
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
/entrypoint.sh: line 12: 12 Aborted (core dumped) dotnet ASteambot.dll
You are not using a version that I wrote. I don't provide support for other version. Make sure you download the binaries directly from Github (and not the source code after your edits !).

Link to the very last binaries : https://github.com/Arkarr/ASteambot/releases/latest
__________________
Want to check my plugins ?
Arkarr is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 03-27-2020 , 07:54   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #962

Searching for updates...
Installed version V11 Most up-to-date version V11.2
Log file (SEND_TO_ARKARR.log) generated ! Send it to Arkarr !!
Unhandled exception. System.AggregateException: One or more errors occurred. (No such file or directory)
---> System.ComponentModel.Win32Exception (2): No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess (String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessS tartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStart Info startInfo)
at ASteambot.AutoUpdater.Updater.Update() in C:\Users\Arkarr\Documents\GitHub\ASteambot\SO URCE\ASteambot\AutoUpdater\Updater.cs:line 100
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at ASteambot.Program.Start() in C:\Users\Arkarr\Documents\GitHub\ASteambot\SO URCE\ASteambot\Program.cs:line 151
at ASteambot.Program.Main(String[] args) in C:\Users\Arkarr\Documents\GitHub\ASteambot\SO URCE\ASteambot\Program.cs:line 125
Aborted
Y00k is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 03-27-2020 , 08:08   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #963

Error while fetching country code. Assumed 'en'. Details here :
Faulty country >>> States
Send to Arkarr please!
System.Globalization.CultureNotFoundException : Culture is not supported. (Parameter 'culture')
4096 (0x1000) is an invalid culture identifier.
at System.Globalization.CultureData.GetCultureDa ta(Int32 culture, Boolean bUseUserOverride)
at System.Globalization.RegionInfo..ctor(Int32 culture)
at ASteambot.Translation.CountryCode.<>c.<GetCou ntryCode>b__0_0(CultureInfo x) in C:\Users\Arkarr\Documents\GitHub\ASteambot\SO URCE\ASteambot\Translation\CountryCode.cs:lin e 27
at System.Linq.Enumerable.SelectArrayIterator`2. MoveNext()
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at ASteambot.Translation.CountryCode.GetCountryC ode(Infos sp) in C:\Users\Arkarr\Documents\GitHub\ASteambot\SO URCE\ASteambot\Translation\CountryCode.cs:lin e 28
Y00k is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-27-2020 , 08:27   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #964

First issue has been fixed, update to last version manually.

I am fixing your second issue, but it won't impact ASteambot. It's just a warning.
__________________
Want to check my plugins ?
Arkarr is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 03-29-2020 , 09:27   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #965

Quote:
Originally Posted by Arkarr View Post
First issue has been fixed, update to last version manually.

I am fixing your second issue, but it won't impact ASteambot. It's just a warning.
Thank you so much, but I still have an issue related to MYSQL connection.
Password, name, database, everything is correct. I have tried to create a database again and it still does not work.
Y00k is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 03-29-2020 , 09:28   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #966


Last edited by Y00k; 03-29-2020 at 09:29.
Y00k is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 03-29-2020 , 10:43   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #967

I think the code should create a table instead of a database
That is why a bot can not connect to my database.
Y00k is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-29-2020 , 12:01   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #968

Nah. Wrong password or username. Or connection scope. Make sure that user is allowed to connect from external to localhost, or something like that. It's not related to my code.
__________________
Want to check my plugins ?
Arkarr is offline
Y00k
Junior Member
Join Date: Jan 2018
Old 03-30-2020 , 07:15   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #969

The problem was that I was using a virtual hosting and my hoster does not allow users to create databases remotely. So I just installed MySQL on my VDS and finally, my bot has connected to the DB but servers can not connect to the bot.

When I type "sm plugins reload ASteambot_Core" in console, it shows that a server has connected. However, the bot says: "No servers connected to me :'( !"

sm plugins reload ASteambot_Core
[SM] Plugin [ANY] ASteambot Core reloaded successfully.
ASteambot : DEBUG MODE IS 'OFF'
[ASteambot - Core] - Attempt to connect to xx.xxx.xxx.xxx(my ip):4765 ...
[ASteambot - Core] - CONNECTED to ASteambot.

I do not know what's wrong with it.
Sorry for asking too many questions.

Last edited by Y00k; 03-30-2020 at 07:24.
Y00k is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 03-30-2020 , 11:22   Re: [ANY] ASteambot - Arkarr's Steam bot
Reply With Quote #970

Quote:
Originally Posted by Y00k View Post
The problem was that I was using a virtual hosting and my hoster does not allow users to create databases remotely. So I just installed MySQL on my VDS and finally, my bot has connected to the DB but servers can not connect to the bot.

When I type "sm plugins reload ASteambot_Core" in console, it shows that a server has connected. However, the bot says: "No servers connected to me :'( !"

sm plugins reload ASteambot_Core
[SM] Plugin [ANY] ASteambot Core reloaded successfully.
ASteambot : DEBUG MODE IS 'OFF'
[ASteambot - Core] - Attempt to connect to xx.xxx.xxx.xxx(my ip):4765 ...
[ASteambot - Core] - CONNECTED to ASteambot.

I do not know what's wrong with it.
Sorry for asking too many questions.
I am glad you was able to fix your issue by yourself !!
Now, regarding that second issue, have you followed that video ?

Also, it could be because the connection requires both way to be opened. Not just [game server] --> [ASteambot] but also [ASteambot] --> [Game server]. Probably a firewall or something blocking connection. ASteambot is unable to reach game server. Maybe your game server host does not allow external traffic on port 4765 ?

And you are not asking too many questions, never.
__________________
Want to check my plugins ?

Last edited by Arkarr; 03-30-2020 at 11:24.
Arkarr 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 21:24.


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