Server not working
#1

I was trying to run my server on Linux vps
I compiled the gm with R5 mysql & after uploaded the gamemode it gives "Unknown Gamemode" Then my friend tried R40 as in logs the plugin run but not running the gamemode too
any help?

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[21:40:08] 
[21:40:08] Server Plugins
[21:40:08] --------------
[21:40:08]  Loading plugin: crashdetect.so
[21:40:08]   CrashDetect v4.17 is OK.
[21:40:08]   Loaded.
[21:40:08]  Loading plugin: streamer.so
[21:40:08]   Loaded.
[21:40:08]  Loading plugin: sscanf.so
[21:40:08] 

[21:40:08]  ===============================

[21:40:08]       sscanf plugin loaded.     

[21:40:08]          Version:  2.8.1        

[21:40:08]    © 2012 Alex "******" Cole  

[21:40:08]  ===============================

[21:40:08]   Loaded.
[21:40:08]  Loading plugin: whirlpool.so
[21:40:08]  
[21:40:08]  ==================
[21:40:08]  
[21:40:08]   Whirlpool loaded
[21:40:08]  
[21:40:08]  ==================
[21:40:08]  
[21:40:08]   Loaded.
[21:40:08]  Loading plugin: irc.so
[21:40:08] 

*** IRC Plugin v1.4.8 by Incognito loaded ***

[21:40:08]   Loaded.
[21:40:08]  Loading plugin: mysql.so
[21:40:08]  >> plugin.mysql: R40 successfully loaded.
[21:40:08]   Loaded.
[21:40:08]  Loading plugin: ysf.so
[21:40:08] 

[21:40:08]  ===============================

[21:40:08]         YSF 0.3.00 loaded

[21:40:08]    © 2008 Alex "******" Cole

[21:40:08]     Operating System: Linux

[21:40:08]  ===============================

[21:40:08]   Loaded.
[21:40:08]  Loaded 7 plugins.

[21:40:08] 
[21:40:08] Ban list
[21:40:08] --------
[21:40:08]  Loaded: samp.ban
[21:40:08] 
[21:40:08] 
[21:40:08] Filterscripts
[21:40:08] ---------------
[21:40:08]   Loading filterscript 'enablehydra.amx'...
[21:40:08]   Loaded 1 filterscripts.

[21:40:09] [debug] Run time error 19: "File or function is not found"
[21:40:09] [debug]  mysql_debug
[21:40:09] [debug]  mysql_ping
[21:40:09] [debug]  mysql_store_result
[21:40:09] [debug]  mysql_num_rows
[21:40:09] [debug]  mysql_free_result
[21:40:09] [debug]  mysql_fetch_row_format
[21:40:09] [debug]  mysql_fetch_field_row
[21:40:09] [debug]  mysql_real_escape_string
[21:40:09] [debug]  mysql_retrieve_row
[21:40:09] [debug] Run time error 19: "File or function is not found"
[21:40:09] [debug]  mysql_debug
[21:40:09] [debug]  mysql_ping
[21:40:09] [debug]  mysql_store_result
[21:40:09] [debug]  mysql_num_rows
[21:40:09] [debug]  mysql_free_result
[21:40:09] [debug]  mysql_fetch_row_format
[21:40:09] [debug]  mysql_fetch_field_row
[21:40:09] [debug]  mysql_real_escape_string
[21:40:09] [debug]  mysql_retrieve_row
[21:40:09] Script[gamemodes/sxv7.amx]: Run time error 19: "File or function is not found"
[21:40:09] Number of vehicle models: 0
after trying to use R40 while compiling
it gives me
Код:
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(4529) : error 017: undefined symbol "mysql_debug"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(4530) : error 017: undefined symbol "mysql_ping"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(4535) : error 035: argument type mismatch (argument 1)
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(7039) : error 035: argument type mismatch (argument 1)
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(7040) : error 017: undefined symbol "mysql_store_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(7041) : error 017: undefined symbol "mysql_num_rows"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(7071) : error 017: undefined symbol "mysql_free_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(8000) : error 035: argument type mismatch (argument 1)
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(8001) : error 017: undefined symbol "mysql_store_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(8002) : error 017: undefined symbol "mysql_num_rows"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(8004) : error 017: undefined symbol "mysql_fetch_row_format"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(8006) : error 017: undefined symbol "mysql_fetch_field_row"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(8010) : error 017: undefined symbol "mysql_free_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(12995) : error 047: array sizes do not match, or destination array is too small
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(12995) : error 047: array sizes do not match, or destination array is too small
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(12995) : error 047: array sizes do not match, or destination array is too small
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.pwn(12995) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


