You last visited: Today at 17:16
Advertisement
Plus Notice !!!!!
Discussion on Plus Notice !!!!! within the SRO Private Server forum part of the Silkroad Online category.
11/12/2014, 01:34
#1
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
Plus Notice !!!!!
I made the DB side. now the prog side. Someone tell me what should i do with the prog.
Ty
11/12/2014, 14:25
#2
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,196
use your brain and read which info program needs
11/12/2014, 15:33
#3
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
Quote:
Originally Posted by
Crue*
use your brain and read which info program needs
I know what do u mean bro. The thing i don`t know is (
Host/IP )
What exactly i write in here. I already wrote the IP. it gives an error.
11/12/2014, 15:48
#4
elite*gold: 0
Join Date: Sep 2010
Posts: 1,003
Received Thanks: 652
put your sql information in the textboxes:
...\SQLEXPRESS
SRO_VT_LOG
SQLUSERNAME
SQLPASSWORD
and please give a feedback if it worked
11/12/2014, 19:20
#5
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
Quote:
Originally Posted by
x*Manu*x
put your sql information in the textboxes:
...\SQLEXPRESS
SRO_VT_LOG
SQLUSERNAME
SQLPASSWORD
and please give a feedback if it worked
aha Ty i`ll try this.
11/12/2014, 20:27
#6
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,196
Quote:
Originally Posted by
hamzafigo
I know what do u mean bro. The thing i don`t know is (
Host/IP )
What exactly i write in here. I already wrote the IP. it gives an error.
sql username
11/12/2014, 22:39
#7
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
ya ty guys, It works. but the max + is +7
+8+++ nothing appeared
11/13/2014, 02:16
#8
elite*gold: 41
Join Date: Oct 2012
Posts: 2,216
Received Thanks: 1,196
show me addlogitem proc
11/13/2014, 02:22
#9
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
Now i tried to edit it. But it goes from +1 +2 ++ to 20
i just need from +7 to +20
Code:
USE [SRO_VT_SHARDLOG]
GO
/****** Object: StoredProcedure [dbo].[_AddLogItem] Script Date: 13/11/2014 03:20:29 ص ******/
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
declare @strDesc_separado varchar(128)
declare @len_desc1 int
set @len_pos = len(@EventPos)
set @len_desc = len(@strDesc)
if (@len_pos > 0 and @len_desc > 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, EventPos, strDesc, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @EventPos, @strDesc, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
else if (@len_pos > 0 and @len_desc = 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, EventPos, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @EventPos, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
else if (@len_pos = 0 and @len_desc > 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, strDesc, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @strDesc, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
else if (@len_pos = 0 and @len_desc = 0)
begin
insert _LogEventItem (EventTime, CharID, ItemRefID, dwData, TargetStorage, Operation, Slot_From, Slot_To, Serial64, Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
values(GetDate(), @CharID, @ItemRefID, @dwData, @TargetStorage, @Operation, @Slot_From, @Slot_To, @ItemSerial, @Gold) -- #ifdef EXTEND_GOLD_TYPE ±³Ã¼
end
-- À¯·á ¾ÆÀÌÅÛ ±¸ÀÔÀ̸é!
-- #define LOG_ITEMEVENT_BUY_CASHITEM (BYTE)35
if (@Operation = 35)
begin
insert _LogCashItem (RefItemID, CharID, Cnt, EventTime, Serial64)
values(@ItemRefID, @CharID, @dwData, GetDate(), @ItemSerial)
end
if (@Operation = 90 OR @Operation = 160)
begin
set @len_desc1 = CHARINDEX (']',@strDesc)
if(@len_desc1 = 9)
begin
set @strDesc = SUBSTRING(@strDesc,0,9)
set @strDesc_separado = SUBSTRING(@strDesc, 8, 1)
end
else if(@len_desc1 = 10)
begin
set @strDesc = SUBSTRING(@strDesc,0,10)
set @strDesc_separado = SUBSTRING(@strDesc, 8, 2)
end
if(@strDesc_separado > 20 and @strDesc_separado < 6)
begin
--set @strDesc_separado = @len_desc1
insert _LogItemPlus(CharID, Serial64, Plus, Data, Lido) values(@CharID, @ItemSerial, @strDesc_separado, GetDate(), '0')
end
end
if(@Operation = 90)
begin
declare @iname varchar(129)
declare @iid int
declare @cname varchar(64)
select @iid = RefItemID from SRO_VT_SHARD.dbo._Items where Serial64 = @ItemSerial
select @iname = CodeName128 from SRO_VT_SHARD.dbo._RefObjCommon where id = @iid
select @cname = CharName16 from SRO_VT_SHARD.dbo._Char where CharID = @CharID
insert PlusNotice(Sent, Message)values(0,@cname + ' has increased ' + @iname + ' to [lvl ' + CAST(@strDesc_separado AS NVARCHAR) + ']')
end
if(@strDesc_separado > 20 and @strDesc_separado < 6)
was
if(@strDesc_separado > 7 and @strDesc_separado < 16)
Edit : Ty guys.
FIXED.
11/17/2014, 06:26
#10
elite*gold: 0
Join Date: May 2007
Posts: 125
Received Thanks: 23
you know this "plus notice" will make your server to have lag like hell? because he connect to db at every 10 second.
11/17/2014, 17:12
#11
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,654
Quote:
Originally Posted by
badfist
you know this "plus notice" will make your server to have lag like hell? because he connect to db at every 10 second.
Guess it's easily fixed tho, just keep the connection opened.
11/17/2014, 22:26
#12
elite*gold: 150
Join Date: Sep 2009
Posts: 987
Received Thanks: 258
Ty guys for replaying. I just disabled it. and ya it cus a lil laggy
Similar Threads
*Notice*Warning Password stealing site*Notice*
12/28/2009 - World of Warcraft - 0 Replies
Notice is as follows, do not enter this site, if you get a notice in your email like this for gawd sakes dont give anyone your password
Subject:World of Warcraft Account Trade Dispute Notice
When we carry out a routine check when the account, we have evidence to show that your account has been involved in the disputed transactions.
So we have to inform you visit our website(worldofwarcraft*com]fill out some information to facilitate our investigation.
If you can not tie in with our soon...
New GM Notice
07/22/2009 - SRO Private Server - 65 Replies
hi all GM wrote a new notice but there is a problem how to translate ? :(:(
http://img443.imageshack.us/img443/186/sro2009072 205474083.jpg
All times are GMT +2. The time now is 17:17 .