Page 1 of 4

Request for Project Hospital

Posted: Thu Nov 01, 2018 9:44 pm
by Fenix
Game Name: Project Hospital
Game Engine: Unity
Game Version: latest(1.0.14245
Options Required: Money, XP for doctors.
Game/Steam Website: [Link]

Thank you in advance!

Re: Request for Project Hospital

Posted: Thu Nov 01, 2018 10:54 pm
by Kaedus
max skill and level for doctors

Re: Request for Project Hospital

Posted: Tue Nov 06, 2018 9:04 am
by Kaedus
We need so little. Unlimited staff, the maximum level of staff. Money is a smaller problem in the game.

Re: Request for Project Hospital

Posted: Sat Nov 10, 2018 10:52 am
by fantomas
Hi :)

This is just my little contribution on this game (v1.0.14398 GOG) - I do not know at what level it will be useful (or useless) but here are some pretty fun scripts. Feel free to edit/improve them.
Image

It will be my only contribution because the game is pretty quickly updated and it is just not humanly possible for me to follow up the scheduled game updates. :oops:

Feel free to

Re: Request for Project Hospital

Posted: Sat Nov 10, 2018 7:29 pm
by Kaedus
fantomas wrote:
Sat Nov 10, 2018 10:52 am
Hi :)
Feel free to
"Unlock All Departments" and "Fast LVL Up" not activate. "Max Skills/Specializations makes some doctors skill 2100%, some -25%.

Re: Request for Project Hospital

Posted: Sat Nov 10, 2018 10:39 pm
by fantomas
Kaedus wrote:
Sat Nov 10, 2018 7:29 pm
"Unlock All Departments" and "Fast LVL Up" not activate. "Max Skills/Specializations makes some doctors skill 2100%, some -25%.
"Unlock All Departments" => minor error (my bad)... fixed

"Fast LVL Up" => works fine here

"Max Skills/Specializations" => script edited

CT has been reuploaded... please give it a shot.

Re: Request for Project Hospital

Posted: Sat Nov 10, 2018 11:05 pm
by Kaedus
fantomas wrote:
Sat Nov 10, 2018 10:39 pm
"Unlock All Departments" => minor error (my bad)... fixed
"Fast LVL Up" => works fine here
"Max Skills/Specializations" => script edited
CT has been reuploaded... please give it a shot.
"Max Skills/Specializations" work fine. But "Unlock All Departments" and "Fast LVL Up" are still inactive. Maybe I need some special conditions?

Re: Request for Project Hospital

Posted: Sat Nov 10, 2018 11:31 pm
by fantomas
Kaedus wrote:
Sat Nov 10, 2018 11:05 pm
"Max Skills/Specializations" work fine. But "Unlock All Departments" and "Fast LVL Up" are still inactive. Maybe I need some special conditions?



To see 'Fast LVL Up' effect, please jump to 4:40

Re: Request for Project Hospital

Posted: Sun Nov 11, 2018 8:03 am
by Kaedus
CE
Image
All the same, "Unlock All Departments" and "Fast LVL Up" are not activated.
But "Fast LVL Up" crashes the game if I try to turn it on.
PS Steam version

Re: Request for Project Hospital

Posted: Sun Nov 11, 2018 8:31 am
by fantomas
Kaedus wrote:
Sun Nov 11, 2018 8:03 am
PS Steam version
fantomas wrote:
Sat Nov 10, 2018 10:52 am
This is just my little contribution on this game (v1.0.14398 GOG)
EDIT: Just checked steam version and all scripts work as expected. Try to set up the debugger method on VEH Debugger, maybe it could help or update your CE version if you have an old one but sincerely I'm out of ideas.

Re: Request for Project Hospital

Posted: Mon Nov 12, 2018 11:34 pm
by Kaedus
fantomas wrote:
Sun Nov 11, 2018 8:31 am
EDIT: Just checked steam version and all scripts work as expected. Try to set up the debugger method on VEH Debugger, maybe it could help or update your CE version if you have an old one but sincerely I'm out of ideas.
Cheat engine 6.8.1. Clean install and reset options. Run as administrator. Debugger method "use VEN debugger"
Steam version of the game v1.0.14398. "Unlock All Departments" and "Fast LVL Up" cannot be enabled.
GOG version v1.0.14398. "Unlock All Departments" and "Fast LVL Up" cannot be enabled.
All other scripts are enabled and working.

Re: Request for Project Hospital

Posted: Tue Jun 04, 2019 3:42 am
by linkchaos
Any chance can get a table for updated version?

Re: Request for Project Hospital

Posted: Sat Jun 22, 2019 7:01 pm
by ezafach
update GOG please

Re: Request for Project Hospital

Posted: Mon Jul 22, 2019 12:32 pm
by Kaedus
fantomas wrote:
Sat Nov 10, 2018 10:52 am
Hi :)

This is just my little contribution on this game (v1.0.14398 GOG) - I do not know at what level it will be useful (or useless) but here are some pretty fun scripts. Feel free to edit/improve them.
Image

It will be my only contribution because the game is pretty quickly updated and it is just not humanly possible for me to follow up the scheduled game updates. :oops:

Feel free to
Can you update the table? The game version is already 1.1 (1.1.16350)
PS everything works in the table except "Unlock All Departments" and "Fast LVL Up"

Re: Request for Project Hospital

Posted: Mon Jul 22, 2019 1:38 pm
by fantomas
Kaedus wrote:
Mon Jul 22, 2019 12:32 pm
Can you update the table? The game version is already 1.1 (1.1.16350)
PS everything works in the table except "Unlock All Departments" and "Fast LVL Up"
"Unlock All Departments"

