Jump to content
  • 0

Problema gamemode


Question

Posted

Cand deschid serverul, imi apar urmatoarele:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team


Server Plugins
--------------
 Loading plugin: crashdetect
  CrashDetect v4.10 is OK.
  Loaded.
 Loading plugin: sscanf


 ===============================

      sscanf plugin loaded.     

         Version:  2.8.1        

   (c) 2012 Alex "Y_Less" Cole  

 ===============================

  Loaded.
 Loading plugin: streamer


*** Streamer Plugin v2.6.1 by Incognito loaded ***

  Loaded.
 Loading plugin: Whirlpool

 ==================

  Whirlpool loaded

 ==================

  Loaded.
 Loading plugin: mysql


  > MySQL plugin R5 successfully loaded.

  Loaded.
 Loading plugin: gvar


*** GVar Plugin v1.3 by Incognito loaded ***

  Loaded.
 Loading plugin: nativechecker
  Loaded.
 Loaded 7 plugins.


Ban list
--------
 Loaded: samp.ban


Filterscripts
---------------
  Loading filterscript 'streamermap.amx'...
  Loading filterscript 'Objects.amx'...
  Loading filterscript 'CarPers.amx'...


System Cars Personal Loaded Succesfully!


  Loading filterscript 'Crcon.amx'...

--------------------------------------
 RCON SPassword - Loaded succesfully!
--------------------------------------

  Loaded 4 filterscripts.

   Error: Function not registered: 'cache_get_row_count'
   Error: Function not registered: 'mysql_tquery'
   Error: Function not registered: 'mysql_format'
   Error: Function not registered: 'mysql_log'
   Error: Function not registered: 'mysql_escape_string'
   Error: Function not registered: 'cache_get_data'
   Error: Function not registered: 'cache_get_field_content'
   Error: Function not registered: 'cache_get_field_content_int'
   Error: Function not registered: 'cache_get_field_content_float'
   Error: Function not registered: 'cache_insert_id'
   Error: Function not registered: 'cache_get_row'
