Blizzhackers

Return of the Jedi

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


MuleFactory


It is currently Sun May 26, 2013 1:27 am


All times are UTC [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: trying to change something in baalhelper
PostPosted: Thu Nov 15, 2012 12:48 am 
 
User
User
User avatar

Joined: Thu Aug 04, 2005 1:12 am
Location: Australia
What i'm trying to do is have my zon idle until she gets the msg it's time to kill baal. I've been boneing up on my follower.js and while loops, but i'm still obviously doing something wrong cause it seems to be ignoring it altogether anyway.

This is my understanding of what should happen.

I added the var waitbaal. When it's time to go into the portal waitbaal is normally still true so it should idle there. When msg of 't2b' is received, waitbaal = false, move into chamber.

http://pastebin.com/225t3LXH

Any help is always appriciated

Top
 Profile  
 Post subject: Re: trying to change something in baalhelper
PostPosted: Thu Nov 15, 2012 5:59 am 
 
User
User
User avatar

Joined: Thu Aug 04, 2005 1:12 am
Location: Australia
After quite some time playing around today I came up with this: http://pastebin.com/W2SGNiu4

Still not working cause of a syntax error where the switch is so i cant even see what happens, butttt I feel like i'm getting warmer

Top
 Profile  
 Post subject: Re: trying to change something in baalhelper
PostPosted: Thu Nov 15, 2012 7:00 am 
 
User
User
User avatar

Joined: Thu Aug 04, 2005 1:12 am
Location: Australia
Okay, i've had a thought, i'm gonna change that switch to a if else statement, and use old command == command kinda thing like from folllower.js

ill probably post my 3rd attempt up later when i have a go

i'm gonna get this bitch working

Top
 Profile  
 Post subject: Re: trying to change something in baalhelper
PostPosted: Fri Nov 16, 2012 7:49 am 
 
User
User
User avatar

Joined: Thu Aug 04, 2005 1:12 am
Location: Australia
For anyone interested, I ended up using the waitforteam function from the classic cs bot posted by SmokinJoe1

After 2 days of reading javascripting tutorials and a lot of reading over koltons scripts, i'm embarrassed of the attempts I posted above.

I was trying to make it way more complicated then it needed to be too

And thats the end of my blog

Top
 Profile  
 Post subject: Re: trying to change something in baalhelper
PostPosted: Sat Nov 17, 2012 12:37 am 
 
User
User
User avatar

Joined: Mon Jun 14, 2010 9:06 pm
Location: usa
at least you got it working :) congrats! also, next time if you'd like more immediate scripting help hop on irc.synirc.net and visit the #d2bs channel

Top
 Profile  
 Post subject: Re: trying to change something in baalhelper
PostPosted: Sat Nov 17, 2012 3:25 am 
 
User
User
User avatar

Joined: Thu Aug 04, 2005 1:12 am
Location: Australia
Yeah i've been stopping past there a bit recently :)

Thanks! I'm actually glad I didn't get help on this, I have a much, much, much better understanding of how stuff works now then what I did 2 days ago :)

Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron