Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server > Shaiya PServer Development
You last visited: Today at 05:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[PROBLEM] Server make players DC

Discussion on [PROBLEM] Server make players DC within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 10
Received Thanks: 3
[PROBLEM] Server make players DC

Hello, sometimes people on my server getting DC after a few hours of play. DC does rollback of charcter items, locations and the other things that they had. I tried to change ps_DBAgent.exe, for the one who gave LPH. My file serves from TeddyBear. If anyone knows how to fix it I would ask a help.

logs:

PS_DBAGENT__systemlog
PHP Code:
2014-07-15 19:48:17 PS_DBAGENT__system log start (DBAgent01)

2014-07-15 19:49:37 connect gameName=



2014-07-15 19:49:37 connect gameName=



2014-07-16 17:36:37 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 69was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:37 ::SaveCharacter 319 Fellice ret=1qerr=-1, {?=call usp_Save_Char_Info_E(319,70,0,195,8,9,631,14,85,8,-15801,15972,8410,46,99,3850000,321237213,'923.505127','63.822704','81.928986'0,200,0,0,0825,17,0,00,0)}

2014-07-16 17:36:42 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 70was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:42 ::SaveCharacter 364 miss ret=1qerr=-1, {?=call usp_Save_Char_Info_E(364,31,0,0,12,9,0,10,10,10,2837,371,326,43,131,320150,0,'242.783508','16.626488','61.686134'0,200,0,0,00,0,0,00,0)}

2014-07-16 17:36:44 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 67was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:44 ::SaveCharacter 370 Hiszpann ret=1qerr=-1, {?=call usp_Save_Char_Info_E(370,70,0,195,588,9,83,10,10,55,9628,6049,7838,43,313,3850000,644890110,'272.637177','16.897100','77.466049'0,200,0,0,00,0,0,00,0)}

2014-07-16 17:36:45 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 70was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:45 ::SaveCharacter 364 miss ret=1qerr=-1, {?=call usp_Save_Char_Info_E(364,31,0,0,12,9,0,10,10,10,2837,371,326,43,131,320150,0,'242.783508','16.626488','61.686134'0,200,0,0,00,0,0,00,0)}

2014-07-16 17:36:46 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 68was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:46 ::SaveCharacter 159 [GS]DARKSTARR ret=1qerr=-1, {?=call usp_Save_Char_Info_E(159,70,0,195,7,9,9,716,14,9,-23491,18025,5000,46,168,3850000,102939329,'926.791016','64.277657','82.564011'0,200,0,0,06825,102,1,13,0)}

2014-07-16 17:36:46 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 68was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:46 ::SaveCharacter 159 [GS]DARKSTARR ret=1qerr=-1, {?=call usp_Save_Char_Info_E(159,70,0,195,7,9,9,716,14,9,-23491,18025,5000,46,168,3850000,102939329,'926.791016','64.277657','82.564011'0,200,0,0,06825,102,1,13,0)}

2014-07-16 17:36:46 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 67was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:46 ::SaveCharacter 370 Hiszpann ret=1qerr=-1, {?=call usp_Save_Char_Info_E(370,70,0,195,588,9,83,10,10,55,9628,6049,7838,43,313,3850000,644890110,'272.637177','16.897100','77.466049'0,200,0,0,00,0,0,00,0)}

2014-07-16 17:36:46 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 68was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:46 ::SaveCharacter 344 Uzjel1 ret=1qerr=-1, {?=call usp_Save_Char_Info_E(344,70,0,195,632,14,10,7,10,82,24019,8174,16436,42,139,3850000,14719210,'44.610565','1.880667','44.113014'0,200,0,0,025,0,0,00,0)}

2014-07-16 17:36:47 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 69was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:47 ::SaveCharacter 3 [ADM-D]Misiaczek ret=1qerr=-1, {?=call usp_Save_Char_Info_E(3,71,0,195,8,9,10,320,85,324,23795,-24421,24759,42,196,3850001,143269422,'57.891171','1.891644','63.089294'0,200,0,0,04925,0,5,01,0)}

