• January 22, 2022, 10:34:35 pm

Author Topic: Asgard3 Operator Plugin  (Read 5193 times)

Mike

  • Asgard Developer
  • Moderator
  • Addict
  • ******
  • Posts: 140
    • mikeownage.com
Asgard3 Operator Plugin
« on: September 27, 2010, 01:40:20 am »
I have finished a early build of the operator plugin i will post some documentation on it soon enough. Asgard3 will download the plugin when you check for bot updates.

The M flag is the master flag
The D flag is the database flag
The O flag is the operator flag
The A flag is the administration flag
The S flag is safelist
The T flag is used for clan bans
The B flag is used for autoban and tagbans
The Z flag is for the say command
The X flag is for the op command

The operator plugin still isn't fully finished but it's working enough. You can view the commands it adds by going to Profile -> Display - > Commands

10:26:54 PM - Command: SAY, Flags: MZ
10:26:54 PM - Command: VER, Flags: IM
10:26:54 PM - Command: VERISON, Flags: IM
10:26:54 PM - Command: VERSION, Flags: IM
10:26:54 PM - Command: ABOUT, Flags: IM
10:26:54 PM - Command: BUILD, Flags: IM
10:26:54 PM - Command: FORCE, Flags: IM
10:26:54 PM - Command: OP, Flags: MX
10:26:54 PM - Command: PINGBAN, Flags: AM
10:26:54 PM - Command: IPBAN, Flags: AM
10:26:54 PM - Command: AUTOMOD, Flags: AM
10:26:54 PM - Command: AUTOMODERATION, Flags: AM
10:26:54 PM - Command: BANEVASION, Flags: AM
10:26:54 PM - Command: EVASION, Flags: AM
10:26:54 PM - Command: LOCKDOWN, Flags: AM
10:26:54 PM - Command: PROTECT, Flags: AM
10:26:54 PM - Command: WHISPER, Flags: AM
10:26:54 PM - Command: AW, Flags: AM
10:26:54 PM - Command: WHOAMI, Flags: IM
10:26:54 PM - Command: WHOIS, Flags: IM
10:26:54 PM - Command: FIND, Flags: IM
10:26:54 PM - Command: A, Flags: IM
10:26:54 PM - Command: SET, Flags: DMO
10:26:54 PM - Command: KICK, Flags: MO
10:26:54 PM - Command: K, Flags: MO
10:26:54 PM - Command: B, Flags: MO
10:26:54 PM - Command: BAN, Flags: MO
10:26:54 PM - Command: UNBAN, Flags: MO
10:26:54 PM - Command: U, Flags: MO
10:26:54 PM - Command: RJ, Flags: MX
10:26:54 PM - Command: REJOIN, Flags: MX
10:26:54 PM - Command: DESIGNATE, Flags: MX
10:26:54 PM - Command: DES, Flags: MX
10:26:54 PM - Command: IP, Flags: MO
10:26:54 PM - Command: FINDBY, Flags: IM
10:26:54 PM - Command: FINDFLAG, Flags: IM
10:26:54 PM - Command: FLAG, Flags: IM
10:26:54 PM - Command: INVITE, Flags: CM
10:26:54 PM - Command: SETRANK, Flags: AM
10:26:54 PM - Command: CHECKCHANNEL, Flags: MO
10:26:54 PM - Command: OS, Flags: IM
10:26:54 PM - Command: SYSINFO, Flags: IM
10:26:54 PM - Command: SYSTEMINFORMATION, Flags: IM
10:26:54 PM - Command: COMMANDS, Flags: IM
10:26:54 PM - Command: UPTIME, Flags: IM
10:26:54 PM - Command: MI, Flags: IM
10:26:54 PM - Command: MEMBERINFO, Flags: IM
10:26:54 PM - Command: SFC, Flags: AM
10:26:54 PM - Command: SAFELISTCLAN, Flags: AM
« Last Edit: June 30, 2011, 11:26:03 pm by Mike »

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #1 on: September 27, 2010, 01:03:33 pm »
Does it add user access by ip?  because Myst tells me that's a really useful and secure feature... *cough*

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #2 on: September 27, 2010, 01:17:43 pm »
Does it add user access by ip?  because Myst tells me that's a really useful and secure feature... *cough*

It's a very useful feature.  ?safeaddip Personwithalotofnamesinchannel is > ?safeadd person1, person2, person3, person4, person5, person6, person7, person8

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #3 on: September 27, 2010, 01:27:31 pm »
Aside from the inability to know who is also squelched that isn't in the channel.  *cough*

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #4 on: September 27, 2010, 01:55:02 pm »
Aside from the inability to know who is also squelched that isn't in the channel.  *cough*
I dont want to debate this with you.  An ?IPBan user wouldn't affect the ?safeaddip user. 
IPBan would check squelched users on 0x0F - Event 0x02(someone joining the channel) and if the coder also put a check to users already in channel - Flag Update to squelched. 

None of those would add the squelched user to the SafeList because use of a basic boolean telling whether which command was triggered IPBan or safeaddip on FlagUpdate 0x0F - Event 0x09. 

You say if the person is outside of channel and they're squelched, the bot would add them to the SafeList, rather than IPBan them.  When that person joins 0x0F [0x02] the safeaddip isnt even there since it only activates on 0x0F[0x09].  Also when you safeaddip, you unsquelch them after so even if they leave and join again you won't run into a problem.

What are you not seeing!

ben_fb

  • Addict
  • *****
  • Posts: 246
