UnReal World forums

UnReal World => Modding => Topic started by: Night on December 14, 2019, 01:18:52 PM

Title: [Info] [3.72][3.71] Cheat Engine Addresses
Post by: Night on December 14, 2019, 01:18:52 PM
Documenting my addresses here, I'll be updating and posting new ones as I have time to do so.
Feel free to suggest additions or correct mistakes.

Key:
(?) - Needs more documentation, partial confirmation.

[3.72]
Rudy has addresses for 3.72 attached below, includes the essentials.


Outdated Versions:
Spoiler: show

[3.71]
Attached 3.70 addresses.
3.70 cheat table works on 3.71, so no updating needed.


[3.61] Steam version affected by: Feb 2, 2020 hotpatch. Add +0x1000 onto the end of the address to make compatible.
Code: [Select]
urw.exe+A345F90 - CharacterName(2)   Notes: Max length of 12.
urw.exe+A346010 - CharacterDirectory   Notes: Location of current characters directory

urw.exe+A2ECA18 - CharacterName   Notes: Max length of 12.
urw.exe+A2ECA26 - TribeName   Notes: Max length of 17.
urw.exe+A2ECA25 - TribeID   Values: 0-9   Notes: Identifies which tribe your character is from.
urw.exe+A2ED4C8 - CharacterWeight
urw.exe+A2ED4CC - CharacterHeight
urw.exe+A2ED4D0 - Physique (unusued)
urw.exe+A2ED4D4 - Phobia (unused)
urw.exe+A2ED4D9 - Gender   Values: 1-2
urw.exe+A2ECF4D - Character Portrait   Example: "east1.png"

urw.exe+A2ED4DA - Strength   Values: 0-255
urw.exe+A2ED4DB - Agility   Values: 0-255
urw.exe+A2ED4DE - Dexterity
urw.exe+A2ED4DF - Speed
urw.exe+A2ED4E1 - Endurance
urw.exe+A2ED4E2 - Smell/Taste
urw.exe+A2ED4E5 - Eyesight
urw.exe+A2ED4E6 - Touch
urw.exe+A2ED4E7 - Will
urw.exe+A2ED4EA - Intelligence
urw.exe+A2ED4EB - Hearing

urw.exe+A2EE044 - Tempature   Notes: float
urw.exe+A2EE018 - Hunger
urw.exe+A2ED404 - Thirst
urw.exe+A2ED408 - Energy
urw.exe+A2ED4AC - Nutrition
urw.exe+A2ED4B8 - Fatigue    Notes: float
urw.exe+A2ED4C0 - Carry Weight   Notes: Freeze to 0 to carry anything, increase characer weight to pickup heavier items

InjuryArrays   Notes: Each address is an array of 20 values representing injury details.
urw.exe+A2ED410 - WoundSeverity   Values: 0-3 (None, Minor, Moderate, Severe)
urw.exe+A2ED424 - WoundSide   Values: 0-3 (Left, Left, Right, None)
urw.exe+A2ED438 - WoundState Values: 0-1 (None, Bleeding) Notes: Effects the rate of bloodloss.
urw.exe+A2ED44C - WoundLocation   Values: 0-18 (None, Eye, Face/Skull, Neck, Shoulder, Upper Arm, Elbow, Forearm, Hand, Thorax, Abdomen, Hip, Groin, Thigh, Knee, Calf, Foot, Tail, Wing)
urw.exe+A2ED460 - WoundType   Values: 0-12 (None, Bruise/Fracture/Crush, Cut, Puncture, Burn, Frost, Tear/Bite, Unused, Unused, Unused, Influenza, Plague)
urw.exe+A2ED474 - WoundAmount   Values 0-100   Notes: When all wounds add up to >= 100, your character dies.

urw.exe+01B0BA0 - Start Location X   Values:0 - 3071 (Map X Max)
urw.exe+01B0BA4 - Start Location Y   Values:0 - 2047 (Map Y Max)
urw.exe+A2937CC - X Location   Values: 0 - 3071 (Current X Location)
urw.exe+A2EE070 - Y Location   Values: 0 - 2047 (Current Y Location)
urw.exe+A346588 - Direction   Values: 0-7   Notes: Represents what direction you're facing