2014-07-16 17:36:47 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 70was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:47 ::SaveCharacter 267 olum ret=1qerr=-1, {?=call usp_Save_Char_Info_E(267,70,0,195,363,9,39,10,10,10,29318,2170,12397,70,232,3850000,182895708,'829.126343','29.219992','671.585571'0,200,0,0,0325,20,0,10,0)}

2014-07-16 17:36:47 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 69was deadlocked on lock resources with another process and has been chosen as the deadlock victimRerun the transaction., SQL STATE40001NATIVE ERROR1205 (0x4B5)

2014-07-16 17:36:47 ::SaveCharacter 3 [ADM-D]Misiaczek ret=1qerr=-1, {?=call usp_Save_Char_Info_E(3,71,0,195,8,9,10,320,85,324,23795,-24421,24759,42,196,3850001,143269422,'57.891171','1.891644','63.089294'0,200,0,0,04925,0,5,01,0)} 
PHP Code:
//PS_DBAGENT__charsave log start (DBAgent01)

--<begin>2014-07-16 17:36:45,karolek1,215,miss,364

{?=call usp_Save_Char_Info_E(364,310,012,9,0,10,10,102837,371,32643,131320150,0242.783508,16.626488,61.6861340,200,0,0,00,0,0,0)}

EXEC usp_Save_User_StoredMoney_E 1,215,0

{?=call Usp_Save_Char_ApplySkill_Del_E(364,0,0,1)}

EXEC usp_Save_Char_QuickSlot_Del_E 364

--<end>2014-07-16 17:36:45,karolek1,215,miss,364





--<begin>2014-07-16 17:36:46,DARKSTAR12,113,[GS]DARKSTARR,159

{?=call usp_Save_Char_Info_E(159,700,1957,9,9,716,14,942045,18025,500046,1683850000,102939329926.791016,64.277657,82.5640110,200,0,0,06825,102,1,1)}

EXEC usp_Save_User_StoredMoney_E 1,113,0

{?=call Usp_Save_Char_Item_Mod_E(159,41695613161780674560,11200185,21,20,19,254,253,'00004040400040000065',1)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41695616468907458560,51200183,66,21,14,20,13,'00050038140000000015',1)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41695753263613870081,000,0,0,0,0,0,'',188)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41695616468906803201,81200181,66,21,14,20,13,'00200034320000000015',1)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41701716267358617601,1500,0,0,0,0,0,'',222)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41699343212029542403,000,0,0,0,0,0,'',1)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41705369738339942403,800,0,0,0,0,0,'',219)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41695609468108800005,11200187,21,20,254,253,252,'00004040400040000065',1)}

{?=
call Usp_Save_Char_Item_Del_E(159,'4170638274932572160',0)}

{?=
call Usp_Save_Char_Item_Add_E(159,41706382749325721605,3100031,100,3100,0,0,0,0,0,''1'2014-07-16 17:21:42''S')}

{?=
call Usp_Save_Char_Item_Mod_E(159,41701025679567093765,1112000,0,0,0,0,0,'',1)}

{?=
call Usp_Save_Char_Item_Mod_E(159,41695672174631321605,1200,0,0,0,0,0,'',59)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,2,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,3,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,4,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,5,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,7,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,9,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,303,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,32,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,15,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,19,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,59,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,31,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,30,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,105,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,138,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,304,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,130,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,131,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,41,8,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,119,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,62,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,76,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,78,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,306,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,139,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,346,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,90,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,25,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,111,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,343,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,192,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,159,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,160,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,171,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,89,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,307,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,98,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,175,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,181,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,75,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,158,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,308,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,305,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,344,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,88,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,147,8,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,14,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,365,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,320,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,6,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,29,9,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,132,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,34,9,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,35,9,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,36,9,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,47,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,48,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,50,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,52,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,143,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,70,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,69,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,321,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,356,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,323,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,322,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,164,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,165,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,166,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,117,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,191,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,109,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,28,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,74,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,84,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,95,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,96,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,178,3,229)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,184,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,358,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,82,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(159,83,5,0)}

