Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CE is not usable in this game!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 292

PostPosted: Sat Apr 05, 2014 5:23 pm    Post subject: CE is not usable in this game! Reply with quote

Hi,
I will pay €. 10 (ten Euros) to the first person who wanna solve my problem with the Win95-cd version of the game Tie-fighter.
The game is trainable, but what I need is not a trainer, but a solution to my problem:
- after switching game/CE a few times, the keyboard INSIDE the game no longer works (mouse and joystick instead regoulary work).
- I don't want a patch for the game, but a general solution of this type of problem.
- I may pay with paypal.
- If who will solve my problem don't want my money I'll donate the same amount to the CE project.

For info you may also contact me in PM.

Many thanks to all.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sat Apr 05, 2014 8:44 pm    Post subject: Reply with quote

If you have at least 2 computers:
-Grab TSearch and see if you can get the scan over lan to work.
-Otherwise this should do. If you are on win7 instead of winxp, google up "multiple remote desktop client win7". Basically the idea is to play on Computer1, remotely log on to Computer1 from Computer2, run CE on Computer1 but operate it from Computer2 via remote desktop connection.


BTW out of curiosity: if you have an usb keyboard, what happens if you unplug+replug you keyboard just after launching the game? Same question after the keyboard stopped working ingame.

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Apr 06, 2014 12:25 am    Post subject: Reply with quote

Sounds more like the input handler of the game itself is bugged and not reaquiring the keyboard.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 292

PostPosted: Sun Apr 06, 2014 4:49 am    Post subject: Reply with quote

Thanks for your answer...
As I told you, I have just trained the game, but my purpose is not trained it...
@Gniarf
I wanna solve this problem in CE... I don't like the idea that CE is not usable in some games....
I know very well Tsearch (I was a beta tester for Olivier, all those years ago..)
I no longer got two computer..... Crying or Very sad
Keyboard usb----> not work, after a few time you have used CE/game the keyboard id dead, but only in the game, inside all other program the keyboard continue to work.
@atom0s
It's a game from Lucasart, it use all keyboard key + mouse +joypad.
I don't think it is crappled coded...

I have used DxWND last version and Windows 8.1

Cyao!!!
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sun Apr 06, 2014 6:19 am    Post subject: Reply with quote

danrevella wrote:
I wanna solve this problem in CE... I don't like the idea that CE is not usable in some games....
I don't quite like restricting oneself to one tool, but anyway...
If you you only have 1 computer you can create a virtual machine to 2 computers in one.

Also you mentioned using dxwnd so I assume you can play that game in windowed mode. In that case you can try to operate CE entirely via hotkeys. Some hotkeys can be defined in the settings->hotkey page, but you'll probably need to add some more via lua script. Here is some stuff you might find useful if you go that way:
Code:
local MainForm=getMainForm()
--set the new value to look for in exact value mode
local ValueBox=MainForm.findComponentByName("scanvalue")
ValueBox.Text="456321"

--access the address of the first result in foundlist
local ResultList=MainForm.findComponentByName("Foundlist3")
print(ResultList.Items[0].Caption)
--you'll probably want to this to add to the cheat table
local NewRecord=getAddressList().createMemoryRecord()
NewRecord.setAddress(ResultList.Items[0].Caption)

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 292

PostPosted: Sun Apr 06, 2014 6:56 am    Post subject: Reply with quote

@Gniarf
the lua code you have sent is really interest, but I need a few time to realizing it (see you later about..)
While I've got a lot of difficulty in understanding about scanning with 2 computers:

> Basically the idea is to play on Computer1,
so in computer 1 the game run and also CE is running, but it is not managed by computer 1, but so have we to run a special "server" edition of CE?

> remotely log on to Computer1 from Computer2,
computer1 is the server, and i log on it by computer2, but I don't understand in wich way I must to log? via remote desktop so from computer2 I may take control of video, mouse, keyboard of computer1? In the same way as f.e. teamsession or Ultravnc does perform?
Please excuse, I have try to read all the post, but there's somethingh I don't understand...

