Help - Search - Members - Calendar
Full Version: Sui[C]idE's DotA League Plugin
StealthBot.net > StealthBot > Scripting and Plugins
Sui(C)ide
SuI[C]IdE's DotA League Plugin

I am proud to release version 1.02 of my DotA League plugin, with massive additions to it.
A new mode, upgrades to existing modes / commands, bug fixes.

All info can be found in the .TXT file created when you install the plugin.

Enjoy.
noKING
Hey Suicide first of all I'd like to thank you for making such an awesome dota league script smile.gif
I found some problem with some of the commands though.
I can't 'confirm' a 'creategame RD' after there are 10 players signed in. The SB just malfunctions everytime I type confirm. Also in challenge mode I cannot 'startpick' when enough players have signed in, it says there's an error in the script saying mismatch.
Can you please check those and see if there's anything that went wrong?
Anyway it's still an awesome plugin, love how 1.02 shows Ranking now smile.gif

Regards, noKING.
Sui(C)ide
Firstly, thank-you for choosing to use my plugin.
Secondly, there is no -startpicks command for the league, I had the original idea for that, but replaced it with just allowing users to sign before enough users were picked.
Thirdly, I don't see why it is not working, may I have the error please?
noKING
Nvm about my previous concerns, I tested them again today and everything turned out fine.
I guess I mustve been in a hurry last night and stuffed something up sad.gif
Anyway thank you again for this wonderful league plugin, it makes life so much easier and provides a much better DotA experience for me and my clannies smile.gif

Regards, noKING.
Sui(C)ide
No worries man, just 1 note, remember to stay tuned for updates, as I intend to fix a few things, and add things. smile.gif
Also, report any bugs you find please.
Thanks.
johnnyg_ro
CODE

'//* RANKS
'//*
'//* The following determine the name of each users rank.

Public Const sdl_Rank_1 = "Regular User"            ' Gives a user -1 access
Public Const sdl_Rank_2 = "Head Admin"                ' Gives a user 50 access
Public Const sdl_Rank_3 = "Admin"                    ' Gives a user 40 access
Public Const sdl_Rank_4 = "Mod"                        ' Gives a user 30 access
Public Const sdl_Rank_5 = "Banned"                    ' Gives a user -1 access
Public Const sdl_Rank_6 = "Captain"                    ' Gives a user 20 access
Public Const sdl_Rank_7 = "Host"                    ' Gives a user 10 access