urw.exe+01B2114 - Skill Points
urw.exe+A2ECCC2 - Skill Array   Notes: 27 bytes, each one represents a skill's level. Max value of 255.
urw.exe+A2ECE20 - Skill Exp Array(?)  Values: 0-99   Array Length: 27   Notes: Looks like experience, increases darker bar under your skill
urw.exe+A2ECC90 - Skill Star Array(?)   Values: 12-17   Array Length: 27   Notes: Affects *'s at end of skill, possible XP multiplier

urw.exe+14C5132 - IsTargeting   Values: 0-1
urw.exe+2F4F4DC - TargetY   Notes: Value is 0 unless targetting.
urw.exe+294DEA4 - TargetX   Notes: Value is 0 unless targetting.

urw.exe+5D1848C - MouseX   Notes: X location of the mouse. Relative to rendering
urw.exe+5F1C3DC - MouseY   Notes: X location of the mouse. Relative to rendering

urw.exe+5F27F5F - MapType   Values: 1-2 (overworld, local)
urw.exe+6182BD0 - MapRenderSizeHeight    Values: 460, 564, 730, 920
urw.exe+6182BCC - MapRenderSizeWidth   Values: 450, 552, 714, 900
urw.exe+6183228 - CanSeeMap   Values: 0-1 (0 in inventory)

urw.exe+A2935C4 - TimeSpent   Notes: Represents the amount of time spent on the current/last action in minutes.

urw.exe+A2B2D58 - MapEntityArray (Not base address)   Notes: represents a list of objects rendered on map tiles, contains object XY and ID. More documentation required.

urw.exe+5D189BC - NPCStruct   Notes: represents NPC data, 1384 bytes in length, includes spirte, portrait, name, NPC type, etc.

urw.exe+54E8D50 - KnownItemsArray   
Notes: represents the known items struct, each item has 172 bytes of data (0xAC) representing various traits about the item. StructAddress + (172 * KnownItemID) = KnownItemInfo

urw.exe+A2ED000 - Item ID Array   Values: 50000 - (50000 + KnownItemCount)   Array Length: InventoryItemCount   
Notes: Represents the index/ID of an item your character has in their inventory, using this ID you can retrieve the items data from the item struct (StructAddress + (0xAC * ItemIndex)) More details on this later.

urw.exe+A2ED190 - Item Quantity Array   Values: 0 - 4294967295   Array Length: InventoryItemCount   
Notes: Controls the quantity of a specific item. Aligns with Item ID Array.

urw.exe+A2ED4B4 - Hour   Values: 0-24
urw.exe+A2ED4B5 - Minute   Values: 0-60
urw.exe+A2ED4DC - Day   Values: 1-30
urw.exe+A2ED4E8 - Month   Values: 1-12
urw.exe+A2ED4E9 - Year   Values: 16-?   Notes: (progresses with time, seems to start at 16. Possible indication of character age?)

urw.exe+A347428 - World Temperature   Values: -32 - 32

urw.exe+01B0BB8 - RegionName(1)   Example: "Heathland at Kovametsa "Hard forest""
urw.exe+3550E70 - RegionName(2)   Example: Heathland at Kovametsa "Hard forest"

urw.exe+5F15BD8 - Installation Folder(1)   Example: C:\Program Files (x86)\Steam\steamapps\common\UnRealWorld
urw.exe+A3465A8 - Installation Folder(2)   ^

urw.exe+A2EDC08 - Last completed tutorial/game course goal   Notes: Set lower to reset previous goals



[3.60]
Code: [Select]

urw.exe+A2EBF4D - Character Portrait   Example: "east1.png"

World Time:
urw.exe+A2EC4B4 - Hour   Values: 0-24
urw.exe+A2EC4B5 - Minute   Values: 0-60
urw.exe+A2EC4DC - Day   Values 1-30
urw.exe+A2EC4E8 - Month   Values 1-12
urw.exe+A2EC4E9 - Year   Values 16-?   Notes: (progresses with time, seems to start at 16. Possible indication of character age?)

