Hey guys, having some drama when i go to start the server via Visual Studio.
When i go to "Run"
UPDATE: Now when starting/ gets to the create server window, input the IP and password etc, then comes back to this error.
Exception Unhandled; NHibernate.Exceptions.GenericADOException: 'could not execute query
[ CALL GetGuildMemberList(?p0) ]
Name:guildId - Value:37
[SQL: CALL GetGuildMemberList(?p0)]'
return session
.GetNamedQuery("GetGuildMemberList")
.SetParameter("guildId", guildId)
.SetResultTransformer(Transformers.AliasToBean<DbG uildMemberInfo>())
.List<DbGuildMemberInfo>();
Is there something here with the NHibernate that needs to be changed?
[Unsure if related, but when Executing SQL file, the only error that comes up is related to a guild list issue also] Heres the SQL error [when excecuting SQL file];
"[SQL] Query Nov_16_Backup start
[ERR] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!=guildRank LIMIT 1;
END' at line 3
[ERR] CREATE DEFINER=`root`@`localhost` PROCEDURE `DeleteUserGuildAttr`(IN userId INT unsigned, IN guildId INT unsigned, IN guildRank SMALLINT unsigned)
BEGIN
DELETE FROM guildattr WHERE id=userId AND guild_id=guildId AND rank!=guildRank LIMIT 1;
END
[ERR] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rank, u.Level AS Level, g.donate_silver AS Donation FROM guildattr AS g LEFT JOI' at line 3
[ERR] CREATE DEFINER=`root`@`localhost` PROCEDURE `GetGuildMemberList`(IN guildId INT unsigned)
BEGIN
SELECT u.Name AS Name, g.rank AS Rank, u.Level AS Level, g.donate_silver AS Donation FROM guildattr AS g LEFT JOIN characters AS u ON u.UID=g.id WHERE g.guild_id=guildId && u.UID IS NOT NULL ORDER BY g.rank DESC, u.Level DESC, u.Name;
END
[SQL] Finished with error
"
Apologies for a wall of text. Just frustrating :P
When i go to "Run"
UPDATE: Now when starting/ gets to the create server window, input the IP and password etc, then comes back to this error.
Exception Unhandled; NHibernate.Exceptions.GenericADOException: 'could not execute query
[ CALL GetGuildMemberList(?p0) ]
Name:guildId - Value:37
[SQL: CALL GetGuildMemberList(?p0)]'
return session
.GetNamedQuery("GetGuildMemberList")
.SetParameter("guildId", guildId)
.SetResultTransformer(Transformers.AliasToBean<DbG uildMemberInfo>())
.List<DbGuildMemberInfo>();
Is there something here with the NHibernate that needs to be changed?
[Unsure if related, but when Executing SQL file, the only error that comes up is related to a guild list issue also] Heres the SQL error [when excecuting SQL file];
"[SQL] Query Nov_16_Backup start
[ERR] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!=guildRank LIMIT 1;
END' at line 3
[ERR] CREATE DEFINER=`root`@`localhost` PROCEDURE `DeleteUserGuildAttr`(IN userId INT unsigned, IN guildId INT unsigned, IN guildRank SMALLINT unsigned)
BEGIN
DELETE FROM guildattr WHERE id=userId AND guild_id=guildId AND rank!=guildRank LIMIT 1;
END
[ERR] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Rank, u.Level AS Level, g.donate_silver AS Donation FROM guildattr AS g LEFT JOI' at line 3
[ERR] CREATE DEFINER=`root`@`localhost` PROCEDURE `GetGuildMemberList`(IN guildId INT unsigned)
BEGIN
SELECT u.Name AS Name, g.rank AS Rank, u.Level AS Level, g.donate_silver AS Donation FROM guildattr AS g LEFT JOIN characters AS u ON u.UID=g.id WHERE g.guild_id=guildId && u.UID IS NOT NULL ORDER BY g.rank DESC, u.Level DESC, u.Name;
END
[SQL] Finished with error
"
Apologies for a wall of text. Just frustrating :P