|
You last visited: Today at 20:27
Advertisement
Arithmetic overflow
Discussion on Arithmetic overflow within the Shaiya PServer Development forum part of the Shaiya Private Server category.
02/26/2017, 08:13
|
#1
|
elite*gold: 0
Join Date: Sep 2016
Posts: 32
Received Thanks: 6
|
Arithmetic overflow
Good Night; I have a problem that I can not solve for some time. My log PS_game_System.log said:
"2017-02-24 16:12:54 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Arithmetic overflow error converting expression to data type tinyint., SQL STATE: 22003, NATIVE ERROR: 8115 (0x1FB3)
2017-02-24 16:12:54 DBWrite::LogGame: err=-1, query=EXEC usp_Insert_Action_Log_E 'test',7,131,'test12', 60,40067732,51, 535.029053,42.739998,384.429474, '2017-02-24 16:12:54' ,119, 4947311715173400576,20041,30205,494959537075893043 2,0,1123,1,NULL,NULL,NULL,'Guantes Norte Diurno','Lapis Dual Artesanal Lv 3','34,33,203,204,205,0 (Option:13130000000013000059)"
The only variable in Action_Log proc that contains tinyint is @  Type. I changed it for a bigger one but it does not work.
I would appreciate any help.
|
|
|
02/26/2017, 16:02
|
#2
|
elite*gold: 0
Join Date: Jan 2013
Posts: 347
Received Thanks: 137
|
Postea tu Stored Procedure
|
|
|
02/26/2017, 19:56
|
#3
|
elite*gold: 0
Join Date: Sep 2016
Posts: 32
Received Thanks: 6
|
USE [PS_GameLog]
GO
/****** Object: StoredProcedure [dbo].[usp_Insert_Action_Log_E] Script Date: 02/26/2017 15:55:07 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER Proc [dbo].[usp_Insert_Action_Log_E]
@UserID varchar(18),
@  ID int,
@CharID int,
@CharName varchar(50),
@CharLevel tinyint,
@CharExp int,
@MapID smallint,
@PosX real,
@PosY real,
@PosZ real,
@ActionTime datetime,
@ActionType tinyint,
@  bigint = null,
@  int = null,
@  3 int = null,
@  4 bigint = null,
@  5 int = null,
@  6 int = null,
@  7 int = null,
@  8 int = null,
@  9 int = null,
@  0 int = null,
@Text1 varchar(100) = '',
@Text2 varchar(100) = '',
@Text3 varchar(100) = '',
@Text4 varchar(100) = '',
@Sql nvarchar(4000) = '',
@  varchar(4) = '',
@mm varchar(2) = '',
@dd varchar(2) = '',
@Bucket smallint = -1
AS
SET @  = datepart(yyyy, @ActionTime)
SET @mm = datepart(mm, @ActionTime)
SET @dd = datepart(dd, @ActionTime)
IF(LEN(@mm) = 1)
BEGIN
SET @mm = '0' + @mm
END
IF(LEN(@dd) = 1)
BEGIN
SET @dd = '0' + @dd
END
SET @Sql = N'
INSERT INTO PS_GameLog.dbo.ActionLog (UserID, UserUID, CharID, CharName, CharLevel, CharExp, MapID, PosX, PosY, PosZ, ActionTime, ActionType,
Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8, Value9, Value10, Text1, Text2, Text3, Text4)
VALUES(@UserID, @  ID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType,
@  , @  , @  3, @  4, @  5, @  6, @  7, @  8, @  9, @  0, @Text1, @Text2, @Text3, @Text4)'
EXEC sp_executesql @Sql,
N'@UserID varchar(18), @  ID int, @CharID int, @CharName varchar(50),
@CharLevel tinyint, @CharExp int, @MapID smallint, @PosX real, @PosY real, @PosZ real, @ActionTime datetime, @ActionType tinyint,
@  bigint, @  int, @  3 int, @  4 bigint, @  5 int, @  6 int, @  7 int, @  8 int,
@  9 int, @  0 int, @Text1 varchar(100), @Text2 varchar(100), @Text3 varchar(100), @Text4 varchar(100)',
@UserID, @  ID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType,
@  , @  , @  3, @  4, @  5, @  6, @  7, @  8, @  9, @  0, @Text1, @Text2, @Text3, @Text4
|
|
|
03/09/2017, 22:14
|
#4
|
elite*gold: 0
Join Date: Sep 2016
Posts: 32
Received Thanks: 6
|
Solved. Thank you !
|
|
|
07/28/2025, 01:19
|
#5
|
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 86
|
anyone know what the corse of this is friend has this issew
|
|
|
 |
Similar Threads
|
overflow Int
09/16/2013 - Kal Online - 13 Replies
Hi Guys
Please guys I don't have a lot skills at C++ and arrays
but I know that there are a lot Ppls overflow Scrolls prices
I hope any one can give a tutorial for how can I do that
with cheat engine
Thanks Guys
|
OVERFLOW need HELP plz
08/29/2011 - Diablo 2 - 5 Replies
Also, bin seit sehr langer Zeit wieder am D2 Spielen.
Hab also eine Sorc hochgespielt (jetzt 85) und den D2NT Manager geladen.
Ich weiß es gibt hier viel, sehr viel unglaublich viel. Was ich leider alles auch nicht mehr durchblicken kann.
Wo ich Scripte ändern kann und die Grundeinstellungen bekomme ich denke ich schon hin. Mir würde es sehr helfen, wenn mir jemand Querverweise sendet.
Meine Frage: WO kann ich botten,
und kann mir wer die geeigneten Scripte zur Verfügung stellen?
WELCHE...
|
Overflow-FIX
06/07/2011 - Diablo 2 Programming - 5 Replies
Alle kennen den Fehler der eintritt wen jemand die volle Bandbreite der Zeichen in D2 per Chatmessage schreibt.
Der Bot ist gebuggt!
"Diablo 2 hat einen Fehler festgestellt und muss beendet werden."
Die einzigste Möglichkeit diesen Fehler zu beheben und einen normalen Botrun weiterlaufen zu lassen, ist es auf Beenden zu klicken.
Doch wer kann das, wenn man nicht zuhause ist?!
Dank tonk1 gibts nen einfachen Weg das zu ändern, anders als meine Methode durch Imagesearch.
Was ihr dazu...
|
Overflow @ s1???
07/22/2008 - Kal Online - 9 Replies
morgen werden 2 kalcash items ins spiel eingefügt , also man kann diese beim NPC kaufen und eins wird für 110k verkauft ist overflow möglich?:D
|
All times are GMT +1. The time now is 20:27.
|
|