View Single Post
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 08-24-2004 , 13:03  
Reply With Quote #15

I'm getting this error from engine.inc when compiling Warcraft 3 Frozen Throne:

// amxx\scripting\include\engine.inc(287) : error 032: array index out of bounds (variable "fCheckAt")

Here's the lines in engine.inc:

/* Will return the contents of a point (inside map? in sky? outside map? etc.). */
stock PointContents(Float:fCheckAt[3]) {
return point_contents(fCheckAt[3]);
}

Line 287 points to return point_contents(fCheckAt[3]);


Also getting tag mismatch warning with mysql.inc file:

// amxx\scripting\include\mysql.inc(22) : warning 213: tag mismatch
// amxx\scripting\include\mysql.inc(36) : warning 213: tag mismatch
// amxx\scripting\include\mysql.inc(42) : warning 213: tag mismatch


/* Opens connection. If already such exists then that will be used.
* Function returns sql id to use with other sql natives.
* Host can be plain ip or with port seperated with ':' char. */
stock mysql_connect(host[],user[],pass[],dbname[],error[],maxlength)
{
return dbi_connect(host, user, pass, dbname, error, maxlength)
} <---- this being line 22



/* Clears query (sql) and closes connection (if any other plugin doesn't use it). */
stock mysql_close(sql)
{
return dbi_close(sql) <----------- this being line 36
}




/* Stores last error of current query/connection (sql) in (dest) with (maxlength) characters maximum. */
stock mysql_error(sql,dest[],maxlength)
{
return dbi_error(sql, dest, maxlength) <-------- this being line 42
}
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze