![]() ![]() |
| Sui(C)ide |
Jul 16 2009, 11:41 PM
Post
#31
|
![]() SuI[C]IdE's DotA Leage Plugin Author ![]() ![]() ![]() Group: Members Posts: 766 Joined: 23-April 09 From: Australia Member No.: 49,768 |
Change all the "dsp 1" to "dsp 2". He could also change the "1" to "DspId" then define DspId as 2. That would seem more logical as he could change it a lot easier in future. -------------------- ![]() Interested in joining an Aus/Nz DotA League? Come by Clan AIDL today, on UWEST. You may visit our website Here. |
| Call |
Jul 17 2009, 12:03 AM
Post
#32
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
Change all the "dsp 1" to "dsp 2". dont touch "dsp 3" though. Change all the "dsp 1" to "dsp 2". He could also change the "1" to "DspId" then define DspId as 2. That would seem more logical as he could change it a lot easier in future. witch will prob come later when i have found more subjects to add. -------------------- ![]() |
| Sui(C)ide |
Jul 17 2009, 12:44 AM
Post
#33
|
![]() SuI[C]IdE's DotA Leage Plugin Author ![]() ![]() ![]() Group: Members Posts: 766 Joined: 23-April 09 From: Australia Member No.: 49,768 |
-------------------- ![]() Interested in joining an Aus/Nz DotA League? Come by Clan AIDL today, on UWEST. You may visit our website Here. |
| PhiX |
Jul 17 2009, 03:53 AM
Post
#34
|
![]() Notice the ownage. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Global Moderators Posts: 10,862 Joined: 15-January 07 From: GeRmAnY (GMT +1:00) Member No.: 16,204 |
There is no "dsp 3" in your code. You're using AddQ for whispering.
Neither is there a "dsp 4" ... -------------------- PhiX
-------------------- I do not provide support via PM or IM, please use the forums. SBs Help Tool - Please only double click my name if I told you to do so. -------------------- Whore of Clan BoT JBLS: phix.no-ip.org (click for stats) ![]() -------------------- QUOTE(Clan BoT) [20:33:50.063] <SlamBliss@Azeroth> I'm not showing any respect to a bunch of script kiddie faggots. |
| Sui(C)ide |
Jul 17 2009, 03:55 AM
Post
#35
|
![]() SuI[C]IdE's DotA Leage Plugin Author ![]() ![]() ![]() Group: Members Posts: 766 Joined: 23-April 09 From: Australia Member No.: 49,768 |
There is no "dsp 3" in your code. You're using AddQ for whispering. Neither is there a "dsp 4" ... Then what is this?
This post has been edited by Sui(C)ide: Jul 17 2009, 03:56 AM -------------------- ![]() Interested in joining an Aus/Nz DotA League? Come by Clan AIDL today, on UWEST. You may visit our website Here. |
| PhiX |
Jul 17 2009, 03:57 AM
Post
#36
|
![]() Notice the ownage. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Global Moderators Posts: 10,862 Joined: 15-January 07 From: GeRmAnY (GMT +1:00) Member No.: 16,204 |
I said in his code. He only uses "dsp 1" in his plugin ...
-------------------- PhiX
-------------------- I do not provide support via PM or IM, please use the forums. SBs Help Tool - Please only double click my name if I told you to do so. -------------------- Whore of Clan BoT JBLS: phix.no-ip.org (click for stats) ![]() -------------------- QUOTE(Clan BoT) [20:33:50.063] <SlamBliss@Azeroth> I'm not showing any respect to a bunch of script kiddie faggots. |
| Call |
Jul 17 2009, 09:45 AM
Post
#37
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
uhg would it be wrong to ask if a mod could delete, all these useless post about "dsp" and what ever phix and sui talked about <.<
-------------------- ![]() |
| FoxInTheBox |
Jul 19 2009, 12:17 PM
Post
#38
|
![]() Foxxy ![]() ![]() ![]() Group: Members Posts: 271 Joined: 10-July 09 Member No.: 52,383 |
Can you fix so it tells the latest information it have recieved from hostbot till it get new? thanks
-------------------- ![]() |
| Call |
Jul 19 2009, 12:18 PM
Post
#39
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
Can you fix so it tells the latest information it have recieved from hostbot till it get new? thanks this has already been done. -------------------- ![]() |
| FoxInTheBox |
Jul 23 2009, 11:46 AM
Post
#40
|
![]() Foxxy ![]() ![]() ![]() Group: Members Posts: 271 Joined: 10-July 09 Member No.: 52,383 |
Well mine dont :/ Im using your newest, Can it be that it dont because I got 2 I.E One bot host It says that its Hosted and then bot n2 answer to -getgames and it says There is no game and I type .games And it says No games aviable?
-------------------- ![]() |
| Call |
Aug 7 2009, 01:24 AM
Post
#41
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
Ghost Host List: v2.9
Author: Call Explaination: Keeps track of your ghost bots and display the new games they hosted. Configuration: All listed inside the code, very easy to configure. BotVersion Required: 2.6R3+ Quick Download: Update News: Multiple new configurations. CODE 'ghl '2.9 '&Ghost Host List:Call:Keeps track of your ghost bots and display the new games they hosted. '&games - dispaly current games(can be changed and disabled) '&40691 '&Please read the configurations comments and configure the plugin for your needs.:Please report all bugs/errors found.:Please suggest all you think would be great for the plugin on the plugin home topic.:All ghost bots must be on the stealthbot's friend list or else this will not work. 'Assisted by: None '// '// Ghost Host List 2 . 9 private const vinterval = 20 'Timer interval(seconds) for whispers to be sent private const vghost = "username1|username2" 'Ghost's username seperate with | private const vghostcommand = ".getgames|-getgames" 'Command to whisper seperate with | private const vghostformat = 0 '0 = FriendList - 1 = Wisper private const vdisplayformat = 1 '1 = Normal - 2 = Emote private const vdisplay = "%game(%used/%size)" 'New game display private const vdisplay2 = "No games available." 'No new games private const vtimerdisplay = 0 'Use timer to display new games private const vtimerinterval = 20 'Time btw new game lists private const vcommanddisplay = 1 'Use command to display new games private const vcommandaccess = -1 'Access required to use display command private const vcommand = "games" 'Command to display new games private const vcommandspam = 5 'Anti-Spam seconds before command can be used again '// '// Game [%game : %username : %used/%size : %minutes] is in the lobby and there are %used2/%size2 other games in progress. '// %spots - gives you the number of spots that is open in the game can be used in vdisplay. '// public ghlL, ghlA, ghlO, ghlB ghlL = vdisplay2 ghlO = "" ghlA = false ghlB = false sub ghl_event_load() TimerInterval "ghl", "ghost", int(vinterval) TimerInterval "ghl", "list", int(vtimerinterval) TimerInterval "ghl", "spam", int(vcommandspam) TimerEnabled "ghl", "ghost", true TimerEnabled "ghl", "spam", false if int(vtimerdisplay) = 1 then TimerEnabled "ghl", "list", true else TimerEnabled "ghl", "list", false end sub sub ghl_ghost_timer() dim TempCount : TempCount = 0 for x = 0 to UBound(Split(vghost, "|")) if GetPositionByName(Split(vghost, "|")(x)) > 0 then TempCount = TempCount + 1 end if next ghlO = ghlL ghlL = vdisplay2 ghlB = true if Int(UBound(Split(vghost, "|")) + 1) = Int(TempCount) then exit sub if vghostformat = 0 then AddQ "/f m " & vghostcommand else for x = 0 to UBound(Split(vghost, "|")) dim TempStr if UBound(Split(vghost, "|")) = UBound(Split(vghostcommand, "|")) then TempStr = vghostcommand(x) else TempStr = vghostcommand end if dsp 3, TempStr, Split(vghost, "|")(x), vbGreen next end if end sub sub ghl_list_timer() dim Games if not ghlL = vdisplay2 then Games = "Games: " & left(ghlL, len(ghlL) - 2) else Games = vdisplay2 end if If ghlB and Not ghlO = vdisplay2 Then Games = "Games: " & left(ghlO, len(ghlO) - 2) dsp vdisplayformat, Games, username, vbRed end sub sub ghl_spam_timer() ghlA = false TimerEnabled "ghl", "spam", false end sub sub ghl_event_whisperfromuser(username, flags, message) dim TempBoolean : TempBoolean = false For x = LBound(Split(vghost, "|")) to UBound(Split(vghost, "|")) if LCase(Username) = LCase(Split(vghost, "|")(x)) then TempBoolean = true exit for end if next if not TempBoolean then exit sub ghlB = false if instr(lcase(message), "is in the lobby") then dim TempString TempSplit1 = Replace(message, "Game [", "") TempSplit = Split(TempSplit1, "] is")(0) Game = Split(TempSplit, " : ")(0) Username = Split(TempSplit, " : ")(1) Minutes = Split(TempSplit, " : ")(3) TempSplit = Split(TempSplit, " : ")(2) Used = Split(TempSplit, "/")(0) Size = Split(TempSplit, "/")(1) Spots = Int(Int(Size) - Int(Used)) TempSplit1 = split(message, " in the lobby and there are ")(1) TempSplit = split(TempSplit1, " other games in progress.")(0) Used2 = Split(TempSplit, "/")(0) Size2 = Split(TempSplit, "/")(1) TempString = vdisplay TempString = replace(TempString, "%game", Game) TempString = replace(TempString, "%username", Username) TempString = replace(TempString, "%used2", Used2) TempString = replace(TempString, "%size2", Size2) TempString = replace(TempString, "%used", Used) TempString = replace(TempString, "%size", Size) TempString = replace(TempString, "%minutes", Minutes) TempString = replace(TempString, "%spots", Spots) if InStr(ghlO, Game) <= 0 then dsp vdisplayformat, "New Game: " & TempString, botvars.username, vbgreen if ghlL = vdisplay2 then ghlL = TempString & ", " else ghlL = ghlL & TempString & ", " end if end sub sub ghl_event_usertalk(username, flags, message, ping) if ghlA then exit sub if int(vcommanddisplay) = 0 then exit sub getdbentry username, access, flags if access < vcommandaccess then exit sub if lcase(message) = lcase(BotVars.Trigger & vcommand) then if vcommandspam > 0 then ghlA = true TimerEnabled "ghl", "spam", true end if dim Games if not ghlL = vdisplay2 then Games = "Games: " & left(ghlL, len(ghlL) - 2) else Games = vdisplay2 end if If ghlB and Not ghlO = vdisplay2 Then Games = "Games: " & left(ghlO, len(ghlO) - 2) dsp vdisplayformat, Games, username, vbRed end if end sub -------------------- ![]() |
| Call |
Aug 11 2009, 07:04 AM
Post
#42
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
Ghost Host List: v3.0
Author: Call Explaination: Keeps track of your ghost bots and display the new games they hosted. Configuration: All listed inside the code, very easy to configure. BotVersion Required: 2.6R3+ Quick Download: Update News: Multiple new configurations, whisper option, multiple commands for each bot. CODE 'ghl '3.0 '&Ghost Host List:Call:Keeps track of your ghost bots and display the new games they hosted. '&games - dispaly current games(can be changed and disabled) '&40691 '&Please read the configurations comments and configure the plugin for your needs.:Please report all bugs/errors found.:Please suggest all you think would be great for the plugin on the plugin home topic.:All ghost bots must be on the stealthbot's friend list or else this will not work.:Multiple commands only works with whisper format. 'Assisted by: None '// '// Ghost Host List 3 . 0 private const vinterval = 20 'Timer interval(seconds) for whispers to be sent private const vghost = "username1|username2" 'Ghost's username seperate with | private const vghostcommand = ".getgames|-getgames" 'Command to whisper seperate with | private const vghostformat = 0 '0 = FriendList - 1 = Wisper private const vdisplayformat = 1 '1 = Normal - 2 = Emote private const vdisplay = "%game(%used/%size)" 'New game display private const vdisplay2 = "No games available." 'No new games private const vtimerdisplay = 0 'Use timer to display new games private const vtimerinterval = 20 'Time btw new game lists private const vcommanddisplay = 1 'Use command to display new games private const vcommandaccess = -1 'Access required to use display command private const vcommand = "games" 'Command to display new games private const vcommandspam = 5 'Anti-Spam seconds before command can be used again '// '// Game [%game : %username : %used/%size : %minutes] is in the lobby and there are %used2/%size2 other games in progress. '// %spots - Gives you the number of spots that is open in the game can be used in vdisplay. '// %rb - How many registered bots in the plugin. '// %rc - How many registered commands in the plugin. '// public ghlL, ghlA, ghlO, ghlB ghlL = vdisplay2 ghlO = "" ghlA = false ghlB = false sub ghl_event_load() TimerInterval "ghl", "ghost", int(vinterval) TimerInterval "ghl", "list", int(vtimerinterval) TimerInterval "ghl", "spam", int(vcommandspam) TimerEnabled "ghl", "ghost", true TimerEnabled "ghl", "spam", false if int(vtimerdisplay) = 1 then TimerEnabled "ghl", "list", true else TimerEnabled "ghl", "list", false end sub sub ghl_ghost_timer() dim TempCount : TempCount = 0 for x = 0 to UBound(Split(vghost, "|")) if GetPositionByName(Split(vghost, "|")(x)) > 0 then TempCount = TempCount + 1 end if next ghlO = ghlL ghlL = vdisplay2 ghlB = true if Int(UBound(Split(vghost, "|")) + 1) = Int(TempCount) then exit sub if vghostformat = 0 then AddQ "/f m " & vghostcommand else for x = 0 to UBound(Split(vghost, "|")) dim TempStr if x <= UBound(Split(vghostcommand, "|")) then TempStr = Split(vghostcommand, "|")(x) else TempStr = vghostcommand end if dsp 3, TempStr, Split(vghost, "|")(x), vbGreen next end if end sub sub ghl_list_timer() dim Games if not ghlL = vdisplay2 then Games = "Games: " & left(ghlL, len(ghlL) - 2) else Games = vdisplay2 end if If ghlB and Not ghlO = vdisplay2 Then Games = "Games: " & left(ghlO, len(ghlO) - 2) dsp vdisplayformat, Games, username, vbRed end sub sub ghl_spam_timer() ghlA = false TimerEnabled "ghl", "spam", false end sub sub ghl_event_whisperfromuser(username, flags, Message) dim TempBoolean : TempBoolean = false For x = LBound(Split(vghost, "|")) to UBound(Split(vghost, "|")) if LCase(Username) = LCase(Split(vghost, "|")(x)) then TempBoolean = true exit for end if next if not TempBoolean then exit sub ghlB = false if instr(lcase(message), "is in the lobby") then dim TempString TempSplit1 = Replace(message, "Game [", "") TempSplit = Split(TempSplit1, "] is")(0) Game = Split(TempSplit, " : ")(0) Username = Split(TempSplit, " : ")(1) Minutes = Split(TempSplit, " : ")(3) TempSplit = Split(TempSplit, " : ")(2) Used = Split(TempSplit, "/")(0) Size = Split(TempSplit, "/")(1) Spots = Int(Int(Size) - Int(Used)) TempSplit1 = split(message, " in the lobby and there are ")(1) TempSplit = split(TempSplit1, " other games in progress.")(0) Used2 = Split(TempSplit, "/")(0) Size2 = Split(TempSplit, "/")(1) TempString = vdisplay TempString = replace(TempString, "%rb", UBound(Split(vghost, "|"))) TempString = replace(TempString, "%rc", UBound(Split(vghostcommand, "|"))) TempString = replace(TempString, "%game", Game) TempString = replace(TempString, "%username", Username) TempString = replace(TempString, "%used2", Used2) TempString = replace(TempString, "%size2", Size2) TempString = replace(TempString, "%used", Used) TempString = replace(TempString, "%size", Size) TempString = replace(TempString, "%minutes", Minutes) TempString = replace(TempString, "%spots", Spots) if InStr(ghlO, Game) <= 0 then dsp vdisplayformat, "New Game: " & TempString, botvars.username, vbgreen if ghlL = vdisplay2 then ghlL = TempString & ", " else ghlL = ghlL & TempString & ", " end if end sub sub ghl_event_usertalk(username, flags, message, ping) if ghlA then exit sub if int(vcommanddisplay) = 0 then exit sub getdbentry username, access, flags if access < vcommandaccess then exit sub if lcase(message) = lcase(BotVars.Trigger & vcommand) then if vcommandspam > 0 then ghlA = true TimerEnabled "ghl", "spam", true end if dim Games if not ghlL = vdisplay2 then Games = "Games: " & left(ghlL, len(ghlL) - 2) else Games = vdisplay2 end if If ghlB and Not ghlO = vdisplay2 Then Games = "Games: " & left(ghlO, len(ghlO) - 2) dsp vdisplayformat, Games, username, vbRed end if end sub -------------------- ![]() |
| wow1234 |
Aug 11 2009, 08:21 AM
Post
#43
|
|
Rookie ![]() Group: Members Posts: 2 Joined: 28-July 09 Member No.: 52,928 |
ill try it out and let you know if any bugs occur
There's an error for ".getgames|-getgames". It doesn't split, it whispered two of my bots .getgames|!getgames which doesnt show any of the games created in the lobby. This post has been edited by wow1234: Aug 11 2009, 08:04 AM |
| Call |
Aug 11 2009, 08:23 AM
Post
#44
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
ill try it out and let you know if any bugs occur There's an error for ".getgames|-getgames". It doesn't split, it whispered two of my bots .getgames|!getgames which doesnt show any of the games created in the lobby. its already written in important information that only if you have wisper format you can use multiple commands system if your using /f m format then you just edit the settings from ".getgames|-getgames" to ".getgames" -------------------- ![]() |
| wow1234 |
Aug 11 2009, 10:20 AM
Post
#45
|
|
Rookie ![]() Group: Members Posts: 2 Joined: 28-July 09 Member No.: 52,928 |
ahh THANK you
One more request, is it possible for .games to display the games that are in play This post has been edited by wow1234: Aug 11 2009, 10:24 AM |
| Call |
Aug 12 2009, 10:01 AM
Post
#46
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
QUOTE GHL 3.5 Pre Code Notes (Brain Storm) Basic * Tracking system for each invadual bot. * Whispering timer if bot got out of track range. * Timer if bot arent in track range. * Bug System (With reporter). * Easier configurations with examples and details. * reduced source code size. The Currently subjects, if anyone got anything, they want in GHL 3.5 this is the time to post it. This post has been edited by Call: Aug 12 2009, 10:02 AM -------------------- ![]() |
| FoxInTheBox |
Aug 12 2009, 10:08 AM
Post
#47
|
![]() Foxxy ![]() ![]() ![]() Group: Members Posts: 271 Joined: 10-July 09 Member No.: 52,383 |
If theres games up there should be a function That when ppl join the channel it says
Games to join/Games up: cd44(+10) -------------------- ![]() |
| Call |
Aug 12 2009, 10:11 AM
Post
#48
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
If theres games up there should be a function That when ppl join the channel it says Games to join/Games up: cd44(+10) the games variable will be public so it will be easy to make a addon plugin that use the public variable and do what u want U mean i can do it myself? if you know how yes when 3.5 comes This post has been edited by Call: Aug 12 2009, 10:16 AM -------------------- ![]() |
| FoxInTheBox |
Aug 12 2009, 10:14 AM
Post
#49
|
![]() Foxxy ![]() ![]() ![]() Group: Members Posts: 271 Joined: 10-July 09 Member No.: 52,383 |
U mean i can do it myself?
-------------------- ![]() |
| FoxInTheBox |
Sep 2 2009, 07:11 AM
Post
#50
|
![]() Foxxy ![]() ![]() ![]() Group: Members Posts: 271 Joined: 10-July 09 Member No.: 52,383 |
If theres games up there should be a function That when ppl join the channel it says Games to join/Games up: cd44(+10) the games variable will be public so it will be easy to make a addon plugin that use the public variable and do what u want U mean i can do it myself? if you know how yes when 3.5 comes When it comes..? -------------------- ![]() |
| Call |
Sep 2 2009, 07:13 AM
Post
#51
|
|
Posting God ![]() ![]() ![]() ![]() ![]() Group: Beta Testers Posts: 1,423 Joined: 15-June 08 From: Denmark, Copenhagen Member No.: 38,127 |
If theres games up there should be a function That when ppl join the channel it says Games to join/Games up: cd44(+10) the games variable will be public so it will be easy to make a addon plugin that use the public variable and do what u want U mean i can do it myself? if you know how yes when 3.5 comes When it comes..? it will not be able before 2.7 because it's being coded in the new script engine -------------------- ![]() |
| Drizztt |
Sep 18 2009, 05:32 PM
Post
#52
|
|
Jr. Member ![]() ![]() Group: Members Posts: 34 Joined: 29-May 08 Member No.: 37,445 |
When connecting, mine whispers my Ghost, gets a return from it, displays incorrect game info (if ghost says no games, it says gn # is up 0/10; if ghost says a game, it says no games).
Then the script whispers Ghost AGAIN resulting in a disconnect for flooding. Solutions? When connecting, mine whispers my Ghost, gets a return from it, displays incorrect game info (if ghost says no games, it says gn # is up 0/10; if ghost says a game, it says no games). Then the script whispers Ghost AGAIN resulting in a disconnect for flooding. Solutions? Good news.. this doesn't happen anymore. But now, it doesn't even message (whisper OR friends) my ghost bot. So it keeps saying no games, and then it disconnects itself. |
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th June 2013 - 02:50 PM |