Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: AC_Drkan on July 05, 2004, 10:09 PM

Title: Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 05, 2004, 10:09 PM
Pretty much the title says it all.

Sealth had a Discussion on his forum about Windows bots.

Any way to emulate a bot to run on a linux server?
Title: Re:Bot Run on a Web Based Linux Server
Post by: iago on July 05, 2004, 10:17 PM
I wrote a bot in Java that can run on a remote server, either Windows or Linux.  See my forum for instructions on how to get it.  Note that I have been in Windows lately, since I've been downloading a lot of stuff, but if you need it off my cvs just aim/msn me and I'll reboot.
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 08:54 AM
Quote from: iago on July 05, 2004, 10:17 PM
I wrote a bot in Java that can run on a remote server, either Windows or Linux.  See my forum for instructions on how to get it.  Note that I have been in Windows lately, since I've been downloading a lot of stuff, but if you need it off my cvs just aim/msn me and I'll reboot.
Is it good at moderation? sorta like stealths? and if so im on your forums and im lost.

and also HOW THE HECK TO I FIND OUT IF THIS A LINUX SERVER????

i says linux when i bought it but it came with a windows database?????
Title: Re:Bot Run on a Web Based Linux Server
Post by: GoSuGaMING on July 06, 2004, 10:37 AM
Quote from: AC_Drkan on July 06, 2004, 08:54 AM
Quote from: iago on July 05, 2004, 10:17 PM
I wrote a bot in Java that can run on a remote server, either Windows or Linux.  See my forum for instructions on how to get it.  Note that I have been in Windows lately, since I've been downloading a lot of stuff, but if you need it off my cvs just aim/msn me and I'll reboot.
Is it good at moderation? sorta like stealths? and if so im on your forums and im lost.

and also HOW THE HECK TO I FIND OUT IF THIS A LINUX SERVER????

i says linux when i bought it but it came with a windows database?????

Well, a Windows webserver (shh, ect) is more expensive than a linux webserver.. so you might have lucked out ^^
Title: Re:Bot Run on a Web Based Linux Server
Post by: iago on July 06, 2004, 11:02 AM
Quote from: AC_Drkan on July 06, 2004, 08:54 AM
Quote from: iago on July 05, 2004, 10:17 PM
I wrote a bot in Java that can run on a remote server, either Windows or Linux.  See my forum for instructions on how to get it.  Note that I have been in Windows lately, since I've been downloading a lot of stuff, but if you need it off my cvs just aim/msn me and I'll reboot.
Is it good at moderation? sorta like stealths? and if so im on your forums and im lost.

and also HOW THE HECK TO I FIND OUT IF THIS A LINUX SERVER????

i says linux when i bought it but it came with a windows database?????

I don't use Stealth's, but mine is decent at moderation.  It still has some bugs that I haven't gotten around to fixing, but eh..

Anyway, to find out if it's Linux, from a commandline type cat /proc/version.  You'll get something like this:
Quotecormorant.cs.umanitoba.ca 101% cat /proc/version
Linux version 2.4.20-31.9 ([email protected]) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Tue Apr 13 18:04:23 EDT 2004
cormorant.cs.umanitoba.ca 102%

Title: Re:Bot Run on a Web Based Linux Server
Post by: Banana fanna fo fanna on July 06, 2004, 11:29 AM
uname -a
or, try changing the case of some of your paths. if you get a 404, it's not windows.
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 12:21 PM
/proc/version
bash: /proc/version: Permission denied

???
CUNFUSED!!???
Title: Re:Bot Run on a Web Based Linux Server
Post by: GoSuGaMING on July 06, 2004, 12:45 PM
Quote from: AC_Drkan on July 06, 2004, 12:21 PM
/proc/version
bash: /proc/version: Permission denied

???
CUNFUSED!!???

Bash is awesome! you can access the webservers configuration files :X
Title: Re:Bot Run on a Web Based Linux Server
Post by: iago on July 06, 2004, 12:58 PM
/proc/version tries to run it, which obviously wouldn't work.

To quote myself:
Quotetype cat /proc/version

