CoSMOS Gamehacking Tool

Page 1 of 1
Signup or Login to Post
[Question] : Luascript pointer,offets
  • Current rank: 1 Star. Next Rank at 100 Posts.
    Send a message to tribalwind
    SAGE
    tribalwind posted on May 20, 2022 12:37:13 AM - Report post
     
    Hello, i need help please,

    i want to use my pointer in a lua script but i dont know how to add more than one offset to this line :
    [ENABLE]
    {$lua}
    local value = readInteger('Game.exe+AADAEC')
    (etc...)

    like i need : Game.exe+AADAEC+450+390+5CC+734
    what is the right syntax in cosmos script for that please, i cannot figure out.

    thanks you.
  • Lead Moderator
    Send a message to Nook
    LEAD MODERATOR
    Nook posted on May 20, 2022 12:55:35 AM - Report post
     
    for what game?
    Baby's first loan officer | Lead Forum Moderator | Trainer Monkey Vice-Captain
    Here are the Forum Rules, Please Read Them: https://www.cheathappens.com/show_board2.asp?headID=144968&titleID=8463
    If I locked or removed your post please read the forum rules again
  • Current rank: 1 Star. Next Rank at 100 Posts.
    Send a message to tribalwind
    SAGE
    tribalwind posted on May 20, 2022 1:18:18 AM - Report post
     
    darkeden wemix but any game...

    [Edited by tribalwind, 5/20/2022 1:18:51 AM]
  • Trainer Maker
    Send a message to 0x90
    STAFF
    0x90 posted on May 20, 2022 2:38:37 AM - Report post
     
    readInteger("[[[[Game.exe+AADAEC]+450]+390]+5CC]+734"

    Note that at the end is a closing ) which is for some reason not displayed.

    [Edited by 0x90, 5/20/2022 2:39:08 AM]
  • Current rank: 1 Star. Next Rank at 100 Posts.
    Send a message to tribalwind
    SAGE
    tribalwind posted on May 20, 2022 3:06:32 AM - Report post
     
    thanks you, lua print the correct value.
    I must have spelled it wrong several times when I tried this wording before asking.

    [Edited by tribalwind, 5/20/2022 3:13:09 AM]
Page 1 of 1
Signup or Login to Post
All times are (GMT -06:00) Central Time (US & Canada). Current time is 7:42:43 AM