Jump to content

Recommended Posts

Posted
14 minutes ago, Jimeous said:
Script ended:
Script error: luaj.o: /storage/emulated/0/Download/1280582130_TEST_GroupItemsUnlockQTY32bit.lua:33
`	{address = t[1].address - 0x8, flags = 4, value = 1},--activation`
attempt to index ? (a nil value) with key 'address' (field '1')
level = 1, const = 31, proto = 0, upval = 1, vars = 10, code = 140
GETTABLE v8 v8 "address"
 ; PC 118 CODE 04428207 OP 7 A 8 B 8 C 266 Bx 4362 sBx -126709
stack traceback:
	/storage/emulated/0/Download/1280582130_TEST_GroupItemsUnlockQTY32bit.lua:33 in main chunk
	[Java]: in ?
	at luaj.LuaValue.f(src:989)
	at luaj.LuaValue.c(src:2864)
	at luaj.LuaValue.i(src:2767)
	at luaj.LuaValue.w(src:1094)
	at luaj.LuaClosure.a(src:363)
	at luaj.LuaClosure.l(src:160)
	at android.ext.Script.d(src:6056)
	at android.ext.Script$ScriptThread.run(src:5785)

 

well..i guess it didnt worked then.

not in the emulator that is.

Posted
15 minutes ago, MonkeySAN said:

well..i guess it didnt worked then.

not in the emulator that is.

Lols, yep...

I was going to try it in MEMU but I couldn't stand the amount of Ads it had, then it took forever to just download and install the Android 32bit system and it was in an Asian Language so I just uninstalled the whole thing :P. Plus it had a clunky way of doing Zooming.

 

Anway, it looks like the lua script was searching for something but returned no results. The prompt for an Item Id came up before the crash report, was I supposed to do a search first?

 

 

 

 

Posted
8 minutes ago, MonkeySAN said:

perhaps you can take a look into the script and try to figure it out.

I was checking out a script by Hackers House which basically goes through a number of tries where you can locate a value even after restarting.

So I tested it on Grass Resource Quantity, after going through the steps and created a script from it, it did locate the Quantity but there were problems

The testing was on an Android 7 (32bit), it worked for the Android 5 (32bit) but I had to be at the same point in the game when I restarted

I'm guessing that Hackers Houses' script takes a "snapshot", so as long as all the values around the Grass QTY remain the same then the script which it creates will work

I confirmed this when I changed the Grass Resource Storage as it broke the new script, then I changed the Storage back to the original Value and it worked again

I'm not sure if that helps

 

Posted (edited)

I dont use his script so im not sure what to say about that.

Once again..I recommend that you take a look at my script and try replicate everything written in it manually.

or 

maybe @MAARS can explain it to you.

If there is anything im really bad at..it's explaining things.

Edited by MonkeySAN
  • 3 weeks later...
Posted
On 8/25/2023 at 8:33 PM, Jimeous said:

Kingdom Adventurers V2.42
Updated Resource Search
Date: Aug 25th 2023
Tested on Nox Emulator using Adguard to block Ads

Disclaimer: Use Cheats at your own risk, banning is likely 😛

Updated Resource Search
I've rechecked my previous posting and found some errors

Resource Search Syntax
3B9AC9FFh~C4653600h;0;ItemCode;QTY;STORAGE::17

Item Codes (ItemCode)
These are Flags that are used to identify Resources
1 Grass
2 Wood
3 Food
4 Ore
5 Mystic Ore
6 Energy

Explanation of Resource Syntax
3B9AC9FFh~C4653600h - Searches a range between -1,000,000,000 to -999,999,999
0                   - A flag
ItemCode            - The Number of the Item you are searching for
QTY                 - The quantity of the Item in your Town Hall
STORAGE             - The storage of your Town Hall, this will change as you increase the Town Hall Rank
::17                - This is an ordered search of 17 bytes

Starting a New Game

hOOLqWU.jpegseCH1q2.jpeg

We can start changing Values right after we have built our Town Hall

Grass Resource Search

Grass ItemCode is 1

Grass QTY is 20

Grass Storage is 25

Resource Search Syntax
3B9AC9FFh~C4653600h;0;ItemCode;QTY;STORAGE::17

Changing the Values to Search for Grass

Use this as your Search when playing a New Game

3B9AC9FFh~C4653600h;0;1;20;25::17

seCH1q2.jpegqQZPyOL.jpegElNr7N7.jpegC9RVX0f.jpegZriadeG.jpeg

After your Search you can change the QTY and STORAGE to whatever you want, then change the other Resources using their Values

If you haven't started a new game then your QTY and STORAGE will be different for each Item, start by changing those Values

Grass Resource Search

Grass ItemCode is 1

Grass QTY is the amount of grass in your Town Hall

Grass Storage is storage of your Town Hall

Resource Search Syntax
3B9AC9FFh~C4653600h;0;ItemCode;QTY;STORAGE::17

Replace ItemCode;QTY;STORAGE with the values you have so if you are searching for Wood then change the ItemCode to 2 along with the values for Wood

 

 

 

Hi, have any one try this, cause not working for me

Posted (edited)

what are you trying to find?

resources are simple and easy enough.

search = ID;Current QTY;Max Storage::9

example :

Wood ID = 2

currrent Qty  = 20

max storage = 25

search = 2;20;25::9

@Jimeous guides for the resources is only for 32bit(armv7).

for 64bit(armv8) you only need to increase the group size from 17 to 25.

= 3B9AC9FFh~C4653600h;0;2;20;25::25

Edited by MonkeySAN
Posted (edited)
5 hours ago, MonkeySAN said:

what are you trying to find?

resources are simple and easy enough.

search = ID;Current QTY;Max Storage::9

example :

Wood

currrent Qty  = 20

max storage = 25

search = 2;20;25::9

@Jimeous guides for the resources is only for 32bit(armv7).

for 64bit(armv8) you only need to increase the group size from 17 to 25.

= 3B9AC9FFh~C4653600h;0;2;20;25::

Somehow that wont work for me,i have to do it with the old fashion way, search for material quantity, change it, searxh again then, goto the address, so i can change the current material qty also its capacity. Yesterday i try to find job and add santa and schollar (F), and get ban. Is it cause of the sant or the schollar?

Screenshot_Kingdom_Adventurers_20230917-143357.png

Edited by tiins
Posted
5 hours ago, tiins said:

Somehow that wont work for me,i have to do it with the old fashion way, search for material quantity, change it, searxh again then, goto the address, so i can change the current material qty also its capacity. Yesterday i try to find job and add santa and schollar (F), and get ban. Is it cause of the sant or the schollar?

Screenshot_Kingdom_Adventurers_20230917-143357.png

if you can change those values,that means it will work.

you just need to goto the address and find a way that work for you.

care to share a screen shot any of the values when you goto the address?

i think there is not that much different.

Posted
1 hour ago, MonkeySAN said:

if you can change those values,that means it will work.

you just need to goto the address and find a way that work for you.

care to share a screen shot any of the values when you goto the address?

i think there is not that much different.

Sure

Screenshot_Kingdom_Adventurers_20230917-222405.png

Screenshot_Kingdom_Adventurers_20230917-222425.png

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.