OK to the guy who wanted to be able to toggle the hack display on and off I have modified the code, very slightly to allow this.
First go into your config file and edit to . Also change to
That will give you the info in the config file to start hack visible by default and give F1 display info a "name".
F1_LABEL = "display"
OK now open up your file called "Status.py" and copy everything, then past over it with
You guys should know that when scripting with python, indentation, spacing etc, is very important and can screw up code, if it's not perfect. Hope that helps.
from Config import STATUS_COLOR_ACTIVE, STATUS_COLOR_INACTIVE, KEY_RADAR
from utils import draw_line, draw_string_left
from Keys import keys
# draw the status line
def __init__(self, env):
self.env = env
frame = self.env.frame
read_game = self.env.read_game
draw_line(frame.line, 0, read_game.resolution_y - 10, 845, 0, 20, 0xAF000000)
for i in range(1, 13):
color = STATUS_COLOR_ACTIVE
color = STATUS_COLOR_INACTIVE
label = "F" + str(i) + ":" + getattr(Config, "F"+str(i)+"_LABEL")
draw_string_left(frame.status_font, (i-1)*70 + 5, read_game.resolution_y-15, 65, 15, color, label)
You need to know that this hack does not in any way inject anything. Need to know that.
Originally Posted by MasonF
Did you download and install active python? If you did, regardless of whether you are 32bit or 64bit you need to install 32bit activepython. http://downloads.activestate.com/Act...-win32-x86.msi