So during the time that the server was down, I decided to work a little on the script since the first version was really a test or "Proof of concept".
I had a chat with Diavolo1988(for those that will read the 3rd post), I don't have a full understanding of his position but he did change his opinion on the script when I explain it was not a spam bot and this was my way of justifying the gap for those using scripts to advertise and those that don't
I WANT TO MAKE THIS CLEAR:
It will never be a spam bot, I wasn't thinking when I typed it before.
[size=large]History[/size]
For those wondering why I decided to make this:
I know that there are other people using some form of a macro/mod/script to advertise their towns. This customized script for Herocraft was to even the playing field by introducing a script that was noob-friendly and simple to use in Herocraft with one button (literally). By having everyone access to this by placing it on the forum, was my idea that it would not give anyone else an advantage, since everyone is free to use it.
At first in my town of Hope's End, now known as New Hope. There were not a lot of people that wanted to advertise and we were slowly loosing people due to leaving or being inactive. So i came up with a script for me to just click every now and then, helped make up for the loss of people and wanted to share this experience by putting up a version that was simple.
[size=large]Version 2[/size]
-This version has alot of fixes and conditions to make it fair for everyone.
You will not be able to spam it but if you do, at least it wont be every second and even so.... you will be banned so no point in spamming it ( there is a cooldown anyway.)
Well i am proud to announce a better version, still not complete but a much better one.
The major changes to this version is:
This is the Stand-Alone client meaning that it doesn't need AHK to run it.
DOWNLOAD LINK (Version 2)
Pretty simple right? But remember no one is forcing you, you can just write out the message by hand or use a different tool.
I am thinking of suggestions to add.
Question ask me in-game or sent me a Private message.
[size=large]Autohot Key code[/size]
IF you still dont trust me, and to be safe here is the source code:
again you need to download AHK Autohot Key Installer to use this code, just copy the code given below and rename it anything but add .ahk at the end.
For their website:
Autohot Key Website
#IfWinActive, Minecraft
Gui, Font, S10 CDefault, Ariel
;Gui, Add, Edit, x40 y280 h30 w60
;Gui, Add, UpDown, vMyUpDown Range1-2, 1
Gui, Add, Text, x32 y15 w280 h40 +left, 1) Enter the message you wish it to type for you.
Gui, Add, Text, x32 y30 w280 h60 +left, 2) Press Go.
Gui, Add, Text, x32 y46 w280 h69 +left, 3) For the script to type the message press the
Gui, Add, Text, x45 y61 w280 h69 +left, Middle mouse button (Scroll wheel)
Gui, Add, Text, x32 y275 w300 h30 +left, Type the channel you usually are in below. Just leave out /ch.
Gui, Add, Edit, limit150 x32 y115 w270 h80 vText, Message goes here, if too long then limit will stop you.
Gui, Add, Edit, limit150 x32 y192 w270 h80 vText1, Second Message goes here
Gui, Add, Edit, x32 y315 w250 h30 vText2, Channel you want to go back too.
Gui, Add, Button, x72 y370 w190 h40 , GO
Hello:
Gui, Show, x313 y153 h430 w340, Minecraft_advertiser_Ver_2 By: Xpeterc1
Return
ButtonGO:
Gui, Submit
GuiControlGet, vText,, text
GuiControlGet, vText1,, text1
GuiControlGet, vText2,, text2
If ErrorLevel
{
MsgBox, 0, ERROR, You FOOL! you are trying to divide by ZERO!
}
MsgBox, 0, Ready & Please Read This, Now go back to minecraft and press your middle mouse button once, it will automatically go to RE and when you're done Ctrl+Q to exit program. THERE IS A 7 MINUTE COOLDOWN.
Back:
return
Mbutton::
setkeydelay 14
Send t /ch re {enter}
sleep 40
Send t %vText% {enter}
sleep 40
Send t %vText1% {enter}
Sleep 40
Send t /ch %Text2% {enter}
Sleep 420000
Goto, Back
^q::
ExitApp
I had a chat with Diavolo1988(for those that will read the 3rd post), I don't have a full understanding of his position but he did change his opinion on the script when I explain it was not a spam bot and this was my way of justifying the gap for those using scripts to advertise and those that don't
I WANT TO MAKE THIS CLEAR:
It will never be a spam bot, I wasn't thinking when I typed it before.
[size=large]History[/size]
For those wondering why I decided to make this:
I know that there are other people using some form of a macro/mod/script to advertise their towns. This customized script for Herocraft was to even the playing field by introducing a script that was noob-friendly and simple to use in Herocraft with one button (literally). By having everyone access to this by placing it on the forum, was my idea that it would not give anyone else an advantage, since everyone is free to use it.
At first in my town of Hope's End, now known as New Hope. There were not a lot of people that wanted to advertise and we were slowly loosing people due to leaving or being inactive. So i came up with a script for me to just click every now and then, helped make up for the loss of people and wanted to share this experience by putting up a version that was simple.
[size=large]Version 2[/size]
-This version has alot of fixes and conditions to make it fair for everyone.
You will not be able to spam it but if you do, at least it wont be every second and even so.... you will be banned so no point in spamming it ( there is a cooldown anyway.)
Well i am proud to announce a better version, still not complete but a much better one.
The major changes to this version is:
- The ability to use two lines of text.
- I added a 150 character limit to simulate how much you are able to type in the real Herochat chat bar.
- A COOLDOWN (7 mins)
- One button to rule them all. (middle scroll button)
- The automatic process of moving you back to a channel after you finish in RE.
- Only works when you are in the Minecraft window so it wont conflict with other things.
This is the Stand-Alone client meaning that it doesn't need AHK to run it.
DOWNLOAD LINK (Version 2)
Pretty simple right? But remember no one is forcing you, you can just write out the message by hand or use a different tool.
I am thinking of suggestions to add.
- I didn't add the break condition where you cant hold onto the button for too long but will add it later.
- Will be adding a status bar to tell how long you have till you can ad again.
- A file tab so you can do SAVE/SAVE AS and OPEN. saving of previous messages (will be saving into text file or notepad) but you will have to manually open it from the tap to prevent a certain abuse of the cool down.
- Choose if you want one or two lines to be used.
- A menu for Setting change, like hotkey that you want pressed instead of the default middle button, cool down (will never go below a certain time to prevent spam).
Question ask me in-game or sent me a Private message.
[size=large]Autohot Key code[/size]
IF you still dont trust me, and to be safe here is the source code:
again you need to download AHK Autohot Key Installer to use this code, just copy the code given below and rename it anything but add .ahk at the end.
For their website:
Autohot Key Website
#IfWinActive, Minecraft
Gui, Font, S10 CDefault, Ariel
;Gui, Add, Edit, x40 y280 h30 w60
;Gui, Add, UpDown, vMyUpDown Range1-2, 1
Gui, Add, Text, x32 y15 w280 h40 +left, 1) Enter the message you wish it to type for you.
Gui, Add, Text, x32 y30 w280 h60 +left, 2) Press Go.
Gui, Add, Text, x32 y46 w280 h69 +left, 3) For the script to type the message press the
Gui, Add, Text, x45 y61 w280 h69 +left, Middle mouse button (Scroll wheel)
Gui, Add, Text, x32 y275 w300 h30 +left, Type the channel you usually are in below. Just leave out /ch.
Gui, Add, Edit, limit150 x32 y115 w270 h80 vText, Message goes here, if too long then limit will stop you.
Gui, Add, Edit, limit150 x32 y192 w270 h80 vText1, Second Message goes here
Gui, Add, Edit, x32 y315 w250 h30 vText2, Channel you want to go back too.
Gui, Add, Button, x72 y370 w190 h40 , GO
Hello:
Gui, Show, x313 y153 h430 w340, Minecraft_advertiser_Ver_2 By: Xpeterc1
Return
ButtonGO:
Gui, Submit
GuiControlGet, vText,, text
GuiControlGet, vText1,, text1
GuiControlGet, vText2,, text2
If ErrorLevel
{
MsgBox, 0, ERROR, You FOOL! you are trying to divide by ZERO!
}
MsgBox, 0, Ready & Please Read This, Now go back to minecraft and press your middle mouse button once, it will automatically go to RE and when you're done Ctrl+Q to exit program. THERE IS A 7 MINUTE COOLDOWN.
Back:
return
Mbutton::
setkeydelay 14
Send t /ch re {enter}
sleep 40
Send t %vText% {enter}
sleep 40
Send t %vText1% {enter}
Sleep 40
Send t /ch %Text2% {enter}
Sleep 420000
Goto, Back
^q::
ExitApp