dbzfanatic Posted August 21, 2008 Posted August 21, 2008 ok maybe i lied xD1 sec doing more tests xDi cant have the delay at 1 second im trying 10 nowYou lying lil... lol. Why can't you have the delay at 1 second? Mind explaining the problem now? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 (edited) You lying lil... lol. Why can't you have the delay at 1 second? Mind explaining the problem now? crashes on the second attempt to read it lol once again new code i added a button so i tell it when to search expandcollapse popup#include <NomadMemory.au3> #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> SetPrivilege("SeDebugPrivilege", 1) $Form1 = GUICreate("", 146, 53, 1073, 31) $Button1 = GUICtrlCreateButton("Check", 8, 8, 49, 33, 0) $Label1 = GUICtrlCreateLabel("", 74, 18, 40, 20) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 readhealth() EndSwitch Sleep(50) WEnd Func readhealth() Global $mainwindow = "Florensia" $PlayerHPadr = 0x00FA8958 Dim $PlayerHpoff[2] $PlayerHpoff[0] = 0 $PlayerHPoff[1] = Dec("1D4") Dim $health[2] Global $test = Hex(Dec($PlayerHPadr) + $PlayerHPoff[1], 8) Global $gamepid = ProcessExists("FlorensiaEN.bin") If WinExists($mainwindow) Then $gamehandle = _MemoryOpen($gamepid) $health = _MemoryPointerRead($PlayerHPadr, $gamehandle, $PlayerHPoff) _MemoryClose($gamepid) GUICtrlSetData($Label1, $health[1]) Else GUICtrlSetData($Label1, "error") EndIf EndFunc #cs - Health - Value: 0C299DB0 Address: 00FA8958 Offset: 1D4 - Mana - Value: 0C6D5608 Address: 0C5A8C68 Offest: 10 #ce ok.. time to get nomad... Edited August 21, 2008 by Golbez
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 Not a very effective bot if you have to tell it when to search . Why not just write the max health once every 5 seconds or so? Read the health on startup (should be max right?), store that to a variable like $maxhealth. Then read once every 5 sec and if $maxhealth <> $health then set $health to $maxhealth. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 Not a very effective bot if you have to tell it when to search . Why not just write the max health once every 5 seconds or so? Read the health on startup (should be max right?), store that to a variable like $maxhealth. Then read once every 5 sec and if $maxhealth <> $health then set $health to $maxhealth.lol this is not a bot at all.. this was me trying to learn how to use memory functions so i can read the memory to check the health..i have a working bot but it uses pixels and i dont want to i want to make it so i can minimize it
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 Well my idea could still work. Why not try it, it may not crash. Then you could change the code of your current working bot and you could minimize it since it would reset the health to full. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 i tried to have it read 1 time every 10 seconds and it crashed... i cant even get my new code to work.. it just crashes off xD
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 I'm not familiar with Nomad's UDF so I don't know all the functions contained in it. Perhaps it has something like _MemoryAddressFreeze()? In other words something to freeze the value of a specific address? If so then simply use my idea of reading on startup, then freeze that value so you'll never have any less hp. It seems a bit more effective and probably would give a lot less hassle. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 I'm not familiar with Nomad's UDF so I don't know all the functions contained in it. Perhaps it has something like _MemoryAddressFreeze()? In other words something to freeze the value of a specific address? If so then simply use my idea of reading on startup, then freeze that value so you'll never have any less hp. It seems a bit more effective and probably would give a lot less hassle.cant freeze something thats server side XDbtw i think i closed the memory wroung check it out now
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 True about server-side but you can freeze it for the client. That will either trick your client into thinking you haven't died or cause an "end of the world" error for it lol. I don't know how florensia works so I can't say at the moment how it would react to a frozen value. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 True about server-side but you can freeze it for the client. That will either trick your client into thinking you haven't died or cause an "end of the world" error for it lol. I don't know how florensia works so I can't say at the moment how it would react to a frozen value.hell how do i freeze the value its worth a try... i can just unfreeze it when im done reading it
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 Try freezing it with CE since that's how you found the offsets lol. That will tell us how it should react and then someone can look through the UDF to find out if there is a freeze function. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 ok i think there is something wroung with my game... it crashes even if i dont have the the script open...
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 Did I not say editing it could have caused the glitch? Try editing it back, you do realize that most game guard programs will close the game if the guard isn't detected as running, right? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 (edited) Did I not say editing it could have caused the glitch? Try editing it back, you do realize that most game guard programs will close the game if the guard isn't detected as running, right?no.. it worked fine before i started trying the memory stuff xDi think i might have a flagged account it doesnt even work with gameguard enabled O.o Edited August 21, 2008 by Golbez
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 Maybe the memory is just corrupted? Try restarting your system and playing,then if it works try running your script. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Golbez Posted August 21, 2008 Author Posted August 21, 2008 (edited) Maybe the memory is just corrupted? Try restarting your system and playing,then if it works try running your script.kk ill do it right after i finnish copying this dvd edit: nope.. still crashes and i have gg enabled....edit2: it looks like its the game.. im on there site fourms and i think the new patch they made has a bug and it is owning me xD Edited August 21, 2008 by Golbez
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 So do you think the patch is detecting the reads or is it just simply causing your game to crash on its own? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
binhepu Posted August 21, 2008 Posted August 21, 2008 Help me How to get address memory at process game? And How to write bot game? I want to search string in memory
Golbez Posted August 21, 2008 Author Posted August 21, 2008 Help meHow to get address memory at process game?And How to write bot game?I want to search string in memoryhelp file.... learn autoit i dont like giving out my code with out you helping me out in someway...Cheat engine... learn how to find pointers So do you think the patch is detecting the reads or is it just simply causing your game to crash on its own?yeah the patch has a bug that crashes the game all on its own... me just reading the memory atm made me thing it was me.. its not. they are working to fix the bug
dbzfanatic Posted August 21, 2008 Posted August 21, 2008 Oh alright, well when it's fixed try your code again and let us know if it works then (when the game doesn't crash lol). Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
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