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
|
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
|
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
|
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?