Page 1 of 1

Vikings - Wolves of Midgard

Posted: Mon Jan 22, 2018 5:56 pm
by fantomas
[Link]

Just a few scripts for fun before some more serious and talented people make a better job.
Image

Have fun! 8-)

Re: Vikings - Wolves of Midgard

Posted: Fri Mar 23, 2018 3:35 pm
by ChiricoCuvie
Hi, thanks for the table mate!

I returned to the game after some time and here are a few things I noticed during the mission to beat Grindil (troll queen?) :

1) Inf health works rarely/weirdly, or not with every monsters or what they use to attack. It also doesn't always activate.

2) You should make boss monsters that you must not kill but win against them, such as Grindil, not killable in one hit, otherwise the game doesn't count the boss as beat and you are stuck and have to return to the village, restart the mission again without inf heal/1 hit kill for the boss fight but use the inf item charge heal (especially on hardcore like i was)

3) None of the Inf ressources seems to work

And I don't think they will make another patch tbh.

Vikings - Wolves of Midgard

Posted: Fri Jun 22, 2018 2:15 pm
by fantomas
@ChiricoCuvie

Hey, sorry for the delay in comeback to you. :(

1) Yes, it was a flaw in the script's conception - Fixed in the CT v0.8.3.2 game update

2) Yes, I did not notice it before that fight - I guess I was to much lazy to make a script to working in that way. ? And guess what - nothing changed in the CT v0.8.3.2 game update. I hope you'll forgive me. :(

But if you're still trying to beat a 'big' boss in hardcore mode and the script still prevents you to accomplish it, then you still can edit the script and remove the 'one hit kill' part. So like that, you'll keep Inf Health and the enemies will be killed in normal way. ;)

Code: Select all

//Game: Vikings - Wolves of Midgard
//Version: 2.03

define(address,Actor:OnDamage+8ae)
define(bytes,F3 41 0F 11 AE 14 03 00 00)

[ENABLE]
assert(address,bytes)
alloc(newmem,$100,Actor:OnDamage+8ae)
label(code)
label(return)

newmem:
  cmp [r14+00000BDC],(float)3
  jne code
  movss [r14+00000314],xmm2
  jmp return

code:
  movss [r14+00000314],xmm5
  jmp return

address:
  jmp newmem
  nop
  nop
  nop
  nop
return:

[DISABLE]
address:
  db bytes
  // movss [r14+00000314],xmm5
  
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: 4219ED0E

4219ECDD: F2 0F 10 8D 68 FE FF FF        -  movsd xmm1,[rbp-00000198]
4219ECE5: F2 0F 5A D2                    -  cvtsd2ss xmm2,xmm2
4219ECE9: F2 0F 5A C9                    -  cvtsd2ss xmm1,xmm1
4219ECED: F2 0F 5A C0                    -  cvtsd2ss xmm0,xmm0
4219ECF1: 48 83 EC 20                    -  sub rsp,20
4219ECF5: 49 BB 72 00 5C 04 00 00 00 00  -  mov r11,00000000045C0072
4219ECFF: 41 FF D3                       -  call r11
4219ED02: 48 83 C4 20                    -  add rsp,20
4219ED06: F3 0F 5A C0                    -  cvtss2sd xmm0,xmm0
4219ED0A: F2 0F 5A E8                    -  cvtsd2ss xmm5,xmm0
// ---------- INJECTING HERE ----------
4219ED0E: F3 41 0F 11 AE 14 03 00 00     -  movss [r14+00000314],xmm5
// ---------- DONE INJECTING  ----------
4219ED17: 0F B6 85 BF FE FF FF           -  movzx eax,byte ptr [rbp-00000141]
4219ED1E: 85 C0                          -  test eax,eax
4219ED20: 74 17                          -  je Actor:OnDamage+8d9
4219ED22: 49 8B CE                       -  mov rcx,r14
4219ED25: 48 83 EC 20                    -  sub rsp,20
4219ED29: 49 8B 06                       -  mov rax,[r14]
4219ED2C: 90                             -  nop
4219ED2D: 90                             -  nop
4219ED2E: 90                             -  nop
4219ED2F: FF 90 70 01 00 00              -  call qword ptr [rax+00000170]
}

CT has been updated to support the latest game version v2.0.3
  • Added +Inf Gift Learn
  • Added +Inf Building Upgrade
  • Added +Inf Talisman Use
  • Scripts from 'Not tested!!!' header are all been tested and their proper working confirmed
Enjoy! ;)

Vikings - Wolves of Midgard

Posted: Fri Jun 22, 2018 8:39 pm
by skeeta68
Thanks great work.

Re: Vikings - Wolves of Midgard

Posted: Sat Sep 22, 2018 8:43 am
by fantomas
CT v2.03 re-uploaded