Jump to content

Recommended Posts

Posted (edited)
17 minutes ago, AjYouTube said:

And is possible to encrypt the script after making

I mean unreadable by other

Only Game guardian can read

This question was already answered by several forum members.

In short, you can't fully prevent others from stealing your code. If one is able to run the script (for example, you published script and password for it), then one can also get information about which commands are executed by the script. This is obvious, because if GG is able to "understand" the script, then there is a way for human to do so. It only depends on how hard it is to "decrypt" particular script.

Edited by CmP
Posted
5 minutes ago, CmP said:

This question was already answered by several forum members.

In short, you can't fully prevent others from stealing your code. If one is able to run the script (for example, you published script and password for it), then one can also get information about what instructions are executed by the script. This is obvious, because if GG is able to "understand" the script, then there is a way for human to do it. It only depends on how hard it is to "decrypt" particular script.

Okay

Thanks...

Posted (edited)

@AjYouTube I am trying to tell that, as for me, there is no sense in encrypting a script that is written for GG.
However, you can still use one of common approaches to hide source code of the script, if you really need it. It doesn't guarantee, that noone will be able to decrypt your script, but at least it will prevent some non-experienced users from stealing/leeching your code.

Edited by CmP
Posted
1 hour ago, CmP said:

Use this function for it. Place this code before any call to search functions if you want them to search only in selected region(s).


gg.setRanges(gg.REGION_ANONYMOUS)

Also check documentation for this and other functions that you may need to use in your scripts.
https://gameguardian.net/help/classgg.html#a9f7d694a9f97e6077f5d2a458e53bcef

Script ended:
 

Script error: org.luaj.vm2.LuaError: @/storage/emulated/0/Download/aaaaaaaa.lua:74
`gg.setRanges (gg.REGION_Anonymous)`
gg.setRanges: bad argument #1 (nil): number expected, got nil
stack traceback:
    /storage/emulated/0/Download/aaaaaaaa.lua:74: in main chunk
    [Java]: in ?
    at org.luaj.vm2.Varargs.argerr(Varargs.java:280)
    at org.luaj.vm2.Varargs.checkint(Varargs.java:317)
    at android.ext.Script$setRanges.invokeUi(Script.java:2058)
    at android.ext.Script$ApiFunction.run(Script.java:748)
    at android.os.Handler.handleCallback(Handler.java:815)
    at android.os.Handler.dispatchMessage(Handler.java:104)
    at android.os.Looper.loop(Looper.java:207)
    at android.app.ActivityThread.main(ActivityThread.java:5856)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)

 

Getting error

Please help

Posted (edited)
6 minutes ago, AjYouTube said:

Getting error

That's because you have written "Anonymous" and it should have been "ANONYMOUS", just like in the example.
Copy the example from my message above and paste it in your script if in doubt.

Edited by CmP
Posted
56 minutes ago, CmP said:

@AjYouTube I am trying to tell that, as for me, there is no sense in encrypting a script that is written for GG.
However, you can still use one of common approaches to hide source code of the script, if you really need it. It doesn't guarantee, that noone will be able to decrypt your script, but at least it will prevent some non-experienced users from stealing/leeching your code.

 

56 minutes ago, CmP said:

@AjYouTube I am trying to tell that, as for me, there is no sense in encrypting a script that is written for GG.
However, you can still use one of common approaches to hide source code of the script, if you really need it. It doesn't guarantee, that noone will be able to decrypt your script, but at least it will prevent some non-experienced users from stealing/leeching your code.

Ya

That's I talking

If Something is encrypted , that can aslo decrypt

I don't want to show

If they decrypt 

I don't have problem

If Code is visible for everyone then everyone is edit and reupload 

 

 

Posted
3 minutes ago, CmP said:

That's because you have written "Anonymous" and it should have been "ANONYMOUS", just like in the example.
Copy the example from my message above and paste it in your script if in doubt.

This thing is worst

First I entered ANONYMOUS 

THEN I GOT ERROR SYMBOLS

THEN I ENTERED Anonymous then this error

Now you said enter again

I did

it's working

?????

Posted
14 hours ago, CmP said:

 

If I am disturbing you 

I am sorry 

But I have another question

The value is encrypted 

So XOR 0=444442

     I want to use XOR function in the script

Is it possible?

Posted (edited)

Hello @Enyby. Sorry to bother you again. Here is a part of my code:

function findnyanya ()
	mobmaxHP = gg.getValues(mobmaxHP)
	for i = 1, 60 do
		if tonumber(mobmaxHP[i].value) == 3 then
			emp = tonumber(mob[i].value)
			empadd = mob[i].address 
			break
		end
	end
	if emp == nil then
		gg.toast('No Nyanya Plant nearby')
		print(mobmaxHP)
		return false
   	 else
   	 	return true
	end
end

Just imagine that mobmaxHP are a table of 60 values of mob's max HP. I mad the script print the whole table if it didn't find a value equal to 3, but when I looked at it, I saw a 3. Why didn't my script find that value? I attached a screenshot of the table.

table.jpg

Edited by MCbearbear
  • Administrators
Posted
1 hour ago, MCbearbear said:

emp = tonumber(mob[i].value)

You use another table 'mob' in it this value can be nil.

Posted

Hey Enyby, are there any ways to get the system information? Like IMEI, any field from "Build" enum, Android ID, WI-FI mac, Bluetooth mac, etc. straight from inside of script?  

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.