So you want to edit your JED 2 script?

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
(might want to sticky this)

(this only covers JED 2.0 scripts)

I see so many people who want to know how to edit their pindle scripts to do pindle only, or to change spells. this is going to go over all of that, and only that. if you cant figure out how to use this bot in the first place, please stop reading...now.

OK lets get started. In the JED folder you'll see a folder called javascripts, open it and youll find a bunch of scripts. im going to assume that your using a sorc (it really doesent matter this'll be the same for all the scripts pretty much) open up the script you want to edit in notepad, ill use the script AA_pindlesorc for this.

when you open it at the top you'll see this:
// =====================================================================
// Configurable Sorceress Pindle Script with Randomization
var version = "0.93a RC2";
// Last Updated: 8:17 AM 1/4/2003
// Designed for JED
// Author: Avarice and Aennor

#include<include/gold.jed>
#include<include/pickit.jed>
#include<include/npcs.jed>
#include<include/getbody.jed>
#include<include/items.jed>
#include<include/moves.jed>
#include<include/enchantments.jed>
#include<include/SmartSleep.jed>
#include<include/colorlog.jed>

Print(CBrown + "Loading settings for " + COrange + Player.Name + CBrown + ".");

// Do not change these
var defenses = new Array();
var defensestotal = 0;
var skipthese = new Array();
var skiptotal = 0;
var eldritch_attack_seq = new Array();
var eldritchattacktotal = 0;
var shenk_attack_seq = new Array();
var shenkattacktotal = 0;
var pindle_attack_seq = new Array();
var pindleattacktotal = 0;
var zombie_attack_seq = new Array();
var zombieattacktotal = 0;

^ignore this this isint what you need to edit.

right under that youll see this:
////////////////////////////////////////////////////////////////////////
/// Configurable Parameters ///
////////////////////////////////////////////////////////////////////////
/// heal_life - Anything below this will go to Malah for healing ///
/// heal_mana - Anything below this will go to Malah for healing ///
/// rest_mana - After fighting Eldritch or Shenk you will regen ///
/// your mana to this number before continuing to make ///
/// sure you have enough for teleporting ///
/// health_chicken - If you have less life than this you will either///
/// use a potion if you have one, or if not exit ///
/// mana_check - If this is set to true you will use a potion or ///
/// exit if your mana falls below mana_chicken ///
/// mana_chicken - If you have less mana than this you will either ///
/// use a potion if you have one, or if not exit ///
/// UseEnchantments - If this is set to true you will check the ///
/// enchantments on a monster before fighting and ///
/// decide whether or not to skip them ///
/// skipthese - This is the array of enchantments to skip over ///
/// Example: var skipthese( ///
/// new enchantment("Stone Skin", 0), ///
/// new enchantment("Lightning Enchanted", 0) ///
/// ); ///
/// EnchantmentsShow - Set this to true if you want the monsters ///
/// enchantments printed to the screen ///
/// PindleAttack - This is the attack sequence to use when ///
/// fighting Pindle ///
/// Example: ///
/// PindleAttack("skill name", repetitions, optimum range, delay), ///
/// PindleAttack("Nova", 5, 10, 400) ///
/// ///
/// pindle_repeat_after - Set this to the number of the attack ///
/// seq to repeat after until Pindle is dead ///
/// eldritch_attack_seq - This is the attack sequence to use when ///
/// fighting Eldritch ///
/// Example: See pindle_attack_seq ///
/// eldritch_repeat_after - Set this to the number of the attack ///
/// seq to repeat after until Eldritch is dead///
/// shenk_attack_seq - This is the attack sequence to use when ///
/// fighting Shenk ///
/// Example: See pindle_attack_seq ///
/// shenk_repeat_after - Set this to the number of the attack ///
/// seq to repeat after until Shenk is dead ///
/// zombie_attack_seq - This is the attack sequence to use when ///
/// fighting the zombies in Pindle's courtyard ///
/// Example: See pindle_attack_seq ///
/// reposition - Set this to true if you want to ensure you are ///
/// close enough to hit the monster with your attacks ///
/// use_merc - Set this to true if you want to have your merc w/you ///
/// merc_heal - Use potions on merc ///
/// merc_chicken - If the merc has less life than this you will try///
/// to drop a potion on him/her ///
/// potionType - Set this to the full name of the type of potion you///
/// want to fill your belt with if they drop ///
/// repair_level - Set this to a decimal value 0 - 1 to set the ///
/// percentage of durability at which you will repair///
/// Example: var repair_level = .3 ///
/// This means you'd repair items that have <30% durability ///
/// doEldritchRun - Set this to true to kill Eldritch ///
/// doShenkRun - Set this to true to kill Shenk ///
/// doPindleRun - Set this to true to kill Pindle ///
/// doZombieRun - Set this to true to kill the Pindle courtyard ///
////////////////////////////////////////////////////////////////////////

