Jump to content

Recommended Posts

Posted

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

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

It's raining Items
Kairo Cookies, 400+ to all stats in Training and +12 for your Eggs

Kingdom Adventures work in 2 ways, you need to activate an Item for it to appear in your List, from there you can change the quantity
The Search Syntax is similar to Group Items except the Item Quantities are stored elsewhere.

First we need to ACTIVATE the Item

Search Syntax
3B9AC9FFh~C4653600h;0;0~1;0~65536;ItemCode;ItemFlag;3B9AC9FFh~C4653600h::25

3B9AC9FFh~C4653600h - Searches between -1,000,000,000 and -999,999,999, we will take a note of the Value from the Search
0                   - Flag
0~1                 - Flag 0 = Inactive 1 = Activated
0~65536             - Flag 0 = Inactive 65536 = Activated?
ItemCode            - Flag that points to the Item
ItemFlag            - Flag that puts items in catergories
3B9AC9FFh~C4653600h - Flag

Now to put in the Kairo Cookie Values
Kairo Cookies       - ItemCode 171
Kairo Cookies       - ItemFlag 148074

3B9AC9FFh~C4653600h;0;0~1;0~65536;171;148074;3B9AC9FFh~C4653600h::25

1EfzgN5.jpeg

For my Search, the first flag is -1,812,715,520, I can use this value instead of the first 3B9AC9FFh~C4653600h for future Item Searches as long as I don't quit the game

As my search is showing 0 I need to change the Activation Code to 1 and the value below it to 65536

Now it's time to change the Quantity

Search Syntax

ItemCode;-1;ItemCode;0~~0::13

ItemCode            - Flag that points to the Item
-1                  - Flag
ItemCode            - Flag that points to the Item
0~~0                - Quantity

Now to put in the Kairo Cookie Values
Kairo Cookies       - ItemCode 171
-1                  - -1
Kairo Cookies       - ItemCode 171
0                   - Since we just activated the code it will be 0, you can change this to the quantity you have if the item was activated

171;-1;171;0::13

DL6PkwV.jpeg

I can change the Quantity of Item, some items will reset after you quit the game, like Kairo Cookies, it's up to you whether you put in a low value then freeze it

This search is pretty straight forward

Activate
3B9AC9FFh~C4653600h;0;0~1;0~65536;ItemCode;ItemFlag;3B9AC9FFh~C4653600h::25

Change Quantity
ItemCode;-1;ItemCode;Quantity::13

Item            ItemCode;ItemFlag
Accessory Sample     168;262762
Apple                110;197226
Armor Sample         166;262762
Banana               111;197226
Beef Stew            155;149226
Berry                108;197226
Bread                140;149226
Bronze                80;270954
Cabbage              103;197226
Cake                 147;149226
Carrot               101;197226
Cheese               139;148202
Clam                 119;197226
Copper Coin           12;96
Crab                 125;197226
Creamy Soup          153;149226
Curry                159;149226
Cut of Meat          129;131690
Donut                144;149226
Egg                  138;148202
Enchanted Root        87;328426
Energy Drink          94;328426
Farm Produce          71;270954
Fizzy Juice          137;149226
Flan                 145;149226
Fragrant Flower       88;328426
French Toast         141;149226
Fresh Beans           98;197226
Fried Noodles        161;149226
Fried Potatoes       149;149226
Fried Rice           162;149226
Fruit Basket         117;149226
Garlic               106;197226
Gold Coin             14;96
Gold Nugget           81;270954
Grape Juice          136;149226
Grapes               114;197226
Hamburger            143;149226
Healthy Mushroom      97;197226
Hearty Soup          154;149226
Helmet Sample        167;262762
High Grade Brick      78;270954
Icecream             146;149226
Iron Ore              79;270954
Kairo Cake           148;149226
Kairo Cookie         171;148074
Large Nail            76;270954
Leaf of Life          86;328426
Mackerel             120;197226
Mage's Bottle         91;328426
Magic Bottle          90;328426
Marbled Beef         131;149226
Meat on the Bone     128;131690
Medical Herb          85;270954
Melon                115;197226
Milk                 135;148202
Mixed Fruit Juice    134;149226
National Flag         73;270954
Nuts                  72;270954
Octopus              127;197226
Onion                102;197226
Orange               109;197226
Paella               156;149226
Pasta                163;149226
Pear                 112;197226
Pineapple            116;197226
Pizza                157;149226
Potato                99;197226
Pretty Cloth          84;270954
Radish               100;197226
Rice Omelete         160;149226
Rope                  77;270954
Sage's Potion         93;328426
Sage's Tome          169;262762
Salad                107;149226
Sashimi Platter      151;149226
Scroll of Knowledge  170;262762
Sea Bream            122;197226
Sea Snail            118;197226
Sea Urchin           123;197226
Shield Sample        165;262762
Shrimp               124;197226
Silk Cloth            82;270954
Silver Coin           13;96
Sliced Bread         142;149226
Sorceror's Bottle     92;328426
Spit Roast           130;149226
Spring Water          74;328298
Squid                126;197226
Steak                158;149226
Strawberry           113;197226
Strong Cloth          83;270954
Sturdy Board          75;270954
Sushi                150;149226
Sweet Medicine        95;328426
Sweet Mushroom        96;197226
Sweetcorn            105;197226
Tomato               104;197226
Top Grade Beef       132;149226
Tuna                 121;197226
Vegetable Soup       152;149226
Veggie Juice         133;149226
Vitality Bottle       89;328426
Wairo Cookie         172;148074
Weapon Sample        164;262762

 

