|
You last visited: Today at 11:35
Advertisement
[Release] How to Ban Player by Character Name [Database]
Discussion on [Release] How to Ban Player by Character Name [Database] within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
05/11/2012, 17:09
|
#1
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,163
Received Thanks: 1,161
|
[Release] How to Ban Player by Character Name [Database]
Anyways... it's easier than SMC, just a quick copy+paste query and then your good to go.
You only need to enter the name of the char &
time of the ban (I recommend leaving like this)
Ban reason
PHP Code:
--By Leandro ( nukertube ) -- USE [SRO_VT_SHARD] GO -------------------------------- DECLARE @ChrID INT; DECLARE @CharName VARCHAR(64); DECLARE @AccJID INT; --------------------------------- SET @CharName = 'CharNameHere'--- --------------------------------- SET @ChrID=(SELECT CharID FROM _Char WHERE CharName16=@CharName) SET @AccJID=(SELECT UserJID FROM _User WHERE CharID=@ChrID) ----------------------------------------------------------------- USE SRO_VT_ACCOUNT DECLARE @ID VARCHAR (64) DECLARE @Reason VARCHAR(128) DECLARE @Begin DATETIME DECLARE @End DATETIME SET @ID = (Select STRuserID FROM TB_User Where JID = @AccJID)
--------------------------------- SET @Reason = 'Ban Reason Here' SET @Begin = '2012-05-01 00:00:00.000' -- Time Begin -- SET @End = '2040-01-01 00:00:00.000' -- Time End -- --------------------------------- ---------------------------
INSERT [dbo].[_Punishment] ( [UserJID], [Type], [Executor], [Shard], [CharName], [CharInfo], [PosInfo] , [Guide], [Description], [RaiseTime], [BlockStartTime], [BlockEndTime], [PunishTime], [Status] ) VALUES ( @AccJID, 1, 1, 0, @CharName, 1, 1, @Reason, @Reason, @Begin, @Begin, @End, @End, 0); ---------------------------------------------------------- DECLARE @ReasonID INT SET @ReasonID = (Select SerialNo FROM _Punishment Where UserJID = @AccJID) ---------------------------------------------------------- INSERT [dbo].[_BlockedUser] ( [UserJID], [UserID], [Type], [SerialNo], [TimeBegin], [TimeEnd]) VALUES ( @AccJID, @ID, 1, @ReasonID, @Begin, @End);
----------------------------------------------------------------- SELECT StrUserID FROM TB_User WHERE JID = @AccJID -----------------------------------------------------------------
Best Regards,
ღ ∂ Ropp
Credits ; nukertube
|
|
|
05/11/2012, 18:30
|
#2
|
elite*gold: 325
Join Date: Dec 2008
Posts: 14,545
Received Thanks: 8,720
|
#banned
oops i mean
#approved
|
|
|
05/11/2012, 19:15
|
#3
|
elite*gold: 0
Join Date: Jan 2012
Posts: 1,867
Received Thanks: 1,091
|
Quote:
Coby pasta from rz 
but old /ban for dc only better than ban .
|
|
|
05/11/2012, 19:20
|
#4
|
elite*gold: 0
Join Date: Apr 2009
Posts: 123
Received Thanks: 28
|
Cool ...
|
|
|
05/11/2012, 23:16
|
#5
|
elite*gold: 188
Join Date: Oct 2011
Posts: 1,263
Received Thanks: 706
|
Copycat :/
First I liked your posts,but I noticed u simple copy everything from rz
|
|
|
05/12/2012, 02:34
|
#6
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,163
Received Thanks: 1,161
|
I give credits, and since it's not released here, i'm being helpful by posting here.
If you don't like it, then ciao.
|
|
|
05/12/2012, 12:56
|
#7
|
elite*gold: 0
Join Date: Apr 2009
Posts: 123
Received Thanks: 28
|
Quote:
Originally Posted by GiaNNy.RockZ
Copycat :/
First I liked your posts,but I noticed u simple copy everything from rz
|
eumm she trying to help are u mad ?
|
|
|
05/12/2012, 13:01
|
#8
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,189
Received Thanks: 531
|
just use smc. if you want to ban someone normally.
|
|
|
05/12/2012, 20:04
|
#9
|
elite*gold: 0
Join Date: May 2008
Posts: 702
Received Thanks: 225
|
so will this work with /bansel also?
|
|
|
05/12/2012, 20:27
|
#10
|
elite*gold: 0
Join Date: Nov 2009
Posts: 1,163
Received Thanks: 1,161
|
No, /bansel just kicks the player offline.
|
|
|
05/12/2012, 20:53
|
#11
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,189
Received Thanks: 531
|
got a better one
Code:
USE [R_BACKUP_001]
GO
/****** Object: StoredProcedure [dbo].[_REMOVE_ALL_CHAR_DATA] Script Date: 05/12/2012 19:51:38 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[_REMOVE_ALL_CHAR_DATA]
AS
SELECT '장엄한 영혼의 소유' AS 'CRITICAL !!!'
RETURN
|
|
|
 |
Similar Threads
|
[Official Release] Rainbow Database: Vampire/Godship/Legionairre Database!
04/25/2021 - EO PServer Guides & Releases - 106 Replies
http://i43.tinypic.com/jgo485.png
Additional: The database contains all material and server features which I alone coded, designed and created. I can barely recall if their were any bugs. I think there was with one of the vampire skills. People said it was supposed to be an xp skill but they could use it without having to be on XP. So its pretty minor but if you find any other problems please report them to this thread and i'll make a fix asap.
Many database releases have come before this...
|
[Help]Character Name Locations is Database
10/29/2010 - EO PServer Hosting - 4 Replies
I am looking for a little help from the community on my EoAdminPanel project. A previously requested feature was to be able to change names from within the program. I could have done this in the past, but I wanted to do it right and this requires a little help.
I need the location to every reference to a character's name, that way when a character name change is done through the panel, all references are updated. Everyone can pitch in what they know, and I don't expect just one person to...
|
[REQUEST] Player progress database
01/10/2009 - CO2 Programming - 1 Replies
Hello,
Can anyone help me to build a program which reads the content out of the equipment window and logges the information in a text file?
For example, I view a friends equipment, the program reads the content and writes it down in a text-file like this: elitegoldhelmet lvl 67, refinednecklace lvl 67 1soc refined dragongem, uniqueattackring lvl 70 +2 etc. etc.
So the program reads the equipment and wrights it down in the textfile.
The goal is making a player database to see their...
|
Player versus Player - Your Addon Database
05/02/2008 - World of Warcraft - 4 Replies
Hallo,
ich möchte hier mit euch zusammen einen Liste von nützlichen Addons für den PvP Part des Spiels erstellen (Ähnlich wie Addons zum questen usw.).
Selbstverständlich brauche ich dafür eure Hilfe und Erfahrung, da ich selber nicht jedes Addon kenne welches nützlich für PvP ist.
In diesem Thread wird es nur einen deutschen Part geben, auf Curse gibt es so oder so eine englische Übersetzung.
Combat-Addons
Natur EnemyCastBar | World of Warcraft Addons | World of Warcraft @...
|
All times are GMT +1. The time now is 11:37.
|
|