{?=
call Usp_Save_Char_ApplySkill_Del_E(159,0,0,1)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,225,1,2043788)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,227,1,2043790)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,233,1,2043787)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,286,3,2043785)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,132,7,900)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,47,4,900)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,117,6,900)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,123,6,900)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,116,6,1800)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,104,100,180)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(159,30,100,180)}

EXEC usp_Save_Char_QuickSlot_Del_E 159

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,0,100,29

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,1,100,36

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,2,100,70

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,3,100,356

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,4,100,84

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,5,100,35

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,6,100,166

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,7,100,164

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,8,100,69

EXEC usp_Save_Char_QuickSlot_Add_E 159
,0,9,100,109

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,0,100,184

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,1,100,74

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,2,100,178

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,3,1,0

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,4,3,0

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,5,100,96

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,6,5,1

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,7,1,7

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,8,1,8

EXEC usp_Save_Char_QuickSlot_Add_E 159
,1,9,1,9

EXEC usp_Save_Char_QuickSlot_Add_E 159
,2,0,100,132

EXEC usp_Save_Char_QuickSlot_Add_E 159
,2,1,100,47

EXEC usp_Save_Char_QuickSlot_Add_E 159
,2,2,100,117

EXEC usp_Save_Char_QuickSlot_Add_E 159
,2,3,100,191

EXEC usp_Save_Char_QuickSlot_Add_E 159
,2,4,100,178

EXEC usp_Save_Char_QuickSlot_Add_E 159
,10,0,100,323

EXEC usp_Save_Char_QuickSlot_Add_E 159
,10,1,100,321

EXEC usp_Save_Char_QuickSlot_Add_E 159
,10,2,100,322

EXEC usp_Save_Char_QuickSlot_Add_E 159
,10,3,100,50

EXEC usp_Save_Char_QuickSlot_Add_E 159
,10,4,100,52

EXEC usp_Save_Char_QuickSlot_Add_E 159
,10,5,100,48

EXEC usp_Save_Char_QuickSlot_Add_E 159
,100,0,1,15

EXEC usp_Save_Char_QuickSlot_Add_E 159
,100,1,3,8

--<end>2014-07-16 17:36:46,DARKSTAR12,113,[GS]DARKSTARR,159





--<begin>2014-07-16 17:36:46,lagerr,45,Hiszpann,370

{?=call usp_Save_Char_Info_E(370,700,195588,9,83,10,10,559628,6049,783843,3133850000,644890110272.637177,16.897100,77.4660490,200,0,0,00,0,0,0)}

EXEC usp_Save_User_StoredMoney_E 1,45,0

{?=call Usp_Save_Char_Item_Mod_E(370,41692118561640284160,0400227,113,111,228,115,229,'00002900081825000000',1)}

{?=
call Usp_Save_Char_Item_Mod_E(370,41694938078821744640,51200183,6,7,34,0,0,'10002400001100000015',1)}

{?=
call Usp_Save_Char_Item_Mod_E(370,41695081230081064960,612007,13,6,12,5,0,'15000000220328000000',1)}

{?=
call Usp_Save_Char_Item_Mod_E(370,41672106548071628801,700,0,0,0,0,0,'',1)}

{?=
call Usp_Save_Char_Item_Mod_E(370,41690541020152463361,191200182,7,34,6,0,0,'21113500000000000015',1)}

