Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 19:09

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

Advertisement



how make limit so-ok and arena manger with out filter

Discussion on how make limit so-ok and arena manger with out filter within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
how make limit so-ok and arena manger with out filter

how make limit so-ok and arena manger with out filter
M@hmoud is offline  
Old 06/29/2020, 16:10   #2
 
Skedaddle!'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 46
Received Thanks: 22
Quote:
Originally Posted by M@hmoud View Post
how make limit so-ok and arena manger with out filter
If you mean IP/PC limit, than no, you cannot. At least without players log table contains IP or PC HWID.
Skedaddle! is offline  
Old 06/29/2020, 16:29   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by Skedaddle! View Post
If you mean IP/PC limit, than no, you cannot. At least without players log table contains IP or PC HWID.
any fix from gameserver limit or ather fix without filter
M@hmoud is offline  
Old 06/29/2020, 20:34   #4
 
elite*gold: 0
Join Date: Dec 2009
Posts: 386
Received Thanks: 88
Quote:
Originally Posted by M@hmoud View Post
any fix from gameserver limit or ather fix without filter
No way with GS, only filter.
mudik is offline  
Old 06/29/2020, 22:12   #5
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by mudik View Post
No way with GS, only filter.
ty bro but maybe found any fix from data or any fix
M@hmoud is offline  
Old 06/30/2020, 06:57   #6
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
Quote:
Originally Posted by M@hmoud View Post
how make limit so-ok and arena manger with out filter
you can do it via shardlog long ago i did it I had made it based on ip is very simple
NorseGodTyr is offline  
Old 06/30/2020, 11:30   #7
 
Worshiper's Avatar
 
elite*gold: 0
Join Date: May 2017
Posts: 1,081
Received Thanks: 224
Quote:
Originally Posted by NorseGodTyr View Post
you can do it via shardlog long ago i did it I had made it based on ip is very simple
can you share a guide for it ?
Worshiper is offline  
Old 06/30/2020, 12:38   #8
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,481
Quote:
Originally Posted by [GM]Dejo View Post
can you share a guide for it ?
Next time write it yourself queries and procedures are not hard to write
If you open or have a server, you have to learn how to do it yourself and not always ask. or do you always want to ask for a release etc?

So that it is not that easy, I have made some small mistakes in the procedure. You have to find them yourself

example
---------------------------------------------------------------------------------------
Procedure for shardlog _addLogChar
---------------------------------------------------------------------------------------
---BA Start
IF @D = 239 and @ = 1 or @D = 239 and @ = 3 or @D = 239 and @ = 8)
Begin
DECLARE @JID int @countID varchar(500) @gIP varchar(500)
DECLARE @Name VARCHAR(52) = (SELECT CharName16 FROM SRO_VT_SHARD.dbo._Char WHERE CharID = @D)
select @JID = UserJID from SRO_VT_SHARD.dbo._User where CharID = @D
Set @countID = (select AccountID from SRO_VT_SHARD.dbo._AccountJID where JID = @JID)
SELECT @gIP = [login_ip] FROM SRO_VT_ACCOUNT.dbo.TB_User WHERE StrUserID = @countID
IF EXISTS (SELECT * FROM [SRO_VT_SHARDLOG].[dbo].[_BattleArena] WHERE [RegIP] = @gIP)
Begin

--paste here a Disconnect command [Use a tool that disconnects a player]

End
ELSE IF NOT EXISTS (SELECT * FROM [SRO_VT_SHARDLOG].[dbo].[_BattleArena] WHERE [RegIP] = @gIP)
Begin
INSERT INTO [SRO_VT_SHARDLOG].[dbo].[_BattleArena] ([UserName],[CharID],[CharName],[RegIP]) VALUES @countID @D @Name @gIP)
-- Added username / CharId / Character Name / ip
End
End
IF @D = 239 and @ = 4 or @D = 239 and @ = 5)
Begin
TRUNCATE TABLE [SRO_VT_SHARDLOG].[dbo].[_BattleArena]
-- Clean Table
End
---BA End

---------------------------------------------------------------------------------------
Table
---------------------------------------------------------------------------------------
USE [SRO_VT_SHARDLOG]
GO

/****** Object: Table [dbo].[_BattleArena] Script Date: 30.06.2020 12:29:21 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[_BattleArena](
[UserName] [varchar](max) NULL,
[CharID] [int] NULL,
[CharName] [varchar](max) NULL,
[RegIP] [varchar](max) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
NorseGodTyr is offline  
Thanks
1 User
Old 06/30/2020, 17:17   #9
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by NorseGodTyr View Post
Next time write it yourself queries and procedures are not hard to write
If you open or have a server, you have to learn how to do it yourself and not always ask. or do you always want to ask for a release etc?

So that it is not that easy, I have made some small mistakes in the procedure. You have to find them yourself

example
---------------------------------------------------------------------------------------
Procedure for shardlog _addLogChar
---------------------------------------------------------------------------------------
---BA Start
IF @D = 239 and @ = 1 or @D = 239 and @ = 3 or @D = 239 and @ = 8)
Begin
DECLARE @JID int @countID varchar(500) @gIP varchar(500)
DECLARE @Name VARCHAR(52) = (SELECT CharName16 FROM SRO_VT_SHARD.dbo._Char WHERE CharID = @D)
select @JID = UserJID from SRO_VT_SHARD.dbo._User where CharID = @D
Set @countID = (select AccountID from SRO_VT_SHARD.dbo._AccountJID where JID = @JID)
SELECT @gIP = [login_ip] FROM SRO_VT_ACCOUNT.dbo.TB_User WHERE StrUserID = @countID
IF EXISTS (SELECT * FROM [SRO_VT_SHARDLOG].[dbo].[_BattleArena] WHERE [RegIP] = @gIP)
Begin

--paste here a Disconnect command [Use a tool that disconnects a player]

End
ELSE IF NOT EXISTS (SELECT * FROM [SRO_VT_SHARDLOG].[dbo].[_BattleArena] WHERE [RegIP] = @gIP)
Begin
INSERT INTO [SRO_VT_SHARDLOG].[dbo].[_BattleArena] ([UserName],[CharID],[CharName],[RegIP]) VALUES @countID @D @Name @gIP)
-- Added username / CharId / Character Name / ip
End
End
IF @D = 239 and @ = 4 or @D = 239 and @ = 5)
Begin
TRUNCATE TABLE [SRO_VT_SHARDLOG].[dbo].[_BattleArena]
-- Clean Table
End
---BA End

---------------------------------------------------------------------------------------
Table
---------------------------------------------------------------------------------------
USE [SRO_VT_SHARDLOG]
GO

/****** Object: Table [dbo].[_BattleArena] Script Date: 30.06.2020 12:29:21 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[_BattleArena](
[UserName] [varchar](max) NULL,
[CharID] [int] NULL,
[CharName] [varchar](max) NULL,
[RegIP] [varchar](max) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
give error

Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 338 [Batch Start Line 7]
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 340 [Batch Start Line 7]
Incorrect syntax near '@baaccountID'.
Msg 137, Level 15, State 1, Procedure _AddLogChar, Line 342 [Batch Start Line 7]
Must declare the scalar variable "@bauserJID".
Msg 137, Level 15, State 2, Procedure _AddLogChar, Line 343 [Batch Start Line 7]
Must declare the scalar variable "@bauserJID".
Msg 137, Level 15, State 1, Procedure _AddLogChar, Line 344 [Batch Start Line 7]
Must declare the scalar variable "@BaregIP".
Msg 137, Level 15, State 2, Procedure _AddLogChar, Line 345 [Batch Start Line 7]
Must declare the scalar variable "@BaregIP".
Msg 137, Level 15, State 2, Procedure _AddLogChar, Line 351 [Batch Start Line 7]
Must declare the scalar variable "@BaregIP".
Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 353 [Batch Start Line 7]
Incorrect syntax near '@baaccountID'.
Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 357 [Batch Start Line 7]
Incorrect syntax near ')'.
Msg 102, Level 15, State 1, Procedure _AddLogChar, Line 361 [Batch Start Line 7]
Incorrect syntax near 'End'.
M@hmoud is offline  
Old 06/30/2020, 17:42   #10
dotCom
 
Devsome's Avatar
 
elite*gold: 9842
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,834
Received Thanks: 4,667
Quote:
Originally Posted by NorseGodTyr View Post
[...]I have made some small mistakes in the procedure. You have to find them yourself
[...]
Quote:
Originally Posted by M@hmoud View Post
give error
[...]
Yeah, @ told you that the Community is greedy and he changed some parts at the Procedure. So you need to find the errors to get it working.
Devsome is offline  
Thanks
3 Users
Old 06/30/2020, 18:01   #11
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
Quote:
Originally Posted by Devsome View Post
Yeah, @ told you that the Community is greedy and he changed some parts at the Procedure. So you need to find the errors to get it working.
i cant write procedure u can give me it work good
M@hmoud is offline  
Old 07/04/2020, 13:38   #12
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
up
M@hmoud is offline  
Old 07/07/2020, 14:39   #13
 
Exaryus's Avatar
 
elite*gold: 83
Join Date: Mar 2009
Posts: 173
Received Thanks: 93
Quote:
I have made some small mistakes in the procedure. You have to find them yourself
He literally said he made some mistakes in purpose so you can find them to help you learn how to write procedures because simply copying and pasting qeuries and procedures blindly always leads to ****** up database just read the procedure check out the error it gives and pin point the problem.

Quote:
Originally Posted by Devsome View Post
Yeah, @ told you that the Community is greedy and he changed some parts at the Procedure. So you need to find the errors to get it working.
I don't really think they are greedy they are just lazy they don't want to learn and at the same time want to be vSRO devs. its kinda ironic.
Exaryus is offline  
Old 07/12/2020, 15:01   #14
 
elite*gold: 0
Join Date: Feb 2008
Posts: 236
Received Thanks: 11
any help
M@hmoud is offline  
Old 07/13/2020, 07:41   #15
 
cristianxi's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 376
Received Thanks: 211
Quote:
Originally Posted by M@hmoud View Post
any help
Maybe you or at least gives you an idea.
PD: I dont know if this work and dont tested... GL


Quote:
Originally Posted by NorseGodTyr View Post
Next time write it yourself queries and procedures are not hard to write
If you open or have a server, you have to learn how to do it yourself and not always ask. or do you always want to ask for a release etc?

So that it is not that easy, I have made some small mistakes in the procedure. You have to find them yourself
I will try it... thanks a lot.
cristianxi is offline  
Reply


Similar Threads Similar Threads
how make limit guild and union without filter
07/25/2023 - SRO Private Server - 11 Replies
how make limit guild and union without filter
[Request]How to make Job reward coin / Guild limit & union limit
02/12/2014 - SRO Private Server - 1 Replies
Hello everybody hope you are all fine i want to ask how to add gold coins as a reward from jobbing if trader hunter thief sell their goods they receive the gold coin in guild storage or inventory doesn't matter , waiting for any hints or help :D & asking about how to set guild members limit if i want guild to be 32 member only & union limit to be 4 guilds only i know it seems big requests but HELPPPPPPPPPPPP xD spam ftw thanks for reading this my regards be safe :D



All times are GMT +1. The time now is 19: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.