> run CE on Computer1 but operate it from Computer2 via remote desktop connection.
At this point I don't understand, why do we need to patch termserv.dll if we only need a single remote session? The patch doesn't is needed only for multiple concurrent remote sessions?

Thanks for your patience, I'm a little confuse, but also now I remember I have got somewhere.. an old unutilized notebook that I may try to recover....

p.s. I have try this:
http://www.microsoft.com/en-us/download/details.aspx?id=21101
is what I need?
Seems to be a legit version of RDCMan
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sun Apr 06, 2014 1:22 pm    Post subject: Reply with quote

danrevella wrote:
> Basically the idea is to play on Computer1,
so in computer 1 the game run and also CE is running, but it is not managed by computer 1, but so have we to run a special "server" edition of CE?
No.
danrevella wrote:
> remotely log on to Computer1 from Computer2,
computer1 is the server, and i log on it by computer2, but I don't understand in wich way I must to log? via remote desktop so from computer2 I may take control of video, mouse, keyboard of computer1? In the same way as f.e. teamsession or Ultravnc does perform?
Microsoft's remote desktop (aka RDP: Remote Desktop Protocol) is similar but slightly different from all the ***VNC programs.
In VNC the remote/client computer sees everything displayed on the host computer as if you were sitting in front of the host. It is possible to have shared sessions with the remote guy showing the host guy how to do some stuff.
With unmodified RDP, Windows locally shows the login screen when a remote user logs in, so you cannot have the remote guy showing stuff to the host guy. And similarly, when someone logs in locally, all remote users are kicked out.
The modded termserv.dll is used to modify this behavior: now NOTHING, no logging out, happens when a remote guy logs onto the host. The remote guy doesn't see what happens on the host computer, if he starts a program it won't show up on the host's screen, the remote guy is just there, but none notices it.

You know if you create 2 user accounts on your windows you have the option to switch user accounts instead of logging off or shutting down the computer. The idea is to run the game as user1 and CE as user2 but if you switch user it's going to be like alt+tabbing, so the solution is to use a 2nd computer to log in on the host computer as user2. CE will thus be running on computer1 as user2*, but will be displayed on (and operated from) the remote computer through RDP.

*(read only when you understood the rest) To be accurate: CE must be run on computer1 inside user2's session but via the "run as" user1 menu. Apparently Windows doesn't allow programs ran as user2 to scan the memory of user1's programs.

danrevella wrote:
> run CE on Computer1 but operate it from Computer2 via remote desktop connection.
At this point I don't understand, why do we need to patch termserv.dll if we only need a single remote session? The patch doesn't is needed only for multiple concurrent remote sessions?
AFAIK the modified termserv.dll is only used for multiple concurrent sessions, which is what we need.
danrevella wrote:
http://www.microsoft.com/en-us/download/details.aspx?id=21101
is what I need?
Seems to be a legit version of RDCMan
According to this RDPMan seems to be like a shortcut manager to quickly log in on server1/server2/server3... instead of manually re-typing the credentials and configuring a few other options each time. This is not what we need.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 292

PostPosted: Sun Apr 06, 2014 1:47 pm    Post subject: Reply with quote

@Gniarf
Ok, as soon as I'll retrieve my old notebook I'll try.
But for the moment, may I simulate this situation f.e. with a VirtualMachine I run from my single computer?
F.e. my host:192.168.1.10 VM:192.168.1.150 on the same WORKGROUP?
I run the game on the VM and access from my host?
Uhmmm... It's only a waste of time or may work?
With another simple game, only to get a lot of trial....
What do you think?

Many thanks.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sun Apr 06, 2014 5:06 pm    Post subject: Reply with quote

I don't see why it wouldn't work on a VM. As long as both host and VM run on Windows and can communicate via LAN (virtual or not) it should work.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 292

