Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Arcturus] - Dev Store Proc's for Admins

Status
Not open for further replies.
Joined
Dec 22, 2004
Messages
513
Reaction score
162
These two procedures (seven_ORA)for detection hidden GMs in a database and their blockings.

GM256,GM512,GM768 - These are correct GMs accounts. Can rename on the or add in inquiry still AND (NOT (Account = 'myGM'))
Code:
CREATE PROCEDURE [dbo].[SP_GMGUARD] @Check int AS
If   (@Check = 1)
begin
declare cur_event cursor for
SELECT     Account
FROM         UserInfo
WHERE ([Right] > 1) AND (NOT (Account = 'GM256')) AND (NOT (Account = 'GM256')) AND (NOT (Account = 'GM512')) AND (NOT (Account = 'GM768'))
declare @Account nvarchar(50)
declare @i int
open cur_event
Fetch next from cur_event into @Account
set @i = 0 
while(@@fetch_status = 0  )
BEGIN
-- RUN TERMINATOR PROC
exec SP_GMHACKERTERMINATOR @Account
--print @Account
fetch next from cur_event into @Account	
Set @i = @i + 1
END
close cur_Event
deallocate cur_Event

end

else
begin 
print 'skip Check GM'
End
GO
and
Code:
CREATE PROCEDURE [dbo].[SP_GMHACKERTERMINATOR] @Hacker nvarchar(50) AS
DECLARE @TodayTime datetime
--print @TodayTime
update UserInfo set [Right] = '0', BlockReason='Hacker Stop!',BlockGM = 'Terminator' where Account = @Hacker
print CONVERT(VARCHAR, @TodayTime, 109) + ' Account - '+@Hacker+' - BLOCKED!'
GO
Command for execute : exec SP_GMGUARD 1

It is possible to use it as the task in Job tools SQL a server or any other language using timers.
Procedure - as an example. But it is possible to create other, analyzing logs on the basis of this procedure
Success.
Twilight for RZ.
 
Newbie Spellweaver
Joined
Oct 12, 2007
Messages
84
Reaction score
0
Thank you Twilight = ) will try this one maybe later on tonight.
 
Elite Diviner
Joined
Aug 12, 2006
Messages
412
Reaction score
0
nice guide.. ;]
twilight can i ask what server do you work for or own?
 
Elite Diviner
Joined
Aug 12, 2006
Messages
412
Reaction score
0
its because i haven't seen him around on any server as a dev and he seems to know quite a bit about arcutus.
 
Newbie Spellweaver
Joined
Oct 12, 2007
Messages
84
Reaction score
0
its because i haven't seen him around on any server as a dev and he seems to know quite a bit about arcutus.

Yeah true that is what i was wondering or could just be he is a dev but under other name on a server hehe
 
Joined
Dec 22, 2004
Messages
513
Reaction score
162
its because i haven't seen him around on any server as a dev and he seems to know quite a bit about arcutus.
Yeah true that is what i was wondering or could just be he is a dev but under other name on a server hehe

My Name is constant on Dev forums.
In current of 5 years there was a necessity to understand and complete many games (La2C1 (Meifu) and (...), RFO.. And it is a lot of much others)...
The information should be free, therefore with you I share experience or that that has found out.
 
Newbie Spellweaver
Joined
Oct 12, 2007
Messages
84
Reaction score
0
Thanks for the reply Twilight and for sharing information with us here :)
 
Elite Diviner
Joined
Aug 12, 2006
Messages
412
Reaction score
0
Code:
From Russia With Love!

anyways thanks for your contribution.
i personally wouldn't share these info. ;]
 
Status
Not open for further replies.
Back
Top