View previous topic :: View next topic |
Author |
Message |
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Sun Feb 23, 2014 12:31 pm Post subject: |
|
|
I dont know what to do,here is my test code and on my page is simple form and i cant turn on that form from website. and btw cheat engine is enabled in my firewall,i have windows 7 64 bit. if somebody can open that form from my site please tell me how,thank you
Code: | if cheatEngineIs64Bit() then
package.cpath=package.cpath..[[;.\clibs64\?.dll]]
else
package.cpath=package.cpath..[[;.\clibs32\?.dll]]
end
CEToLua = createForm()
CEToLua.height = 100
CEToLua.width = 240
CEToLua.caption = "Test"
CEToLua.centerScreen()
CEToLuaButton = createButton(CEToLua)
CEToLuaButton.caption = "Continue"
CEToLuaButton.height = 20
CEToLuaButton.width = 60
CEToLuaButton.top = 31
CEToLuaButton.left = 100
CEToLuaButton.onClick = function ()
http = require("socket.http")
file = http.request("http://datastore.site50.net/test.CETRAINER")
loadstring(file)()
end |
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sun Feb 23, 2014 12:55 pm Post subject: |
|
|
You are doing it wrong.
this is exactly what you are doing:
Code: | something=[[
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="16">
<CheatEntries/>
<UserdefinedSymbols/>
<LuaScript>CEToLua = createForm()
CEToLua.height = 100
CEToLua.width = 240
CEToLua.caption = "Test"
CEToLua.centerScreen()
CEToLuaLabel = createLabel(CEToLua)
CEToLuaLabel.width = 174
CEToLuaLabel.left = 50
CEToLuaLabel.top = 40
CEToLuaLabel.caption = "Hello"
</LuaScript>
</CheatTable>
]]
loadstring(something)() |
The proper way will be:
Code: | something=[[
CEToLua = createForm()
CEToLua.height = 100
CEToLua.width = 240
CEToLua.caption = "Test"
CEToLua.centerScreen()
CEToLuaLabel = createLabel(CEToLua)
CEToLuaLabel.width = 174
CEToLuaLabel.left = 50
CEToLuaLabel.top = 40
CEToLuaLabel.caption = "Hello"
]]
loadstring(something)() |
The other way is:
1) save it to tmp folder
2) then use loadTable() function.
Edit:
try this
1) on your www server use file that contains only this:
Code: | CEToLua = createForm()
CEToLua.height = 100
CEToLua.width = 240
CEToLua.caption = "Test"
CEToLua.centerScreen()
CEToLuaLabel = createLabel(CEToLua)
CEToLuaLabel.width = 174
CEToLuaLabel.left = 50
CEToLuaLabel.top = 40
CEToLuaLabel.caption = "Hello" |
2) in cheatengine use only this script (old socket modules):
Code: | http = require("socket.http")
thing = http.request("http://datastore.site50.net/yournewfile")
loadstring(thing)()
|
or this (if you use new socket)
Code: | if cheatEngineIs64Bit() then
package.cpath=package.cpath..[[;.\clibs64\?.dll]]
else
package.cpath=package.cpath..[[;.\clibs32\?.dll]]
end
http = require("socket.http")
thing = http.request("http://datastore.site50.net/yournewfile")
loadstring(thing)() |
_________________
|
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Sun Feb 23, 2014 2:09 pm Post subject: |
|
|
if i put this like cetrainer on page:
Code: | CEToLua = createForm()
CEToLua.height = 100
CEToLua.width = 240
CEToLua.caption = "Test"
CEToLua.centerScreen()
CEToLuaLabel = createLabel(CEToLua)
CEToLuaLabel.width = 174
CEToLuaLabel.left = 50
CEToLuaLabel.top = 40
CEToLuaLabel.caption = "Hello" |
and this in cheat engine
Code: | if cheatEngineIs64Bit() then
package.cpath=package.cpath..[[;.\clibs64\?.dll]]
else
package.cpath=package.cpath..[[;.\clibs32\?.dll]]
end
http = require("socket.http")
thing = http.request("http://datastore.site50.net/test")
loadstring(thing)() |
and when i execute i got this error:
Description: |
|
Filesize: |
77.13 KB |
Viewed: |
6838 Time(s) |
|
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Sun Feb 23, 2014 3:15 pm Post subject: |
|
|
Code: | http = require("socket.http")
thing = http.request('https://dl.dropboxusercontent.com/sh/bva5eft6c1vwex6/W80We4jR0n/testfile')
loadstring(thing)() |
hm still not work and error message is "he cant find socket in cheat engine folder", this is strange,i am do what you tell me,now i think its problem in my cheat engine, but i am install new one today too and copy socket folders in CE installation folder like you told me.hmmm i must good think where i do mistake....
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sun Feb 23, 2014 7:26 pm Post subject: |
|
|
Don't know why it doesn't work for you. I give up.
old socket works for me, Cheat Engine 6.3 (32-bit)
new socket works for me too, Cheat Engine 6.3 (32-bit) and (64-bit)
(of course with additional "package.cpath" lines)
You can also try unofficial CE build. Latest custom builds of CheatEngine:
https://drive.google.com/folderview?id=0BwMAnE6mjogMNXNjdHgxY1NqcEU&usp=sharing
But I do not recommend it. Because it is not even alpha or beta version. This is just not tested CE6.3+ with fixed bugs, new features, and many modifications, and of course new, not known, bugs.
_________________
|
|
Back to top |
|
|
|