[debug] Run time error 19: "File or function is not found"
[debug]  cache_get_row_count
[debug]  mysql_tquery
[debug]  mysql_format
[debug]  mysql_log
[debug]  mysql_escape_string
[debug]  cache_get_data
[debug]  cache_get_field_content
[debug]  cache_get_field_content_int
[debug]  cache_get_field_content_float
[debug]  cache_insert_id
[debug]  cache_get_row
[debug] Run time error 19: "File or function is not found"
[debug]  cache_get_row_count
[debug]  mysql_tquery
[debug]  mysql_format
[debug]  mysql_log
[debug]  mysql_escape_string
[debug]  cache_get_data
[debug]  cache_get_field_content
[debug]  cache_get_field_content_int
[debug]  cache_get_field_content_float
[debug]  cache_insert_id
[debug]  cache_get_row
Script[gamemodes/rrs.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 11

Nu stiu ce cauzeaza asta. In gamemode, am pus asa:

[pawn]#define USE_LOCALHOST                                      (false)

#if USE_LOCALHOST == true

#define LOCAL_HOST "localhost"

#define LOCAL_USER "root"

#define LOCAL_PASS ""

#define LOCAL_DB "MySQL"

#else

#define SERVER_HOST "94.176.163.5"

#define SERVER_USER "gamer_rrs"

#define SERVER_PASS "qazwsxedc00qwezsafs"

#define SERVER_DB "gamer_rrs"

#endif[/pawn]Ca sa nu se salveze conturile, doar sa se deschida fara a se salva nimic . Nu merge :|

9 answers to this question

Recommended Posts

Posted

Versiunea de MySQL a GM-ului tau nu corespunde cu cea a serverului.

Daca vrei sa nu ti se salveze conturile,incearca asa:

[pawn]

#define USE_LOCALHOST                                      (false)

#if USE_LOCALHOST == false

#define LOCAL_HOST "localhost"

#define LOCAL_USER "root"

#define LOCAL_PASS ""

#define LOCAL_DB "MySQL"

#else

#define SERVER_HOST "94.176.163.5"

#define SERVER_USER "gamer_rrs"

#define SERVER_PASS "qazwsxedc00qwezsafs"

#define SERVER_DB "gamer_rrs"

#endif[/pawn]

Posted

Versiunea de MySQL a GM-ului tau nu corespunde cu cea a serverului.

Daca vrei sa nu ti se salveze conturile,incearca asa:

[pawn]

#define USE_LOCALHOST                                      (false)

#if USE_LOCALHOST == false

#define LOCAL_HOST "localhost"

#define LOCAL_USER "root"

#define LOCAL_PASS ""

#define LOCAL_DB "MySQL"

#else

#define SERVER_HOST "94.176.163.5"

#define SERVER_USER "gamer_rrs"

#define SERVER_PASS "qazwsxedc00qwezsafs"

#define SERVER_DB "gamer_rrs"

#endif[/pawn]

Am pus exact cum mi-ai spus tu => 5 errors. Toate sunt legate de conexiunea la baza de date a serverului. Serverul ruleaza pe a_mysql_r33 si in folderul includes din pawno, exista acest include. Este wos build 29 (poate te ajuta sa intelegi mai bine)
Posted

Buna ziua 3xTaSY

Din cate poti observa acele functii nu sunt inregistrate.Sfatul meu este sa recompilezi gamemode-ul cu o noua versiune a plugin-ului mysql.Mai jos iti voi lasa un link prin care tu poti achizitiona rapid un include si un plugin de versiune noua.

Atentie ! Daca serverul tau este pe Linux si dupa recompilare ai aceleasi erori,trebuie sa te interesezi de sistemul folosit de catre cei de la host.Banuiesc ca folosesc CentOS asa ca nu strica sa incerci.

Windows: Plugin [download]http://files.g-stylezzz.com/mysql/rel/R5/windows/plugin-R5-win32_vs9.rar[/download]

Linux: Plugin [download]http://files.g-stylezzz.com/mysql/rel/R5/centos/mysql.so[/download]

Windows/Linux: Include [download]http://files.g-stylezzz.com/mysql/rel/a_mysql.inc[/download]

Sper ca ti-am fost de folos,

[Pawn]

Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)

Posted

Buna ziua 3xTaSY

Din cate poti observa acele functii nu sunt inregistrate.Sfatul meu este sa recompilezi gamemode-ul cu o noua versiune a plugin-ului mysql.Mai jos iti voi lasa un link prin care tu poti achizitiona rapid un include si un plugin de versiune noua.

Atentie ! Daca serverul tau este pe Linux si dupa recompilare ai aceleasi erori,trebuie sa te interesezi de sistemul folosit de catre cei de la host.Banuiesc ca folosesc CentOS asa ca nu strica sa incerci.

Sper ca ti-am fost de folos,

[Pawn]

Nu folosesc host. Intru pe localhost/phpmyadmin ca sa incarc baza de date(folosesc xampp)

Posted

Nu folosesc host. Intru pe localhost/phpmyadmin ca sa incarc baza de date(folosesc xampp)

Nu conteaza,downloadezi de mai sus plugin-urile necesare.Acolo doar am specificat ca in cazul in care este pe host...

Pentru suport nu ezitati sa ma contactati printr-un mesaj privat sau un mesaj pe Y/M.(Scripting sa:mp/cs,ScripturiWEB,phpbb,mysql,ipb,photoshop,html)

Posted

Pune asa: [pawn]#define USE_LOCALHOST == true

#define LOCAL_HOST "db4free.net"

#define LOCAL_USER "johnny77"

#define LOCAL_PASS "johnnyx"

#define LOCAL_DB "wosb29"

#define SERVER_HOST "db4free.net"

#define SERVER_USER "johnny77"

#define SERVER_PASS "johnnyx"

#define SERVER_DB "wosb29"[/pawn]

Posted

Topic inchis , motiv : nerespectare model .

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.