Jump to content
  • 0

Question

Posted (edited)

 

Good afternoon, I encountered such a problem when making a script with the PROMPT function, after choosing an action from the menu it does not translate into the PROMPT window, it gives this error. Tell me what you need to fix the screenshots and the code I’ll attach. excuse my english at google translator level

  Reveal hidden contents
  Reveal hidden contents
  Reveal hidden contents

 

Edited by vo1shebn1k

15 answers to this question

Recommended Posts

  • 0
Posted
  On 9/6/2019 at 9:07 AM, vo1shebn1k said:

 

Good afternoon, I encountered such a problem when making a script with the PROMPT function, after choosing an action from the menu it does not translate into the PROMPT window, it gives this error. Tell me what you need to fix the screenshots and the code I’ll attach. excuse my english at google translator level

  Reveal hidden contents
  Reveal hidden contents
  Reveal hidden contents

 

Expand  

function GodeMode(Enable) blahblahblah()

 

You need to define blahblahblah() first .

  • 0
Posted

How to link this block so that it works? what you need to add or register. to get from Godemode to PROMPT. Thank you all just responded to help. I'm just new to this.

  Reveal hidden contents

 

  Reveal hidden contents

 

  • 0
Posted (edited)

Understood with the blablabla) but lost the search and editing values (

Without Prompt I looked like

gg.searchNumber ('580; 301',
gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0.6)

double value, how can this be implemented now? And so that after searching change all their values, for example to 77777

  Reveal hidden contents

 

Edited by vo1shebn1k
  • 0
Posted

Thanks for the help, I completed the script, there is one question left: how to fasten the freezing function after changing the value.

  Reveal hidden contents

 

  • 0
Posted
  On 9/6/2019 at 5:37 PM, AKRAMRAZA said:

Функция GodeMode (Включить), бла-бла-блах ()

 

Вы должны сначала определить blahblahblah ().

Expand  

 

  On 9/6/2019 at 4:45 PM, Rs92ks said:

Дайте полный сценарий. Этот скрипт не работает.

Expand  

could you tell me?

  • 0
Posted
  On 9/7/2019 at 7:36 AM, vo1shebn1k said:

 

could you tell me?

Expand  

gg.toast('✖----------✖')
gg.toast('----------------')
--Game guardian detection
if gg.isVisible(true) then gg.setVisible(false)
end
gg.clearResults()
kele0=0
Qjctx=1
function main()
    gg.clearResults()
    gg.setVisible(false)
    menu = gg.choice({'GodeMode(Enable)','Exit'},nil,'Выбери кнопку для взлома')
           if menu == 1 then GodeMode(Enable) 
              elseif menu == 2 then SM8(K) 
end
   Qjctx=-1
end


function GodeMode(Enable)
data = gg.prompt({[1]='life; damage', [2]='desired value', [3]='do not change'}, {[1]='580;301', [2]='99999', [3]='999'})
gg.searchNumber(data[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
local found = gg.getResults(data[3])
for i, v in ipairs(found) do
    if v.flags == gg.TYPE_DWORD then
        v.value = data[2]
        v.freeze = true
    end
end
gg.addListItems(found)
found = nil
end


function SM8(K)
print('▶-------------------)◀')
gg.toast('▶Надеюсь вам понравилась◀')
gg.toast('▶Спасибо за использование◀')
os.exit()
end

while(true)
do
  --gg.sleep(999999999999999990)
  --Game guardian detection
  if gg.isVisible(true) then
    Qjctx=1
    gg.setVisible(false) 
  end 
  gg.clearResults()
  if Qjctx==1 then   main() end
end

  • 0
Posted
  On 9/8/2019 at 3:21 AM, AKRAMRAZA said:
function GodeMode(Enable)
data = gg.prompt({[1]='life; damage', [2]='desired value', [3]='do not change'}, {[1]='580;301', [2]='99999', [3]='999'})
gg.searchNumber(data[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
local found = gg.getResults(data[3])
for i, v in ipairs(found) do
    if v.flags == gg.TYPE_DWORD then
        v.value = data[2]
        v.freeze = true
    end
end
gg.addListItems(found)
found = nil
end

 

Expand  

Thank you. Great work. And you do not know by chance whether it would be possible for the script to memorize the numerical value that is driven into [1] = '580; 301 so that it would not constantly change it. For example, today I need the value 657; 402, and every time I run the script, I need to change it, so that I can enter it and remain there without editing in the txt editor. data = gg.prompt ({[1] = 'life; damage', [2] = 'desired value', [3] = 'do not change'}, {[1] = '580; 301', [2 ] = '99999', [3] = '999'}) I think it will be clear that Google translator)

  • 0
Posted
  On 9/8/2019 at 9:13 AM, vo1shebn1k said:

Thank you. Great work. And you do not know by chance whether it would be possible for the script to memorize the numerical value that is driven into [1] = '580; 301 so that it would not constantly change it. For example, today I need the value 657; 402, and every time I run the script, I need to change it, so that I can enter it and remain there without editing in the txt editor. data = gg.prompt ({[1] = 'life; damage', [2] = 'desired value', [3] = 'do not change'}, {[1] = '580; 301', [2 ] = '99999', [3] = '999'}) I think it will be clear that Google translator)

Expand  

To memorize the value in data[1] , just simply pass it to any variable .

Example - > a = data[1]

It will memorize the value driven into data[1] .

If I am understanding correctly then you need 657;402 so in prompt write that value . 

data = gg.prompt({[1]gg.prompt ({[1] = 'life; damage', [2] = 'desired value', [3] = 'do not change'}, {[1] = '657; 402', [2 ] = '99999', [3] = '999'}).

Next time when it changes , change 657;402 to that value.

If I understood wrong then try to be more specific what you are asking.

  • 0
Posted
  On 9/8/2019 at 1:16 PM, AKRAMRAZA said:

To memorize the value in data[1] , just simply pass it to any variable .

Example - > a = data[1]

It will memorize the value driven into data[1] .

If I am understanding correctly then you need 657;402 so in prompt write that value . 

data = gg.prompt({[1]gg.prompt ({[1] = 'life; damage', [2] = 'desired value', [3] = 'do not change'}, {[1] = '657; 402', [2 ] = '99999', [3] = '999'}).

Next time when it changes , change 657;402 to that value.

If I understood wrong then try to be more specific what you are asking.

Expand  

come I didn’t understand you or I didn’t explain correctly) 

the screenshot shows life; damage 580; 301 then I enter the values for example 120; 43 I execute the script it changes me the values in the game. I repeat the procedure again, when the script was executed, 580; 301 remained in the variable input field, but did not change to 120; 43. And I want to understand whether it is possible to do so that you entered them in this window and the value was remembered.

  Reveal hidden contents

 

  • 0
Posted
  On 9/8/2019 at 1:51 PM, vo1shebn1k said:

come I didn’t understand you or I didn’t explain correctly) 

the screenshot shows life; damage 580; 301 then I enter the values for example 120; 43 I execute the script it changes me the values in the game. I repeat the procedure again, when the script was executed, 580; 301 remained in the variable input field, but did not change to 120; 43. And I want to understand whether it is possible to do so that you entered them in this window and the value was remembered.

  Reveal hidden contents

 

Expand  

Ahh , so you want a script that remembers your last input data and uses it for next edit . See my video , like that you mean ??

https://youtu.be/2m8jkfP5j1o

 

  • 0
Posted
  On 9/8/2019 at 5:51 PM, AKRAMRAZA said:

Ах, вы хотите скрипт, который запоминает ваши последние входные данные и использует их для следующего редактирования. Смотрите мое видео, как вы это имеете в виду ??

https://youtu.be/2m8jkfP5j1o

 

Expand  

I looked but honestly did not understand) apparently I know very little for this) 

Is it possible to attach something like this to my script?

Or will I have to create a new script 
from scratch?

  • 0
Posted
  On 9/8/2019 at 6:36 PM, vo1shebn1k said:

I looked but honestly did not understand) apparently I know very little for this) 

Is it possible to attach something like this to my script?

Or will I have to create a new script 
from scratch?

Expand  

It is possible for that you need to put an alert and then write the prompt variable , store the input data in a variable , execute the search and edit and after that again store your value to variable so that Script can use it again.But since you will need to change a lot of things for that.

So when you search damage 580; 301 then enter the values for example 120; 43 and execute the script it changes the values in the game. When you repeat the procedure again, when the script is executed write 120;43 in the box where you see 580;43.Since , you are using prompt input it means the script will use whatever value you give it.

  • 0
Posted (edited)

Correct format for single prompt

local fi = gg.prompt({"health hack"},
{[1] ="0"},
{[1] ="number"})
gg.searchNumber(fi[1],gg.TYPE_FLOAT)
gg.getResults(fi[1])
gg.editAll("99999999",gg.TYPE_FLOAT)

 

 

Correct format for double prompt

local fi = gg.prompt({"health hack","speed hack"},
{[1] ="0"},
{[2]="0"},
{["1,2"] ="number"})
gg.searchNumber(fi[1],gg.TYPE_FLOAT)
gg.getResults(fi[1])
gg.editAll("99999999",gg.TYPE_FLOAT)
gg.isVisible(false)
gg.setVisible(true)
gg.searchNumber(fi[2],gg.TYPE_FLOAT)
gg.getResults(fi[2])
gg.editAll("99",gg.TYPE_FLOAT)

Edited by Hackerboss4444

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.