these are very detailed instructions on how to edit the script. they are very good and will tell you anything you dont understand (most people cant work the bot because they didnt bother to read the damn README!)

REMEMBER: true/1 = yes, false/0 =no

ok right under that is the good stuff, the editable stuff, the fun stuff.

var heal_life = 800;
var heal_mana = 700;
var rest_mana = 5;
var health_chicken = 225;
var mana_check = true;
var mana_chicken = 5;
var UseEnchantments = false;
var EnchantmentsShow = true;

SkipEnchantment("Conviction", 1);
SkipEnchantment("Fanaticism", 1);
SkipEnchantment("Lightning Enhanced", 1);

this sets it so you heal at malah when you enter a game with less then 800 life, and 700 mana. you will chicken the run with under 5 mana and 225 life. (mana check would use a mana potion) then it tells you weather you want to use enchantments, if there a bad enchantment, IE lightning enchanted, it will skip the run, this part of the example script is NOT using the enchantments.


DefensiveSpell("Frozen Armor", 1, 0, 700);
DefensiveSpell("Thunder Storm", 1, 0, 700);

EldritchAttack("Static Field", 2, 10, 500);
EldritchAttack("Nova", 2, 10, 500);
var eldritch_repeat_after = 1;

ShenkAttack("Static Field", 2, 10, 500);
ShenkAttack("Nova", 8, 10, 500);
ShenkAttack("Static Field", 3, 10, 500);
ShenkAttack("Nova", 2, 10, 500);
var shenk_repeat_after = 2;

PindleAttack("Frozen Orb", 2, 10, 750);
PindleAttack("Static Field", 2, 10, 500);
PindleAttack("Frozen Orb", 1, 10, 750);
PindleAttack("Nova", 2, 10, 500);
var pindle_repeat_after = 2;

ZombAttack("Nova", 2, 10, 500);

these are your spells, if you want to change a spell go here to get the correct formatting of the name of it http://jed.diabloworld.com/mpq.htm ok if you only want to do pindle then only edit the PindleAttack spells and defensive spells. if you have no defensive spells then remove that part of the script. (IF YOU DONT HAVE A DEFENSIVE SKILL THAT IS ON THE SCRIPT YOU WILL GET CONNECTION INTURRUPTED UPON ENTERING RED PORTAL) ok was that easy enough? probably not but if you dont get it read that box with the ///'s around it itll explain it.

var reposition = true;
var use_merc = true;
var merc_heal = true;
var merc_chicken = 50;
var potionType = "Full Rejuv Potion";
var repair_level = .3;

reposition helps the bot position you to optimum killing range.
use merc is weather you want to have a merc or not (set to false if you dont want one) if you want to heal your merc with a potion from your belt then its true. the number below it tells the bot when to use a potion for hte mercinary.
var potionType = "Full Rejuv Potion"; tells the bot that if there is space in the belt it should pick up any full rejuvis. the next is repair level (buggy doesent repair)

var doEldritchRun = false;
var doShenkRun = false;
var doPindleRun = true;
var doZombieRun = false;

