Jump to content

MAARS

Contributor
  • Posts

    667
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by MAARS

  1. MAARS

    CLASS NAME

    Snapdragon is not an architecture it is just a name for a Chip. Arch are these: arm, arm64, x86, and x86_64. ARM and x86 are for 32-bit processors, while arm64 and x86_64 are for 64-bit processors (source). The game under the hood can be designed very differently on 32bit chip because of it limitations. And note that you can have a 64bit arch cpu but if your firmware is 32bit you will be running only 32bit games/apps. so run this app on both phone to check your architecture
  2. MAARS

    CLASS NAME

    What about the architecture ? Are both build in the same architecture ?
    Good ideas I tried to optimize it local function addstring (separator, ...) return table.concat({...}, separator or "") end local r = addstring (nil, 'hello', 'world') local y = addstring ("; ", 'hello', 'world') print (r) print (y)
  3. MAARS

    CLASS NAME

    Are those two phones sharing the same game version ?, Are those two using the same architecture ?
  4. Nice approach by converting the value to hex, really genius
  5. So actually you need to convert it to binary first the method is quit clear here https://stackoverflow.com/questions/54718064/how-to-convert-manualy-hexadecimal-to-decimal-with-twos-complement If you can't implement it in Lua then tell me I will do
  6. But signed integer allow you to represent both, negative and positive number ? Why would you want only positive number ?
  7. string.format always return a string, if you have formated your integer as hexadecimal If you want to retrieve is value as Integer then use the function tonumber and second argument as 16
  8. Here you are doing concatenation of a number with string "0x" this will result a string because that what concatenation do, and since the function string.format are expecting an integer to be passed as argument this will result an error. Actually you don't need to convert hex value to integer since Lua do it automatically you can try this local x = 0xA print (x) --> 10 Except if your value is a string no conversion will be done local x = "0xA" print (x) --> "0xA" If you have a hex value as a string you will need to use the function tonumber instead and he doesn't require the "0x" before local x = "A" print (tonumber(x, 16)) --> 10
  9. If you wanna do such thing in online games you gotta learn networking I think, since you will try to trick the game server that you are getting hit
  10. MAARS

    hex converter

    I don't know exactly what is it and what is the use of that xD but it seems not too complicated to implement in Lua. https://www.allmath.com/twos-complement.php
  11. MAARS

    hex converter

    Binary you mean ?
  12. There is a detailed documentation inside the app
  13. This is a wonderful project, but It is actually difficult to understand the code or at least for me, next time you build a "massive project" like this please try using module this can make things easier to understand
  14. When publishing an encrypted script, we always keep the unencrypted version you don't need to delete it, you are actually making your work difficult that it should be
  15. Mean you make your script evolving, You start at version 1 and each time you add or remove a fonctionality to the script you increase the version number
  16. I don't understand why "you" split cheat into multiple script. For me if it is about one game just do everything in the same files, there is no need to split bif you don't use module
  17. This approach is quite good but remember that when user press cancel data will not be saved, prompt will return nil
  18. I am coming a little bit late but I just have done quickly a little implementation resolving you problem you can try and improve it if you want script.lua
  19. In small screen it goes under the first contribution, on large screen it is actually floating on right
  20. Nice, but if you really want to lead your project, look for plan b "How to implement Lua from scratch by yourself". And I think you wrongly pinged him the name should be highlighted like this @tuancc
  21. I understand but, first a got I question do you thank that Lua implementation will work in the same way on Android and IOS I am curious about that. To ping someone just tap "@" plus is name he will get notified, or even better dm him
  22. Ask Enyby, I don't want to ping him, but I already guess the response will be no, no one share source code of proprietary software
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.