Code: Select all

{ Game: Project Hospital
  Version: 1.1.16350 GOG
  Date: 2019-07-22
  Author: fantomas

  This script unlocks all departments
}

//m_locked
define(address,Lopital:Prefab:CanBePlaced+17b)
define(bytes,0F B6 89 3D 01 00 00)

[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,Lopital:Prefab:CanBePlaced+17b)

label(code)
label(return)

newmem:
  mov byte ptr [rcx+0000013D],0  //0: No | 1:Yes
  mov byte ptr [rcx+0000013E],0  //m_hospitalizationLocked

code:
  movzx ecx,byte ptr [rcx+0000013D] //m_locked
  jmp return

address:
  jmp newmem
  nop
  nop
return:

[DISABLE]
address:
  db bytes
  // movzx ecx,byte ptr [rcx+0000013D]

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: Lopital:Prefab:CanBePlaced+17b

049A3543: 0F 84 5E 1A 00 00              -  je Lopital:Prefab:CanBePlaced+1ba7
049A3549: 48 83 C1 48                    -  add rcx,48
049A354D: 41 BA 08 51 04 15              -  mov r10d,15045108
049A3553: 48 83 EC 20                    -  sub rsp,20
049A3557: 49 BB 30 B6 6D 0D 00 00 00 00  -  mov r11,GameDBPointer`1:get_Entry
049A3561: 41 FF D3                       -  call r11
049A3564: 48 83 C4 20                    -  add rsp,20
049A3568: 48 89 85 98 FD FF FF           -  mov [rbp-00000268],rax
049A356F: 48 8B 85 98 FD FF FF           -  mov rax,[rbp-00000268]
049A3576: 49 8B 4C 24 28                 -  mov rcx,[r12+28]
// ---------- INJECTING HERE ----------
049A357B: 0F B6 89 3D 01 00 00           -  movzx ecx,byte ptr [rcx+0000013D]
// ---------- DONE INJECTING  ----------
049A3582: 85 C9                          -  test ecx,ecx
049A3584: 41 0F 94 C0                    -  sete r8l
049A3588: 4D 0F B6 C0                    -  movzx r8,r8l
049A358C: 49 8B 4C 24 28                 -  mov rcx,[r12+28]
049A3591: 0F B6 89 3E 01 00 00           -  movzx ecx,byte ptr [rcx+0000013E]
049A3598: 85 C9                          -  test ecx,ecx
049A359A: 41 0F 94 C1                    -  sete r9l
049A359E: 4D 0F B6 C9                    -  movzx r9,r9l
049A35A2: 48 8B C8                       -  mov rcx,rax
049A35A5: 49 8B D5                       -  mov rdx,r13
}
"Fast LVL Up"

Code: Select all

{ Game: Project Hospital
  Version: 1.1.16350 GOG
  Date   : 2019-07-22
  Author : fantomas

  This script gives your employees fast level up
}

define(address,Lopital:EmployeeComponent:AddExperiencePoints+f9)
define(bytes,48 63 48 70 F3 0F 10 45 D8)

[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,Lopital:EmployeeComponent:AddExperiencePoints+f9)

label(code)
label(return)

newmem:
  mov [rax+48],0    //m_salary
  mov [rax+68],64   //m_efficiency
  mov [rax+6C],5    //m_level
  mov [rax+70],BB8  //m_points

code:
  movsxd  rcx,dword ptr [rax+70]
  movss xmm0,[rbp-28]
  jmp return

address:
  jmp newmem
  nop
  nop
  nop
  nop
return:

[DISABLE]
address:
  db bytes
  // movsxd  rcx,dword ptr [rax+70]
  // movss xmm0,[rbp-28]

dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: Lopital:EmployeeComponent:AddExperiencePoints+f9

0D6E29CC: BA C0 1C 9C 17                 -  mov edx,179C1CC0
0D6E29D1: 48 83 EC 20                    -  sub rsp,20
0D6E29D5: 83 38 00                       -  cmp dword ptr [rax],00
0D6E29D8: 49 BB C0 DF 79 0D 00 00 00 00  -  mov r11,Lopital:PerkSet:HasPerk
0D6E29E2: 41 FF D3                       -  call r11
0D6E29E5: 48 83 C4 20                    -  add rsp,20
0D6E29E9: 85 C0                          -  test eax,eax
0D6E29EB: 0F 84 37 00 00 00              -  je Lopital:EmployeeComponent:AddExperiencePoints+128
0D6E29F1: 48 8B 47 18                    -  mov rax,[rdi+18]
0D6E29F5: 48 89 45 C0                    -  mov [rbp-40],rax
// ---------- INJECTING HERE ----------
0D6E29F9: 48 63 48 70                    -  movsxd  rcx,dword ptr [rax+70]
0D6E29FD: F3 0F 10 45 D8                 -  movss xmm0,[rbp-28]
// ---------- DONE INJECTING  ----------
0D6E2A02: F3 0F 5A C0                    -  cvtss2sd xmm0,xmm0
0D6E2A06: F2 0F 2C C0                    -  cvttsd2si eax,xmm0
0D6E2A0A: 6B C0 6E                       -  imul eax,eax,6E
0D6E2A0D: 41 B8 64 00 00 00              -  mov r8d,00000064
0D6E2A13: 99                             -  cdq
0D6E2A14: 41 F7 F8                       -  idiv r8d
0D6E2A17: 48 8B D0                       -  mov rdx,rax
0D6E2A1A: 48 8B 45 C0                    -  mov rax,[rbp-40]
0D6E2A1E: 03 CA                          -  add ecx,edx
0D6E2A20: 89 48 70                       -  mov [rax+70],ecx
}