Problem with starting on VPS

Gesperrt
pekkal
Beiträge: 3
Registriert: Mi 8. Mär 2017, 17:45
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Problem with starting on VPS

Beitrag von pekkal »

Hello.
So, I have a problem with starting MFBot on VPS. When I downloaded file MFBot_4631_Konsole_x86_64, I uploaded Acc.ini generated on my computer (I uploaded it to the same folder, where I've downloaded bot previously). Then I gave chmod a+x, and when I launched it with command ./MFBot_4631_Konsole_x86_64, it threw this error (full log of what I was doing on my VPS, so you can see if I missed something). My machine: Debian 7.11 x64, 512 RAM, 20GB SSD, 1TB bandwidth, 1 CPU.

Thanks in advance and sorry if my English is bad, I'm from Poland.

EDIT: I just realized that code here is really hard to read, so I've pasted it here: http://wklej.org/id/3059255/
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Problem with starting on VPS

Beitrag von Robin »

Hi Pekkal!
We need some information about your mono installation, for that, could you please post the output of

Code: Alles auswählen

mono --version
?

Regards,
Robin
Folgende Benutzer bedankten sich beim Autor Robin für den Beitrag:
pekkal (Mi 8. Mär 2017, 18:33)
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
pekkal
Beiträge: 3
Registriert: Mi 8. Mär 2017, 17:45
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Re: Problem with starting on VPS

Beitrag von pekkal »

Hello,
mono command not found, so I missed something? :D

edit: installed mono-complete, mono --version is here: http://wklej.org/id/3059291/
edit2: now it works, thank you very much for help :D
Zuletzt geändert von pekkal am Mi 8. Mär 2017, 18:32, insgesamt 1-mal geändert.
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Problem with starting on VPS

Beitrag von Robin »

Hi!
Yeah, for running the bot on linux servers you need to install the mono runtime, just with

Code: Alles auswählen

sudo apt-get install mono-runtime
This should install the required libraries and environment :-)

Regards,
Robin
Folgende Benutzer bedankten sich beim Autor Robin für den Beitrag:
pekkal (Mi 8. Mär 2017, 18:33)
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
pekkal
Beiträge: 3
Registriert: Mi 8. Mär 2017, 17:45
Hat sich bedankt: 2 Mal
Danksagung erhalten: 1 Mal

Re: Problem with starting on VPS

Beitrag von pekkal »

pekkal hat geschrieben: Mi 8. Mär 2017, 18:27 Hello,
mono command not found, so I missed something? :D

edit: installed mono-complete, mono --version is here: http://wklej.org/id/3059291/
edit2: now it works, thank you very much for help :D
edit// oh, and now I don't know how to add my sfgame account to bot on linux
nextedit// I'm stupid, it has been added (acc.ini)... :D
now you can close the case :D
Folgende Benutzer bedankten sich beim Autor pekkal für den Beitrag:
Robin (Mi 8. Mär 2017, 18:45)
Gesperrt

Wer ist online?

Mitglieder in diesem Forum: C#-Bot [Bot], YandexBot [Bot] und 1 Gast