{?=
call Usp_Save_Char_Item_Mod_E(370,41706107699622707205,000,0,0,0,0,0,'',1)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,2,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,3,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,4,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,5,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,7,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,9,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,303,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,32,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,15,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,19,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,17,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,59,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,31,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,30,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,130,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,192,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,304,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,41,8,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,119,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,76,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,62,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,78,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,139,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,90,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,346,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,25,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,75,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,111,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,159,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,158,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,160,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,171,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,307,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,175,2,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,181,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,99,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(370,98,5,0)}

{?=
call Usp_Save_Char_ApplySkill_Del_E(370,0,0,1)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(370,233,1,2592000)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(370,225,1,2592000)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(370,227,1,2592000)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(370,286,3,2592000)}

{?=
call Usp_Save_Char_Quest_Mod_E(370,3,0,0,0,0)}

EXEC usp_Save_Char_QuickSlot_Del_E 370

--<end>2014-07-16 17:36:46,lagerr,45,Hiszpann,370





--<begin>2014-07-16 17:36:47,Misiaczek,3,[ADM-D]Misiaczek,3

{?=call usp_Save_Char_Info_E(3,710,1958,9,10,320,85,32423795,41115,2475942,1963850001,14326942257.891171,1.891644,63.0892940,200,0,0,04925,0,5,0)}

EXEC usp_Save_User_StoredMoney_E 1,3,808464688

{?=call Usp_Save_Char_Skill_Mod_E(3,365,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,320,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,32,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,4,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,14,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,29,9,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,192,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,132,7,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,103,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,364,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,102,8,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,144,8,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,148,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,85,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,72,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,53,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,187,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,123,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,191,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,126,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,116,6,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,127,1,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,28,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,186,5,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,324,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,167,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,326,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,185,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,3,3,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,363,4,0)}

{?=
call Usp_Save_Char_Skill_Mod_E(3,54,3,0)}

{?=
call Usp_Save_Char_ApplySkill_Del_E(3,0,0,1)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(3,225,1,2256293)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(3,227,1,2256291)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(3,233,1,2256297)}

{?=
call Usp_Save_Char_ApplySkill_Add_E2(3,286,3,2256295)}

EXEC usp_Save_Char_QuickSlot_Del_E 3

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,0,100,29

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,1,100,324

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,2,100,85

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,3,100,53

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,4,100,363

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,5,100,167

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,6,100,187

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,7,100,186

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,8,100,326

EXEC usp_Save_Char_QuickSlot_Add_E 3
,0,9,100,103

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,0,100,185

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,1,100,148

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,2,100,102

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,3,100,144

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,4,100,116

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,5,100,127

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,6,101,3

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,7,101,4

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,8,100,126

EXEC usp_Save_Char_QuickSlot_Add_E 3
,1,9,100,192

EXEC usp_Save_Char_QuickSlot_Add_E 3
,10,0,100,123

EXEC usp_Save_Char_QuickSlot_Add_E 3
,10,1,100,132

EXEC usp_Save_Char_QuickSlot_Add_E 3
,10,2,100,364

EXEC usp_Save_Char_QuickSlot_Add_E 3
,10,3,100,191

EXEC usp_Save_Char_QuickSlot_Add_E 3
,21,1,255,0

--<end>2014-07-16 17:36:47,Misiaczek,3,[ADM-D]Misiaczek,

