Hey Guys i have noticed a curious error in my loggs and tbh i have no clue how they appeared nor how i should fix them.
I already executed the usp_save_char_info_e new but yet it doesnt made any difference.
I would be rly glad if anyone got a clue or a hint for that prob
2013-04-23 11:14:15 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
2013-04-23 11:14:15 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
2013-04-23 11:18:52 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
2013-04-23 11:18:52 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
2013-04-23 12:44:13 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
2013-04-23 12:44:13 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
the Hp parameter is "606 4" instead of 6064; is it a typo due to log process or copy/paste in this post?
- usp_Save_Char_Info_E, the "classical" one does not perform any subquery, it only contains a where clause with the @CharID argument.
did u change that SP ? can u post the one u are using?
USE [PS_GameData]
GO
/****** Object: StoredProcedure [dbo].[usp_Save_Char_Info_E] Script Date: 04/24/2013 19:50:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF( (@K1 IS NOT NULL) AND (@K2 IS NOT NULL) AND (@K3 IS NOT NULL) AND (@K4 IS NOT NULL))
BEGIN
UPDATE Chars SET K1=@K1, K2=@K2, K3=@K3, K4=@K4 WHERE CharID=@CharID
END
Charlie___XXX25 Points:
0
set @assignedID = (select ID from RecordTable where DateSubmitted = @dateSubmitted)
my guess is that you get that error because you insert more than one record with the same datesubmitted value.
Reply Quote
Tuesday, June 26, 2007 3:02 PM
SomeDeveloperPerson130 Points
0
Charlie___XXX wrote:
set @assignedID = (select ID from RecordTable where DateSubmitted = @dateSubmitted)
my guess is that you get that error because you insert more than one record with the same datesubmitted value.
That's not possible. The error occurs even when the RecordTable is empty.
Reply Quote
Tuesday, June 26, 2007 3:10 PM
SomeDeveloperPerson130 Points
1
SomeDeveloperPerson wrote:
Charlie___XXX wrote:
set @assignedID = (select ID from RecordTable where DateSubmitted = @dateSubmitted)
my guess is that you get that error because you insert more than one record with the same datesubmitted value.
That's not possible. The error occurs even when the RecordTable is empty.
Charlie... you're actually correct. I modified the line to:
Code Snippet
set @assignedID = (select MAX(ID) from RecordTable where DateSubmitted = @dateSubmitted)
And it works with no problems now. Apparently the code is executing faster than expected so that several records are being written in under a millisecond.
set @assignedID = (select ID from RecordTable where DateSubmitted = @dateSubmitted)
is indeed inherently invalid.
but the original usp_Save_Char_Info_E and the version posted by Teddy doesn't contain such statement.
I also assume that the call to the unknown "sp_Update_Char sPVPData_E" proc is actually in a comment (the log does not indicate that error occured in that SP neither).
The error has so far no explanation with the given information.
Teddy, the calls logged in the out file can be executed (as any valid sql stmt), so try to execute one of the
so it manages posX, posY, posZ as reals and it doesn't transmit the @KillLevel and @DeadLevel parameters ... this is (except enormous mistake) not possible, these last 2 params are mandatory.
where posX|Y|Z are indeed real, so the call would be correct, expect the 2 missing last params.
OOH, the second log gives:
2013-04-23 11:14:15 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression., SQL STATE: 21000, NATIVE ERROR: 512 (0x200)
the 3 coords are transmitted as string (they are single-quoted) (and the Kill / Dead levels are provided)
this point shall be fixed. your SP excepts real or string but not both, and function overloading is AFAIK not supported by SQL (we can not have both with 2 prototypes).
IF (ISNumeric(@posSX)=1 and ISNumeric(@posSY)=1 and ISNumeric(@posSZ)=1)
BEGIN
SET @posX = CAST(@posSX as real)
SET @posY = CAST(@posSY as real)
SET @posZ = CAST(@posSZ as real)
END
ELSE
BEGIN
-- gets here if there is an error in the positions, likely a bot or exploit.
SET @Map = 42
SET @posX = 66.5
SET @posY = 2.0
SET @posZ = 52.6
END
IF ((@K1 IS NOT NULL) AND (@K2 IS NOT NULL) AND (@K3 IS NOT NULL) AND (@K4 IS NOT NULL))
BEGIN
UPDATE Chars SET K1=@K1, K2=@K2, K3=@K3, K4=@K4 WHERE CharID=@CharID
END
IF(@@ERROR = 0 AND @@ROWCOUNT = 1)
BEGIN
RETURN 1
END
ELSE
BEGIN
RETURN -1
END
SET NOCOUNT OFF
where coords are given as string and the final client (the PS_Login.exe and PS_Game.exe) shall comply with this declaration and thus provide a pointer to string, not a real8.
may be the ODBC middleware manages the coercion of data.
but may be this real / string mistake is the cause of your error, the SP failed to be called due to invalid parameter and reported errors are wrong (exact cause is lost bacuse no actual call is made).
you should check this assumption with the SP above.
error got fixed
i noticed that i deleated all my chars and accounts and made new accounts which was the problem as the old items from that accounts caused these problems. i moved the new accounts to UserUID 50+ and now it works all fine.
thats for the input the thread can be closed
Curious. 01/03/2012 - Mabinogi - 11 Replies I'm posting this thread simply to find out whether or not duping through tutorial dungeon is still possible. I've tried the teleportation build in Alissa, and obviously, thanks to some dumbshit leechers, has been patched. I was just wondering if getting to tutorial dungeon is still possible. And if not, I want to know if there is another method of duping, and what it involves.
*Note to trolls/spammers/smartasses/etc.
I'm not asking on a detailed description on how to dupe. I'm not asking...
Im just curious... 07/24/2010 - Archlord - 15 Replies A few hours ago I found a ss from Webzen AL...
Can someone tell me what that blueish thing is in row 2 col. 2?...
http://kepfeltoltes.hu/100722/81219326-4_www.kepf eltoltes.hu_.jpg
just curious 09/12/2008 - Dekaron Private Server - 1 Replies is there anyone on the 360x or w/e it is server atm? need a little help getting the feathers for my wings because for some damn reason the chinese people there are so damn greedy they keep killing me i would fight back but 4 vrs 1 anyone would die
curious... 02/03/2006 - Conquer Online 2 - 26 Replies hi guys
was wonderin i use the co loader pretty much everyday to load a 3rd char,met my stuff which i got another sokt item by rapid spammin thnx to the loader hehe quik getaways after pkin
was curios would i get banned or somthing from usin this everyday like overusing it or somthing?
and thnx again for all the nifty lil triks hehe :D