D2jsp Meph Help

Krovvy

Retired Staff
Joined
Aug 16, 2002
Messages
3,425
Reaction score
0
Location
Mars
Help Me With D2JSP

Damn I got D2jsp and got the new Meph script(Highest ranked one) and Im getting a error on Line 65

/var spelllist=new Array();
spelllist.push(FROZENORB);
spelllist.push(BLIZZARD);
//spelllist.push(HYDRA);
//spelllist.push(BLIZZARD);
//spelllist.push(METEOR);
var maxattacks=60;
var AttackMinMana=20;

What should I change this to?
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
whats the error and what ahppens after the error ? i need more details to help you with your problem
 

Krovvy

Retired Staff
Joined
Aug 16, 2002
Messages
3,425
Reaction score
0
Location
Mars
Error Line 65 Spell list something... Does nothing after(Just Sits)
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
hmm .. i think about your prob but i need sum sleep now .. ill pm ya tomorrow
 

Krovvy

Retired Staff
Joined
Aug 16, 2002
Messages
3,425
Reaction score
0
Location
Mars
no no no ive waited 2 days(Question first asked in Undect Bot thread) , What does yours say where your spell list is.
 

bakaneko

Member!
Joined
Jul 26, 2003
Messages
101
Reaction score
0
Location
chitown
Website
Visit site
do you have blizzard? do you have a text editor so we can see where the error is exactly? this will help in figuring this out. if you dont have text editor that shows line numbers email the script with the error.
 

Krovvy

Retired Staff
Joined
Aug 16, 2002
Messages
3,425
Reaction score
0
Location
Mars
I Have Blizzard,
The Error happens when I join game, Says
Error Line 65 Spell list no spell list found type error(I think this is error msg)
 

bakaneko

Member!
Joined
Jul 26, 2003
Messages
101
Reaction score
0
Location
chitown
Website
Visit site
what file is that above? that error seems like that list isnt created. or if this is too much trouble; have you tried just recopying all the files for that script to d2jsp again? but if that dont work if i can get the name of that file i can look for it.
 

bakaneko

Member!
Joined
Jul 26, 2003
Messages
101
Reaction score
0
Location
chitown
Website
Visit site
sorry for double posting but did you alter this file in anyway?

cuz this is wrong:
/var spelllist=new Array();
spelllist.push(FROZENORB);
spelllist.push(BLIZZARD);
//spelllist.push(HYDRA);
//spelllist.push(BLIZZARD);
//spelllist.push(METEOR);
var maxattacks=60;
var AttackMinMana=20;

there is a / infront of var spelllist=new Array(); and well after that the script is trying to push those names onto this list. look above this if there is any other definition of spellist and if there isnt than that is the problem just get rid of that / and it should work i hope.

=D
 

Krovvy

Retired Staff
Joined
Aug 16, 2002
Messages
3,425
Reaction score
0
Location
Mars
Ill try... Ill edit this post when I get a result\

Changed it to

var spelllist=new Array();
spelllist.push(FROZENORB);
//spelllist.push(HYDRA);
//spelllist.push(BLIZZARD);
//spelllist.push(METEOR);
var maxattacks=60;
var AttackMinMana=15;
Still same
 

bakaneko

Member!
Joined
Jul 26, 2003
Messages
101
Reaction score
0
Location
chitown
Website
Visit site
hmmm... i dunno. i check that file and there is no way that this part of the code is anywhere near line 65. the last thing i can think of is to check your main bot script and see if that file is included. that part is very close to the top of the script; for marsbrandmeph it looks like this:

/*ææææææææææææææææææææææææææææ
Character Script Selection:
ææææææææææææææææææææææææææææ*/

print("loading MBM_libs.. credits Brand.X LordOfMars FruitBar HPB_Forever scavenger Mattlant Syadasti bluemind");

include("mbm/Sy_Constants.d2l");
include("MBM_Settings.d2l");
include("mbm/MBM_Include.d2l");
include("mbm/MBM_Sorc.d2l");
include("mbm/MBM_Logging.d2l");
// print("loading snagit libs by bluemind/HolyCoitus/HPB_Forever");
include("mbm/MBM_SnagIt.d2l");

if (UseMLPathing)
{
// print("Loading Mattlant's perfect pathing library..");
include("mbm/MBM_mlMap.d2l");
} else {
include("mbm/mlHeap.d2l");
}

Otherwise the best thing to do is to backup your log and snagit files; and delete and reinstall the d2jsp.
 

New threads

Top