Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Salutare! Tocmai am inceput sa lucrez pe un GM pe samp, si am decis sa incep prima data cu un sistem de login MySQL cu baza de date. Am facut tot ce trebuie, nu imi da nici o eroare la compilare, insa cand pornesc serverul imi da eroarea asta in consola:


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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team


Server Plugins
--------------
 Loading plugin: streamer


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

  Loaded.
 Loading plugin: sscanf


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

      sscanf plugin loaded.

         Version:  2.8.2

   (c) 2012 Alex "Y_Less" Cole

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

  Loaded.
 Loading plugin: mysql
  Failed.
 Loading plugin: nativechecker
  Loaded.
 Loaded 3 plugins.


Started server on port: 7777, with maxplayers: 50 lanmode is OFF.


Filterscripts
---------------
  Loading filterscript 'gl_actions.amx'...
  Loading filterscript 'gl_realtime.amx'...
  Loading filterscript 'gl_property.amx'...

-----------------------------------
Grand Larceny Property Filterscript
-----------------------------------

  Loading filterscript 'gl_mapicon.amx'...
  Loading filterscript 'ls_elevator.amx'...
  Loading filterscript 'attachments.amx'...
  Loading filterscript 'skinchanger.amx'...

--Admin Player Skin Changer Loaded

  Loading filterscript 'vspawner.amx'...

--Admin Vehicle Spawner Loaded

  Loading filterscript 'ls_mall.amx'...
  Loading filterscript 'ls_beachside.amx'...


  |---------------------------------------------------
  |--- LS BeachSide Filterscript
  |--  Script v1.03
  |--  19th April 2015
  |---------------------------------------------------
  |--  LS BeachSide Building Elevator created
  |---------------------------------------------------
  Loaded 10 filterscripts.

   Error: Function not registered: 'mysql_connect'
   Error: Function not registered: 'mysql_errno'
   Error: Function not registered: 'mysql_close'
   Error: Function not registered: 'mysql_format'
   Error: Function not registered: 'mysql_tquery'
   Error: Function not registered: 'cache_get_data'
   Error: Function not registered: 'cache_get_field_content'
   Error: Function not registered: 'cache_get_field_content_int'
Reading File: blank
Reading File: properties/houses.txt
Reading File: properties/businesses.txt
Reading File: properties/banks.txt
Reading File: properties/police.txt
Script[gamemodes/new.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0

Dupa plugin-ul cu BeachSide Elevator, puteti observa ca sunt acele functii neinregistrare, si nu reusesc sa le fixez. Ma poate ajuta cineva, as vrea sa continui gamemode-ul, dar nu vreau sa sterg sistemul sau sa incep de la inceput.

Aici este si server.cfg:

echo Executing Server Config...
lanmode 0
rcon_password bzoneisbest
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 new 1
filterscripts gl_actions gl_realtime gl_property gl_mapicon ls_elevator attachments skinchanger vspawner ls_mall ls_beachside
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
plugins streamer sscanf mysql nativechecker

 

3 answers to this question

Recommended Posts

  • 0
Posted
 Loading plugin: mysql
  Failed.

Nu s-a incarcat pluginul mysql. 

Sterge fs-urile alea si pune in gamemode ce ai nevoie din ele.

  • 0
Posted

Am instalat noul plugin de mysql, dar tot apar aceste erori, si mysql se incarca de data asta.

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

filterscripts = ""  (string)

Server Plugins
--------------
 Loading plugin: mysql
 >> plugin.mysql: R41-4 successfully loaded.
  Loaded.
 Loading plugin: streamer


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

  Loaded.
 Loading plugin: sscanf


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

      sscanf plugin loaded.

         Version:  2.8.2

   (c) 2012 Alex "Y_Less" Cole

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

  Loaded.
 Loading plugin: nativechecker
  Loaded.
 Loaded 4 plugins.


Started server on port: 7777, with maxplayers: 50 lanmode is OFF.


Filterscripts
---------------
  Loaded 0 filterscripts.

   Error: Function not registered: 'cache_get_data'
   Error: Function not registered: 'cache_get_field_content'
   Error: Function not registered: 'cache_get_field_content_int'
Script[gamemodes/new.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0

 

  • 0
Posted (edited)

Inca din r40 a fost scoasa functia cache_get_data. 

  • removed cache_get_data (use cache_get_*_count)
cache_get_field_content 

Devine 

cache_get_value

Iar

 

cache_get_field_content_int

Devine 

cache_get_value_int

 

Esti sigur ca n-ai pe undeva prin gamemode ? 

 

EDIT: Vezi si corespondenta inc-ului cu pluginul. 

Edited by Dennis12.
  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.