that makes it only do pindle, which is what everyone wants.

thats the end of editable things, unless your a good scripter, in which case you wouldent be reading this.

you need lightning resist to do pindle, it helps. I recomend using an act one merc with skullders shako and a cruel bow, so it gets lightning arrow. I use tals armor, belt, and ammy (good resistances, and +skills) and occy, rhyme sheild, and shako. war travs, chance guards, and 2x occy rings. lots of MF and life charms. I never die. i do get levels from pindle. post questions/comments/corrections (hey its 4 AM i might have messed up) below.
 

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
I ran out of space so im going to post the finished stuff so you can see what it should look like.

// =====================================================================
// Configurable Sorceress Pindle Script with Randomization
var version = "0.93a RC2";
// Last Updated: 8:17 AM 1/4/2003
// Designed for JED
// Author: Avarice and Aennor

#include<include/gold.jed>
#include<include/pickit.jed>
#include<include/npcs.jed>
#include<include/getbody.jed>
#include<include/items.jed>
#include<include/moves.jed>
#include<include/enchantments.jed>
#include<include/SmartSleep.jed>
#include<include/colorlog.jed>

Print(CBrown + "Loading settings for " + COrange + Player.Name + CBrown + ".");

// Do not change these
var defenses = new Array();
var defensestotal = 0;
var skipthese = new Array();
var skiptotal = 0;
var eldritch_attack_seq = new Array();
var eldritchattacktotal = 0;
var shenk_attack_seq = new Array();
var shenkattacktotal = 0;
var pindle_attack_seq = new Array();
var pindleattacktotal = 0;
var zombie_attack_seq = new Array();
var zombieattacktotal = 0;

////////////////////////////////////////////////////////////////////////
/// Configurable Parameters ///
////////////////////////////////////////////////////////////////////////
/// heal_life - Anything below this will go to Malah for healing ///
/// heal_mana - Anything below this will go to Malah for healing ///
/// rest_mana - After fighting Eldritch or Shenk you will regen ///
/// your mana to this number before continuing to make ///
/// sure you have enough for teleporting ///
/// health_chicken - If you have less life than this you will either///
/// use a potion if you have one, or if not exit ///
/// mana_check - If this is set to true you will use a potion or ///
/// exit if your mana falls below mana_chicken ///
/// mana_chicken - If you have less mana than this you will either ///
/// use a potion if you have one, or if not exit ///
/// UseEnchantments - If this is set to true you will check the ///
/// enchantments on a monster before fighting and ///
/// decide whether or not to skip them ///
/// skipthese - This is the array of enchantments to skip over ///
/// Example: var skipthese( ///
/// new enchantment("Stone Skin", 0), ///
/// new enchantment("Lightning Enchanted", 0) ///
/// ); ///
/// EnchantmentsShow - Set this to true if you want the monsters ///
/// enchantments printed to the screen ///
/// PindleAttack - This is the attack sequence to use when ///
/// fighting Pindle ///
/// Example: ///
/// PindleAttack("skill name", repetitions, optimum range, delay), ///
/// PindleAttack("Nova", 5, 10, 400) ///
/// ///
/// pindle_repeat_after - Set this to the number of the attack ///
/// seq to repeat after until Pindle is dead ///
/// eldritch_attack_seq - This is the attack sequence to use when ///
/// fighting Eldritch ///
/// Example: See pindle_attack_seq ///
/// eldritch_repeat_after - Set this to the number of the attack ///
/// seq to repeat after until Eldritch is dead///
/// shenk_attack_seq - This is the attack sequence to use when ///
/// fighting Shenk ///
/// Example: See pindle_attack_seq ///
/// shenk_repeat_after - Set this to the number of the attack ///
/// seq to repeat after until Shenk is dead ///
/// zombie_attack_seq - This is the attack sequence to use when ///
/// fighting the zombies in Pindle's courtyard ///
/// Example: See pindle_attack_seq ///
/// reposition - Set this to true if you want to ensure you are ///
/// close enough to hit the monster with your attacks ///
/// use_merc - Set this to true if you want to have your merc w/you ///
/// merc_heal - Use potions on merc ///
/// merc_chicken - If the merc has less life than this you will try///
/// to drop a potion on him/her ///
/// potionType - Set this to the full name of the type of potion you///
/// want to fill your belt with if they drop ///
/// repair_level - Set this to a decimal value 0 - 1 to set the ///
/// percentage of durability at which you will repair///
/// Example: var repair_level = .3 ///
/// This means you'd repair items that have <30% durability ///
/// doEldritchRun - Set this to true to kill Eldritch ///
/// doShenkRun - Set this to true to kill Shenk ///
/// doPindleRun - Set this to true to kill Pindle ///
/// doZombieRun - Set this to true to kill the Pindle courtyard ///
////////////////////////////////////////////////////////////////////////

