Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 11:12

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

Advertisement



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.

Reply
 
Old   #1
 
limanerg's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 50
Received Thanks: 35
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
sincerly :P
limanerg is offline  
Thanks
3 Users
Old 01/22/2012, 10:53   #2


 
Yo123's Avatar
 
elite*gold: 41
Join Date: Nov 2007
Posts: 3,385
Received Thanks: 2,700
#approved.
Yo123 is offline  
Old 01/22/2012, 11:40   #3
 
limanerg's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 50
Received Thanks: 35
Quote:
Originally Posted by Yo123 View Post
#approved.
Thanks
limanerg is offline  
Old 01/22/2012, 14:57   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 537
Received Thanks: 156
copy paste from another forum, atleast give credits
alexhun is offline  
Thanks
2 Users
Old 01/22/2012, 15:02   #5
 
limanerg's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 50
Received Thanks: 35
Quote:
Originally Posted by alexhun View Post
copy paste from another forum, atleast give credits
idk from which forum.
I took these from my turkish forum.My moderator friend was open this thread n i share with you
limanerg is offline  
Old 01/23/2012, 02:42   #6
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
Taken from RaGE Zone - MMORPG server development forums posted by Jangan on 12-2-11
_slimshady_ is offline  
Old 01/23/2012, 02:51   #7
 
FoxRayz's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 1,715
Received Thanks: 892
Quote:
Originally Posted by _slimshady_ View Post
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.
FoxRayz is offline  
Old 01/23/2012, 03:20   #8
 
limanerg's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 50
Received Thanks: 35
Quote:
Originally Posted by FoxRayz View Post
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.
limanerg is offline  
Old 01/23/2012, 03:51   #9
 
_slimshady_'s Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,071
Received Thanks: 423
Quote:
Originally Posted by FoxRayz View Post
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...
_slimshady_ is offline  
Old 01/23/2012, 12:14   #10
 
elite*gold: 19
Join Date: Aug 2007
Posts: 2,731
Received Thanks: 1,801
Quote:
Originally Posted by FoxRayz View Post
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
HaGsTeR is offline  
Thanks
2 Users
Old 01/23/2012, 12:34   #11
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
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 .
Dr.Abdelfattah is offline  
Old 01/23/2012, 15:04   #12
 
limanerg's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 50
Received Thanks: 35
Quote:
Originally Posted by Dr.Abdelfattah View Post
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 .
yes i tried it
limanerg is offline  
Old 01/25/2012, 10:28   #13
 
elite*gold: 0
Join Date: Apr 2008
Posts: 310
Received Thanks: 196
Quote:
Originally Posted by Dr.Abdelfattah View Post
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.
jangan322 is offline  
Thanks
4 Users
Reply


Similar Threads Similar Threads
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^^



All times are GMT +1. The time now is 11:12.


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.