Designing My Own HON Bot ~Need a Little Push in the Right ->

Discuss how to write good code, break bad code, your current pet projects, or the best way to approach novel problems

Designing My Own HON Bot ~Need a Little Push in the Right ->

Post by cruisegirl713 on Sat Dec 18, 2010 2:08 am
([msg=50658]see Designing My Own HON Bot ~Need a Little Push in the Right ->[/msg])

Hello, so for past few days I was working on my own IRC Bot using the package Pircbot I found online. Pretty new to programming, and I was using Java for it.

However, my friend got me thinking of repurposing the Bot to be a ChatBot for Heroes of Newerth.

Basically, instead of IRC Chat bot, the bot would be an in-game admin in a guild. I'm not asking for someone to tell me what to do or anything, but google search on bots for HON turn up very limited information. What factors do I need to account for? How do I get a bot to log on to the HON account? The commands and stuff seem to be pretty similar to me, just need to account for server??? Not sure how but okay, and message, sender, etc. I have it set up with an ArrayList<BotCommands> which is a class i made myself.

I'm kind of rambling here, sorry. Not quite sure what I'm asking for, other than what exactly does it take to connect a Bot to a HON Account? Thanks.
cruisegirl713
New User
New User
 
Posts: 19
Joined: Thu Dec 16, 2010 12:03 am
Blog: View Blog (0)


Re: Designing My Own HON Bot ~Need a Little Push in the Right ->

Post by Goatboy on Sat Dec 18, 2010 4:25 am
([msg=50666]see Re: Designing My Own HON Bot ~Need a Little Push in the Right ->[/msg])

If you're serious about devoting the time to this, I'd first check the HoN service agreement to see if bots are allowed. It'd be a shame to get in trouble for something like this. Of course if you are a badass, you could always just do it and roll with whatever happens.

In terms of getting it running, you should know that interfacing with a game is a lot harder than running an IRC bot. IRC is a pretty well-known system, complete with RFC and tons of documentation. Good luck getting that with HoN.
Mundus Vult Decipi
User avatar
Goatboy
Expert
Expert
 
Posts: 2443
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Designing My Own HON Bot ~Need a Little Push in the Right ->

Post by cruisegirl713 on Sat Dec 18, 2010 10:29 am
([msg=50685]see Re: Designing My Own HON Bot ~Need a Little Push in the Right ->[/msg])

Hmm thanks, I'm pretty sure it's allowed because I've seen a few bots on HON but I guess you're right, I should check the Service of Agreements :) as long as the bot doesn't play any games though, I'm sure it's alright.

Thanks for the advice. I am thinking along the lines of first finishing the IRC Bot and considering the HON Bot to be my next project. However, I do want to get learning about it. I am a CS major and I have done nothing outside of the homework/projects given in class and it's about time I felt dis-satisfied with that. I am a 1.5 years into college and I still haven't programmed anything I felt I could be proud of. This is why I'm eager to jump to the hard stuff. Even if it takes a long time, at least I'm making progress on SOMETHING. Any further advice would be greatly appreciated! Still researching online but all I'm getting are those "game bots for farming" cheaters. I will check this topic periodically. Thanks again Goat :)
cruisegirl713
New User
New User
 
Posts: 19
Joined: Thu Dec 16, 2010 12:03 am
Blog: View Blog (0)


Re: Designing My Own HON Bot ~Need a Little Push in the Right ->

Post by thetan on Sat Dec 18, 2010 1:11 pm
([msg=50688]see Re: Designing My Own HON Bot ~Need a Little Push in the Right ->[/msg])

cruisegirl713 wrote:HI am a CS major and I have done nothing outside of the homework/projects given in class and it's about time I felt dis-satisfied with that. I am a 1.5 years into college and I still haven't programmed anything I felt I could be proud of. This is why I'm eager to jump to the hard stuff. Even if it takes a long time, at least I'm making progress on SOMETHING.

This makes me very happy to hear this coming from a college CS student. Discontent with your lack of out of curricular things to be proud of is both a sign of maturity and passion. Take this with a grain of salt as it comes from a college drop out who works full time as a software engineer in silicon valley.

It's a known fact, in silicon valley at least, that college education doesn't earn you respect. What earns you respect is creating cool things. Code created by you is more valuable then a piece of paper saying you sat in class for an extra 4 years. Interviews are _never_ done by HR, at least any of the ones i've been to, their always done by fellow software engineers or i've had i couple of dozen directly from CTOs and CEOs (mostly from trendy startups for contract positions, god damn the valley is fun like that).

That being said, i can't give you much advice on HON specifically. You might want to poke around with wire shark or crawl those cheat bot sheats you were talking about and only extracting the relevant parts.
"If art interprets our dreams, the computer executes them in the guise of programs!" - SICP

Image

“If at first, the idea is not absurd, then there is no hope for it” - Albert Einstein
User avatar
thetan
Contributor
Contributor
 
Posts: 653
Joined: Thu Dec 17, 2009 6:58 pm
Location: Various Bay Area Cities, California
Blog: View Blog (0)


Re: Designing My Own HON Bot ~Need a Little Push in the Right ->

Post by cruisegirl713 on Sun Dec 19, 2010 10:56 am
([msg=50765]see Re: Designing My Own HON Bot ~Need a Little Push in the Right ->[/msg])

Thanks for the encouragement, it's certainly made me feel better about tackling such a project. That's a good idea to extract the interfacing part from one of those cheat bots, however I don't think any of those will be in HON seeing as how there is no point to "farming" HON as it is specifically player-vs-player. But maybe S2 can be like Blizzard and have some sort of publicly released AI Script I can take a look at. Thanks for that :)

-- Sun Dec 19, 2010 10:56 am --

Thanks for the encouragement, it's certainly made me feel better about tackling such a project. That's a good idea to extract the interfacing part from one of those cheat bots, however I don't think any of those will be in HON seeing as how there is no point to "farming" HON as it is specifically player-vs-player. But maybe S2 can be like Blizzard and have some sort of publicly released AI Script I can take a look at. Thanks for that :)
cruisegirl713
New User
New User
 
Posts: 19
Joined: Thu Dec 16, 2010 12:03 am
Blog: View Blog (0)


Re: Designing My Own HON Bot ~Need a Little Push in the Right ->

Post by nathandelane on Mon Dec 20, 2010 10:54 am
([msg=50847]see Re: Designing My Own HON Bot ~Need a Little Push in the Right ->[/msg])

Hi cruisegirl713 -

looking around the Internet I stumbled across this project for Heroes of Newerth Chat Plus. Looking at the files it appears as though each OS has its own source branch. The source is C++-based, with a few statically compiled libraries. Not having played Heroes of Newerth or looked deeply into what the cheat bots do, I'd bet this might be something to take a look at. I'm looking at it right now to see if it'd help me to do what you're trying to do. And good luck. I think your project idea is great!

This might give you some ideas too: http://sourceforge.net/search/?q=hon&q=newerth
Me, Nathandelane, Highly influential to Hackerdom, Premature Optimization=http://c2.com/cgi/wiki?PrematureOptimization
User avatar
nathandelane
Poster
Poster
 
Posts: 204
Joined: Thu Jun 26, 2008 11:26 am
Location: Utah
Blog: View Blog (0)



Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests