Cow bot prob

traitors

Member!
Joined
Aug 30, 2003
Messages
345
Reaction score
0
Location
lala land
Website
Visit site
ok heres my prob

ERROR:line 270:error:RefforanceError:0 settings is not defined

Script error
[C:\WINDOWS\PROFILE\\JUSTIN\DESKTOP\COWBOT\
scripts\bots\/frycowbot.d2j][20570b21085b]
 

Stryder

BattleForums Senior Member
Joined
Sep 14, 2003
Messages
2,463
Reaction score
0
Q: I'm getting a ton of script errors!
A: Try putting delay(5000); at the top of your default.d2j file. If you've got a slow computer d2jsp gets confused when it tries to open a bunch of scripts.
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
\bots\/frycowbot.d2j \bots\/frycowbot.d2j \bots\/frycowbot.d2j \bots\/frycowbot.d2j \bots\/frycowbot.d2j


look at the line and tell me that you arent blind , dude theres a / that shouldnt be there .. remove it and post what it says next :rolleyes
 

traitors

Member!
Joined
Aug 30, 2003
Messages
345
Reaction score
0
Location
lala land
Website
Visit site
or
ERROR:line 270:error:RefforanceError:0 settings is not defined

Script error
[C:\WINDOWS\PROFILE\\JUSTIN\DESKTOP\COWBOT\
scripts\bots\/frycowbot.d2j][20570b21085b]
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
post your default.d2j file here ... i need more information
 

traitors

Member!
Joined
Aug 30, 2003
Messages
345
Reaction score
0
Location
lala land
Website
Visit site
ok

/*
default.d2j, modify the values below to suit your needs.

lines starting with // are comments and are ignored by d2jsp.

the setting "case "pwnbot":" is the name of your character you
want to load a script for. it is the exact name contained in the quotes
CaPs DO matter.

If you don't completely understand how to edit this as for help
on the forum.

*/
delay(5000);

function main() {
switch(me.name) {


case "pwnbot":
load("pwndefault.d2j");



break;
case "GrImS_MaGiCSoRc":
load("bots/fryCowBot.d2j");



break;
case "2":
load("bots/fryCowBot.d2j");



break;
case "3":
load("bots/fryCowBot.d2j");



break;
case "4":
load("bots/fryCowBot.d2j");



break;
case "5":
load("bots/fryCowBot.d2j");


break;
}
}
 

_CM

Respected Member
Joined
May 19, 2003
Messages
3,874
Reaction score
3
Location
Luxembourg
Code:
function main() {
   switch(me.name) {
  
		case "pwnbot":
			load("pwndefault.d2j");

         
			break;
		case "GrImS_MaGiCSoRc":
			load("bots/fryCowBot.d2j");

         
			break;
}
}
copy it into ur default.d2j and save it ... is you chars name really GrImS_MaGiCSoRc or did you make a spelling mistake ?
 

traitors

Member!
Joined
Aug 30, 2003
Messages
345
Reaction score
0
Location
lala land
Website
Visit site
i tryed but i got this error


ERROR:line 270:error:RefforanceError:0 settings is not defined

Script error
[C:\WINDOWS\PROFILE\\JUSTIN\DESKTOP\COWBOT\
scripts\bots\/frycowbot.d2j][20570b21085b]


so yea and if its in a norm bot folder it says "script does not exist"
 

traitors

Member!
Joined
Aug 30, 2003
Messages
345
Reaction score
0
Location
lala land
Website
Visit site
ok being the supeer geneiuse that i am at the age of 13 i have fixed it but now i have a new pron this pops up when its in the game

loading configuration file:settings/mychar/-cowbot.ini
Failed to open settings/my char-cowbot.ini for reading.stopping

oh if u wanna now what i did i del all the normal d2jsp files and replaced them with the fry cow bot 1nes eg opened scripts del everythink replaced with cow bot folders bot,libs,settings,tool
folders that might help u other ppl
 

OneShot

Member!
Joined
Jan 15, 2003
Messages
54
Reaction score
0
Location
Aussie
Website
Visit site
ddfqwf

loading configuration file:settings/mychar/-cowbot.ini
Failed to open settings/my char-cowbot.ini for reading.stopping

change the '-cowbot.ini' file to

'(yourcharname)-cowbot.ini'

btw i am also 13
 

Stryder

BattleForums Senior Member
Joined
Sep 14, 2003
Messages
2,463
Reaction score
0
you know they made a edit button for a reason, dont triple post nxt time
 

New threads

Top