Clan x86
Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Dan on May 20, 2008, 07:03:56 pm
-
Hello all
I am having problems with getting JavaOp to work without a gui, I have had JavaOp before but that was on a windows machine.
This is on a shell, no matter what I try to do, it will not find the plugins, it trys to open the gui to navigate to the plugin folder.
Java is installed, and I have also tried looking on these boards for answers but none really.
Any ideas?
dan@Nekron:~/Desktop/Core$ java -jar CommandlineConfiguration.jar
Unable to find any plugins.
Please download the plugin package from
http://www.javaop.com/download.html
and extract them somewhere. You will be prompted to find them.
(.:15245): Gtk-WARNING **: cannot open display:
-
Does it display anything after that? I thought I set it so, if it couldn't find the gui, it would automatically prompt you on the shell?
If it doesn't, run this:
echo "/path/to/plugins" >> ~/.javaop2/_PluginPaths.txt
Then run the bot.
-
Ok, that worked thank you, it didn't prompt me to enter in the path in, but that echo thing worked.
now, how do I set the bnls server by command line? I got everything else done
nvm got it, thanks for the support
-
Ok, now my problem is getting the JavaOp to stay connected when I close the putty window, is there a command I give it to run in the background or something, and I can safely close my putty window and have the bot stay connected?
Thanks
-
Learn how to use "screen". Here is a quick rundown, but I suggest learning it good:
1. Run "screen" (starts a "screen" session)
2. Run the bot
3. Close the putty window (detaches the "screen" session)
4. If you need access to the bot, run "screen -r" (-r = resume)
-
It might be worth mentioning that Ctrl + a d detaches the session (you press ctrl + a, let go of those keys and press d) without killing the terminal.
-
ah yes, screen, I remember that, how do I quit the bot after I put it on screen though?
I can resume fine but can't seem to quit the bot.
I don't want to use the battle.net commands to do it, I want to use console.
Thanks
-
If you run screen --help it should tell you how to kill a session.
Wait.. I'm on Linux. Sec!
Hm, Ctrl+C on a resumed screen seemed to kill it. How to make the bot QUIT, I'm not sure from the console. Maybe just /quit?
-
Log into the server, resume screen like I said, kill the bot with control-c, exit screen with "exit"
-
Log into the server, resume screen like I said, kill the bot with control-c, exit screen with "exit"
If you run screen with the command you use to launch the bot, it'll shut itself down when the bot is closed (assuming you haven't launched any other programs in that screen session).
example:
$ screen "java -jar ./iagosbot.jar"
-
is it possible to have more than one screen going?
-
is it possible to have more than one screen going?
Yes, but screen -r won't work, since you'll have more than one session. To resume, you can either use screen -R, which will resume the first detached session it comes across, or you can do the following.
screen -ls will list all of the screen sessions. I forget exactly how they're formatted, but I'm pretty sure it's something like PID.somecrap. If you name the session, done with screen -t name when you're launching screen, then you can do screen -r name. Otherwise, do screen -r PID.
-
ohh ok, Thanks guys.
-
It might be worth mentioning that Ctrl + a d detaches the session (you press ctrl + a, let go of those keys and press d) without killing the terminal.
You don't actually have to let go of ctrl; it works both ways.
-
It might be worth mentioning that Ctrl + a d detaches the session (you press ctrl + a, let go of those keys and press d) without killing the terminal.
You don't actually have to let go of ctrl; it works both ways.
Great, but that's pretty much irrelevant.
-
It might be worth mentioning that Ctrl + a d detaches the session (you press ctrl + a, let go of those keys and press d) without killing the terminal.
You don't actually have to let go of ctrl; it works both ways.
Great, but that's pretty much irrelevant.
So's your post, troll!
-
It might be worth mentioning that Ctrl + a d detaches the session (you press ctrl + a, let go of those keys and press d) without killing the terminal.
You don't actually have to let go of ctrl; it works both ways.
Great, but that's pretty much irrelevant.
So's your post, troll!
he's more like troll in training
through my infinite wisdom i've turned him into a troll against his own wishes
btw, happy Topaz Week.
-
It might be worth mentioning that Ctrl + a d detaches the session (you press ctrl + a, let go of those keys and press d) without killing the terminal.
You don't actually have to let go of ctrl; it works both ways.
I know, but I specified to avoid having to answer that question in the future.