Register for your free account! | Forgot your password?

You last visited: Today at 07:31

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

Advertisement



(Question)Ban command

Discussion on (Question)Ban command within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 242
Received Thanks: 24
(Question)Ban command

Hello guys,

Does anyone know how ban(DC) command working?

/ban Playername

I want to know how such commands working.

Can someone please provide me any sql query to make dc for character?? or can tell me the procedures that Execute those commands?

Thanks a lot.
PlayPVP is offline  
Old 04/30/2013, 00:22   #2
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
its all executed on the code, db procedures are not related, you send the command and the gameserver kicks the player, thats all.
Kape7 is offline  
Old 04/30/2013, 00:32   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 242
Received Thanks: 24
Hey Synx7 Thanks for answering me but i did not get it.

There is no any method to edit such commands?

Where can try to find them?

Thanks for your help.
PlayPVP is offline  
Old 04/30/2013, 00:42   #4
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
Quote:
Originally Posted by PlayPVP View Post
Hey Synx7 Thanks for answering me but i did not get it.

There is no any method to edit such commands?

Where can try to find them?

Thanks for your help.
Well, yes and no.
You can't edit what the command does, that is hardcoded on the gameserver.
It doens't execute an specific stored procedure. You could try to parse the log that is generated when you ban someone with that command, but that's all. (make a trigger on the _SMCLog table)
This is what is executed when you use the /ban command:

Code:
insert _SMCLog values ('<GMAccount name>', 1, 'BanPlayer: <kicked char name>', default)
Kape7 is offline  
Thanks
1 User
Old 04/30/2013, 02:04   #5
 
Qynchou's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,264
Received Thanks: 1,048
Quote:
Originally Posted by Synx7 View Post
Well, yes and no.
You can't edit what the command does, that is hardcoded on the gameserver.
It doens't execute an specific stored procedure. You could try to parse the log that is generated when you ban someone with that command, but that's all. (make a trigger on the _SMCLog table)
This is what is executed when you use the /ban command:

Code:
insert _SMCLog values ('<GMAccount name>', 1, 'BanPlayer: <kicked char name>', default)
Possible to make custom commands that would execute custom procedures?
Qynchou is offline  
Old 04/30/2013, 02:15   #6
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
Quote:
Originally Posted by Qynchou View Post
Possible to make custom commands that would execute custom procedures?
I made some, but there are many limits about it.
Kape7 is offline  
Old 04/30/2013, 02:34   #7
 
Qynchou's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,264
Received Thanks: 1,048
Quote:
Originally Posted by Synx7 View Post
I made some, but there are many limits about it.
Nothing new, just something simple for convenience.
Qynchou is offline  
Old 04/30/2013, 10:50   #8
 
IceAmStiel's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
Quote:
Originally Posted by Qynchou View Post
Nothing new, just something simple for convenience.
Use the ingame mailing to execute procedures on command
IceAmStiel is offline  
Old 04/30/2013, 12:34   #9
 
elite*gold: 0
Join Date: Oct 2012
Posts: 242
Received Thanks: 24
Quote:
Originally Posted by Synx7 View Post
Well, yes and no.
You can't edit what the command does, that is hardcoded on the gameserver.
It doens't execute an specific stored procedure. You could try to parse the log that is generated when you ban someone with that command, but that's all. (make a trigger on the _SMCLog table)
This is what is executed when you use the /ban command:

Code:
insert _SMCLog values ('<GMAccount name>', 1, 'BanPlayer: <kicked char name>', default)
unfortunately after executing the query it doesn't do any effect in game, but logically it must work.
PlayPVP is offline  
Reply


Similar Threads Similar Threads
GM command question
11/11/2012 - SRO Private Server - 1 Replies
Is there a command that shows you the real name of someone that is using job suit ? found the command its /liename XXXXXX
[Question]LUA Command
06/20/2010 - Metin2 Private Server - 3 Replies
Hallo, meine Frage ist, wie ist der Befehl an den Spieler für die Gilde-Zugang? Aus einem anderen Forum hat mir gesagt, dass es keinen solchen Befeh :(
[Question] re: PM command 5165
01/13/2010 - CO2 Private Server - 9 Replies
Is there a such thing as tempban, ban, or ipban commands for PM's for 5165 source? only ones ive seen are for LOTF, and i actually have no clue how to convert them
[Question]About a Command
12/12/2009 - CO2 Private Server - 6 Replies
How can I make a command from console that sends a message similar to /c into in-game to people?
question about gm command
07/31/2009 - Dekaron Private Server - 12 Replies
I was wondering, is there a GM command for getting items into ur inventory, or u always have to get them from drop or manually database cause in most games there is like a /get function :P I searched the entire forum but couldn't find the answer so dont blame me for not looking around Quitta



All times are GMT +1. The time now is 07:31.


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.