Register for your free account! | Forgot your password?

You last visited: Today at 17:44

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

Advertisement



How add this event ?

Discussion on How add this event ? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
xaladim's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 106
Received Thanks: 4
How add this event ?

change for 4:25 minutes




thx
xaladim is offline  
Old 03/22/2015, 06:27   #2

 
elite*gold: 27
Join Date: Jan 2015
Posts: 1,343
Received Thanks: 892
Hint :
_RefRegion-> set samarkand isbattlefield = 1
this thread will help you.


Exo_killfetch procedure should be like this
Quote:
CREATE PROCEDURE Exo_KillFetch
-- =============================================
-- Author: <Exo>
-- Create date: <13.5.2014>
-- Description: <KillFetch>
-- =============================================
@CharID INT,
@Desc VARCHAR(512),
@strPos VARCHAR(64)
AS
BEGIN SET NOCOUNT ON;
--//---------------------------------------------------------------
DECLARE
@KillerName VARCHAR(max),
@KillerID INT,
@JobType VARCHAR(max),
@StartPos TINYINT,
@killedName varchar(max)
--//---------------------------------------------------------------

SELECT @StartPos = (SELECT CHARINDEX('(',@desc)) + 1
SELECT @KillerName = (SELECT SUBSTRING(@Desc, @StartPos, CHARINDEX(')', @Desc, @StartPos) - @StartPos))
SELECT @KillerID = (SELECT CharID FROM Fayox_Shard.._Char WHERE CharName16 = @KillerName)
SELECT @KILLEDNAME = (SELECT CHARNAME16 FROM SRO_VT_SHARD.._CHAR WHERE CHARID = @CHARID)
--//---------------------------------------------------------------
SELECT @JobType = CASE
WHEN (@desc LIKE '%My: Trader%')
OR (@desc LIKE '%My: Robber%')
OR (@desc LIKE '%My: Hunter%')
THEN 'Job'
WHEN (@desc LIKE '%Murderer%')
THEN 'Murder'
ELSE 'Free'
END
--//---------------------------------------------------------------
BEGIN TRANSACTION
insert plusnotice (sent,message) values (0,''+@KillerName+' has just killed '+@KilledName+' in Samarkand Extreme PVP')
INSERT Fayox_Log.._KillLogs VALUES (@KillerID,@CharID,@strPos,@JobType)
COMMIT TRANSACTION
END
Aaron* is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Introducing Event (CBT Homepage Open Event)] Digimon masters online in English
08/05/2011 - Main - 0 Replies
digimon masters online is at last in english the closed beta is going to be out next 9th august 8/9/2011 i wish all could join thank you all for viewing :):)



All times are GMT +1. The time now is 17:45.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.