View previous topic :: View next topic |
Author |
Message |
Ultraplayer Newbie cheater Reputation: 0
Joined: 06 Apr 2019 Posts: 20
|
Posted: Thu Aug 22, 2019 10:05 am Post subject: Issues compiling v7 |
|
|
I've got some issues while compiling 7 version (previous 6.8.3 - is OK).
1. This form is amazing. I believe some guys gonna crazy when it's appears
Anyway. I've got this:
Code: | unit frmMicrotransactionsUnit;
var
frmMicroTransactions: TfrmMicroTransactions;
procedure TfrmMicroTransactions.BitBtn1Click(Sender: TObject);
var ss: TStringstream;
begin
if internet=nil then
internet:=TWinInternet.Create('Cheat Engine microtransaction system');
ss:=tstringstream.create; <====================
|
frmmicrotransactionsunit.pas(70,20) Error: Incompatible types: got "TStringStream.constructor Create(const AnsiString);" expected "TStringStream"
2. I believe this is from "NextGen" Delphi. There is no TEncoding overloads in Lazarus. So:
Code: | unit LuaStrings;
function strings_loadFromFile(L: Plua_State): integer; cdecl;
var
strings: TStrings;
ignoreencoding: boolean=true;
begin
result:=0;
strings:=luaclass_getClassObject(L);
if lua_gettop(L)>=1 then
begin
if lua_Gettop(L)>=2 then
ignoreencoding:=lua_toboolean(L,2);
try
strings.LoadFromFile(lua_tostring(L, 1), ignoreencoding); <=============
|
LuaStrings.pas(221,63) Error: Wrong number of parameters specified for call to "LoadFromFile"
3. Same as before.
Code: | unit LuaHandler;
function lua_loadPOFile(L: PLua_State): integer; cdecl;
var
POFile: TPOFile;
filename: string;
postrings: TStringlist;
begin
if lua_gettop(L)>=1 then
begin
postrings:=Tstringlist.create;
try
filename:=Lua_ToString(L, 1);
postrings.LoadFromFile(filename, true); <==================
|
LuaHandler.pas(8356,45) Error: Wrong number of parameters specified for call to "LoadFromFile" |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Aug 22, 2019 10:54 am Post subject: |
|
|
currently using a freepascal 3.2.0 beta myself.
not much new though just some minor rtl bugfixes like xml handling, but 3.0 is ok as well, you just need to remove the ,true (ignoreEncoding) from loadFromFile
and stringstream.create needs an empty string like stringstream.create('') _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
drunker How do I cheat? Reputation: 0
Joined: 09 Jul 2017 Posts: 6
|
Posted: Sat Sep 21, 2019 8:22 pm Post subject: |
|
|
expecting this issue right now when trying to compile x64
"
count:=min(lua_objlen(L, 1), lua_tointeger(L, 2)) //prevent the length from exeeding the table
"
LuaStream.pas(219,16) Error: Can't determine which overloaded function to call
Any help please ?
Lazarus Version #2.0.0
FPC Version : 3.0.4 |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Sep 29, 2019 6:14 pm Post subject: |
|
|
Use fpc 3.2.0
else add some typecasts. One of them may have to be typecast to an integer _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
GreenNightfall How do I cheat? Reputation: 0
Joined: 19 Aug 2019 Posts: 4 Location: Germany
|
Posted: Fri Mar 27, 2020 8:00 pm Post subject: Identifier not found (error) |
|
|
Code: | if pid=0 then
1. pid:=GetCurrentProcessId;
2.
3. processhandle:=dbk32functions.OP(ifthen<dword>
4. (GetSystemType<=6,$1f0fff, process_all_access), true, pid);
5.
6. filemap:=tmemorystream.Create;
7. try |
How do I have to change the code to make it work? (It says "ifthen" in line 3 is wrong) _________________
Just started with cheat engine and assembly
My discord is N͇̼̹i̲̦g̳͓͙h̤̥͖t̖͇̺f̮̖a͚l̥l͈#0169 |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Mar 28, 2020 2:38 am Post subject: |
|
|
include "math" in the uses and remove the <dword> _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|