DamiPL Grandmaster Cheater Supreme
Reputation: 3
Joined: 02 Jul 2006 Posts: 1195 Location: 11001110
|
Posted: Sat Mar 30, 2013 7:53 pm Post subject: Generating a full standalone help |
|
|
so i made a simple trainer w/ CE 6.2 just for the heck of it and wanted to try the new maker but cant get it to be standalone without CE installed. It works perfectly on the partition i made it on but if i switch to W7 or use VM to test it, it just crashes on start. If i resave the CT there w/ CE again, it works.
Its generated GUIs, saved as .exe, icon, gigantic, compr none. Gui alone runs fine everywhere so prolly messed up on the code. Can I still use bydescription in standalone? Anyway here is my code:
Code: |
AboutForm=createFormFromFile([[K:\Documents and Settings\Administrator\My Documents\My Cheat Tables\AboutBox2.FRM]]);
--Global Vars--
bballs = addresslist_getMemoryRecordByDescription(getAddressList(),'BB (Agility too)');
healthLeft= addresslist_getMemoryRecordByDescription(getAddressList(),'RHealth');
healthRight = addresslist_getMemoryRecordByDescription(getAddressList(),'Oponent');
comboAddy = addresslist_getMemoryRecordByDescription(getAddressList(),'Combo Meter');
strikeAddy = addresslist_getMemoryRecordByDescription(getAddressList(),'Strike');
--HKey--
--createHotkey(CEButton5Click, VK_CONTROL, VK_F5);
--------
function AboutClick(sender)
form_show(AboutForm);
end
function CEButton5Click(sender)
memoryrecord_setValue(bballs, memoryrecord_getValue(bballs)+5);
end
function CEButton1Click(sender)
memoryrecord_setValue(healthRight, memoryrecord_getValue(healthRight)+250);
end
function CEButton3Click(sender)
memoryrecord_setValue(healthLeft, memoryrecord_getValue(healthLeft)+250);
end
function CEButton2Click(sender) --Right Side HP Set
memoryrecord_setValue(healthRight, control_getCaption(LBMain_CEEdit1));
end
function CEButton4Click(sender)
memoryrecord_setValue(healthLeft, control_getCaption(LBMain_CEEdit2));
end
function CETimerr1(sender)
control_setCaption(LBMain_CELabel6, memoryrecord_getValue(healthRight));
control_setCaption(LBMain_CELabel7, memoryrecord_getValue(healthLeft));
control_setCaption(LBMain_CELabel8, memoryrecord_getValue(bballs));
control_setCaption(LBMain_CELabel9, memoryrecord_getValue(comboAddy));
control_setCaption(LBMain_CELabel10, memoryrecord_getValue(strikeAddy));
end
hpTimer = createTimer(LBMain,true)
timer_setInterval(hpTimer, 700)
timer_onTimer(hpTimer, CETimerr1)
function CEButton6Click(sender)
memoryrecord_setValue(comboAddy, control_getCaption(LBMain_CEEdit3));
end
function CEButton7Click(sender)
memoryrecord_setValue(strikeAddy, control_getCaption(LBMain_CEEdit4));
end
--GEN--
strings_add(getAutoAttachList(), "REALLIVE.EXE")
gBeepOnAction=false
form_show(LBMain)
function FormClose(sender)
closeCE()
return caFree
end
|
_________________
|
|