CoSMOS Gamehacking Tool

Page 1 of 1
Signup or Login to Post
Script
  • Current rank: 1 Star. Next Rank at 100 Posts.
    Send a message to jundew
    SAGE
    jundew posted on Apr 26, 2020 7:18:56 PM - Report post
     
    Hello i'm very new to this sort of stuff and i just tried for the first time hacking the move speed of this game i play and it worked perfectly fine but the issue is i can't deactivate it without having to go back and click the active button. Is there a way to setup an button script where for example where i hold or click shift it activates it but when i let go of shift it deactivates.
  • Trainer Maker
    Send a message to 0x90
    STAFF
    0x90 posted on Apr 27, 2020 5:03:35 AM - Report post
     
    Add a script:

    [ENABLE]
    {$lua}
    if tabletest then return end
    speedhack_setSpeed(2)
    {$asm}
    [DISABLE]
    {$lua}
    if tabletest then return end
    speedhack_setSpeed(1)
    {$asm}


    and set a hotkey for this table item like shift key to toggle it on/off.
  • Current rank: 1 Star. Next Rank at 100 Posts.
    Send a message to jundew
    SAGE
    jundew posted on Apr 27, 2020 5:11:50 AM - Report post
     
    Am i able to change the value of an address using a script by any chance?
  • Trainer Maker
    Send a message to 0x90
    STAFF
    0x90 posted on Apr 27, 2020 7:51:55 AM - Report post
     
    Yes, depending on the value type:

    {$lua}
    writeByte("address",0)
    writeSmall("address",0)
    writeInteger("address",0)
    writeQword("address",0)
    writeFloat("address",0)
    writeDouble("address",0)
    {$asm}
  • Current rank: 1 Star. Next Rank at 100 Posts.
    Send a message to AutoHotkey
    SAGE
    AutoHotkey posted on Apr 27, 2020 4:21:00 PM - Report post
     
    [ENABLE]
    {$lua}
    local key = 0xA0
    whileKeyIsDown(key, writeFloat("address",500))
    {$asm}
    [DISABLE]
    {$lua}
    local key o 0xA0
    keyUp(key, writeFloat("address"0))
    {$asm}

    would I need to include the asm lines or no?
  • Trainer Maker
    Send a message to 0x90
    STAFF
    0x90 posted on Apr 27, 2020 4:43:23 PM - Report post
     
    You need to include otherwise its a syntax error, unlike in CE which is not that strict. But whileKeyIsDown expects a string as second parameter. See the example Link

    However keep in mind this script only runs once when you activate it. So if the shift key is not held down it will simply return. Also if you just want to write a value to an address it can be easier without a script. Add an address item to the cheat table with the address and value type. Then right click on that item -> Set hotkey (bottom).
Page 1 of 1
Signup or Login to Post
All times are (GMT -06:00) Central Time (US & Canada). Current time is 5:30:10 PM