Posts: 34
Threads: 7
Joined: Jul 2016
Script[gamemodes/hrpa.amx]: Run time error 19: "File or function is not found"
[23/08/2016 21:41:26] Number of vehicle models: 0
tHE GAME MODE Complied good No errors now warnings
Posts: 763
Threads: 31
Joined: Oct 2013
Reputation:
0
make sure you are using the right plugins+ you upload scriptfiles
Added crashdetect and show us the errors
Posts: 34
Threads: 7
Joined: Jul 2016
Posts: 34
Threads: 7
Joined: Jul 2016
[21:52:02] >> mysql_query( Connection handle: 1 )
[21:52:02] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
Posts: 34
Threads: 7
Joined: Jul 2016
[23/08/2016 21:53:30] [debug] Server crashed while executing HRP.amx
[23/08/2016 21:53:30] [debug] AMX backtrace:
[23/08/2016 21:53:30] [debug] #0 native mysql_real_escape_string () from mysql.DLL
[23/08/2016 21:53:30] [debug] #1 001fa33c in public Login (0) from HRP.amx
[23/08/2016 21:53:31] [debug] Native backtrace:
[23/08/2016 21:53:31] [debug] #0 60d11bb0 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR 90.dll
[23/08/2016 21:53:31] [debug] #1 60cf4951 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR 90.dll
[23/08/2016 21:53:31] [debug] #2 60cf4996 in ?? () from C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCR 90.dll
[23/08/2016 21:53:31] [debug] #3 003c5b71 in ?? () from plugins\mysql.DLL
[23/08/2016 21:53:31] [debug] #4 003c5d7d in ?? () from plugins\mysql.DLL
[23/08/2016 21:53:31] [debug] #5 003c8bd8 in ?? () from plugins\mysql.DLL
[23/08/2016 21:53:31] [debug] #6 003c6bd6 in ?? () from plugins\mysql.DLL
[23/08/2016 21:53:31] [debug] #7 004010b6 in ?? () from samp-server.exe
[23/08/2016 21:53:31] [debug] #8 666f62ca in ?? () from plugins\crashdetect.DLL
[23/08/2016 21:53:31] [debug] #9 666f8b28 in ?? () from plugins\crashdetect.DLL
[23/08/2016 21:53:31] [debug] #10 666f09c7 in ?? () from plugins\crashdetect.DLL
[23/08/2016 21:53:31] [debug] #11 666f631a in ?? () from plugins\crashdetect.DLL
[23/08/2016 21:53:31] [debug] #12 00482a68 in ?? () from samp-server.exe
[23/08/2016 21:53:31] [debug] #13 004912ba in ?? () from samp-server.exe
Posts: 484
Threads: 11
Joined: Oct 2012
Reputation:
0
Use edit button instead of spamming.
Post your code field where you use mysql_query.
Posts: 34
Threads: 7
Joined: Jul 2016
Posts: 34
Threads: 7
Joined: Jul 2016
Posts: 34
Threads: 7
Joined: Jul 2016
Posts: 6,242
Threads: 8
Joined: Jun 2008
Just a question... What is this gamemode? Is it per-chance a leaked script?
Quote:
Originally Posted by oSAINTo
Place the .dll files in the attachment into your root server folder.
|
And oh the hell no.... Why are you redistributing dll files on this forum?
OP: You need to post more of the log file than the simple function not found error... The actual source of the error is higher up.
You not wanting to simply paste the log file up, hints towards you not wanting people to see what mode it is...
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by oSAINTo
I have them in my root folder and I was receiving the same errors without them. I also saw he had MSVCR.dll errors in the log, so, that's why. If you want put a virus total up with it.
|
It's still not a fix... So please, don't suggest it.
Posts: 6,242
Threads: 8
Joined: Jun 2008
As I stated, it's not a fix.
Now stop debating it, because the biggest problem is that you're distributing dlls, encouraging a "fix" that isn't a fix at all.
If you can't fix the problem without reading up on how to fix it and go for the "simple" way out, you will end up encouraging people to download other DLLs to "fix" the "same issues" and someone will end up compromised.
Posts: 4,759
Threads: 33
Joined: Dec 2013
Reputation:
0
Load nativechecker instead of crashdetect, it will tell you which natives you are trying to use, but don't exist.