17 Errors.
Reply
#2

Quote:
Originally Posted by Drakey
Посмотреть сообщение
Make sure to re-compile with the latest MySQL include.
I added you on skype come there for deal.
Reply
#3

See This

[21:40:09] Script[gamemodes/sxv7.amx]: Run time error 19: "File or function is not found"

File or Function is not found check ur game mod you need to re-compile
Reply
#4

He didn't explained good, but this errors we're facing them when we compile the gamemode with the R40 static mysql include.

Quote:

F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(4529) : error 017: undefined symbol "mysql_debug"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(4530) : error 017: undefined symbol "mysql_ping"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(4535) : error 035: argument type mismatch (argument 1)
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(7039) : error 035: argument type mismatch (argument 1)
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(7040) : error 017: undefined symbol "mysql_store_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(7041) : error 017: undefined symbol "mysql_num_rows"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(7071) : error 017: undefined symbol "mysql_free_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(8000) : error 035: argument type mismatch (argument 1)
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(8001) : error 017: undefined symbol "mysql_store_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(8002) : error 017: undefined symbol "mysql_num_rows"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(8004) : error 017: undefined symbol "mysql_fetch_row_format"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(8006) : error 017: undefined symbol "mysql_fetch_field_row"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(8010) : error 017: undefined symbol "mysql_free_result"
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(12995) : error 047: array sizes do not match, or destination array is too small
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(12995) : error 047: array sizes do not match, or destination array is too small
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(12995) : error 047: array sizes do not match, or destination array is too small
F:\StuntX\Freeroam,Derby,Race\gamemodes\YGv7.pwn.p wn(12995) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


17 Errors.

Reply
#5

Update your MySQL functions aswell.
Reply
#6

Quote:
Originally Posted by Spinart
Посмотреть сообщение
See This

[21:40:09] Script[gamemodes/sxv7.amx]: Run time error 19: "File or function is not found"

File or Function is not found check ur game mod you need to re-compile
Quote:
Originally Posted by Cr*****
Посмотреть сообщение
He didn't explained good, but this errors we're facing them when we compile the gamemode with the R40 static mysql include.
Quote:
Originally Posted by Drakey
Посмотреть сообщение
Make sure to re-compile with the latest MySQL include.


Scripters 2017 rip

@Ultraz: You need to update every function on your gamemode to the new functions like @iLearner said
Reply
#7

bump!
Reply
#8

We literally answered your question in previous posts...
Reply
#9

Quote:
Originally Posted by iLearner
Посмотреть сообщение
We literally answered your question in previous posts...
Can you give me tutriol about updating R5 To R40
Reply
#10

Quote:
Originally Posted by Ultraz
Посмотреть сообщение
Can you give me tutriol about updating R5 To R40
You do realise that ****** exists, right? Anyway this tutorial is for updating R33+ to R40 but it may still help you.
https://sampforum.blast.hk/showthread.php?tid=616103

If you can think on your own two feet then these resources from the SA-MP wiki should also help:
https://sampwiki.blast.hk/wiki/MySQL/R40
https://sampwiki.blast.hk/wiki/MySQL/R6

Look at your code, think about it and figure it out yourself... it's the best way to learn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)