| View previous topic :: View next topic |
| Author |
Message |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1675
|
Posted: Fri May 31, 2019 5:40 am Post subject: |
|
|
| Meiyoh wrote: |
The only help i got was frist Gurroder then DB but neither was the thing i wanted. ....... |
Just want know, did you try to define the custom type from my last script and how it works?.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Fri May 31, 2019 5:50 am Post subject: |
|
|
| Meiyoh wrote: | | seems like no one wants to help... |
| TheyCallMeTim13 wrote: |
That or no one wants to do it for you, you might want to show a little effort. Doesn't even seem like you want to help yourself. And you were told exactly how to do it. |
So 1; I never called you lazy, you called yourself lazy. 2; If you don't know how to read bytes try a search engine.
https://www.google.com/search?q=cheat+engine+readbytes
Guess what the first result is.
https://wiki.cheatengine.org/index.php?title=Lua:readBytes
That or just say "how does readBytes work, can you give me an example". I know that sounds crazy, but you'll catch more flies with honey than you will with vinegar. You could even post your script and ask about what you don't understand.
But instead you just claim no is willing to help you. But the truth is, no one wrote the script for you at first.
Then you "rant" about me being "rude". You got so stuck on that and seemed to have miss where I gave you yet another way to do it. To worried about having a come back to even try to solve the problem.
| Meiyoh wrote: | | ...God save humanity... |
All because I said, "you might want to show a little effort".
But in the end you got your script written for you, so I guess no need to look at yourself and you can just keep the status quo.
| Meiyoh wrote: | | ...Good luck |
Seems like you need the luck, I'll just stick with brains and curiosity.
And here's a crazy idea, post a script that actually reads bytes. Who knows you might even be able to help others.
_________________
|
|
| Back to top |
|
 |
Meiyoh Master Cheater
Reputation: 1
Joined: 14 Mar 2015 Posts: 408
|
Posted: Fri May 31, 2019 9:53 am Post subject: |
|
|
| Corroder wrote: | | Meiyoh wrote: |
The only help i got was frist Gurroder then DB but neither was the thing i wanted. ....... |
Just want know, did you try to define the custom type from my last script and how it works?. |
I already had those yet i still thanked you because you tried to help me. I have added those long ago using google 2 bytes, 4 bytes and float big endian. My goal was not to find values but to make my script read them as and write them as big endian.
The solution is to make an allocation for the values where lua will read bytes 4 bytes in a row while writing them in reverse order to a temp location which will be used by other scripts as a converted value.
Tim is right about one thing scripts must be made so others can use them as a basis for their work or at least i think how this shall be.
a lua script must read the bytes one by one... then write them in reverse order one by one up to 4 bytes integer value which CE will use a a base for scripts to read. AT least in my cause all i need is 4 bytes converted to "readable" format.
I will do it
_________________
I am the forgotten one the dead one. |
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1675
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 155
Joined: 06 Jul 2014 Posts: 4775
|
Posted: Fri May 31, 2019 10:55 am Post subject: |
|
|
| Meiyoh wrote: | | My goal was not to find values but to make my script read them as and write them as big endian. | That's what custom types do.
Use getCustomType(typename) to get a custom type from Lua, and use byteTableToValue / valueToByteTable methods to convert an AoB to/from that custom type.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
|