PostPosted: Fri Apr 11, 2014 5:23 pm    Post subject: Reply with quote

Gniarf wrote:
I don't see why it wouldn't work on a VM. As long as both host and VM run on Windows and can communicate via LAN (virtual or not) it should work.

In fact this solution does work in reasonable mode.
I have used a single computer, running the game in "VMware Player " (freeware), and using the host to connect with desktop remote.
The trick is to set the VM at the exact video mode the game require.
Also remote debugging works.
For the people who don't have got 2 computer, this solution is accetable, and in my opinion this way is really better then utilizing f.e. DXwnd.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Fri Apr 11, 2014 8:05 pm    Post subject: Reply with quote

So if I understand correctly the problem is currently solved.

---------------------------------------------------------------------------------

However as we briefly discussed in PMs, there is another way to hack a game without alt-tabbing, which is to run the game in windowed mode and operate CE with hotkeys. You wanted me to continue this discussion publicly, so here goes:
-In CE's settings set it to auto attach to your game.exe (activate "Even autoattach when..."). That way you won't need to tab out to attach CE to a process.
-Then in CE's settings->hotkeys, set hotkeys for "new scan-unknown initial value", "next scan-increased value", "next scan-decreased value", next scan-unchanged value", all "change type to ***" (all those you plan to use), and maybe "undo last scan". Also set a big delay (500+) for "Delay between reactivating" otherwise a careless fat keypress could cause 2 scans in a row. That way you should be able to do your scans without alt+tabbing.
-Sadly you'll run into a not-that-fun issue: once you finally have found the one address you're looking for, you can't add it to the cheat table. So you'll have to create a hotkey for that in lua script. I've posted above how to add the first result to the cheat table, you just have to create a hotkey for it.
-If you want to do exact value scans, set a hotkey for "next scan-exact value", and create lua hotkeys to set the value to look for (refer to "set the new value to look for in exact value mode" above).

OK, so far you can perform scans, and add results to your table, so now you'll want to perform a pointerscan or find out what *** your address. I'm not sure running a pointerscan with hotkey is possible because I don't know if you can set a hotkey to click on its "ok" button, and I don't know how to bring its dialog. But finding out what reads/writes on that address is possible. Here is an example that will output in the lua console all addresses that accessed the first entry in your cheat table (press F2 to activate):
Code:
function FindOutWhatAccessedMyAddress()
  debugProcess()           --attach debugger WITHOUT confirmation dialog
  local MyCheatEntry=getAddressList().getMemoryRecord(0) --gets the first entry in your cheat table
  debug_setBreakpoint(MyCheatEntry.getCurrentAddress(),1,bptAccess) --sets a breakpoint on access on this address
end


function debugger_onBreakpoint() --used as an homemade find out what *** window. I do not know how to run the standard "find out what ***" tool via lua script, so I had to emulate it.
  print(string.format("%x",EIP)) --print into the console the address where the breakpoint occurred (actually the address of the next instruction)
  debug_continueFromBreakpoint(co_run) --resume execution
  return 1
end

if FindOutHotkey~=nil then
  detroy(FindOutHotkey)
end
FindOutHotkey=createHotkey(FindOutWhatAccessedMyAddress,VK_F2)

_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
danrevella
Master Cheater
Reputation: 2

Joined: 11 Jun 2008
Posts: 292

PostPosted: Sat Apr 12, 2014 7:02 am    Post subject: Reply with quote

I'm fully satisfied, CE is a spendid example of full proof concept.
The LUA exstension let us to perform an infinite numeber of task and personalizazion, IMO every user of CE should study Lua!!
Back to top
View user's profile Send private message
Nemexia55
Expert Cheater
Reputation: 0

Joined: 28 Jan 2014
Posts: 160

PostPosted: Sun Dec 14, 2014 11:58 am    Post subject: Reply with quote

i want to learn it (LUA) but don't know how please help me Sad
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites