banning someone

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

banning someone

Postby bedrock1977 » Fri Dec 23, 2005 5:53 pm

I've searched for a few hours now but cant find anything definate.

I wanted to know if there is a way to ban someone from the console?

Also... is there a way to ban someone within the game if they are not online?

Could I just edit ban.xml manually?

Thanks in advance!
User avatar
bedrock1977
DOL Novice
 
Posts: 90
Joined: Sun Dec 18, 2005 12:53 am
Website: http://percival.dyndns-ip.com:8080
Location: California

Postby nor » Fri Dec 23, 2005 6:24 pm

From Ban.cs:
Code: Select all
[CmdAttribute(
"&ban",
(uint) ePrivLevel.GM,
"Ban an account",
"/ban <day> <hour> <minute> [reason]",
"/ban <accountName> <day> <hour> <minute> [reason]",
"/ban status <accountName>")]
It should be possible to ban from console and to ban offline players, just must use their account name instead of char name.
nor
Inactive Staff Member
 
Posts: 1584
Joined: Wed Mar 03, 2004 3:56 am

Postby bedrock1977 » Tue Jan 10, 2006 4:35 am

I get this when I try to ban from the console:
(all I typed was /ban)
20:32:51,166 - [MAIN] - ERROR - DOL.GS.Scripts.ScriptMgr - HandleCommandNoPlvl
System.NullReferenceException: Object reference not set to an instance of an object.
at DOL.GS.Scripts.BanCommandHandler.OnCommand(GameClient client, String[] args) in d:\Program Files\Utopia Developer Edition\engine\scripts\gmcommands\Ban.cs:line 43
at DOL.GS.Scripts.ScriptMgr.ExecuteCommand(GameClient client, GameCommand myCommand, String[] pars) in i:\source\GameServer\gameutils\ScriptMgr.cs:line 397
at DOL.GS.Scripts.ScriptMgr.HandleCommandNoPlvl(GameClient client, String cmdLine) in i:\source\GameServer\gameutils\ScriptMgr.cs:line 290
User avatar
bedrock1977
DOL Novice
 
Posts: 90
Joined: Sun Dec 18, 2005 12:53 am
Website: http://percival.dyndns-ip.com:8080
Location: California

Postby Smallhorse » Wed Jan 11, 2006 2:50 pm

This is a bug, try using /ban from ingame! :)
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby bedrock1977 » Wed Jan 11, 2006 6:54 pm

I figured as much. Is there any commands that work from the console? So far all I've tried gives an error like above.
User avatar
bedrock1977
DOL Novice
 
Posts: 90
Joined: Sun Dec 18, 2005 12:53 am
Website: http://percival.dyndns-ip.com:8080
Location: California

Postby Smallhorse » Fri Jan 13, 2006 10:31 am

Sorry currently due this bug the console /ban command won't work.
It will need to be fixed in the next head and stable release.
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby bedrock1977 » Fri Jan 13, 2006 6:20 pm

I'll take a stab and fix it... see how bad I screw up. lol... Still learning but gotta start somewhere. :)

I appreciate everyones hard work on this project!
User avatar
bedrock1977
DOL Novice
 
Posts: 90
Joined: Sun Dec 18, 2005 12:53 am
Website: http://percival.dyndns-ip.com:8080
Location: California


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest