Jump to content

Helpmeee


JustAman

Recommended Posts

Posted
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

  • Administrators
Posted

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.

Posted
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

Posted
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?

Posted
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

 

Posted

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')

 

  • Administrators
Posted

Or just

print(gg.getTargetInfo())

or

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

Dirty and easy for see all data.

Archived

This topic is now archived and is closed to further replies.

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