Quote:
Originally Posted by Arkarr
DDNS shouldn't be a problem :
Also, for your connection problem :
0) Make sure you have opened the correct port (asteambot_core.cfg) in your machine that host ASteambot !
1) Start the bot, make sure he is sucessfully logged (wait until you can make an input)
2) Edit the IP in the config file /cfg/asteambot/asteambot_core.cfg :
Code:
// The ip of the server where the steambot is hosted.
// -
// Default: "XXX.XXX.XXX.XXX"
sm_asteambot_server_ip "raspberrypimaison.ddns.net"
3) (Re)start the game server. Once it's started, write :
sm plugins reload ASteambot_Core
Give me the output. It's either a connection sucess or a error code wich will help me to tell you what to do next.
Oh and I fixed the bug you mentionned above, thanks.
|
I'll try that right now.
Meanwhile, I logged into my rpi and noticed the bot has crashed:
PHP Code:
*************************
11/22/2017 12:03:54 AM (Version 2.8.0 - PUBLIC)
*************************
-2146233033mscorlib
Void StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
Input string was not in a correct format.
at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <6e241547b2184f08b8370f11a198586d>:0
at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00015] in <6e241547b2184f08b8370f11a198586d>:0
at System.Int32.Parse (System.String s) [0x00007] in <6e241547b2184f08b8370f11a198586d>:0
at ASteambot.HandleSteamChat.ExecuteServerCommand (SteamKit2.SteamID partenar, System.String message) [0x00011] in <b866fefa5331476181a47ed06996d9b9>:0
at ASteambot.HandleSteamChat.HandleMessage (SteamKit2.SteamID partenar, System.String message) [0x000ba] in <b866fefa5331476181a47ed06996d9b9>:0
at ASteambot.Bot.OnSteamFriendMessage (SteamKit2.SteamFriends+FriendMsgCallback callback) [0x00038] in <b866fefa5331476181a47ed06996d9b9>:0
at SteamKit2.Callback`1[TCall].Run (System.Object callback) [0x0004c] in <9c7649488e094f368568005a612cd0ee>:0
at SteamKit2.CallbackManager+<>c__DisplayClass11_0.<Handle>b__1 (SteamKit2.Internal.CallbackBase callback) [0x00000] in <9c7649488e094f368568005a612cd0ee>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <6e241547b2184f08b8370f11a198586d>:0
at SteamKit2.CallbackManager.Handle (SteamKit2.ICallbackMsg call) [0x00024] in <9c7649488e094f368568005a612cd0ee>:0
at SteamKit2.CallbackManager.RunWaitAllCallbacks (System.TimeSpan timeout) [0x0001c] in <9c7649488e094f368568005a612cd0ee>:0
at ASteambot.Bot.Run () [0x0001c] in <b866fefa5331476181a47ed06996d9b9>:0
at ASteambot.Manager.Start () [0x00046] in <b866fefa5331476181a47ed06996d9b9>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <6e241547b2184f08b8370f11a198586d>:0
*************************
11/22/2017 12:32:41 AM (Version 2.8.0 - PUBLIC)
*************************
-2146233033mscorlib
Void StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
Input string was not in a correct format.
at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <6e241547b2184f08b8370f11a198586d>:0
at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00015] in <6e241547b2184f08b8370f11a198586d>:0
at System.Int32.Parse (System.String s) [0x00007] in <6e241547b2184f08b8370f11a198586d>:0
at ASteambot.HandleSteamChat.ExecuteServerCommand (SteamKit2.SteamID partenar, System.String message) [0x00011] in <b866fefa5331476181a47ed06996d9b9>:0
at ASteambot.HandleSteamChat.HandleMessage (SteamKit2.SteamID partenar, System.String message) [0x000ba] in <b866fefa5331476181a47ed06996d9b9>:0
at ASteambot.Bot.OnSteamFriendMessage (SteamKit2.SteamFriends+FriendMsgCallback callback) [0x00038] in <b866fefa5331476181a47ed06996d9b9>:0
at SteamKit2.Callback`1[TCall].Run (System.Object callback) [0x0004c] in <9c7649488e094f368568005a612cd0ee>:0
at SteamKit2.CallbackManager+<>c__DisplayClass11_0.<Handle>b__1 (SteamKit2.Internal.CallbackBase callback) [0x00000] in <9c7649488e094f368568005a612cd0ee>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <6e241547b2184f08b8370f11a198586d>:0
at SteamKit2.CallbackManager.Handle (SteamKit2.ICallbackMsg call) [0x00024] in <9c7649488e094f368568005a612cd0ee>:0
at SteamKit2.CallbackManager.RunWaitAllCallbacks (System.TimeSpan timeout) [0x0001c] in <9c7649488e094f368568005a612cd0ee>:0
at ASteambot.Bot.Run () [0x0001c] in <b866fefa5331476181a47ed06996d9b9>:0
at ASteambot.Manager.Start () [0x00046] in <b866fefa5331476181a47ed06996d9b9>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <6e241547b2184f08b8370f11a198586d>:0
*************************
11/22/2017 10:58:24 AM (Version 2.8.0 - PUBLIC)
*************************
-2147024882
Out of memory
at (wrapper alloc) System.Object:AllocVector (intptr,intptr)
at System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) [0x00021] in <6e241547b2184f08b8370f11a198586d>:0
at System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) [0x00036] in <6e241547b2184f08b8370f11a198586d>:0
at System.Collections.Generic.List`1[T].Add (T item) [0x00010] in <6e241547b2184f08b8370f11a198586d>:0
at ASteambot.Manager.Start () [0x0005a] in <b866fefa5331476181a47ed06996d9b9>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <6e241547b2184f08b8370f11a198586d>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <6e241547b2184f08b8370f11a198586d>:0
But I'll update to 2.8.1 first and see if that error happens again.
How do I download the 2.8.1 folder ONLY from GitHub? I can only download each of the files contained in it, one by one :/ and I don't really want to DL all the versions every time xD
Also, when you release these updates, should I just download the new .exe or everything (DLLs etc)?
EDIT: ok so I've followed the steps and noticed that I had
sm_steambot_server_ip
Instead of that
sm_
asteambot_server_ip
that you wrote.
Same for the other commands, ports, password, etc. Should they all be "steambot"?
Anyway, I've reloaded the plugin and all the CSGO server console said is:
PHP Code:
L 11/22/2017 - 11:59:09: rcon from "87.13.91.183:60282": command "echo Welcome user!"
[SM] Plugin [ANY] ASteambot Core reloaded successfully.
If I run testtcp on the steambot on my rpi, it still says 0 connected servers.
P.S.: having two similar commands like these is quite confusing.. do we need both?
PHP Code:
] sm_asteambot_server_ip
"sm_asteambot_server_ip" = "xxx.ddns.net" ( def. "XXX.XXX.XXX.XXX" ) - The ip of the server where the steambot is hosted.
L 11/22/2017 - 12:00:36: rcon from "87.13.xxxxxxx": command "sm_asteambot_server_ip"
] sm_steambot_server_ip
"sm_steambot_server_ip" = "87.13.91.xxx" ( def. "XXX.XXX.XXX.XXX" ) - The ip of the server where the steambot is hosted.
L 11/22/2017 - 12:00:40: rcon from "87.13.xxxxxx": command "sm_steambot_server_ip"
__________________