[GameMode] [TDM] Sector 7 TDM [MySQL]
#21

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
Reply
#22

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?
Reply
#23

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.
Reply
#24

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
Reply
#25

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

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

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.
Reply
#28

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]
Reply
#29

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

Quote:
Originally Posted by DankMayne
View Post
This ^^
Reply
#31

Screenshots?
Reply
#32

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

Download links are not working.
Reply
#34

will you fix the links ?
Reply
#35

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


Forum Jump:


Users browsing this thread: 1 Guest(s)