PHP Code:
USE [PS_GameData]
GO
/****** Object:  StoredProcedure [dbo].[usp_Save_Char_Info_E]    Script Date: 07/14/2014 00:21:26 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


ALTER Proc 
[dbo].[usp_Save_Char_Info_E

@
CharID int
@
Level int
@
StatPoint smallint
@
SkillPoint smallint
@
Str smallint
@
Dex smallint
@
Rec smallint
@
Int smallint
@
Wis smallint
@
Luc smallint
@
Hp smallint
@
Mp smallint
@
Sp smallint
@
Map smallint
@
Dir smallint
@
Exp int
@
Money int
@
Posx varchar(50), 
@
Posy varchar(50), 
@
Posz varchar(50), 
@
Hg int
@
Vg int
@
Cg int
@
Og int
@
Ig int
@
K1 int null
@
K2 int null
@
K3 int null
@
K4 int null
@
KillLevel tinyint
@
DeadLevel tinyint 

AS 

SET NOCOUNT ON 

DECLARE @ServerID int
    @
Grow int
    @
tempExp bigint
    @
PosxR real
    @
PosyR real
    @
PoszR real 

SET 
@ServerID 

IF (ISNumeric(@Posx) = and ISNumeric(@Posy) = and ISNumeric(@Posz) = 1
BEGIN 
    SET 
@PosxR CAST(@Posx as real
    
SET @PosyR CAST(@Posy as real
    
SET @PoszR CAST(@Posz as real
END 
ELSE 
BEGIN 

    SET 
@Map 42 
    SET 
@PosxR 66.5 
    SET    
@PosYR 2.0 
    SET 
@PosZR 52.6 
END 

UPDATE Chars 
    SET 
[Level] = @LevelStatPoint = @StatPointSkillPoint = @SkillPoint
    [
Str] = @Strdex = @DexRec = @Rec, [int] = @IntWis = @WisLuc = @Luc
    
HP = @HpMp = @MpSp = @Sp
    
Map = @Mapdir = @Dir, [exp] = @Exp, [money] = @Money
    
PosX = @PosxRPosY = @PosYRPosZ = @PosZRhg = @Hgvg = @Vgcg = @Cgog = @Ogig = @Ig,  
    
KillLevel=@KillLevelDeadLevel=@DeadLevel,LeaveDate=GETDATE() 
WHERE CharID = @CharID 

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
=@K1K2=@K2K3=@K3K4=@K4 WHERE CharID=@CharID 
END 

IF(@@ERROR AND @@ROWCOUNT 1
BEGIN 
    
RETURN 
END 
ELSE 
BEGIN 
    
RETURN -
END 

SET NOCOUNT OFF 
jimmy1995pl is offline  
Old 07/17/2014, 00:09   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 380
Received Thanks: 85
dose the servises become paused after this happens ?
Big_ is offline  
Old 07/17/2014, 00:51   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 10
Received Thanks: 3
No, server still working just players getting DC (but not all which are online in game). Btw server using Microsoft SQL Server 2008 R2 on Windows Server 2008 R2 no idea if it's important.
jimmy1995pl is offline  
Old 07/17/2014, 08:05   #4
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
A deadlock occurs when 2 processes try to hit the same data at the same time.

How many ram did you have ?
Boul27 is offline  
Old 07/17/2014, 11:34   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 10
Received Thanks: 3
Server have 2GB of RAM but when is run using like 900 - 1000 MB. I have no idea. Does the apache with script that showing players online or any procedure in database can doing that? Other logs looks good just in ps agent they are.

Hoever thanks for reply. If anyone know what i can change please for answer.
jimmy1995pl is offline  
Old 07/17/2014, 12:06   #6
 
elite*gold: 0
Join Date: Mar 2014
Posts: 119
Received Thanks: 27
There is mine


Make a backup of yours, test mine, and tell me what happend
Boul27 is offline  
Thanks
1 User
Old 07/17/2014, 12:38   #7
 
elite*gold: 0
Join Date: Oct 2012
Posts: 10
Received Thanks: 3
Thanks. I executed that. As I said the problem is somtimes, last DCs was yesterday at 20:06 - 20:07, 20:22 and as the log show players get dc on the same time but not all time. Currently the server is enabled since before yesterday(without restart I mean). BTW does the sql 2008 R2 32 bit on windows server 2008 R2 64 bit can cause these problems?
Edit:
Already Fixed. I found help on microsoft site. The problem probably was in procedure Save Char Info E that had two update(2nd was for kills/deaths) and it causes deadlocks. Also added to the update "UPDATE Chars WITH(XLOCK)" All procedure is here:

PHP Code:
USE [PS_GameData]
GO
/****** Object:  StoredProcedure [dbo].[usp_Save_Char_Info_E]    Script Date: 07/18/2014 15:10:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


ALTER Proc 
[dbo].[usp_Save_Char_Info_E]

@
CharID int,
@
Level int,
@
StatPoint smallint,
@
SkillPoint smallint,
@
Str smallint,
@
Dex smallint,
@
Rec smallint,
@
Int smallint,
@
Wis smallint,
@
Luc smallint,
@
Hp smallint,
@
Mp smallint,
@
Sp smallint,
@
Map smallint,
@
Dir smallint,
@
Exp int,
@
Money int,
@
Posx varchar(50),
@
Posy varchar(50),
@
Posz varchar(50),
@
Hg int,
@
Vg int,
@
Cg int,
@
Og int,
@
Ig int,
@
K1 int null,
@
K2 int null,
@
K3 int null,
@
K4 int null,
@
KillLevel tinyint,
@
DeadLevel tinyint

AS

SET NOCOUNT ON

DECLARE @ServerID int,
@
Grow int,
@
tempExp bigint,
@
PosxR real,
@
PosyR real,
@
PoszR real

SET 
@ServerID 1

IF (ISNumeric(@Posx) = and ISNumeric(@Posy) = and ISNumeric(@Posz) = 1)
BEGIN
SET 
@PosxR CAST(@Posx as real)
SET @PosyR CAST(@Posy as real)
SET @PoszR CAST(@Posz as real)
END
ELSE
BEGIN

SET 
@Map 42
SET 
@PosxR 66.5
SET 
@PosYR 2.0
SET 
@PosZR 52.6
END

UPDATE Chars WITH
(XLOCK)
SET [Level] = @LevelStatPoint = @StatPointSkillPoint = @SkillPoint,
[
Str] = @Strdex = @DexRec = @Rec, [int] = @IntWis = @WisLuc = @Luc,
HP = @HpMp = @MpSp = @Sp,
Map = @Mapdir = @Dir, [exp] = @Exp, [money] = @Money,
PosX = @PosxPosY = @PosYPosZ = @PosZhg = @Hgvg = @Vgcg = @Cgog = @Ogig = @Ig,
KillLevel=@KillLevelDeadLevel=@DeadLevel,LeaveDate=GETDATE(),
K1 = CASE WHEN @K1 IS NOT NULL THEN @K1 ELSE K1 END,
K2 = CASE WHEN @K2 IS NOT NULL THEN @K2 ELSE K2 END,
K3 = CASE WHEN @K3 IS NOT NULL THEN @K3 ELSE K3 END,
K4 = CASE WHEN @K4 IS NOT NULL THEN @K4 ELSE K4 END
WHERE CharID 
= @CharID

IF(@@ERROR AND @@ROWCOUNT 1)
BEGIN
RETURN 1
END
ELSE
BEGIN
RETURN -1
END

SET NOCOUNT OFF 
jimmy1995pl is offline  
Thanks
1 User
Old 03/25/2017, 06:42   #8
 
elite*gold: 0
Join Date: Nov 2016
Posts: 60
Received Thanks: 12
Quote:
Originally Posted by jimmy1995pl View Post
Thanks. I executed that. As I said the problem is somtimes, last DCs was yesterday at 20:06 - 20:07, 20:22 and as the log show players get dc on the same time but not all time. Currently the server is enabled since before yesterday(without restart I mean). BTW does the sql 2008 R2 32 bit on windows server 2008 R2 64 bit can cause these problems?
Edit:
Already Fixed. I found help on microsoft site. The problem probably was in procedure Save Char Info E that had two update(2nd was for kills/deaths) and it causes deadlocks. Also added to the update "UPDATE Chars WITH(XLOCK)" All procedure is here:

PHP Code:
USE [PS_GameData]
GO
/****** Object:  StoredProcedure [dbo].[usp_Save_Char_Info_E]    Script Date: 07/18/2014 15:10:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO


ALTER Proc 
[dbo].[usp_Save_Char_Info_E]

@
CharID int,
@
Level int,
@
StatPoint smallint,
@
SkillPoint smallint,
@
Str smallint,
@
Dex smallint,
@
Rec smallint,
@
Int smallint,
@
Wis smallint,
@
Luc smallint,
@
Hp smallint,
@
Mp smallint,
@
Sp smallint,
@
Map smallint,
@
Dir smallint,
@
Exp int,
@
Money int,
@
Posx varchar(50),
@
Posy varchar(50),
@
Posz varchar(50),
@
Hg int,
@
Vg int,
@
Cg int,
@
Og int,
@
Ig int,
@
K1 int null,
@
K2 int null,
@
K3 int null,
@
K4 int null,
@
KillLevel tinyint,
@
DeadLevel tinyint

AS

SET NOCOUNT ON

DECLARE @ServerID int,
@
Grow int,
@
tempExp bigint,
@
PosxR real,
@
PosyR real,
@
PoszR real

SET 
@ServerID 1

IF (ISNumeric(@Posx) = and ISNumeric(@Posy) = and ISNumeric(@Posz) = 1)
BEGIN
SET 
@PosxR CAST(@Posx as real)
SET @PosyR CAST(@Posy as real)
SET @PoszR CAST(@Posz as real)
END
ELSE
BEGIN

SET 
@Map 42
SET 
@PosxR 66.5
SET 
@PosYR 2.0
SET 
@PosZR 52.6
END

UPDATE Chars WITH
(XLOCK)
SET [Level] = @LevelStatPoint = @StatPointSkillPoint = @SkillPoint,
[
Str] = @Strdex = @DexRec = @Rec, [int] = @IntWis = @WisLuc = @Luc,
HP = @HpMp = @MpSp = @Sp,
Map = @Mapdir = @Dir, [exp] = @Exp, [money] = @Money,
PosX = @PosxPosY = @PosYPosZ = @PosZhg = @Hgvg = @Vgcg = @Cgog = @Ogig = @Ig,
KillLevel=@KillLevelDeadLevel=@DeadLevel,LeaveDate=GETDATE(),
K1 = CASE WHEN @K1 IS NOT NULL THEN @K1 ELSE K1 END,
K2 = CASE WHEN @K2 IS NOT NULL THEN @K2 ELSE K2 END,
K3 = CASE WHEN @K3 IS NOT NULL THEN @K3 ELSE K3 END,
K4 = CASE WHEN @K4 IS NOT NULL THEN @K4 ELSE K4 END
WHERE CharID 
= @CharID

IF(@@ERROR AND @@ROWCOUNT 1)
BEGIN
RETURN 1
END
ELSE
BEGIN
RETURN -1
END

SET NOCOUNT OFF 
This is not working for me
balongskie123 is offline  
Thanks
1 User
Old 02/11/2018, 01:51   #9
 
elite*gold: 0
Join Date: Mar 2015
Posts: 11
Received Thanks: 2
you need to renistall your SQL and it working perfectly
lucasalan16 is offline  
Reply


Similar Threads Similar Threads
my metin2 pvp server players bug problem
09/02/2010 - Metin2 Private Server - 15 Replies
hello epvp i have a problem The map is not the players are staying with wheat how can I fix it problem.. Waiting for your reply
How to make SV DC on all players
05/19/2007 - Conquer Online 2 - 16 Replies
as the topic says, how to make SV disconnect on every player? at the moment I can only write down names of when you see them you disconnect, but to make it more safe, I want to make it dc on all players How to do that? text2schild.php?smilienummer=1&text=Help Appreciated, and karma awarded =D' border='0' alt='Help Appreciated, and karma awarded =D' />



All times are GMT +1. The time now is 05:14.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.