StealthBot.net: Ghost Hosting - StealthBot.net

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ghost Hosting "Foxter-'s script"

#1 User is offline   BattlePudge Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: September-11 09

Posted March 16, 2010 - 06:20 AM

All scripting is done by FoXster-
First I want to thank you for making this a public script, second I was wondering:

1. Could we implement more than 1 bot? preferably at least 4
2. Could we make the bot randomize a game name (From any format to "RDDR20 to DOTA APEM 5V5 PROS!"
3. Make it run a little smoother? It seems to take about 4-7 seconds before bots whispers the user saying "your game has been created blah blah"

Here's the script, thanks again FoXsTer-



Script("Name") = "Hoster"
Script("Author") = "FoXsTeR-"
Script("Major") = 1
Script("Minor") = 0
Script("Revision") = 2
Script("Description") = "Hosts a game on a HostBot givin the user 'Owner'."


Private RequiredAccess, RequiredCommand, HostBot_Name, HostBot_Trigger

Sub Event_Load()
RequiredCommand = "host"  '// The command itself
RequiredAccess = 5  '// Required access before ".host" will work
HostBot_Name = "NordicOnlyBot2"  '// Put your HostBot name here
HostBot_Trigger = "!"  '// Put your HostBot trigger here
End Sub

'// Please remember that your StealthBot must have admin rights on the HostBot before this script will work.


Sub Event_Usertalk(Username, Flags, Message, Ping)

If Left(Message, Len(BotVars.Trigger)) = BotVars.Trigger Then
        If Split(Mid(Message, Len(BotVars.Trigger)+1))(0) = RequiredCommand Then
                If GetDBEntry(Username).Rank < RequiredAccess Then Exit Sub
                        msg = Mid(Message, Len(BotVars.Trigger)+1)
                        msgArray = Split(msg, " ", 2)
                                If UBound(msgArray) > 0 Then
                                AddQ "/w " & HostBot_Name & " " & HostBot_Trigger & "privby " & Username & " " & msgArray(1)
                                AddQ "/w " & Username & " GameName [ " & msgArray(1) & " ] was hosted on " & HostBot_Name & " by [ " & Username & " ] Remember to write ''" & HostBot_Trigger & "HCL APOM'' before you start."
                        Else
                                AddQ "/w " & Username & " " & Username & " , you must specify a gamename. Please try again!"
                                End If
                End If
        End If
End Sub



This post has been edited by BattlePudge: March 16, 2010 - 06:21 AM


#2 User is offline   D3aTh_KnIgHt Icon

  • Http://www.Clan-DGC.Com
  • PipPipPip
  • Group: Members
  • Posts: 167
  • Joined: December-13 09

Posted March 16, 2010 - 09:07 AM

tt there is CCE for this,instead of writing all script just download CCE script and go at ur sb console at scripts and run ur CCE.Here is the image
Click this

This post has been edited by D3aTh_KnIgHt: March 16, 2010 - 09:10 AM


#3 User is offline   BattlePudge Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: September-11 09

Posted March 16, 2010 - 07:33 PM

You're using a build...I'm using 2.7.1 there is no "CCE" Is there? If so...do I have to download it?

#4 User is offline   Fallen-God Icon

  • Full Member
  • PipPipPip
  • Group: Members
  • Posts: 364
  • Joined: September-11 09

Posted March 16, 2010 - 07:38 PM

You would have to download the CCE script.

However it is a step backwards (in terms of what you want) from FoXsTer-'s script, so I don't really see why it is being suggested.
Choose Functional.

#5 User is offline   BattlePudge Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: September-11 09

Posted March 16, 2010 - 07:43 PM

That's kind of what I was thinking...any who if anybody has any spare time, think they could do something with this?

#6 User is offline   AwaKening Icon

  • how do ya like me now
  • PipPipPipPipPip
  • Group: Members
  • Posts: 977
  • Joined: August-20 09

Posted March 16, 2010 - 08:09 PM

The stuff you want added would be more code than what you've actually provided here. You're better off just requesting a new script all together with exactly what you want.

#7 User is offline   BattlePudge Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: September-11 09

Posted March 16, 2010 - 08:13 PM

I have ^^ I guess I'll wait for that. Thanks for the advice.

#8 User is offline   BattlePudge Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: September-11 09

Posted March 19, 2010 - 05:58 AM

Any idea when something like this might surface?

#9 User is offline   AwaKening Icon

  • how do ya like me now
  • PipPipPipPipPip
  • Group: Members
  • Posts: 977
  • Joined: August-20 09

Posted March 19, 2010 - 03:04 PM

Tuck made something called GhostHost List I think it was called. It's about the closest thing to what you're asking for. I personally don't like it because it requires your ghosts to be listed as bots friends and then spams (/f m !getgames). I use my friend list for other things. Unfortunately, it's going to be the best thing for someone having 2+ ghosts; otherwise your bot will always be flooded.

Also, there's no way to speed up the response time you're asking for. It's the bots built in queue delay to keep it from flooding out. You're getting a delayed response because it's whispering your host to create a game first.

#10 User is offline   BattlePudge Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 29
  • Joined: September-11 09

Posted March 20, 2010 - 09:32 AM

Well see what I want is a "advanced" whisper forwarding with a randomization feature...I would be strictly using it for TDA DotA games...Basically so people don't have to use different commands for different hosting bots, and it keeps the lag/delay down depending on which GHost is hosting say...2/3 or more games...once you get up to 5 hour long games on 1 bot, tends to drag a little bit.

Anywho this (I don't think) would be very complicated...The scripter would have to have to have access to 2/3 host bots to test...Clan Mota on USEast would be willing to let anybody use/test with their host bots if needed.. PM me or reply back on this for any more information regarding this script..Thanks!!

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users