Posted (edited)

GameGuardian Copy and Paste using Nox Emulator

I previously posted a way to do this but it is a bit clunky so I'll update this for people that use Emulators

Copy the Search you want to put in the Emulator

8QI6qjO.jpegFPOE5ko.jpegVGK5kRZ.jpegKzXeV44.jpegGo2hgYE.jpeg

 

Ignore the Blue Notification box as I forgot it was showing lols 😛

 

 

 

 

Edited by Jimeous
Posted (edited)

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

 

 

 

 

Edited by Jimeous
Typing Errors
Posted
2 hours ago, MonkeySAN said:

Use this script :

TEST_UnlockJob.lua 1 kB · 0 downloads

- to unlock S Rank Job and get 10 rights for it.

- script for 64bit(armv8) only.

use this Job IDs :

S Rank Job ID :

9 Merchant
14 Farmer
19 Carpenter
24 Mover
29 Trader
34 Researcher
39 Cook
44 Artisan
49 Blacksmith
54 Doctor
59 Monk
64 Rancher
69 Guard
74 Knight
79 Mage
84 Paladin
89 Gunner
94 Archer
99 Ninja
104 Samurai
109 Viking
114 Pirate
119 Champion
124 Wizard

- IDs are from previous work from other people in this thread.

i take no credits for it.

Great Work as always, I only wish I had an Arm64 device 😛

 

Posted (edited)

Kingdom Adventurers V2.42
Date: Aug 26th 2023

This may get you banned 😛

Quick Job Addition

JobClass Syntax

80000000h~C4653600h;0;Unlock;isNEW;133;68;80000000h~C4653600h::25

Unlock is 0~1 where 0 is Locked and 1 is Unlocked, change to 1 to Unlock

isNEW is 0~65537 where 0 is Not a New Character and 1 or 65536 or 65537 shows the "NEW" on the character, no changes are needed

Quantity Syntax

27;1;LifeSpan;5;4;6;2;20;6;80000000h~C4653600h;80000000h~C4653600h;80000000h~C4653600h;80000000h~C4653600h;QTY::53

LifeSpan is -1~99999 where -1 is immortal but doesn't show and any other number shows in the Lifespan

QTY is the number of characters you want to have, use 0~~0 if you don't know how many you have

Santa Job Class

80000000h~C4653600h;0;0~1;0~65537;133;68;80000000h~C4653600h::25
27;1;9;5;4;6;2;20;6;80000000h~C4653600h;80000000h~C4653600h;80000000h~C4653600h;80000000h~C4653600h;0~~0::53

Change the 9 Lifespan to -1

Change the 0~~0 to the Quantity you want

F Scholar Job Class

80000000h~C4653600h;0;0~1;0~65537;132;164;80000000h~C4653600h::25
0;1;1;1;2;1;1;10;10;80000000h~C4653600h;80000000h~C4653600h;80000000h~C4653600h;80000000h~C4653600h;0~~0::53

Edited by Jimeous
Posted
18 minutes ago, MonkeySAN said:

cant install 64bit on Nox Emulator?

Yep, Android 7 64b and Android 9 64b

But neither are needed for this game 😛

Posted
23 hours ago, Jimeous said:

Great Work as always, I only wish I had an Arm64 device 😛

 

You can make that script work on v7 by tweaking the offsets, the method remain the same

Posted
3 hours ago, MAARS said:

You can make that script work on v7 by tweaking the offsets, the method remain the same

I wouldn't even know where to begin with that 😛

But I did learn that Nox 64bit Android 9 install of Kingdom Adventurers has a different data structure than their Android 5, 7 and 7 64 bit which are the same.

Android 5, 7, 7 64bit Resource Search

3B9AC9FFh~C4653600h;0;ItemCode;QTY;STORAGE

Android 9 64bit

3B9AC9FFh~C4653600h;0~~0;0;0;ItemCode;QTY;STORAGE

So an extra 2 DWORDs after the 3B9AC9FFh~C4653600h

 

 

Posted
16 minutes ago, MonkeySAN said:

can you test this script :

TEST_GroupItems[Unlock+QTY]32bit.lua 1.04 kB · 1 download

its for 32bit.

see if it will work or not.

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)

 

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

 

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.