Blizzhackers

Home of the Dupe since 2001

* Login   * Register    * FAQ    * Search

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


It is currently Mon Feb 26, 2018 2:38 am


All times are UTC [ DST ]





Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 4:27 pm 
 
User
User

Joined: Mon Aug 24, 2009 5:19 pm
Image

The bot just creates the game then stands there doing nothing.
Doesnt greet players nor giving enchant or anything on commands.

Config.PublicMode = 1; // 1 = invite and accept, 2 = accept only, 3 = invite only, 0 = disable


In my Sorceress.CHARNAME i have:
Scripts.Enchant = true;
      Config.Enchant.Triggers = ["chant", "cows", "wps"]; // Chat commands for enchant, cow level and waypoint giving
      Config.Enchant.GetLeg = false; // Get Wirt's Leg from Tristram. If set to false, it will check for the leg in town.
      Config.Enchant.AutoChant = true; // Automatically enchant nearby players and their minions
      Config.Enchant.GameLength = 20; // Game length in minutes


And the entry script is the D2BotLead.
What is wrong? :( :(

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 5:45 pm 
 
D2BS Dev
D2BS Dev
User avatar

Joined: Sun Jun 22, 2008 7:00 pm
You need to set script UserAddon to false.

_________________
NipCheck -- An offline .nip checker
PhotoGrid Sharp -- An image collage maker with formatting features
d2bot# with kolbot -- For live support: irc://irc.synirc.net/d2bs

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 6:18 pm 
 
User
User

Joined: Mon Aug 24, 2009 5:19 pm
Yea i fiured it :P
How do i disable to wp giver in Enchant script?
So the bot wont give enchants? :D

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 7:36 pm 
 
D2BS Dev
D2BS Dev
User avatar

Joined: Sun Jun 22, 2008 7:00 pm
Remove the trigger "wps" from the config :)

_________________
NipCheck -- An offline .nip checker
PhotoGrid Sharp -- An image collage maker with formatting features
d2bot# with kolbot -- For live support: irc://irc.synirc.net/d2bs

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 8:20 pm 
 
User
User

Joined: Mon Aug 24, 2009 5:19 pm
From where? :P
I removed "wps" from char config, and now it comes up with this:

Image

Havent touched the enchant.js script only the char config

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 8:45 pm 
 
D2BS Dev
D2BS Dev
User avatar

Joined: Sun Jun 22, 2008 7:00 pm
From where? :P
I removed "wps" from char config, and now it comes up with this:

Image

Havent touched the enchant.js script only the char config


Looks like you would have to remove it from the enchant.js script, you can just change "wps" to some really long un-typable string to discourage usage.

_________________
NipCheck -- An offline .nip checker
PhotoGrid Sharp -- An image collage maker with formatting features
d2bot# with kolbot -- For live support: irc://irc.synirc.net/d2bs

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 8:49 pm 
 
User
User

Joined: Mon Aug 24, 2009 5:19 pm
Well, i tried it. Now when i say "help"
the buy says wps: kdi28dj2uhdH7sdh2

xD
No idea how to make the bot NOT say the wps command

say("Commands:");
            say("Remaining time: timeleft" +
                  (Config.Enchant.Triggers[0] ? " | Enhant: " + Config.Enchant.Triggers[0] : "") +
                  (Config.Enchant.Triggers[1] ? " | Open cow level: " + Config.Enchant.Triggers[1] : "") +
                  (Config.Enchant.Triggers[2] ? " | Give waypoints: " + Config.Enchant.Triggers[2] : ""));


I tried remove the entire line with the waypoint trigger, then script doesnt work.
Also just removed the "+ Config.Enchant.Triggers[2]" didnt work either :( Enchant script wont load if i do so.
It must work someone, theres another guy got it working xD

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 9:02 pm 
 
D2BS Dev
D2BS Dev
User avatar

Joined: Sun Jun 22, 2008 7:00 pm
Well, i tried it. Now when i say "help"
the buy says wps: kdi28dj2uhdH7sdh2

xD
No idea how to make the bot NOT say the wps command

say("Commands:");
            say("Remaining time: timeleft" +
                  (Config.Enchant.Triggers[0] ? " | Enhant: " + Config.Enchant.Triggers[0] : "") +
                  (Config.Enchant.Triggers[1] ? " | Open cow level: " + Config.Enchant.Triggers[1] : "") +
                  (Config.Enchant.Triggers[2] ? " | Give waypoints: " + Config.Enchant.Triggers[2] : ""));


I tried remove the entire line with the waypoint trigger, then script doesnt work.
Also just removed the "+ Config.Enchant.Triggers[2]" didnt work either :( Enchant script wont load if i do so.
It must work someone, theres another guy got it working xD


You have to edit the script if you want it to not say the command.
My point was, if the command is like 40 random characters, likely no one will try to use it.

If you want, you can add some functionality that checks if the string is empty "" in which case it will skip saying the trigger, and you can submit a pull request to the kolbot github so others can use.

_________________
NipCheck -- An offline .nip checker
PhotoGrid Sharp -- An image collage maker with formatting features
d2bot# with kolbot -- For live support: irc://irc.synirc.net/d2bs

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 9:08 pm 
 
User
User

Joined: Mon Aug 24, 2009 5:19 pm
Yea too hard for me i dont understand half of it xD
But i will try and request it as you said

Top
 Profile  
 Post subject: Re: Enchant bot wont load ?
PostPosted: Tue Jul 11, 2017 10:30 pm 
 
D2BS Dev
D2BS Dev
User avatar

Joined: Sun Jun 22, 2008 7:00 pm
Try setting it to empty string: ""

_________________
NipCheck -- An offline .nip checker
PhotoGrid Sharp -- An image collage maker with formatting features
d2bot# with kolbot -- For live support: irc://irc.synirc.net/d2bs

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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 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