Something's wrong and my sorry ass can't find it
#1

Hello, I try to compile a house script(this:https://pastebin.com/bGY6zdGi), but this happens:
Quote:

D:\Games\samp server\filterscripts\house13.pwn(559) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(560) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(664) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(665) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(713) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(714) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(723) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(724) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(726) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(727) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(729) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(730) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(732) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(733) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(741) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(743) : warning 213: tag mismatch
D:\Games\samp server\filterscripts\house13.pwn(812) : error 017: undefined symbol "cache_get_field_content_int"
D:\Games\samp server\filterscripts\house13.pwn(813) : error 017: undefined symbol "cache_get_field_content"
D:\Games\samp server\filterscripts\house13.pwn(813) : warning 215: expression has no effect
D:\Games\samp server\filterscripts\house13.pwn(813) : error 001: expected token: ";", but found ")"
D:\Games\samp server\filterscripts\house13.pwn(813) : error 029: invalid expression, assumed zero
D:\Games\samp server\filterscripts\house13.pwn(813) : fatal error 107: too many error messages on one line

I have the latest includes of streamer, YSI and mysql.
Thank you in advance!
Reply
#2

cache_get_field_content_int and cache_get_fiend_content doesnt exist in the latest mysql version, you have to update them.

Here's a tutorial how to:
https://sampforum.blast.hk/showthread.php?tid=616103

More information related your mysql version can be found here:
https://sampwiki.blast.hk/wiki/MySQL
Reply
#3

Show your code. Without it, we can't help you.
Reply
#4

Thank you! Now it only has one error on the SQLHandle = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE); line. It says MYSQL_HOST, MYSQL_USER etc are not defined. Checked the include file and sure they are defined :/ do you know any solution?
Reply
#5

You need to replace MYSQL_HOST, MYSQL_USER and so on with the database informations..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)