Skills:
urw.exe+A2EBCC2 - Skill Level Array   Values: 0-255   Array Length: 27
urw.exe+A2EBE20 - Skill Exp Array(?)  Values: 0-99   Array Length: 27   Notes: Looks like experience, increases darker bar under your skill
urw.exe+A2EBC90 - Skill Star Array(?)   Values: 12-17   Array Length: 27   Notes: Affects *'s at end of skill, possible XP multiplier

Items:
urw.exe+A2EC000 - Item ID Array   Values: 50000 - (50000 + KnownItemCount)   Array Length: InventoryItemCount   Notes: Represents the index/ID of an item your character has in their inventory, using this ID you can retrieve the items data from the item struct (StructAddress + (0xAC * ItemIndex)) More details on this later.
urw.exe+A2EC190 - Item Quantity Array   Values: 0 - 4294967295   Array Length: InventoryItemCount   Notes: Controls the quantity of a specific item. Aligns with Item ID Array.

Title: Re: [Info] [3.61] Cheat Engine Addresses
Post by: StefanPravda on January 26, 2020, 01:25:14 PM
Quick question. What are these:
urw.exe+01B0BA0 - Start Location X   Values:0 - 3071 (Map X Max)
urw.exe+01B0BA4 - Start Location Y   Values:0 - 2047 (Map Y Max)

Current location is where you are now, but I don't understand what these are. Thank you
Title: Re: [Info] [3.61] Cheat Engine Addresses
Post by: Night on January 26, 2020, 03:38:04 PM
Quick question. What are these:
urw.exe+01B0BA0 - Start Location X   Values:0 - 3071 (Map X Max)
urw.exe+01B0BA4 - Start Location Y   Values:0 - 2047 (Map Y Max)

Current location is where you are now, but I don't understand what these are. Thank you

During character creation, these represent where your character will be placed in the world prior to entering the world. Afterwards they are set to 1024 and are unused as far as I can tell.
Title: Re: [Info] [3.61] Cheat Engine Addresses
Post by: Ubie on July 21, 2020, 11:19:38 PM
Semi Necro to add my findings for 3.62 (so I can at least find them in the future and so that other might use them)

Here's the new stats locations:  (Found Dex and worked the others out from there)

Code: [Select]
STR urw.exe+A2F1536-4
AGI urw.exe+A2F1536-3
DEX urw.exe+A2F1536‬
SPE urw.exe+A2F1536+1
END urw.exe+A2F1536+2
SML urw.exe+A2F1536+4
EYE ‬urw.exe+A2F1536+7
TOU urw.exe+A2F1536+8
WIL urw.exe+A2F1536+9
INT urw.exe+A2F1536+C
HEA urw.exe+A2F1536+D
Title: Re: [Info] [3.61] Cheat Engine Addresses
Post by: Night on July 29, 2020, 10:56:28 AM
Semi Necro to add my findings for 3.62 (so I can at least find them in the future and so that other might use them)

Here's the new stats locations:  (Found Dex and worked the others out from there)...

Just to add onto this, I find the beginning of the attribute array and then use offsets to calculate the other addresses as follows:
Code: [Select]
urw.exe+A2F1532   -   Attribute array beginning

        Offsets: (add to A2F1532)

        Attrib = Decimal (Hex),

        Strength = 0 (0x0),
        Agility = 1 (0x1),
        Dexterity = 4 (0x4),
        Speed = 5 (0x5),
        Endurance = 7 (0x7),
        SmellTaste = 8 (0x8),
        Eyesight = 11 (0xB),
        Touch = 12 (0xC),
        Will = 13 (0xD),
        Intelligence = 16 (0x10),
        Hearing = 17 (0x11)

Also, added my .CT for 3.63 to the OP's attachments.
Title: Re: [Info] [3.70] Cheat Engine Addresses
Post by: Night on October 21, 2021, 08:49:00 PM
~Updated to 3.70
might have 1 or 2 addresses that need to be fixed
edit2: fixed hunger address.
edit3: fixed energy and fatigue address.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: rudy on December 11, 2022, 08:51:04 PM
Here is a cheat engine file for 3.72b. It has some things that Night's doesn't (e.g. sight range), and Night's has some things that this doesn't (e.g wounds). I'm not motivated enough to combine them at this time, but all the basics are functioning.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: KiraMango on December 19, 2022, 03:54:20 PM
Great thread, now I will follow the cheat engine updates here and use the updated versions, since sometimes outdated versions don't work at all.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: rudy on December 21, 2022, 04:47:35 AM
3.72b file no longer worked with upgrade to 3.72 (stable).

