Posts: 74
Threads: 19
Joined: Feb 2010
Reputation:
0
[19:42:03] Script[gamemodes/rlrpg.amx]: Run time error 19: "File or function is not found"
what is this ?? who can help me ?
Posts: 1,843
Threads: 8
Joined: Nov 2008
Reputation:
0
Unknown123: Wrong. That error is shown when the server is started up. Because as you can clearly see, the gamemode has already compiled to be an .amx file, which is what the server uses to load the gamemodes and filterscripts.
MahmutBey: Make sure you have the plugin in the plugins folder, and then make sure your have it set in your server.cfg file so the plugin can run when the server starts.
Posts: 1,758
Threads: 157
Joined: Jan 2008
Reputation:
0
If you are using a old system you should update to the newest version (2.1.1)
Posts: 1,023
Threads: 50
Joined: Mar 2007
Reputation:
0
Any one know any reason for mysql_fetch_field to crash a server?
It doesn't happen all the time, but occasionaly, it crashes and the logs report mysql_fetch_field being the last thing initiated.
[Sun Mar 6 20:51:49 2011] Function: mysql_query executed: "SELECT * FROM accounts WHERE `username`='Redirect_Left'" with result: "0".
[Sun Mar 6 20:51:49 2011] Function: mysql_store_result executed with result: "1"
[Sun Mar 6 20:51:49 2011] Function: mysql_fetch_field executed.
>> CRASH <<
Any ideas what might be happening?
I've put the affects bits of SQL into phpMyAdmin, and it parses and fetches stuff fine, so it should have the field to fetch?
CraZy_KiLLaH
Unregistered
How do i connect a MySQL server to an UCP MySQL based?
Posts: 26
Threads: 3
Joined: Nov 2009
Reputation:
0
[MySQL] Error (0): Function: mysql_connect failed, mysql was not initialized on this handle.
WTF?
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
15.03.2011, 22:23
(
Последний раз редактировалось StrickenKid; 15.03.2011 в 23:26.
)
Thank you for the bug report, I will look into this immediately.
I just need a little information, what function were you using to retrieve the data?
If you can send me the pawn script used in your testing it would help a lot so I can pinpoint the problem in the source.
EDIT: I've found and fixed the problem.
It actually wasn't caused by the null values, mysql_fetch_row was not adding the trailing null character at the end of the character array.
I will be uploading latest update shortly.
EDIT2:
Updated - Build 162.
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
Hmm, are you running the plugin on windows or linux?
EDIT: Found the problem, I took out a function for testing and forgot to put it back in.
Sorry guys... I'll compile and re-upload.
Posts: 45
Threads: 2
Joined: Feb 2009
Reputation:
0
same error or dont you re-uploaded it yet?
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
Ok, I've uploaded it. Let me know if its fixed!
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
Are you getting the same error with the linux plugin?
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
The source on the website is the latest verson, make sure your compiling the correct source and copying over the correct dll.
Posts: 45
Threads: 2
Joined: Feb 2009
Reputation:
0
hmm i compile it again and the same errors came...
also im wondered about the fact that the xIxI3 is not at each row...
which compiler are u using?
im using microsoft visual c++ 2010
Posts: 762
Threads: 157
Joined: Feb 2009
Reputation:
0
That might be your problem, don't use visual c++ 2010, use 2008.
Visual c++ 2010 is horrible.