MPCDownloads.com Forums


Search Downloads

 

Login
User:
Password:
Remember Me?
Category
AAO
Age of empires
Aliens V Predator
BF1942
BF2
BF2142
BFV
Blackhawkdown
Call of Duty (1, 2, and 3)
Call of Duty 4
CommandConquer Generals
CommandConquer Renegade
CS Source
CS1.5
CS1.6
DoD
DoD Source
Doom 3
Dungeon Seige
Game Trainers
Gunbound
Gunz
Half Life 2
Halo
Joint Operations
Maple Story
MOH-BT
MOH-SH
MOHAA
MU Online
Others
Priston Tale
Quake 1 2 3
Ragnarok Online
Raven-shield
RTCW
Sof2
Starwars JK Series
Tactical Ops 2.2
TF2
TFC
Tribes 1 & 2
Tutorials
Vietcong
War Rock
World of Warcraft
Another way to Hide OpenKore Console
File: Another way to Hide OpenKore Console (4.7 KB)
Author: ahwi420 (uploaded by no1uknow)
Date Added: 04-19-2006Status: Unknown
Downloads: 697
Grade: Not Rated
Support: N/A
Description
http://www.mpcforum.com/showthread.php?t=131930

Another way of hiding your bot

• Found this one at openkore forums.. really helps a lot for me. hope yours too..

• Mods, please do inform me if this has been posted before.. just wanted to share.. thankx

• You can edit openkore.pl by yourself and for the lazy ones, i have my own .pl attached on this thread.

Auto-hide Openkore Console Window
Credit goes to hakore of openkore forums

1. Open openkore.pl using Notepad.

2. Find the lines:


Code:
Plugins::callHook('initialized');
$interface->mainLoop();
3. Replace them with these lines and save:


Code:
Plugins::callHook('initialized');

if ($timeout{hideConsole_auto}{timeout}) {
Log::message("Auto-hiding console in $timeout{hideConsole_auto}{timeout} seconds...
");
Log::message("Hide the console? (Y/n) ");
$timeout{hideConsole_auto}{time} = time;

my $msg = $interface->getInput($timeout{hideConsole_auto}{timeout});
if ($msg =~ /y/i || $msg eq "") {
Log::message("Hiding the console

");
eval 'use Win32::Console;Win32::Console->new(STD_OUTPUT_HANDLE)->Free();';
} else {
Log::message("Cancelled auto-hide of console

");
}
undef $msg;
}

$interface->mainLoop();
4. Add a new option in your control/timeouts.txt:


Code:
hideConsole_auto 10
This specifies the number of seconds Kore will wait before automatically hiding the console. If you press any key other than "y", Kore will not hide the console.

Note: You can use any value for this option.

Additional Notes:

1. This will simply hide the console and you will not be able to control the bot while it's running in the background (lame workaround to hide your bot). For clarification, there will be no icon in the system tray when you use this (as the statement says "minimize to system tray").

2. After you hide the console, you can only turn off the bot by ending the process using Task Manager (dangerous).

• For this one, i use pRO client with another character to logout safely.
• I send the bot a message with it's Admin Password.
• Then i just type "logout" and thats it!

3. It only works if you are using the 'Console' interface (why use Wx anyways if you're just gonna hide it?).


I have read and understand the Disclamer


Comments
Advertisement
 

Contact Us
- MPC Download Center - Archive - Disclaimer - Privacy Policy - Top

All times are GMT -4. The time now is 01:22 AM.