Here is an adjusted file that works with it.

I added in Night's array of injuries (adjusted with the same shift as everything else), though with a note that I haven't tested it myself. I'll test it next time I get injured.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: morrneyo on December 25, 2022, 06:06:48 AM
3.72b file no longer worked with upgrade to 3.72 (stable).

Here is an adjusted file that works with it.

I added in Night's array of injuries (adjusted with the same shift as everything else), though with a note that I haven't tested it myself. I'll test it next time I get injured.


With this new 3.72 address, When I modify hearing stat, character corrupts. Others seem fine.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: rudy on December 25, 2022, 01:23:53 PM
I think what may be happening is the same thing that happened to me. It's not hearing, per se, which is the problem.

Under one of the more recent updates, the game perceives it as an error in the character if ALL stats are 18 or above, and you get that character checksum error message in red. This can be avoided by keeping at least one of your attributes below 18 in character editing.

So, for example, if you had everything at 20, you'd get the error, but if you then reduced hearing to 17 it would seem to solve the problem. But the reality is reducing ANY of your attributes to 17 would solve the problem.

Please let me know if this checks out for your character (try editing hearing to above 17, but reducing a different attribute to 17). If I'm wrong, please let me know.

If I'm right, it's not a problem that can be solved by cheat engine; there's just a hard-coded check that checks to see if your attributes are all 18 or above and spits out an error message if so. The work-around is to keep at least one attribute at 17 or below.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: rudy on December 30, 2022, 04:01:58 PM
File updated for the 3.72 patch 1 update. If you have not installed the hotfix, or if it's not available for your OS yet, continue using the 3.72 file from three posts up.
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: Hictis on December 30, 2022, 08:20:49 PM
Version 3.72 patch #1 works for me.

Please note that the address for textilework skill is incorrect. In Ruby's table it is set to 0B2F5DD5 but it should be urw.exe+A305DD5

See it in skills >> Lore & Craft Skills >> Textilecraft

As for the checksum error - it will go away if you decrease an attribute to 17 and keep others at 18.
It's trickier with skills.
For skills I found that setting all values to 94 instead of 100 will avoid this error. I don't seem to understand the criterion for the checksum error in case of skills. If I set half of the 28 skills to 100 and the other half to 94 (Sum = 2716), then I don't get the error; but if I set all to 95 (Sum = 2660, which is lower), then I get the error. I don't think it matters which skills you select, as long as there is this 14/14 94/100 balance.
EDIT: it seems that skills after 95 set your profficiency level to "grandmaster" and you cannot be a grandmaster to more than 1/2 of all of the skills. So I set all Lore & Craft skills to 95+ (grandmaster) and the rest to 94 (master). Then the checksum error won't pop up.

Hope it helps!
Title: Re: [Info] [3.71] Cheat Engine Addresses
Post by: rudy on December 30, 2022, 09:47:06 PM
Please note that the address for textilework skill is incorrect. In Ruby's table it is set to 0B2F5DD5 but it should be urw.exe+A305DD5

I think that's true in the 3.72 file, but I'm pretty sure I fixed it in the 3.72 patch 1 file, no? It's fixed on my computer, so if not, something weird going on.


EDIT: I think I had uploaded before I saved the fix. I changed the download two posts up to fix the textilecraft issue. I think.
Title: Re: [Info] [3.72][3.71] Cheat Engine Addresses
Post by: Hictis on December 31, 2022, 12:21:23 PM
Hi Rudy!

Thanks for the update. It looks correct now!

A bit off topic but probably helpful for further table improvement:
I have tinkered around a bit with the hex editor and I was successful in replacing items. Compare two files: 1) NAME.OBJ (your character) and 2) CONSTANT.OBJ in the game's folder. Not all values are available - meat cuts, leather etc. are missing.

An item hex code is something like this:

