Jump to content

Recommended Posts

Posted

ok maybe i lied xD

1 sec doing more tests xD

i cant have the delay at 1 second im trying 10 now

You lying lil... lol. Why can't you have the delay at 1 second? Mind explaining the problem now?

  • Replies 97
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (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

#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 by Golbez
Posted

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.

Posted

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 :D

Posted

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.

Posted

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

Posted

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.

Posted

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 XD

btw i think i closed the memory wroung check it out now

Posted

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.

Posted

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 ;)

Posted

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.

Posted

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?

Posted (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 xD

i think i might have a flagged account ;)

it doesnt even work with gameguard enabled O.o

Edited by Golbez
Posted
Posted (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 :D

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 by Golbez
Posted

Help me

How to get address memory at process game?

And How to write bot game?

I want to search string in memory

help 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 ;)

Posted

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...