There is a problems with this, because is overwriting CRS plugin users, i mean if i set a CRS rank to lets say Commander (1) with 100 acces, if i make that user also a Head Admin, he`s acces will be gone to 50, cause overwrited by Dota League Plugin.

Can u think of something, eventualy to autoset ranks getted from CRS? Or make an equivalation?
Sui(C)ide
Hmm... I recommend using my DotA League Plugin on a different bot. Otherwise the only other option is coding my plugin around others, which quite frankly, I don't feel like doing. The only other thing I can think of atm (kind of tired) is that I add in a variable for the amount of access a user has with a certain rank.

I don't mind the sound of that. Thanks.
johnnyg_ro
No problem. Another error:

[9:40:53 AM] <Johnnyg> .staff
[9:40:53 AM] UserTalk Call Error On File> C:\Documents and Settings\Johnny\Desktop\StealthBot\plugins\sdl.txt
[9:40:53 AM] Error Number: 5 Description: Invalid procedure call or argument


just on .stuff function...if u may take a look.
Sui(C)ide
Hmm.. Works for me. O.o

Have you added staff (addheadadmin, addadmin, addmod) ?
PhiX
QUOTE(Sui(C)ide @ Sep 5 2009, 01:54 PM) *
Hmm... I recommend using my DotA League Plugin on a different bot. Otherwise the only other option is coding my plugin around others, which quite frankly, I don't feel like doing. The only other thing I can think of atm (kind of tired) is that I add in a variable for the amount of access a user has with a certain rank.

I don't mind the sound of that. Thanks.
What about you don't overwrite users' access when they already have more access than your script would give them?
Sui(C)ide
How 'bout I planned to in the future, just a little lazy atm.
DgT-CrO_warrior
hey i dled your plugin and it works great but i have fiew suggestions for you:

try 2 make when type .sign and then leave channel that bot automaticly kick him from game cuz he signed and then left channel

plz command "creategame" replace with command "start"

and this will be the hardeds not so needed but u can try make version where ghost automaticly host game when 10players signed in game and confirmed it ty smile.gif
FoxInTheBox
QUOTE(DgT-CrO_warrior @ Sep 22 2009, 07:19 AM) *

hey i dled your plugin and it works great but i have fiew suggestions for you:

try 2 make when type .sign and then leave channel that bot automaticly kick him from game cuz he signed and then left channel

plz command "creategame" replace with command "start"

and this will be the hardeds not so needed but u can try make version where ghost automaticly host game when 10players signed in game and confirmed it ty smile.gif

CODE


'//* Everything that can be modified is listed below. ONLY edit
'//* settings in this section. Editing ANY other areas may result in
'//* your plugin not working properly.
'//*
'//*
'//* COMMAND SETTINGS
'//*
'//* The following determine the command for the command to be used.
'//* Keep in mind, a user must be vouched to use the command.

Public Const sdl_Sign_cmd = "sign"
Public Const sdl_Out_cmd = "out"
Public Const sdl_Forbid_cmd = "forbid"
Public Const sdl_Confirm_cmd = "confirm"
Public Const sdl_Abort_cmd = "abort"
Public Const sdl_ModAbort_cmd = "modabort"
Public Const sdl_Games_cmd = "games"
Public Const sdl_EndDraw_cmd = "enddraw"
Public Const sdl_SentinelWin_cmd = "end1"
Public Const sdl_ScourgeWin_cmd = "end2"
Public Const sdl_ModResult_cmd = "modresult"
Public Const sdl_Truant_cmd = "truant"
Public Const sdl_ModTruant_cmd = "modtruant"
Public Const sdl_Warn_cmd = "warn"
Public Const sdl_RemWarn_cmd = "remwarn"
Public Const sdl_WarnInfo_cmd = "warninfo"
Public Const sdl_Leaver_cmd = "leaver"
Public Const sdl_ModLeaver_cmd = "modleaver"
Public Const sdl_Drop_cmd = "drop"
Public Const sdl_ModDrop_cmd = "moddrop"
Public Const sdl_Vouch_cmd = "vouch"
Public Const sdl_Unvouch_cmd = "unvouch"
Public Const sdl_VouchInfo_cmd = "vouchinfo"
Public Const sdl_CreateGame_cmd = "creategame"

DgT-CrO_warrior
y ty but other things are they avaivible?

why noone replying no1 knows how to do it :\\
Sui(C)ide
Sorry, I have been a little busy lately. As of now, instead of dealing with this old, outdated, dodgy, bug-filled plugin, I have decided that it was better that I upgrade this system. Meaning, my current version of this plugin is bug-free, and has these commands...
http://aidl.darkstargamers.com/index.php?topic=9.0

Currently, it is over 4400 lines long and has taken hours of time (even days..), so I only sell it for $80 AUD now. That may seem a little much for some people, but I can almost guarantee any others will be much higher than that. (Mine is in Australian Dollars).

Paypal is accepted.

You can contact me VIA payments on MSN. [email protected]

If you wish to speak via voice, ask for my Ventrilo Server details on MSN.

Thanks.
The-Black-Ninja
Wtf? It was for free, now you're deciding to charge? Why?
DgT-CrO_warrior
he is and child smile.gif he have 15years old,i talked with him via msn he wanna someone to pay him for league which is not connected with ghost rofl...and which do not kick user from game when he leave channel...
Sui(C)ide
@Ninja - I have put many more hours into this, not just a few here n there, there'd be over 24 hours of work into this, and I don't feel I should give something like this away anymore..

As for DgT-Faggot, I told him I wasn't giving him my plugin for free, then getting scammed. Enough said, if you're interested, then come, else Fuck off
The-Black-Ninja
Well, if you feel you've gotta charge for something that's over 24 hours of work when I've worked on stuff that's taken like, 5 days trying to figure stuff out and testing to make it work right, you've got the right to do so. You'd just better think of your reputation if your stuff fails and people want their money back because your stuff doesn't work right. For $80, you'd better be real sure your stuff works considering your numerous posts asking us to help you fix code for you...
Sui(C)ide
"Bug-free", I have my own DotA League running, and i've had every user there be able to test every single command out in any situations possible. I can almost guarantee nothing will break.
DgT-CrO_warrior
QUOTE(Sui(C)ide @ Sep 27 2009, 10:54 PM) *

"Bug-free", I have my own DotA League running, and i've had every user there be able to test every single command out in any situations possible. I can almost guarantee nothing will break.

yaya ofc bug-free rofl delay when u enter command is 5secs\\lol
Ribose
$80 AUD (~$70 USD) is way overpriced for a VBScript for a VB6 bot, no matter what it does.
The-Black-Ninja
QUOTE(Ribose @ Sep 28 2009, 07:28 PM) *
$80 AUD (~$70 USD) is way overpriced for a VBScript for a VB6 bot, no matter what it does.
Not only that, $80 AUD is definitely overpriced for what your plugin can do. Maybe if it were like TDA's system where it communicates with hostbots, posts results on websites, etc., maybe then could it be worth $80.
Sui(C)ide
DXD offered a friend $700 for his league plugin. Rank 5'3 scripts.

Mine can do all the capabilities any other league i've can and more, except for the ones which communicate with a website. Setting up GHost Bots could be done via other methods aswell, pointless.
The-Black-Ninja
$700 for a league plugin? Wow, people are dumb. I seriously have to make one of my own and put it on here, too many people are getting ripped off because creators think that just because they spend 1+ weeks on something, it automatically deserves close to $100 or more for something that can be placed on a simple bot...

Frig, I've spent way longer than that coding requests for this site, remaking plugins, etc. and you don't see me charging for my time. I guess that's what makes us individuals I guess; if people want to charge outrageous prices for something simple, no one can really stop them.
Sui(C)ide
Ok, think about it this way. Say i've put 25 hours into it (I've put more..) and say I was charging $100. That would be $4 an hour. That's less than gooks in nike shoe shops make.

And besides, the whole point of charging people for the latest one was so I could also put cash into AIDL prizes, etc.
The-Black-Ninja
Look at it this way, ever since I've been releasing code, I've never charged for anything, and I've been making plugins for at least 1 year. By the way, never ever use racial slurs again or it's a warn.

I'm not trying to get you not to charge, because you're going to charge anyway. HOWEVER, keep in mind that you're more than likely going to be needing to remake a vast majority of this due to the new scripting system for 2.7.
Sui(C)ide
The Event subs, and the timers. Wow man.. heaps!
DgT-CrO_warrior
just an child who thinks he is an hacker sad.gif
Sui(C)ide
QUOTE(DgT-CrO_warrior @ Sep 29 2009, 06:15 PM) *

just an child who thinks he is an hacker sad.gif


LOLWUT?
DgT-CrO_warrior
dont think that u are good sripter cuz u made 1 low-mid dota league....and btw noone will pay u for that its not even connected with ghost or webpage...
Sui(C)ide
1. Making it compatible with GHost can be done with other existing plugins.
2. Websites... you'd need to know someones website as you'd need to parse their website.
3. Low-mid? That's this current one. The latest version commands list is on the link I provided.

I have also added in the ability to turn on EXP decay and an amount of days before it occurs. So not just commands aswell.
The-Black-Ninja
QUOTE(Sui(C)ide @ Sep 28 2009, 11:50 PM) *
The Event subs, and the timers. Wow man.. heaps!
That comment says it all smile.gif Here's what I mean:
  • Taking prefixes off Event subs
  • Timer objects
  • Putting your commands to the Event_Command sub.
  • Making your commands available in the command manager so you can make the command an internal command
  • By putting commands to the Event_Command, you can call if someone is using the proper syntax by using Command.IsValid and checking if the user has access by Command.HasAccess, instead of using GetDBEntry and splitting the message to get arguments and all that.
Not to mention that the plugin system is no longer going to be supported and will be phased out. Meaning that if 2.7 somehow breaks the plugin system for whatever reason, there is no guarantee the plugin system is going to be fixed to fix the error, so basically, almost an entire re-write of your plugin in how commands are issued, received, and processed.

Wow man, heaps!! Why else would I bother rewriting the recruit plugin, the CRS plugin, the AFK plugin, etc.? You don't have to convert yours over, but why would you want to be using a soon-to-be defunct system?
FoxInTheBox
QUOTE(Sui(C)ide @ Sep 28 2009, 09:01 PM) *

Ok, think about it this way. Say i've put 25 hours into it (I've put more..) and say I was charging $100. That would be $4 an hour. That's less than gooks in nike shoe shops make.

And besides, the whole point of charging people for the latest one was so I could also put cash into AIDL prizes, etc.

While you made the plugin you also learned alot.. didnt u?
Sui(C)ide
No shit sherlock.

Eh, I see there's a bit of work with the new Event_Command... I guess after that's done it'll be worth more LOL.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2020 Invision Power Services, Inc.