SA-MP Forums Archive
[GameMode] [TDM] Sector 7 TDM [MySQL] - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] [TDM] Sector 7 TDM [MySQL] (/showthread.php?tid=546003)

Pages: 1 2


Re: [TDM] Sector 7 TDM [MySQL] - rymax99 - 24.11.2014

Quote:
Originally Posted by sam1929
Посмотреть сообщение
rymax99 im getting 3 errors

C:\Users\MR. TOM LEE FOX\Desktop\samp03z_svr_RC5_win32\gamemodes\tdm.pw n(1787) : error 017: undefined symbol "UnBlockIpAddress"
C:\Users\MR. TOM LEE FOX\Desktop\samp03z_svr_RC5_win32\gamemodes\tdm.pw n(2934) : error 017: undefined symbol "CreateExplosionForPlayer"
C:\Users\MR. TOM LEE FOX\Desktop\samp03z_svr_RC5_win32\gamemodes\tdm.pw n(3116) : error 017: undefined symbol "BlockIpAddress"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

line 1787 UnBlockIpAddress("ReconnectPIP[playerid]");

line 2934 CreateExplosionForPlayer(i,x, y, z, 13, 10.0);

line 3116 BlockIpAddress(ReconnectPIP[target], 10000);
The functions were added in 0.3z R2-2. You have older SAMP includes than that.
https://sampforum.blast.hk/showthread.php?tid=506214

Go ahead and update your SA-MP includes to the most recent ones(just overwrite the default ones with these(most recent)): http://files.sa-mp.com/samp03z_svr_R4_win32.zip


Re: [TDM] Sector 7 TDM [MySQL] - sam1929 - 24.11.2014

Quote:
Originally Posted by rymax99
Посмотреть сообщение
The functions were added in 0.3z R2-2. You have older SAMP includes than that.
https://sampforum.blast.hk/showthread.php?tid=506214

Go ahead and update your SA-MP includes to the most recent ones(just overwrite the default ones with these(most recent)): http://files.sa-mp.com/samp03z_svr_R4_win32.zip
nice ty bro i have the amx now Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase and my host is linx 32 bit what mysql should i use?

Downloads (2.1.1 - Build 165):


IMPORTANT: If you cannot compile your own mysql build (on a hosted server e.g. ServerFFS), use the static build.

Windows (comes with libmysql.dll, .NET Framework required)
XP / Vista / 7
Linux (compiled on Debian 5)
Linux Distributions
Static Linux Distributions (Use on Hosted Servers e.g. ServerFFS)
Source
Cross Compatible
Scripts
Example Script
Example Callback Script
from this list?


Re: [TDM] Sector 7 TDM [MySQL] - rymax99 - 24.11.2014

Quote:
Originally Posted by sam1929
Посмотреть сообщение
nice ty bro i have the amx now Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase and my host is linx 32 bit what mysql should i use?

Downloads (2.1.1 - Build 165):


IMPORTANT: If you cannot compile your own mysql build (on a hosted server e.g. ServerFFS), use the static build.

Windows (comes with libmysql.dll, .NET Framework required)
XP / Vista / 7
Linux (compiled on Debian 5)
Linux Distributions
Static Linux Distributions (Use on Hosted Servers e.g. ServerFFS)
Source
Cross Compatible
Scripts
Example Script
Example Callback Script
from this list?
Links in the original post are dead, but Blacklite mirrored them, so here's a link to save you the trouble: http://forum.sa-mp.com/showpost.php?...&postcount=945

I'd try the Linux distributions one first.


Re: [TDM] Sector 7 TDM [MySQL] - sam1929 - 24.11.2014

Quote:
Originally Posted by rymax99
Посмотреть сообщение
Links in the original post are dead, but Blacklite mirrored them, so here's a link to save you the trouble: http://forum.sa-mp.com/showpost.php?...&postcount=945

I'd try the Linux distributions one first.
ok ty again for all your help bro


Re: [TDM] Sector 7 TDM [MySQL] - N.K.Stallone - 25.11.2014

Nice script, buddy. Keep it up, I'd like to see more from you, good job! +rep


Re: [TDM] Sector 7 TDM [MySQL] - Yazuri - 25.11.2014

Seems okay, but you do have a few bugs here and there mate.


Re: [TDM] Sector 7 TDM [MySQL] - rymax99 - 25.11.2014

Quote:
Originally Posted by Yazuri
Посмотреть сообщение
Seems okay, but you do have a few bugs here and there mate.
Yep - not everything is thoroughly tested. Let me know if you experience any obvious ones or if you have a fix that you'd like to contribute.


Re: [TDM] Sector 7 TDM [MySQL] - Abagail - 25.11.2014

You can add something like this to see if a MySQL connection was sucessful or not:
[pawn]
if(mysql_errno() == 0) printf("Database connection to %s sucessful.", mysql_server);
else if(mysql_errno() != 0) printf("Database connection to %s failed(error code: %d)", mysql_server, mysql_errno());
[/[pawn]


Re: [TDM] Sector 7 TDM [MySQL] - Outlaw308 - 25.11.2014

Found the problem. Some fields in player table had no default value. This was causing the problem of not saving.


Re: [TDM] Sector 7 TDM [MySQL] - Arastair - 09.01.2015

Quote:
Originally Posted by DankMayne
View Post
This ^^


Re: [TDM] Sector 7 TDM [MySQL] - jlsrios - 26.07.2015

Screenshots?


Re: [TDM] Sector 7 TDM [MySQL] - Viki - 16.08.2015

hey man gamemode looks cool but can you just upload the whole server?i mean whole files in same folder and upload it?


Re: [TDM] Sector 7 TDM [MySQL] - PGaming - 09.03.2017

Download links are not working.


Re: [TDM] Sector 7 TDM [MySQL] - HailPutin - 17.08.2018

will you fix the links ?


Re: [TDM] Sector 7 TDM [MySQL] - ZigGamerx - 07.09.2018

can anyone give me "MYSQL FILE AND SCRIPTFILES" Fixed links?