|
You last visited: Today at 07:31
Advertisement
(Question)Ban command
Discussion on (Question)Ban command within the SRO Private Server forum part of the Silkroad Online category.
04/30/2013, 00:03
|
#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.
|
|
|
04/30/2013, 00:22
|
#2
|
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.
|
|
|
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.
|
|
|
04/30/2013, 00:42
|
#4
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
|
Quote:
Originally Posted by PlayPVP
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)
|
|
|
04/30/2013, 02:04
|
#5
|
elite*gold: 0
Join Date: Jan 2013
Posts: 1,264
Received Thanks: 1,048
|
Quote:
Originally Posted by Synx7
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?
|
|
|
04/30/2013, 02:15
|
#6
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
|
Quote:
Originally Posted by Qynchou
Possible to make custom commands that would execute custom procedures?
|
I made some, but there are many limits about it.
|
|
|
04/30/2013, 02:34
|
#7
|
elite*gold: 0
Join Date: Jan 2013
Posts: 1,264
Received Thanks: 1,048
|
Quote:
Originally Posted by Synx7
I made some, but there are many limits about it.
|
Nothing new, just something simple for convenience.
|
|
|
04/30/2013, 10:50
|
#8
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,058
Received Thanks: 1,118
|
Quote:
Originally Posted by Qynchou
Nothing new, just something simple for convenience.
|
Use the ingame mailing to execute procedures on command
|
|
|
04/30/2013, 12:34
|
#9
|
elite*gold: 0
Join Date: Oct 2012
Posts: 242
Received Thanks: 24
|
Quote:
Originally Posted by Synx7
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.
|
|
|
 |
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.
|
|