| View previous topic :: View next topic |
| Author |
Message |
mordax Expert Cheater
Reputation: 1
Joined: 16 Apr 2010 Posts: 138
|
Posted: Tue May 29, 2012 12:43 pm Post subject: Programming/using CE and copying values from other ce window |
|
|
title is bit confusing. but what this is about. is that there is a "bug" in ce that is very annoying.
for example when you have certain window open you cant open other windows in ce and thats annoying the shit out of me.
for example im writing a trainer using form editor. i want to "copy paste" something out of a cheat list, but problem is that when i open the address in cheat list (that is a pointer scan result) then i cant edit the form anymore while window is open. meaning i have to make a screenshot of it or copy paste each value out of it manually and then close the window and then copy paste them into form editor.
it would be a lot easier if it wouldnt restrict the usage of other windows while im having one window open. i have a level 5 pointer scan so it would so much easier if i can keep the pointer scan address open and just write the values from there into form editor. or is there any easier way of doing tht? like copying the pointer scan result address straight into form editor somehow?
this is here to make CE better in future :) not to say how crap it is.
thanks.
|
|
| Back to top |
|
 |
Obitio Advanced Cheater
Reputation: 0
Joined: 09 Apr 2012 Posts: 68 Location: null
|
Posted: Tue May 29, 2012 1:24 pm Post subject: Re: Programming/using CE and copying values from other ce wi |
|
|
| mordax wrote: | | bla bla bla |
lol you mean that to put the pointer into your own program you need to $#@%# copy each address and offset because when you try to copy it into your programming language it turns out to be something like this:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"No description"</Description>
<Color>80000008</Color>
<VariableType>4 Bytes</VariableType>
<Address>343FE000</Address>
<Offsets>
<Offset>4321</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatTable>
|
|
| Back to top |
|
 |
mordax Expert Cheater
Reputation: 1
Joined: 16 Apr 2010 Posts: 138
|
Posted: Wed May 30, 2012 6:42 am Post subject: |
|
|
sasue do not reply if you have nothing to say. its called trolling. this post was meant for Dark Byte so he can fix that in future.
and NO. i was talking about some active window disabling other windows..DUH noob.
you're just a little smart-ass wannabe. i did not talk about my own program. i was talking about CHEAT ENGINE. whenever i open some specific window in CHEAT ENGINE, then im unable to use ANOTHER window in CHEAT ENGINE, because it won't allow to click on any other window but the one i opened. duh noob.
specific example is when i have something in cheat list, i double-click the address to check the pointer offsets and then i want to write it into lua, but i can't before i close the window, because it won't allow to click on any other window than the one opened.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25837 Location: The netherlands
|
Posted: Wed May 30, 2012 6:58 am Post subject: |
|
|
I'm not sure if allowing multiple edit windows open is the best solution for the userinterface
I could add a rightclick option to the addresslist that copies the address to clipboard in a [[[xxxx]+xxx]+xxx]+xxx format
Same for pointerscan result
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Wed May 30, 2012 10:25 am Post subject: |
|
|
| Dark Byte wrote: | I'm not sure if allowing multiple edit windows open is the best solution for the userinterface
I could add a rightclick option to the addresslist that copies the address to clipboard in a [[[xxxx]+xxx]+xxx]+xxx format
Same for pointerscan result |
If you could do it so you can highlight all and rclick>copy that would be great.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25837 Location: The netherlands
|
Posted: Wed May 30, 2012 1:13 pm Post subject: |
|
|
Save this as a .lua file in the autorun folder of cheat engine, restart it and you'll have this feature
| Code: |
function copySelectedAddressesFromAddresslistToClipboard()
result=''
sr=addresslist_getSelectedRecords(getAddressList())
for i=1, #sr do
local mr=sr[i]
local addressstring=''
address, fulladdress=memoryrecord_getAddress(mr)
if fulladdress~=nil then
--first build up the [ characters
for j=1,#fulladdress-1 do
addressstring=addressstring..'['
end
addressstring=addressstring..getNameFromAddress(fulladdress[1])..']+'
for j=2,#fulladdress do
addressstring=addressstring..string.format('%x', fulladdress[j])
if j~=#fulladdress then
addressstring=addressstring..']+'
end
end
else
addressstring=getNameFromAddress(address)
end
result=result..addressstring.."\n\r\n\r"
end
if #result>0 then
writeToClipboard(result)
end
end
mf=getMainForm()
pm=component_findComponentByName(mf,"PopupMenu2") --I should have made PopupMenu of addresslist a published property...
pmi=menu_getItems(pm)
miCopySelection=createMenuItem(pm)
menuItem_setCaption(miCopySelection, "Copy selected addresses to clipboard")
menuItem_setShortcut(miCopySelection, "Ctrl+Alt+C")
menuItem_onClick(miCopySelection, copySelectedAddressesFromAddresslistToClipboard)
menuItem_add(pmi, miCopySelection)
oldPopupmenu2_onPopup=getMethodProperty(pm,"OnPopup")
function newPopupmenu2_onPopup(sender)
sr=addresslist_getSelectedRecords(getAddressList())
if #sr==0 then
setProperty(miCopySelection, "Visible", "false")
else
setProperty(miCopySelection, "Visible", "true")
end
oldPopupmenu2_onPopup(sender)
end
setMethodProperty(pm,"OnPopup", newPopupmenu2_onPopup)
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|