SA-MP Forums Archive
UCP=Script how to? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: UCP=Script how to? (/showthread.php?tid=218865)



UCP=Script how to? - FlyBoy - 31.01.2011

hey guys. i got my server working and all this, but when i turn it on and i put :7777 so i can test it and on my server_log i got this

Quote:

SA-MP Dedicated Server
----------------------
v0.3c, ©2005-2010 SA-MP Team

[01:21:51] filterscripts = "" (string)
[01:21:51]
[01:21:51] Server Plugins
[01:21:51] --------------
[01:21:51] Loading plugin: mysql.dll
[01:21:51] SA:MP MySQL Plugin v2.1.1 Loaded.
[01:21:51] Loaded.
[01:21:51] Loading plugin: sampmysql.dll
[01:21:51] [MySQL] Thread running. Threadsafe: Yes.
[01:21:51]
/************************************************/
/* SAMP-MySQL v0.13 Plugin loaded successfully ! */
/************************************************/

[01:21:51] Loaded.
[01:21:51] Loaded 2 plugins.

[01:21:51]
[01:21:51] Filter Scripts
[01:21:51] ---------------
[01:21:51] Loaded 0 filter scripts.

[01:21:51] MYSQL: Attempting to connect to server...
[01:21:51] [MySQL] Connected (0) to 'eddyflight15_123'@'64.120.47.72 via TCP/IP'.
[01:21:51] [MySQL] Server Version 5.0.51a-24+lenny5.
[01:21:51] MYSQL: Database connection established.
[01:21:51]
[01:21:51]
[01:21:51] The Evolution Roleplay
[01:21:51] _____________________
[01:21:51] By: Diogo Linheiro
[01:21:51]
[01:21:51] Number of vehicle models: 0

and the picture of my problem




Re: UCP=Script how to? - JamesC - 31.01.2011

So what exactly is the problem?


Re: UCP=Script how to? - FlyBoy - 31.01.2011

the problem is that it won't load the gamemode it keep saying unknow


Re: UCP=Script how to? - PeteShag - 31.01.2011

Why are you using two mysql plugins?


Re: UCP=Script how to? - FlyBoy - 31.01.2011

remove , now i using one but the problem still


Re: UCP=Script how to? - Think - 31.01.2011

Try disabling loading things @ OnGameModeInit


Re: UCP=Script how to? - FlyBoy - 31.01.2011

Quote:

public OnGameModeInit()
{
MySQLConnect(MYSQL_HOST,MYSQL_USER,MYSQL_PASS,MYSQ L_DB);
new string[MAX_PLAYER_NAME];
new string1[MAX_PLAYER_NAME];
SetWeather(weather);
LoadProperty();
LoadBizz();
LoadBoxer();
LoadStuff();
Message = 0;
//SetTimer("Announcement",600000,true);
LoadFamilies();
LoadCar();
LoadHQ();
LoadFQ();
LoadGangs();
AntiDeAMX();
ShowNameTags(1);
SendRconCommand("mapname Los Santos");

that on mypublic OnGameModeInit


Re: UCP=Script how to? - PeteShag - 31.01.2011

Check the MySQL log file for errors.


Re: UCP=Script how to? - FlyBoy - 31.01.2011

there no errors on my mysql_log


Re: UCP=Script how to? - PeteShag - 31.01.2011

I am suspecting something, but not sure, does your code even use MySQL, or you are just using the plugin?