var heal_life = 800;
var heal_mana = 700;
var rest_mana = 5;
var health_chicken = 225;
var mana_check = true;
var mana_chicken = 5;
var UseEnchantments = false;
var EnchantmentsShow = true;

SkipEnchantment("Conviction", 1);
SkipEnchantment("Fanaticism", 1);
SkipEnchantment("Lightning Enhanced", 1);

DefensiveSpell("Frozen Armor", 1, 0, 700);
DefensiveSpell("Thunder Storm", 1, 0, 700);

EldritchAttack("Static Field", 2, 10, 500);
EldritchAttack("Nova", 2, 10, 500);
var eldritch_repeat_after = 1;

ShenkAttack("Static Field", 2, 10, 500);
ShenkAttack("Nova", 8, 10, 500);
ShenkAttack("Static Field", 3, 10, 500);
ShenkAttack("Nova", 2, 10, 500);
var shenk_repeat_after = 2;

PindleAttack("Frozen Orb", 2, 10, 750);
PindleAttack("Static Field", 2, 10, 500);
PindleAttack("Frozen Orb", 1, 10, 750);
PindleAttack("Nova", 2, 10, 500);
var pindle_repeat_after = 2;

ZombAttack("Nova", 2, 10, 500);

var reposition = true;
var use_merc = true;
var merc_heal = true;
var merc_chicken = 50;
var potionType = "Full Rejuv Potion";
var repair_level = .3;

var doEldritchRun = false;
var doShenkRun = false;
var doPindleRun = true;
var doZombieRun = false;

this isint the whole script, only the top part, it should look somthing like this.
 

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
EDITING PICKIT YOURSELF

Ok, now youve gotten the scipt done, and you want to edit pickit without having to use mypickit online. easy.

go to the jed folder, open the javascripts folder, then open the include folder, then the item filters folder and youll see a file called pickit-items, open it in notepad.

youll see stuff that looks like this:
// Unique Grim Helm
PickitItem("xh9", "Vampire Gaze", 2, "UNIQUE", 1, 0, 2, 1);
the first number is weather you want it to pick it up or not
1= yes 0=no
the second number is if it has sockets or not
0=any number (should always be this)
1-6 represent the number of sockets it should have
(this option is so if you wanted to you could tell the bot to pick up a 6 socket hydra bow)
the next number tells you if the item is etheral or not.
0=no, 1=yes, 2= either way
the last number is weather you want the drop logged
0=no 1=yes

there ya go. easy as that. happy JED'ing.
 
Joined
Jan 23, 2003
Messages
1,723
Reaction score
0
Location
Monterey, Cali
Website
www.cold-xero.com
hey whippy can you tell me how to change the create time game length because when i make a game a lot it says waiting to make game and constantly it cancels the game and makes another because it doesnt want to wait that long, but it only ends up taking longer.
i know that there is a file i can edit and i need to increase my creategame time so it will stop quiting.
do you think you can help me?
 

merlin555

