darkjohn20 Posted December 7, 2009 Share Posted December 7, 2009 I am using CE to get addresses for memory editing in CE. I know perfectly well how to do this, but I am having one little problem. In CE, the type is "double" and it needs to be set to 5000 (this is the tutorial level 3 by the way) With NomadMemory, there is no type double (I believe). I looked at the list in dll calls and there is only stuff like byte, int, dword, etc. I need to write 5000 as a double, instead of a 4-byte like so: $Write = _MemoryPointerWrite($FinalAddress, $MemoryOpen, $Offset, "5000", "???") ??? is the type, with the default as dword. If I use dword, nothing happens. For the other half of tutorial level 3, you need to set the value as a float 5000. This one was easy, and I simply set the float value to 5000 in CE, and then changed the type and it converted it to 1167867904. For double, the value of 5000 just changes to 0 in 4-byte/dword. What type is double? Or is there something I am missing? Thanks. Link to comment Share on other sites More sharing options...
darkjohn20 Posted December 7, 2009 Author Share Posted December 7, 2009 Wow....would you believe typing "double" as the type works? Could that be added to the AutoIt help somewhere for others? Or is it? Link to comment Share on other sites More sharing options...
bo8ster Posted December 7, 2009 Share Posted December 7, 2009 Look at "Language Reference - Datatypes" in the help file. Datatypes and Ranges section. "Double - A double-precision floating point number" Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
darkjohn20 Posted December 7, 2009 Author Share Posted December 7, 2009 Thank you bo8ster. I was pointed to the types in DllCall where it was not listed. Thanks again! Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 7, 2009 Share Posted December 7, 2009 (edited) Thank you bo8ster. I was pointed to the types in DllCall where it was not listed.Thanks again!Look again, it's the fifth from the bottom in the first table (latest stable). Edited December 7, 2009 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
skyboy Posted December 7, 2009 Share Posted December 7, 2009 i would just like to note that "CE" is the program "Cheat Engine" which is a memory editor designed to help in hacking games - which isn't wanted in this forum Link to comment Share on other sites More sharing options...
trancexx Posted December 7, 2009 Share Posted December 7, 2009 Look again, it's the fifth from the bottom in the first table (stable).Not necessarily. "Latest" missing. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
darkjohn20 Posted December 7, 2009 Author Share Posted December 7, 2009 (edited) Yes, but under certain circumstances it can be used for legitimate things.I am sorry, and I see your point, but it is not my intent.I do realize that some newcomers to the forum join for help with hacks and other things, but how much am I really saying that hasn't been said in another way?Also, I thought this forum was more against Viruses and such, not hacking, since AutoIt is a scripting language and is used for automating. Take Farmville for example, I see so many posts about automating it and breaching their TOS, but nobody says anything about that.Also, nobody has ever said anything about Cheat Engine OR Memory Editing (NomadMemory) to my knowledge.http://www.autoitscript.com/forum/index....owtopic=78834&st=0&p=568869&#entry568869http://www.autoitscript.com/forum/index....hl=cheatengine&fromsearch=1&#entry732440http://www.autoitscript.com/forum/index....hl=cheatengine&fromsearch=1&#entry739222http://www.autoitscript.com/forum/index....hl=cheatengine&fromsearch=1&#entry724612are some examples.I see your point, but nobody has cared before, so why care now? It isn't like I am giving AutoIt a bad name or anything.Edit: And I add, I would never try to. I love AutoIt very much! Edited December 7, 2009 by darkjohn20 Link to comment Share on other sites More sharing options...
darkjohn20 Posted December 7, 2009 Author Share Posted December 7, 2009 AdmiralAlkex, Wow.....just wow....I completely missed that after looking over it like 20 times. Thanks! Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 7, 2009 Share Posted December 7, 2009 Not necessarily. "Latest" missing. I don't know what you're talking about AdmiralAlkex,Wow.....just wow....I completely missed that after looking over it like 20 times. Thanks!No problems! .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now