ShardManager process reduce + reduce log + delete logs
Discussion on ShardManager process reduce + reduce log + delete logs within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
ShardManager process reduce + reduce log + delete logs
Hey all how r u?okey enough
GOAL
doesnt recording the database logs
EFFECT
* ShardManager msgCount values reduce 9000+ to 5-10
* youve got lower lag because we'll delete recording logs
* die for logs
DIFFICULTY
Easy
Read these to database
_AddLogChar
Code:
USE [SRO_VT_LOG]
GO
/****** Object: StoredProcedure [dbo].[_AddLogChar] Script Date: 12/02/2011 11:35:40 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddLogChar]
@CharID int,
@EventID tinyint,
@Data1 int,
@Data2 int,
@strPos varchar(64),
@Desc varchar(128)
as
declare @len_pos int
declare @len_desc int
set @len_pos = len(@strPos)
set @len_desc = len(@Desc)
if (@len_pos > 0 and @len_desc > 0)
begin
return -1
end
else if (@len_pos > 0 and @len_desc = 0)
begin
return -2
end
else if (@len_pos = 0 and @len_desc > 0)
begin
return -3
end
else
begin
return -4
end
_AddLogItems
Code:
USE [SRO_VT_LOG]
GO
/****** Object: StoredProcedure [dbo].[_AddLogItem] Script Date: 12/02/2011 11:37:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-------------------------------------------------------------------------------------------------------------------
-- Step 2
-- 기존 아이템 로그 입력 Stored procedure 수정
-- DataBase : Shard Log
ALTER procedure [dbo].[_AddLogItem]
@CharID int,
@ItemRefID int,
@ItemSerial bigint,
@dwData int,
@TargetStorage tinyint,
@Operation tinyint,
@Slot_From tinyint,
@Slot_To tinyint,
@EventPos varchar(64),
@strDesc varchar(128),
@Gold bigint -- #ifdef EXTEND_GOLD_TYPE �ğ입
as
declare @len_pos int
declare @len_desc int
set @len_pos = len(@EventPos)
set @len_desc = len(@strDesc)
if (@len_pos > 0 and @len_desc > 0)
begin
return -1
end
else if (@len_pos > 0 and @len_desc = 0)
begin
return -1
end
else if (@len_pos = 0 and @len_desc > 0)
begin
return -1
end
else if (@len_pos = 0 and @len_desc = 0)
begin
return -1
end
-- 유료 아이템 구입이면!
-- #define LOG_ITEMEVENT_BUY_CASHITEM (BYTE)35
if (@Operation = 35)
begin
return -1
end
_AddLogSchedule
Code:
USE [SRO_VT_LOG]
GO
/****** Object: StoredProcedure [dbo].[_AddLogSchedule] Script Date: 12/02/2011 11:38:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- 로그 �ğ입 프로시저
ALTER PROCEDURE [dbo].[_AddLogSchedule]
@ServerType VARCHAR(124),
@ServerBodyID INT,
@ScheduleDefine VARCHAR(124),
@ScheduleIdx INT,
@nType VARCHAR(10),
@OccureTime DATETIME -- 각각의 머신의 시간을 적어준다.
AS
return -1
_AddLogServerEvent
Code:
USE [SRO_VT_LOG]
GO
/****** Object: StoredProcedure [dbo].[_AddLogServerEvent] Script Date: 12/02/2011 11:39:35 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddLogServerEvent]
@ServerEventID int,
@LogType tinyint,
@Desc varchar(128)
as
declare @len_desc int
set @len_desc = len(@Desc)
if ( @len_desc > 0)
begin
return -1
end
else
begin
return -1
end
_AddLogSiegeFortress
Code:
USE [SRO_VT_LOG]
GO
/****** Object: StoredProcedure [dbo].[_AddLogSiegeFortress] Script Date: 12/02/2011 11:40:05 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[_AddLogSiegeFortress]
@FortressID int,
@EventID tinyint,
@CharID int,
@Data1 int,
@Data2 int,
@Desc varchar(128)
as
declare @len_desc int
set @len_desc = len(@Desc)
if ( @len_desc > 0)
begin
return -1
end
else
begin
return -1
end
Taken from RaGE Zone - MMORPG server development forums posted by Jangan on 12-2-11
First of all there's barely no first releases here anymore because of this unthankful community. So they'll release it somewhere else in the first place ofc. You shouldn't complain about a copy paste release, be happy that atleast some people are still struggling to hold up this section.
First of all there's barely no first releases here anymore because of this unthankful community. So they'll release it somewhere else in the first place ofc. You shouldn't complain about a copy paste release, be happy that atleast some people are still struggling to hold up this section.
First of all there's barely no first releases here anymore because of this unthankful community. So they'll release it somewhere else in the first place ofc. You shouldn't complain about a copy paste release, be happy that atleast some people are still struggling to hold up this section.
The only time you see me complain about a copy + paste is when no credit is given to the original creator and people post someone else's work on another forum and claim it as their own to get thanks...in my opinion that's not right. 95% of members here have no respect for anyone's work. In my opinion, all threads on this forum should be moderator approved first...
First of all there's barely no first releases here anymore because of this unthankful community. So they'll release it somewhere else in the first place ofc. You shouldn't complain about a copy paste release, be happy that atleast some people are still struggling to hold up this section.
thing is every forum is the same
its the people, the community, its not different
only reason people thinks R.agezone n **** has more "mature" and "better" People is because mods are more active there, ******* trolls up, removes spamms, their way more active, but the community aint different
if you think the epvp community is so special / unique / ****** then thats because you only hang around on epvp
this "lets post on r.agezone cuz everyone on epvp are kids and idiots" bullshit ****** me off badly
ontopic (i dont want an infraction) :
that **** in the code field r DB related
kthxbb
that's useful but very dangerous , Cuz u are not able anymore to know what's ur players moves , for example if u execute that = no logs = u can't trace any exchange log or something ,
well u maybe it seems to u that's useless to trace someone , but in future it will safe you from many problems .
that's useful but very dangerous , Cuz u are not able anymore to know what's ur players moves , for example if u execute that = no logs = u can't trace any exchange log or something ,
well u maybe it seems to u that's useless to trace someone , but in future it will safe you from many problems .
that's useful but very dangerous , Cuz u are not able anymore to know what's ur players moves , for example if u execute that = no logs = u can't trace any exchange log or something ,
well u maybe it seems to u that's useless to trace someone , but in future it will safe you from many problems .
Not if you are the original coder who knows what the **** he is doing.
This is 100% stolen piece by piece code from me. Good job copy+pasting without credit.
This is def the biggest worthless forum that ever existed, especially filled with worthless leechers! Keep stealing my work losers.
How to reduce lag? 01/23/2012 - DarkOrbit - 19 Replies How can we reduce lag while using firefox , ur suggestions please
Reduce lag 07/12/2010 - Mabinogi - 5 Replies Take it downnn its in Halfslashed's sig.
How To reduce Bot lag 01/28/2009 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 9 Replies 1. First thing you need to do is open C.E. 5.4 attach your gamemon.des to the cheat engine.
2. On the right side of your C.E. window theres a check box that says Enable Speed Hack. Check it.
3. Set the speed. (The normal running speed is 1.5) then click set speed.
If you set the speed to high then the netwrok becomes unstable. I have verfified that it works. I logged in as my main and couldnt keep up with the bots speed. And i have a bot that has gone from lvl 1~22 in a full days...
Reduce your CO Lag 01/24/2008 - Conquer Online 2 - 8 Replies Will there are many ways you can speed up your computer and your connection speed...
Many times there are programs your computer is running you dont know off or programs your windows run thinking its needed, so i know some ways to disabled alot of stuff you dont need to increase ur computer performance and internet speed.
This is ONLY for Windows XP...
1-Follow those instructions and do what it says.
2- Defragment your HardDrive once in a while and remove uneccesary files on your...
Reduce Lag in Tg 01/01/2007 - CO2 Guides & Templates - 4 Replies Well, in tg, specially at lvl 120 and 125 stakes, its very useful to
1.Turn names off(kinda obvious)
2.Zoom in very close, until all you see is your char and maybe a stake
3.i dunno why, but having ko counter off , gives me less lag
Or you could use an affect remover prog, but im gonna wait for when/if tobo is released and this helps me stay connected for a long time at those stakes
Sorry if this is already posted some where
Peace out^^