Page 3 of 5

Re: [Request] Citizen Sleeper

Posted: Thu May 12, 2022 7:42 am
by fhjafjhiashifa
sir5er is right. I am unsure what MoreMountains is doing, but it's likely a red herring. And Fsm has too many variables to be able to narrow down the original easily.

Re: [Request] Citizen Sleeper

Posted: Thu May 12, 2022 5:02 pm
by AlexS
del

Re: [Request] Citizen Sleeper

Posted: Thu May 12, 2022 10:39 pm
by krmit
@AlexS
Thanks for the table, works fine.
Also, the CRYO poiner affects other items and data-items, but only visually - real values are unchanged. Can you look into it?

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 3:44 am
by fardriel
That's because each variable in the game is named via string (which is an odd way of doing it, but I suppose not the oddest) and AlexS's script checks the variable name.

The name for the HP is Player_Condition (which the script checks for Player******ti where * can be any character) which seems to be unique.

CRYO, on the other hand, seems to be named Value, which is shared among many of the inventory items. I suspect that the entire Value variable is actually just the value for an inventory item variable, but haven't been able to verify. If so, looking at the name of the variable that points at the one on the stack would be good enough to isolate it to CRYO.

Two problems are: finding what that variable is called, and finding how to go one pointer level up, since the pointer to the parent variable doesn't seem to still be in register. It might be on the stack, though.

I've been trying to see if I can use a similar method to track down Energy and Dice, but no luck so far.

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 12:06 pm
by AlexS
krmit wrote:
Thu May 12, 2022 10:39 pm
the CRYO poiner affects other items and data-items
(Google translation)

Probably, other addresses also get through the script filter. The problem is that I can't see any other addresses, because my playable character is at the very beginning of the game and now in the "Items" tab he does not have any items other than CRYO. Therefore, at the moment my game sees only CRYO and does not see any other items. It's hard for me to filter what I can't see.
I'll try to fix the filter, but it would be better and faster if someone posted a game save here where the player has these items.

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 12:32 pm
by urthor
AlexS wrote:
Fri May 13, 2022 12:06 pm
krmit wrote:
Thu May 12, 2022 10:39 pm
the CRYO poiner affects other items and data-items
(Google translation)

Probably, other addresses also get through the script filter. The problem is that I can't see any other addresses, because my playable character is at the very beginning of the game and now in the "Items" tab he does not have any items other than CRYO. Therefore, at the moment my game sees only CRYO and does not see any other items. It's hard for me to filter what I can't see.
I'll try to fix the filter, but it would be better and faster if someone posted a game save here where the player has these items.
If you play the game normally you will acquire them extremely swiftly I promise you

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 12:54 pm
by krmit
@AlexS
My save (pass: frf)
cit_sleep_save.zip
(118.72 KiB) Downloaded 267 times

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 2:11 pm
by AlexS
urthor wrote:
Fri May 13, 2022 12:32 pm
If you play the game normally you will acquire them extremely swiftly I promise you
(Google translation)

As you can see, I am writing in English via Google Translate. The game contains many texts in English, the correct understanding of which completely depends on the gameplay and progress in the game. Therefore, it is very difficult for me to "play normally" in such games without localization. I do not plan to play this game in the future, and now I only need to receive items in order to improve my table for other players. Even if no one posted a game save, I would try to get the items myself, but it would take a long time.

krmit wrote:
Fri May 13, 2022 12:54 pm
My save
Yes, now I see that the screen value of other items is also changing. I'll try to fix it.

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 5:08 pm
by AlexS
del

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 7:50 pm
by NotAFedBoy
AlexS wrote:
Fri May 13, 2022 5:08 pm
(Google translation)

Update v2.
- fixed CRYO filter, now the screen values of other items do not change.
- default value of CRYO is 999, not 999999 (999 is the maximum value in the game)
- added energy value (HP + Energy).

Check, test.
viewtopic.php?p=250091#p250091
Tried testing with Gamepass version script would not activate

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 8:11 pm
by AlexS
NotAFedBoy wrote:
Fri May 13, 2022 7:50 pm
Tried testing with Gamepass version script would not activate
(Google translation)

I don't have that version of the game, I can't check. I checked on GOG versions 1.0.11 and 1.0.12, the script works on both versions. You need to activate the script in the game, not in the main menu (the script is not activated in the main menu).

Re: [Request] Citizen Sleeper

Posted: Fri May 13, 2022 8:16 pm
by NotAFedBoy
AlexS wrote:
Fri May 13, 2022 8:11 pm
NotAFedBoy wrote:
Fri May 13, 2022 7:50 pm
Tried testing with Gamepass version script would not activate
(Google translation)

I don't have that version of the game, I can't check. I checked on GOG versions 1.0.11 and 1.0.12, the script works on both versions. You need to activate the script in the game, not in the main menu (the script is not activated in the main menu).
I tried activating just past tutorial section and i got error scanning AOB cis_5 no results found

Re: [Request] Citizen Sleeper

Posted: Sat May 14, 2022 12:15 am
by Chinzilla88
+1 please someone do one for this game :D

Re: [Request] Citizen Sleeper

Posted: Sat May 14, 2022 4:34 am
by xikerm61
I get the same and i have the GOG version

Re: [Request] Citizen Sleeper

Posted: Sat May 14, 2022 7:22 am
by JackTheRabbit
AlexS wrote:
Fri May 13, 2022 5:08 pm
(Google translation)

Update v2.
- fixed CRYO filter, now the screen values of other items do not change.
- default value of CRYO is 999, not 999999 (999 is the maximum value in the game)
- added energy value (HP + Energy).

Check, test.
viewtopic.php?p=250091#p250091
Can you add Upgrade points. you're the only one who can help me your trainer worked well :D