Jump to content

Gathering information about GG errors


Enyby
 Share

Recommended Posts

On 9/17/2019 at 7:22 PM, Enyby said:

Read first post here.

What is the maximum size of any Script gg can handle ?? I am trying to decompile a script which is 2mb in size but gg is crashing in the middle.I am attaching logcat for it . 

GG_logcat_r86.3_15505_8.1.0_27.log

Edited by AKRAMRAZA
Attached logcat
Link to comment
Share on other sites

  • Administrators

Depends from max possible memory, which depends from free ram, firmware and settings.

Your case:

"Failed to allocate a 32 byte allocation with 24 free bytes and 24B until OOM, max allowed footprint 50331648, growth limit 50331648"

Link to comment
Share on other sites

2 hours ago, Enyby said:

Depends from max possible memory, which depends from free ram, firmware and settings.

Your case:

"Failed to allocate a 32 byte allocation with 24 free bytes and 24B until OOM, max allowed footprint 50331648, growth limit 50331648"

Ahh , ok so I need better phone with more ram in order to handle such big scripts. Got you.👍

Link to comment
Share on other sites

5 hours ago, zerocyberzevolution said:

try with change value to hex for increase speed search

I am not trying to search anything.I was trying to run a script which is of 2mb size , so my gg crashed because my phone is old and doesn't have enough ram.

Link to comment
Share on other sites

I have a problem but I don't think require Logcat. I just found the new version GameGuadian run the " loadResults() " API slower than old version( eg 81.0).  The New version about 0.7s+,the old version about 0.2s+。

code just like this:

...

gg.loadResults(data)
gg.getResults(10)
gg.editAll("0",gg.TYPE_FLOAT)

Link to comment
Share on other sites

@Enyby how to fix this?

Script ended:
Script error: luaj.LuaError: @/storage/emulated/0/qlua5/lua/test v2.lua:129
`gg.editAll('5480', gg.TYPE_WWORD)`
gg.editAll: bad argument #2 (nil): number expected, got nil
level = 1, const = 83, proto = 0, upval = 1, vars = 10, code = 388
CALL v0..v2
 ; PC 327 CODE 0180401D OP 29 A 0 B 3 C 1 Bx 1537 sBx -129534
stack traceback:
    /storage/emulated/0/qlua5/lua/test v2.lua:129 in main chunk
    [Java]: in ?
    at luaj.Varargs.argerr(Varargs.java:259)
    at luaj.Varargs.checkint(Varargs.java:296)
    at android.ext.Script$editAll.invoke2(Script.java:3536)
    at android.ext.Script$ApiFunction.invoke(Script.java:1296)
    at luaj.lib.VarArgFunction.call(VarArgFunction.java:62)
    at luaj.LuaValue.callNotNull(LuaValue.java:3146)
    at luaj.LuaClosure.execute(LuaClosure.java:509)
    at luaj.LuaClosure.call(LuaClosure.java:159)
    at android.ext.Script.runScript(Script.java:5652)
    at android.ext.Script$ScriptThread.run(Script.java:5394)

 

this is what i writed

gg.searchNumber('98', gg.TYPE_WWORD)
gg.getResults(100)
gg.editAll('5480', gg.TYPE_WWORD)

why not working?

Link to comment
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
 Share

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