Browse Source

Fixed pointer failure due to client file name change.

atom0s 1 year ago
parent
commit
871f3b1377
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fpscap.lua

+ 2 - 2
fpscap.lua

@@ -25,7 +25,7 @@
25 25
 
26 26
 _addon.author = 'atom0s';
27 27
 _addon.name = 'FPSCap';
28
-_addon.version = '1.0.0';
28
+_addon.version = '1.0.1';
29 29
 
30 30
 require 'common';
31 31
 
@@ -40,7 +40,7 @@ local fps_pointer = 0;
40 40
 ----------------------------------------------------------------------------------------------------
41 41
 hook.register_event('load', function()
42 42
     -- Locate the fps divisor pointer..
43
-    local ptr = mem.FindPattern('nostalex.dat', '6AFFA1????????8B002BC350', 0x03, 0x00);
43
+    local ptr = mem.FindPattern('nostaleclientx.exe', '6AFFA1????????8B002BC350', 0x03, 0x00);
44 44
     if (ptr == 0) then
45 45
         error('Failed to locate fps divisor pointer!');
46 46
         return false;