(fur mittens)

02 00 00 00 00 00 00 00 00 46 75 72 20 6D 69 74 74 65 6E 73 00 73 74 72 69 6E 67 2A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 74 75 6E 74 65 6D 61 74 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61 72 2D 6D 69 74 74 65 6E 73 00 00 00 00 54 00 00 00 C0 41 05 03 02 03 02 05 00 00 00 00 80 01 00 00 00 00 00 00 80 3F 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

It starts 9 cells before the string name, so be careful when copying/pasting the hex values. I was able to find quality with *fine* value being 84, 7th cell from the end.

EDIT: playing around with it I found 82 being *rough*, 83 normal, 84 *fine* and 85 *masterwork*.

(fine kaumolais knife)

01 00 00 00 9A 00 00 00 00 4B 61 75 6D 6F 6C 61 69 73 20 6B 6E 69 66 65 00 6E 67 2A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4B 4E 49 46 45 00 61 74 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 77 70 2D 6B 6B 6E 69 66 65 00 00 00 00 00 46 00 00 00 48 43 02 02 05 00 00 00 00 00 00 00 00 00 00 00 00 00 BF D6 B4 3E BF D6 B4 3E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 84 00 11 00 00 00 00

(kaumolais knife)
01 00 00 00 9A 00 00 00 00 4B 61 75 6D 6F 6C 61 69 73 20 6B 6E 69 66 65 00 6E 67 2A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4B 4E 49 46 45 00 61 74 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 77 70 2D 6B 6B 6E 69 66 65 00 00 00 00 00 46 00 00 00 48 43 02 02 05 00 00 00 00 00 00 00 00 00 00 00 00 00 BF D6 B4 3E BF D6 B4 3E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 11 00 00 00 00

I did stumble on some obstacles, e.g. I am unsure how to enter meat cuts. Equipment items are 172 bytes long but meat cutes are 344 bytes long (I think).

I believe Night promised to share quality editing using hex code but I did not find that thread.

By knowing the proper byte array I was able to change the item + quality in the game. Otherwise I have to edit my character's NAME.OBJ using Cheat Engine's memory editor.
Title: Re: [Info] [3.72][3.71] Cheat Engine Addresses
Post by: Hictis on December 31, 2022, 10:58:18 PM
Hey all,

I found a way to exploit hex codes to make items you need. One weird thing I found out is that when you change an item type even if you drop an item, it will change. So, a quick and dirty workaround is to create stone knives. Stone knife is the easiest item to manufacture, requiring 1+1 rocks (1 rock to polish a rock to be spent). You find that rock's byte array using cheat engine and then you change it to a masterwork item of your choice.

Stone knife (normal quality) hex code:

01 00 00 00 00 00 00 00 00 53 74 6F 6E 65 20 6B 6E 69 66 65 00 73 74 72 69 6E 67 2A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4B 4E 49 46 45 00 61 74 6F 6E 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 77 70 2D 73 74 6E 6B 6E 69 66 65 00 00 00 46 00 00 00 00 00 C8 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 53 89 29 3F 53 89 29 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 83 00 01 00 00 00 00

search that using Scan Type:Search for this array

You replace that with a hex code of an item that interests you, which you can find using a memory view panel searching for a string of your choice (e.g. "broad axe"). Here is a key, the search Array to scan starting address has to be anything from 05600000, and the byte length has to be 172 bytes starting 9 bytes before the string (e.g. "Broad axe.lestring*").

Try this out and see if it works.

I am attaching an xlsx+ods files with the items I found using hex codes.
Check it out.
Title: Re: [Info] [3.72][3.71] Cheat Engine Addresses
Post by: Hictis on September 10, 2023, 02:59:16 PM
Uploading a (semi-) working table for the current version 3.81. This table works on the Microsoft Windows version of URW purchased via Steam.

WARNING: The 'Warp' feature was not modified and will not work. You are welcome to fix it.

Edit #1: Just realized the skills addresses are wrong. Fixed it.
Title: Re: [Info] [3.72][3.71] Cheat Engine Addresses
Post by: P00TiZ on October 15, 2023, 03:08:03 PM
Update for 3.82 please.