Gamemode is not starting
#1

I have problem with my gamemode on linux host

Includes
Код:
#include <a_samp>
#include <a_mysql>
#include <sscanf2>
#define FOREACH_NO_BOTS
#include <foreach>
#include <streamer>
#include <zcmd>

#include <YSI\y_va>
#include <YSI\y_iterate>
#include <YSI\y_ini>
MySQL data
Код:
#define MySQL_HOST 		"mysql7.000webhost.com"
#define MySQL_USER      "a1998024_samp"
#define MySQL_DB        "a1998024_samp"
#define MySQL_PW        "password"
Server Cfg
Код:
echo Executing Server Config...

rcon_password sifra
hostname eXperience Hosting Lite Server (DDoS Protected)
gamemode0 AGRP 1
filterscripts
weburl www.experience-hosting.com
plugins sscanf.so streamer.so mysql.so
password sabbx

maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000

//====================[SVE ISPOD OVE LINIJE JE STROGO ZABRANJENO DIRATI]===========
maxplayers 50
port 7808 // promena porta povlaci trajno brisanje servera
lanmode 0
announce 0
query 1
bind 91.121.21.54 // NE MENJAJ OVO INACE TI SERVER NECE RADITI!!
Server Log
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[19:00:09] filterscripts = ""  (string)
[19:00:09] 
[19:00:09] Server Plugins
[19:00:09] --------------
[19:00:09]  Loading plugin: sscanf.so
[19:00:09] 

[19:00:09]  ===============================

[19:00:09]       sscanf plugin loaded.     

[19:00:09]          Version:  2.8.1        

[19:00:09]    © 2012 Alex "******" Cole  

[19:00:09]  ===============================

[19:00:09]   Loaded.
[19:00:09]  Loading plugin: streamer.so
[19:00:09] 

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

[19:00:09]   Loaded.
[19:00:09]  Loading plugin: mysql.so
[19:00:09]  SA:MP MySQL Plugin v2.1.1 Loaded.
[19:00:09]   Loaded.
[19:00:09] [MySQL] Thread running. Threadsafe: Yes.
[19:00:09]  Loaded 3 plugins.

[19:00:09] 
[19:00:09] Filterscripts
[19:00:09] ---------------
[19:00:09]   Loaded 0 filterscripts.

[19:00:09] Script[gamemodes/AGRP.amx]: Run time error 19: "File or function is not found"
[19:00:09] Number of vehicle models: 0
Mysql-log
Код:
[Sat Jan 11 19:00:09 2014] -------------------------
[Sat Jan 11 19:00:09 2014]      Logging Started
[Sat Jan 11 19:00:09 2014] -------------------------
Reply
#2

Hello,

I have to say that 000webhost doesn't support SA-MP MYSQL connections! Well i tried also to do the same thing you did but i got same error. Have you tried to use a server hosting (that contains MYSQL Hosting)?
Reply
#3

Err, get yourself nativechecker plugin. After putting the plugin, re-start your server and post here your new server_log.txt

This error mainly shows, when you're missing a plugin.[/quote]

Quote:
Originally Posted by Alex Magaсa
Посмотреть сообщение
Hello,

I have to say that 000webhost doesn't support SA-MP MYSQL connections! Well i tried also to do the same thing you did but i got same error. Have you tried to use a server hosting (that contains MYSQL Hosting)?
Err, since when does 000webhost offer game servers?
Reply
#4

-Remove this. Accidental Double-Post... -
Reply
#5

Result after nativechecker

Код:
[01:09:05]    Error: Function not registered: 'mysql_log'
[01:09:05]    Error: Function not registered: 'mysql_escape_string'
[01:09:05]    Error: Function not registered: 'mysql_format'
[01:09:05]    Error: Function not registered: 'mysql_tquery'
[01:09:05]    Error: Function not registered: 'cache_get_data'
[01:09:05]    Error: Function not registered: 'cache_get_field_content_int'
[01:09:05]    Error: Function not registered: 'cache_get_field_content'
[01:09:05]    Error: Function not registered: 'cache_insert_id'
How can I fix that? I have mysql.so
Reply
#6

Do you have the correct mysql plugin for which you scripting it with?
Reply
#7

This is problem:

Код:
[01:31:34]  Loading plugin: mysql.so
[01:31:34]   Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
Reply
#8

Quote:
Originally Posted by Burridge
Посмотреть сообщение
If you run it from your own Linux box, do the following line through PuTTy

wget http://ftp.de.debian.org/debian/pool...enny4_i386.deb
dpkg -X libmysqlclient15off_5.0.51a-24+lenny4_i386.deb /emul/ia32-linux
ldconfig -n /emul/ia32-linux

Otherwise ask your host.
Well Try This
Source: https://sampforum.blast.hk/showthread.php?tid=196025
Reply
#9

Download the latest MYSQL Plugin from BlueG!
I think it should be fixed! If not try another MYSQL Plugin!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)