Member!
Joined
Jan 30, 2003
Messages
19
Reaction score
0
Website
Visit site
It makes a game, kills pindle. Than it quits out, is about to type a new game, and just exits D2 in all. Than it doesn't make a new game. Help!!! In frustration i tried to dl the jsp bot, and i cant get that to work either. I try to run it and it gets the same error jokester got, but i still dont get how to fix it. Please I really need some help here. Please help whippy.
 

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
maybe you have it set to only run one game... check under account settings and uncheck enable game limits if its checked.
 

merlin555

Member!
Joined
Jan 30, 2003
Messages
19
Reaction score
0
Website
Visit site
wow I AM DUMB. I checked that box thinkin it would limit each games length. Doh. Thanks a bunch man, i feel like a retard now. I am sure I will ask you some more questions after a night a newb botting. Gimme a week and ill be a vet, =).
 

merlin555

Member!
Joined
Jan 30, 2003
Messages
19
Reaction score
0
Website
Visit site
hey got a q... again. Can u do weapon switch? I have a gull dagger and rhyme shield on switch, and an occy and ss on normal. If i cant switch should i just let it try and bot with gull and rhyme?
 

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
what other items do you use (including charms) because if they have good resists and stuff you might be able to do runs with gull and rhyme.
 

merlin555

Member!
Joined
Jan 30, 2003
Messages
19
Reaction score
0
Website
Visit site
I use occy, nagels, skuilders with p topaz, shako with p topaz, than some shitty mf boots and perfect chancies. My charms aren't good, but i keep a 14 res all xtra gold charm in there. And there is prob a few xtra mods on some, but not noticeable.
Also how to you set chicken in jed?
 

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
hmmm, run the bot in hell for awhile using SS and occy till you find tals armor or somthing. try to get the ammy/belt once you have the armor and use those (you get a 65% mf bonus from it with those 3 items) then once your using the stuff from tals use the gull and rhyme you should be fine.

(1000 post, throw me a party)
 

merlin555

Member!
Joined
Jan 30, 2003
Messages
19
Reaction score
0
Website
Visit site
thanks
*throws party for 1000th post*
So my last q... i hope, is does it automatically put stuff in chest? And how about those filters? Is all there is in itemfilters it? IS there something im missing in there, cause i dont see uniques in detail.
 

IconOfAndor

Member!
Joined
Jan 28, 2003
Messages
35
Reaction score
0
Location
stanhood
Website
www.geocities.com
hey whippy i dont know what happens i followed the indepth readme for the jed one, the one your explaining, only probs i have are that it goes to the merc guy trys to buy him but i dont have enuf money so it says merc error then its sets this thing that says money pickup 250 and higher, then it goes through the red portal and i get in move bout 2 steps and it says connection intteruppted. Any clues on whats happening? if you have msn messenger or somthing my email is Jesse_war629@hotmail.com.
Ty for the help.
 

IconOfAndor

Member!
Joined
Jan 28, 2003
Messages
35
Reaction score
0
Location
stanhood
Website
www.geocities.com
srry whippy im the noob that doesnt read your whole post becasue i think i got it down, i prolly have a defesence spell in script i sent you a instant mssg to sryr bout that i just want my pindle to work, ill got mess with that stuff now. ty
Jesse
 

Misterwhippy

Member!
Joined
Nov 13, 2002
Messages
2,774
Reaction score
0
Location
Virginia
yeah, if you dont have enough gold, itll say like "ERROR: mercenary could not be resurrected" or somthing like that, its nothing bad. and it sets up gold pickup to 250 because anything under that is a waste of time. and you probably are trying to cast a spell you dont have.
 

drukawski

Member
Joined
Feb 7, 2003
Messages
13
Reaction score
0
Website
Visit site
Jed

Yeah I have a quick question, I get the whole scripting and everything but what if I dont want to use spells to fight pindel, and want to just fight swinging my axe like usual. Do you know the script tag or how to change the ones in Jed to something like that?
 

NewPosts

New threads

Top