What is possible with Lua Scripts?
Moderator: Moderators
What is possible with Lua Scripts?
I have run in to some what of a problem The hub i would like to use BCDC++ clames that the client is bad for lua scripting among a few other reasons i personly have no problem with the features that were hacked in but why is this lua scripting frowned appawn and what is the extent of its possiblies of causing annoicances or harm to a hub/client?
Re: What is possible with Lua Scripts?
the most common grievances about BCDC++:YeCkeL wrote:I have run in to some what of a problem The hub i would like to use BCDC++ clames that the client is bad for lua scripting among a few other reasons i personly have no problem with the features that were hacked in but why is this lua scripting frowned appawn and what is the extent of its possiblies of causing annoicances or harm to a hub/client?
- bandwidth limiting
- tag faking
why lua scripting might be viewed as bad:
- you can easily spam people with your own custom messages (i.e. Lua is simpler than C++), and/or try other not-so-liked-functions/commands
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
I see the bandwidth limiting as the good thing and the tag emulation as the way to get away with it Now the lua scripting when you say not so liked fuctions commands are there no limites set by bcdc and if you lower the upload below 5KiB/s you get caped at 10KiB/s so i say that is fine if you are cable and want to act liks isdn hehe
-
- Forum Moderator
- Posts: 366
- Joined: 2004-03-06 02:46
-
- Posts: 506
- Joined: 2003-01-03 07:33
-
- Posts: 184
- Joined: 2003-05-26 11:29
- Location: UK
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
Here is what the client approver for the hub said he would like a method like this one
Can scripts be executed by any one ? or jsut the client it self
Code: Select all
2. Secured Script Executors
---------------------------
To secure and manage *who* can actually load and execute scripts, BDC use a proprietary protocol extension: $SecuredExecutor.
First, BDC sends a "SecuredExecutor" flag in the $Support command (if the Hub supports the extended protocol), so that hub developpers could support that feature in their Hub's GUI. For exemple, theiy could add a list of granted executors with their rights.
Then, the hub *MUST* send the extended command $SecuredExecutor <rights> to, and ONLY to, the granted executors. The <right> value is a bitflag of what actions are allowed to the user's scripts:
Bit 0 (1) - Can send messages on Central Chat.
Bit 1 (2) - Can send private messages.
Bit 2 (4) - Can send raw commands to the hub.
A value of 0 is permitted and could be used for BOTs that don't need to interact.
-
- Posts: 506
- Joined: 2003-01-03 07:33
-
- Forum Moderator
- Posts: 366
- Joined: 2004-03-06 02:46
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
What else do you expect from BlackDC, which is the single-hub DC client with built in CDM that will automatically disconnect users with "bad" clients?
Seriously, please go to a different hub where the operators don't feel the need to control your choice of client. Abusive/annoying Lua scripts can be written in BCDC, but operators can kick for bad behavior, instead of just having the capability to display bad behavior.
Seriously, please go to a different hub where the operators don't feel the need to control your choice of client. Abusive/annoying Lua scripts can be written in BCDC, but operators can kick for bad behavior, instead of just having the capability to display bad behavior.
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us