Page 1 of 2

hi

Posted: Mon Feb 04, 2013 1:14 am
by hompy
hi
I better post this now before it stays in my dropbox forever

Every script I've written for pyspades

I thought some of these may be useful or interesting? and that it was kind of a jerk move to just have them tucked away in the dark. it's OK to do anything you want with them!

Re: hi

Posted: Mon Feb 04, 2013 1:29 am
by GreaseMonkey
Mind fixing your site so when I click on those things it doesn't replace your page with "true"? You can do those sorts of toggle popups using CSS styles ("position: absolute; visibility: hidden" for hidden, and "position: inline; visibility: visible" for visible).

Also it's nice to see that I contributed something useful to the community :)

But yeah, very nice stuff.

Re: hi

Posted: Mon Feb 04, 2013 1:30 am
by danhezee
Awesome,

Thanks for the scripts hompy.

I hope you find the inspiration to make many more in the future.

Re: hi

Posted: Mon Feb 04, 2013 12:45 pm
by rakiru
In a tags, if your href is javascript, you need to return false to stop the page from changing. None of the [+] links work for me because they just go to a page that says "true". :(

Nice to have a list of all of your scripts though. :D

Re: hi

Posted: Mon Feb 04, 2013 8:51 pm
by HoboHob
Just use chrome guys and it works.

But anyways, this is awesome.

Re: hi

Posted: Mon Feb 04, 2013 9:32 pm
by rakiru
HoboHob wrote:
Just use chrome guys and it works.

But anyways, this is awesome.
Yes, sure, I'll completely change the browser I'm using so some broken site will work properly. Thanks for the advice... <_< (Don't you dare say "You're welcome" or anything along those lines)

Re: hi

Posted: Mon Feb 04, 2013 9:46 pm
by Vucgy
Great scripts , simply Great Green_Wink1

Re: hi

Posted: Mon Feb 04, 2013 10:09 pm
by VladVP
Image
AWESOMENESS

This, dear mate, shalt never leave thy Dropbox. Ever... 'Ll just download all the shit in case...

Re: hi

Posted: Mon Feb 04, 2013 11:48 pm
by Fluttershy
rakiru wrote:
Yes, sure, I'll completely change the browser I'm using so some broken site will work properly. Thanks for the advice... <_< (Don't you dare say "You're welcome" or anything along those lines)
Image

Cue people raging at homps for not fixing shit/continuing certain things.

Re: hi

Posted: Tue Feb 05, 2013 4:53 am
by RPB
Hellos homps,

Is bot.py too unappealing to the eyes to be seen by the outside world, or just too unfinished? I would assume it uses a breath-first approach to path finding along with some simple local movement code for dealing with new obstructions or gunfights with players, so that it would only have to compute the fastest paths (say) once a minute per bot (since it would end up computing all the paths to the target point in question), and would be reasonable for a python server. Also, I recall the creep script being run on sham's little pony one time, does that one have some issues as well?

Also, yay for finding buildandshoot after taking a break from AoS for a few months!

Re: hi

Posted: Tue Feb 05, 2013 6:40 am
by MKU
Hompy, please update the Kraken script. Thanks babe. Green_Kiss

Re: hi

Posted: Tue Feb 05, 2013 9:15 am
by Prune
Very cool stuff hompy, now its our task to continue the script making tradition and invent new stuff to do. See you on the battlefield. Blue_Spade Green_Spade

Re: hi

Posted: Tue Feb 05, 2013 9:04 pm
by CraftDinur
dl'ed basically everything. thanks so much for this hompy :D

Re: hi

Posted: Wed Feb 06, 2013 5:47 pm
by hompy
Sorry, the toggly boxes should work in firefox now!
RPB wrote:
Is bot.py too unappealing to the eyes [...]
bot.py is just an interface to the core pathfinding module.

The bot branch in pyspades has the necessary files, but it's uncommented and unfinished. navigation_c.cpp first generates a navigation graph from a given map, then uses jump point search to plan out rough paths through the whole map. Cheap local obstacle avoidance is used along the way to account for everything else.

Okay, I decided I should put in links to bot.py and the other files in the html :) Last I recall I was moving the path queries to their own threads. They're very fast most of the time but you can't risk blocking the network update loop. The C code also reproducibly segfaults in linux.

Re: hi

Posted: Thu Feb 07, 2013 10:05 pm
by Buffet_of_Lies
Wow. Awesome. Your scripts are the best! And thanks for using my video, bro! Blue_Sunglasses1

Is the fixed MG script in there somewhere? I never got around to hosting it though I did add it to No Man's Land and tested it a bit.
EDIT: Oh wait, nevermind. I found it. Also, what is creep.py? The Blob? I love the illustration!