Re: Asgard3 Operator Plugin
« Reply #5 on: September 27, 2010, 02:42:01 pm »
So if I am reading this right, all the command does is add access to all accounts the user is actively on, that are in the same channel of that receiving initial access? Seems like a huge pain in the ass if you ask me.

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #6 on: September 27, 2010, 04:45:13 pm »
No point hijacking Asgard topic, pianka got served; some1 delete the posts

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #7 on: September 27, 2010, 11:31:27 pm »
The point is there's always an ambiguity if someone joins the channel in the middle of the process.  Consider:

Users A and B are on the same ip in the same channel
You choose to safeadd them both by ip
The operator bot squelches them
User X joins the channel and is already squelched (here's the important part)
Sure, you may not give him safelist but that also means one of two things:

    either X should be ipbanned (you cant tell because you dont know if X is on the same ip as A and B)
    or, X should be given safelist because it is on the same ip as A and B

If you take either action or no action you'll be taking a risk of either banning a user that should be safelisted, not banning a user that should be banned (e.g. they just got around your ipban), safelisting a user that should be banned, or failing to fully complete the objective of the command itself.

It's impossible given how Battle.net works to both reliably and securely implement that feature.  I served you back, I guess...it's on!

Crisis

  • Hero Member
  • *******
  • Posts: 3,018
Re: Asgard3 Operator Plugin
« Reply #8 on: September 27, 2010, 11:40:01 pm »
null`bot will see the light of day!

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #9 on: September 27, 2010, 11:58:16 pm »

User X joins the channel and is already squelched (here's the important part)
Sure, you may not give him safelist but that also means one of two things:

    either X should be ipbanned (you cant tell because you dont know if X is on the same ip as A and B)
    or, X should be given safelist because it is on the same ip as A and B


Read my post fully.  It wouldn't add people to the safelist on the event of join because that is only for Ipbans.  The command is meant to be used when there are multiple names needed to be added to the safelist at once.  If a user joins his bot after the command is initiated oh well, the user would have to safeadd that bot manually. Not a big deal.  However I understand what you're saying: if the user safelists 5 bots and the 6 bot rejoins after, you think it would get banned.  Well it takes milliseconds for you to parse 0x20 (sqleched flags) and then unsquelch the user, where the probability of you hitting a squelched user on join that was the squelched user you safelisted is like a very low probability.

Basically the probability of that happening is so rare, it's negligible.

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #10 on: September 28, 2010, 12:27:52 am »
Considering Battle.net warfare usually comes down to milliseconds, that's the type of thing that would matter.  Regardless, it's not about probabilities...my point stands: it's not possible to both reliably and securely implement that feature lol.

Crisis

  • Hero Member
  • *******
  • Posts: 3,018
Re: Asgard3 Operator Plugin
« Reply #11 on: September 28, 2010, 12:39:14 am »
Battle.net warfare
CALL OF DUTY: BATTLE.NET WARFARE

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #12 on: September 28, 2010, 12:55:56 am »
my point stands and it is possible

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #13 on: September 28, 2010, 12:57:33 am »
my point stands and it is possible

You can't just say your point stands without actually proving anything lol.

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #14 on: September 28, 2010, 01:32:19 am »
Okay, you want a test, wait few months, then you'll see you're wrong

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #15 on: September 28, 2010, 01:33:34 am »
Are you saying the only way to prove something is to actually observe it happen?
This post has been thanked 1 time eX.Pro

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #16 on: September 28, 2010, 02:20:25 am »
In your case it seems so

Loud

  • Banned
  • Hero Member
  • *******
  • Posts: 1,077
Re: Asgard3 Operator Plugin
« Reply #17 on: September 28, 2010, 02:31:50 am »
This thread proves you both need to put your nerdy dicks back in your pants. Asgard3 shits on your faces.
Get money.
Rock ice.
Fuck hoes.

warrior

  • Sr. Member
  • ******
  • Posts: 409
  • Jesus Christ.
Re: Asgard3 Operator Plugin
« Reply #18 on: September 28, 2010, 04:31:17 am »
Pianka is right. It just seems like a very shaky design, and for what? A marginally useful feature?
This post has been thanked 1 time eX.Pro
In capitalist America, bank robs you.

Choosing to code in an unmanaged language/platform is like choosing a hotel where you have to clean your own room.

When C++ is your hammer, everything starts to look like your thumb

Myst

  • BotMaster
  • Hero Member
  • *******
  • Posts: 772
  • Clan Null - Op 0x00
    • DarkBlizz
Re: Asgard3 Operator Plugin
« Reply #19 on: September 28, 2010, 12:32:56 pm »
They called Galileo crazy

warrior

  • Sr. Member
  • ******
  • Posts: 409
  • Jesus Christ.
Re: Asgard3 Operator Plugin
« Reply #20 on: September 29, 2010, 10:13:18 am »
They called Hitler sane.
In capitalist America, bank robs you.

Choosing to code in an unmanaged language/platform is like choosing a hotel where you have to clean your own room.

When C++ is your hammer, everything starts to look like your thumb

Crisis

  • Hero Member
  • *******
  • Posts: 3,018
Re: Asgard3 Operator Plugin
« Reply #21 on: September 29, 2010, 06:20:26 pm »
pianka called me 14 y/o

Mike

  • Asgard Developer
  • Moderator
  • Addict
  • ******
  • Posts: 140
    • mikeownage.com
Re: Asgard3 Operator Plugin
« Reply #22 on: September 30, 2010, 09:02:15 am »
wtf happened to my topic :(

The operator plugin still isn't fully finished but it's working enough. You can view the commands it adds by going to Profile -> Display - > Commands
« Last Edit: September 30, 2010, 09:36:13 am by Mike »

pikachu

  • Administrator
  • Hero Member
  • *******
  • Posts: 3,344
Re: Asgard3 Operator Plugin
« Reply #23 on: September 30, 2010, 02:29:27 pm »
wtf happened to my topic :(

Hahaha, awesome.

 

newBalance by DzinerStudio