Hey there
I was wondering if there's a way to close openkore instead of showing up errors like "press enter..." and "timeout.."
doing so I can setup a routine to keep reopening the application instead of pressing "enter" or so
thanks in advance
Closing openkore instead of showing errors
Moderator: Moderators
Re: Closing openkore instead of showing errors
I can only help with this on Linux/Unix and most derivatives. Something like...
...or even better...
You can get grep, cat, awk, and kill for Windows, though.
Code: Select all
pe -e | grep ([0-9]+) perl.*? | kill -9
Code: Select all
alias killps="awk '// { print \$2 }' | xargs kill"
ps -ef | grep perl | grep -v grep | killps
cs : ee : realist
Re: Closing openkore instead of showing errors
ErrorHandler.pm
remove line 132 or make it a comment
how to restart it?
i dont know
MAYBE... like this
filename of the shortcut you're using for the bot
is the same name with your username
i.e. iamanoob.lnk (shortcut's name)
username iamanoob (value in config.txt)
replace line 132 with
works AS LONG as your shortcut (.lnk) name is the SAME with your username
hope this helps
also.. post on how you would restart your start.exe
either with a batch file or a script or i don't know XD
Code: Select all
if (open(F, ">:utf8", "errors.txt")) {
print F $log;
close F;
}
showError($display);
exit 9;
}
how to restart it?
i dont know
MAYBE... like this
filename of the shortcut you're using for the bot
is the same name with your username
i.e. iamanoob.lnk (shortcut's name)
username iamanoob (value in config.txt)
replace line 132 with
Code: Select all
Utils::Win32::ShellExecute(1,'open',$config{username}.'.lnk');
hope this helps
also.. post on how you would restart your start.exe
either with a batch file or a script or i don't know XD
DARKest Ninja
Re: Closing openkore instead of showing errors
Was this thread changed since I posted?
Anyway, yes, iamanoob has the code to remove halting on errors. Just do this:
...or...
Anyway, yes, iamanoob has the code to remove halting on errors. Just do this:
Code: Select all
:start
openkore
goto start
Code: Select all
#!/bin/sh
while [ 1 ]
do
./openkore.pl
done
cs : ee : realist