Although you told me enough, you ARE on Linux.  But it'll still be interesting to figure out which version.
Title: Re:Bot Run on a Web Based Linux Server
Post by: Banana fanna fo fanna on July 06, 2004, 03:03 PM
Quote from: iago on July 06, 2004, 12:58 PM
/proc/version tries to run it, which obviously wouldn't work.

To quote myself:
Quotetype cat /proc/version

Although you told me enough, you ARE on Linux.  But it'll still be interesting to figure out which version.

Might be on another unix-like OS, you dirty linux zealot.
Title: Re:Bot Run on a Web Based Linux Server
Post by: iago on July 06, 2004, 03:47 PM
Quote from: $t0rm on July 06, 2004, 03:03 PM
Quote from: iago on July 06, 2004, 12:58 PM
/proc/version tries to run it, which obviously wouldn't work.

To quote myself:
Quotetype cat /proc/version

Although you told me enough, you ARE on Linux.  But it'll still be interesting to figure out which version.

Might be on another unix-like OS, you dirty linux zealot.

I don't think he knows or cares the difference between Linux and Unix.  But if it's running Bash, then it's something like that anyway.

Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 08:03 PM
Linux version 2.4.26-grsec-20040415a (root@andi) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP

Whatever that means.....
Title: Re:Bot Run on a Web Based Linux Server
Post by: iago on July 06, 2004, 08:12 PM
Quote from: AC_Drkan on July 06, 2004, 08:03 PM
Linux version 2.4.26-grsec-20040415a (root@andi) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP

Whatever that means.....

Linux 2.4.26 is fairly recent, it's what I use.  But newest is 2.6.7.  In case you care.

If you want to see if my java ops bot would work, type "java -version" and see what comes up.
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 08:23 PM
Quote from: iago on July 06, 2004, 08:12 PM
Quote from: AC_Drkan on July 06, 2004, 08:03 PM
Linux version 2.4.26-grsec-20040415a (root@andi) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP

Whatever that means.....

Linux 2.4.26 is fairly recent, it's what I use.  But newest is 2.6.7.  In case you care.

If you want to see if my java ops bot would work, type "java -version" and see what comes up.

umm help?

> java -version
bash: java: command not found
> java-version
bash: java-version: command not found
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 08:25 PM
1 word....i think i found the light

> exec stealthbot.exe
bash: exec: stealthbot.exe: not found

:)
MEANS that it looked for stealthbot?
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 08:38 PM
> exec Dark.exe
bash: Dark.exe: Permission denied
bash: exec: Dark.exe: cannot execute: Permission denied

is what i got :(
Title: Re:Bot Run on a Web Based Linux Server
Post by: Banana fanna fo fanna on July 06, 2004, 08:40 PM
I think he'd care if he tried to install an RPM on BSD or something.

See if someone has a .NET bot; maybe if they rip out the winforms stuff it'll run on Mono.
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 08:44 PM
Quote from: $t0rm on July 06, 2004, 08:40 PM
I think he'd care if he tried to install an RPM on BSD or something.

See if someone has a .NET bot; maybe if they rip out the winforms stuff it'll run on Mono.

Any Idea where i can find one?
and what is RPM and BSD?
Title: Re:Bot Run on a Web Based Linux Server
Post by: Banana fanna fo fanna on July 06, 2004, 08:50 PM
- ask myndfire hes a .net junkie
- RPM = redhat package manager, used to install software on some distros, BSD = berkeley software distribution, the UC@B implementation of unix.
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 06, 2004, 09:07 PM
Yep found the bot....only problem is its 7.01 mb and i have AOL
AOL SUCKS BIGTIME
Title: Re:Bot Run on a Web Based Linux Server
Post by: Banana fanna fo fanna on July 06, 2004, 09:46 PM
yes it does, as does all dialup
Title: Re:Bot Run on a Web Based Linux Server
Post by: AC_Drkan on July 10, 2004, 08:35 PM
lol
their offering AOL DSL for only $1.05 more. only problem is that you need to have DSL, Cable, or any other highspeed internet service to get it.

now why anyone would want AOL with a High Speed internet i dunno