Jump to content

SAGEPAPI

Contributor
  • Posts

    289
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by SAGEPAPI

  1. It worked just need to find a method to change the amount you get.

    And btw could u explain why you did it this way. So i can learn from it and help others.

  2. 1 hour ago, sodaface said:

    You've got game guardian installed , ***** off " message.  

    Yh about that, im using x8 sandbox and i use the "app hide" plug in to hide GG. So i doesnt detect it.

     

    1 hour ago, sodaface said:

    I will look into this for you now 

    I can't promise anything , but you've been help to me in the past so I'll give it a good shot.

    And thx 😁

  3. I used ur method but lil different thx 

    14 hours ago, ItsSC said:

    Not sure which part you do not understand, I guess the second method i mentioned. Here is an example how to implement what I said there.

     

    For example you are going to hack 3 items in the store. 

    Item A 500 gold

    Item B 1300 gold

    Item C 2000 gold

    
    local ITEM_PRICE = {{"Item A", 500}, {"Item B", 1300}, {"Item C", 2000}}
    --[[Store your item here, Name with price. Or you can create more list according to their categories]]
    local ITEM_NAME = {} --[[Let's store the name in here]]
    for item, properties in pairs(ITEM_PRICE) do
        ITEM_NAME[#ITEM_NAME+1] = properties[1]
    end
    function buyItem(TYPE)
        gg.clearResults()
        local select = gg.choice(ITEM_NAME, nil, "ITSSC ITEM STORAGE")
        gg.searchNumber(ITEM_PRICE[select][2], TYPE)
        gg.getResults(gg.getResultsCount())
        gg.editAll(-ITEM_PRICE[select][2], TYPE)
    end
    buyItem(4)

     

     

  4. I dont get it. This what i have so far ( see code). I search the value and save it, after that i let the user choose how many coins (s)he wants ( which is a positive value). I use that value to change the saved values i searched in the beginning. But everything goes right except the "changing the value" part.

    if gg.isVisible(true) then 
      gg.setVisible(false) 
    end 
    gg.clearResults() 
    gg.setRanges(gg.REGION_JAVA_HEAP) 
    gg.toast('Made by SAGEPAPI') 
    gg.alert('thank you and have fun') 
    
    gg.searchNumber('value',gg.TYPE_DWORD) 
    local t = gg.getResults (100) 
    C = gg.prompt({i='input coins'}, {i='Coins here'})  
    if C == nil then 
    gg.toast('canceled') 
    gg.clearResults() 
    os.exit() 
    else 
    for i,v in pairs(t) do 
    t[i].value = -t[i].value 
    end 
    end

     

  5. Hi, 

    I am working on a script where i want to change the value to a negative value. I want the user to type in a value. The original value is based on a product u can buy in the game. 

    Example:

    The product costs 100

    I search it with my script ( which ik how to do it )

    I let the user type a value like 600, im using that value then to change it to -600 but idk how. Thx

     

     

×
×
  • 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.