Jump to content

Recommended Posts


about = gg.getTargetInfo()
gg.alert(os.date('About Info :'..'\n\nPackage Name : '..about.processName..'\nOBB Version : '..about.versionCode..'\nGame Version : '..about.versionName..'\nGame uid : '..about.uid..'\nGameGuardian Version : '..gg.VERSION..'\n\n%A, %d %B %X'

You can read more detail in https://gameguardian.net/help/classgg.html#a312c7d90473026e38c67ffd24fd970d7

Share this post


Link to post
Share on other sites

No good idea pass random string to os.date. If in app name present '%' it can produce odd results or error.

Need use os.date for string with pattern only, and concatenate with other text.

Share this post


Link to post
Share on other sites
2 hours ago, bukandewa said:

about = gg.getTargetInfo()
gg.alert(os.date('About Info :'..'\n\nPackage Name : '..about.processName..'\nOBB Version : '..about.versionCode..'\nGame Version : '..about.versionName..'\nGame uid : '..about.uid..'\nGameGuardian Version : '..gg.VERSION..'\n\n%A, %d %B %X'

You can read more detail in https://gameguardian.net/help/classgg.html#a312c7d90473026e38c67ffd24fd970d7

error 😞

Screenshot_2019-01-23-00-13-41_com.rhmsoft.edit.png

Edited by JustAman

Share this post


Link to post
Share on other sites
2 hours ago, bukandewa said:

about = gg.getTargetInfo()
gg.alert(os.date('About Info :'..'\n\nPackage Name : '..about.processName..'\nOBB Version : '..about.versionCode..'\nGame Version : '..about.versionName..'\nGame uid : '..about.uid..'\nGameGuardian Version : '..gg.VERSION..'\n\n%A, %d %B %X'

You can read more detail in https://gameguardian.net/help/classgg.html#a312c7d90473026e38c67ffd24fd970d7

work :3 thankyou...

how to target one obb, so that our script runs with one obb?

Share this post


Link to post
Share on other sites
6 hours ago, JustAman said:

work :3 thankyou...

how to target one obb, so that our script runs with one obb?

Check your obb versions number, for example obb versions of pubg mobile. You can use code below.

if about.versionCode ~= '10121' then gg.alert('❌ Please open the game first') os.exit() end

 

Share this post


Link to post
Share on other sites

@bukandewayou know the method of storing the script on the server, with blocking of 'download' and 'uploading data using another script'.

 

Share this post


Link to post
Share on other sites

This will be more detailed

 

 

about = gg.getTargetInfo()
local x = "" 
for i, v in pairs(about) do
   if type(v) ~= 'table' then 
       x = x..'\t'..i..' :  '..tostring(v)..'\n'
   end
end
gg.alert(x, nil, os.date('%A, %d %B %X'), 'About Info')

 

Edited by TisNquyen
Misspell

Share this post


Link to post
Share on other sites

Or just

print(gg.getTargetInfo())

or

gg.alert(tostring(gg.getTargetInfo()))

Dirty and easy for see all data.

Share this post


Link to post
Share on other sites

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

×