HorridModz Posted December 26, 2021 Share Posted December 26, 2021 When I try to execute a script I get an out of memory error. How do I fix this? Link to comment Share on other sites More sharing options...
HorridModz Posted February 16, 2022 Author Share Posted February 16, 2022 So what can I do? The file is encrypted. Could someone remake the file for me? Link to comment Share on other sites More sharing options...
blocx Posted December 26, 2021 Share Posted December 26, 2021 witch game and script u use ? never encounter this trouble Link to comment Share on other sites More sharing options...
HEROGAMEOfficial Posted December 27, 2021 Share Posted December 27, 2021 5 hours ago, HorridModz said: When I try to execute a script I get an out of memory error. How do I fix this? Ask author of script. Link to comment Share on other sites More sharing options...
HorridModz Posted December 27, 2021 Author Share Posted December 27, 2021 21 hours ago, blocx said: witch game and script u use ? never encounter this trouble I'm using a script in a game called pixel gun 3d. https://www.mediafire.com/file/4943vqxqyj6hvou/com.pixel.gun3d_valuedecryptor_new.lua/file Link to comment Share on other sites More sharing options...
CmP Posted December 28, 2021 Share Posted December 28, 2021 Here is a fragment of script's code: local u = gr(500002, 0, nil, nil, nil, nil, 4, nil, nil) with "gr" being previously defined as: local gr = gg.getResults So it is a call to "gg.getResults" function that loads up to 500002 (500k) results and this call is the reason why "OutOfMemory" error occurs. Loading 500k results at once is way too many, instead it should be 50k-100k or so. As for the algorithm implemented by the script, it's relatively simple - to find all trios of subsequent dword values that meet the following condition: value1 XOR value2 XOR value3 = target_value Link to comment Share on other sites More sharing options...
HEROGAMEOfficial Posted December 28, 2021 Share Posted December 28, 2021 3 hours ago, CmP said: Here is a fragment of script's code: local u = gr(500002, 0, nil, nil, nil, nil, 4, nil, nil) with "gr" being previously defined as: local gr = gg.getResults So it is a call to "gg.getResults" function that loads up to 500002 (500k) results and this call is the reason why "OutOfMemory" error occurs. Loading 500k results at once is way too many, instead it should be 50k-100k or so. As for the algorithm implemented by the script, it's relatively simple - to find all trios of subsequent dword values that meet the following condition: value1 XOR value2 XOR value3 = target_value In sites rules all gg mod not allowed in this forum, if you think there is a gg mod function, please don't discuss it (answer) here. 10 hours ago, HorridModz said: I'm using a script in a game called pixel gun 3d. https://www.mediafire.com/file/4943vqxqyj6hvou/com.pixel.gun3d_valuedecryptor_new.lua/file GG runs normally, if an error occurs while running the script, try asking the script creator first. Link to comment Share on other sites More sharing options...
CmP Posted December 28, 2021 Share Posted December 28, 2021 29 minutes ago, HEROGAMEOfficial said: In sites rules all gg mod not allowed in this forum, if you think there is a gg mod function, please don't discuss it (answer) here. You should understand the context to make such claims. The script that has been posted is for official GG, so no rules have been violated by discussing it. If you mean something else, then you need to explain it in an understandable way. Just bringing up a rule isn't enough, the reason(s) of it being applicable in particular case needs to be specified as well. Link to comment Share on other sites More sharing options...
Question
HorridModz
When I try to execute a script I get an out of memory error. How do I fix this?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.