Jump to content




AI program


  • This topic is locked This topic is locked
58 replies to this topic

#21 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 06 February 2013 - 01:02 PM

View PostSkullblade, on 06 February 2013 - 12:53 PM, said:

View Posturielsalis, on 06 February 2013 - 12:45 PM, said:

If somebody want me to add a feature, post it here
Just downloaded it now...focus on fixing bugs before you add features...
bios:338: [string "ai"]:112: 'do' expected

EDIT: Fixed the do loop and got
bios:338: [string "ai"]:118: 'then' expected

EDITEDIT: Fixed the then and got
bios:338: [string "ai"]:140: unexpected symbol
error 1 and 2 are fixed but i dont found the 3, there it is looking for the answer in the table so maybe the unexpected symbol is in the table os user write it out.

get the lastest version and dont use cc-emu!! it throws errors that in minecraft didnt appear

#22 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:04 PM

View Posturielsalis, on 06 February 2013 - 01:02 PM, said:

View PostSkullblade, on 06 February 2013 - 12:53 PM, said:

View Posturielsalis, on 06 February 2013 - 12:45 PM, said:

If somebody want me to add a feature, post it here
Just downloaded it now...focus on fixing bugs before you add features...
bios:338: [string "ai"]:112: 'do' expected

EDIT: Fixed the do loop and got
bios:338: [string "ai"]:118: 'then' expected

EDITEDIT: Fixed the then and got
bios:338: [string "ai"]:140: unexpected symbol
error 1 and 2 are fixed but i dont found the 3, there it is looking for the answer in the table so maybe the unexpected symbol is in the table os user write it out.

get the lastest version and dont use cc-emu!! it throws errors that in minecraft didnt appear
im using normal minecraft.
EDIT: Downloaded new version got
bios:338: [string "ai"]:13: ')' expected (to close '(' at line 12)


#23 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:07 PM

View Posturielsalis, on 06 February 2013 - 01:02 PM, said:


View PostSkullblade, on 06 February 2013 - 12:53 PM, said:

View Posturielsalis, on 06 February 2013 - 12:45 PM, said:

If somebody want me to add a feature, post it here
Just downloaded it now...focus on fixing bugs before you add features...
bios:338: [string "ai"]:112: 'do' expected

EDIT: Fixed the do loop and got
bios:338: [string "ai"]:118: 'then' expected

EDITEDIT: Fixed the then and got
bios:338: [string "ai"]:140: unexpected symbol
error 1 and 2 are fixed but i dont found the 3, there it is looking for the answer in the table so maybe the unexpected symbol is in the table os user write it out.

get the lastest version and dont use cc-emu!! it throws errors that in minecraft didnt appear
im using normal minecraft.
EDIT: Downloaded new version got
bios:338: [string "ai"]:13: ')' expected (to close '(' at line 12)
fixed then got
bios:338: [string "ai"]:139: unexpected symbol
is string.upper() a function?

#24 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 06 February 2013 - 01:07 PM

View PostSkullblade, on 06 February 2013 - 01:04 PM, said:

View Posturielsalis, on 06 February 2013 - 01:02 PM, said:

View PostSkullblade, on 06 February 2013 - 12:53 PM, said:

View Posturielsalis, on 06 February 2013 - 12:45 PM, said:

If somebody want me to add a feature, post it here
Just downloaded it now...focus on fixing bugs before you add features...
bios:338: [string "ai"]:112: 'do' expected

EDIT: Fixed the do loop and got
bios:338: [string "ai"]:118: 'then' expected

EDITEDIT: Fixed the then and got
bios:338: [string "ai"]:140: unexpected symbol
error 1 and 2 are fixed but i dont found the 3, there it is looking for the answer in the table so maybe the unexpected symbol is in the table os user write it out.

get the lastest version and dont use cc-emu!! it throws errors that in minecraft didnt appear
im using normal minecraft.
now it have errors? try deleting [username] file, open the program and make a answer, type save and look if it throw it there before

#25 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 06 February 2013 - 01:10 PM

the first error was fixed before and the last is because YOU put something wrong on the table when t asked you what that means

#26 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:11 PM

View Posturielsalis, on 06 February 2013 - 01:07 PM, said:

-snip-
i tried this program on a new computer each time so there is no [username] file and i cant ever open the program. try testing your code on a new computer...

View Posturielsalis, on 06 February 2013 - 01:10 PM, said:

the first error was fixed before and the last is because YOU put something wrong on the table when t asked you what that means

Ok this is ridiculous i try to help you by posting bugs and you tell me that the error was fixed (no it wasn't unless pastebin magically lost the new version when i downloaded it) then you accuse me of entering something "incorrect" into a program that wont even start..... *face palm*

#27 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 06 February 2013 - 01:18 PM

I've never even gotten to try this correctly since it's just errors so the file does'nt run..
@Skullblade I feel ya bro <_<

#28 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:20 PM

View PostHellkid98, on 06 February 2013 - 01:18 PM, said:

I've never even gotten to try this correctly since it's just errors so the file does'nt run..
@Skullblade I feel ya bro <_<
I hope i don't sound like a ass hole since I'm really just trying to help...

Also this program was done a while ago...

#29 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 06 February 2013 - 01:21 PM

It say error at line 139
By the way.. The error is this as Iv'e read it
v = memory("remember", string.upper(d), "nil") then --Line 139
printai(v) --Line 140: Is This A function you have in the program?


#30 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:23 PM

View PostHellkid98, on 06 February 2013 - 01:21 PM, said:

It say error at line 139
By the way.. The error is this as Iv'e read it
v = memory("remember", string.upper(d), "nil") then --Line 139
printai(v) --Line 140: Is This A function you have in the program?
is string.upper() a function? i haven't come across it before? (might be my nooby-ness)

#31 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 06 February 2013 - 01:27 PM

View PostSkullblade, on 06 February 2013 - 01:20 PM, said:

View PostHellkid98, on 06 February 2013 - 01:18 PM, said:

I've never even gotten to try this correctly since it's just errors so the file does'nt run..
@Skullblade I feel ya bro <_<
I hope i don't sound like a ass hole since I'm really just trying to help...

Also this program was done a while ago...
@Skullblade
*asshole
No I atleast don't think you sound like one but I know the frustration when you not even can start the program that's posted.

@urielsalis have you've gotten any progress now?
Or is there something I can help with? I would be glad to just test this atleast..

@SkullBlade
I think it is..
Dont know what it does but i know what string.lower() does
write("Which Pizza Do You Like?")
input = string.lower(read()) --Makes It To Lowecase example:  Hello = hello
if input == "calzone" then -- Then here you could write cALzOnE and it would still be correct
print("Nice")
elseif input ~= "calzone" then
print("What?")
end


#32 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:31 PM

View PostHellkid98, on 06 February 2013 - 01:27 PM, said:

View PostSkullblade, on 06 February 2013 - 01:20 PM, said:

View PostHellkid98, on 06 February 2013 - 01:18 PM, said:

I've never even gotten to try this correctly since it's just errors so the file does'nt run..
@Skullblade I feel ya bro <_<
I hope i don't sound like a ass hole since I'm really just trying to help...

Also this program was done a while ago...
@Skullblade
*asshole
No I atleast don't think you sound like one but I know the frustration when you not even can start the program that's posted.

@urielsalis have you've gotten any progress now?
Or is there something I can help with? I would be glad to just test this atleast..
well your and asshole for correcting me!!!
:P

#33 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 06 February 2013 - 01:35 PM

im bugfixing give me a while!!!!!!!!

#34 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:37 PM

View Posturielsalis, on 06 February 2013 - 01:35 PM, said:

im bugfixing give me a while!!!!!!!!
ummmm???? what? why are u so angry?

#35 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 06 February 2013 - 01:39 PM

View PostSkullblade, on 06 February 2013 - 01:31 PM, said:

View PostHellkid98, on 06 February 2013 - 01:27 PM, said:

View PostSkullblade, on 06 February 2013 - 01:20 PM, said:

View PostHellkid98, on 06 February 2013 - 01:18 PM, said:

I've never even gotten to try this correctly since it's just errors so the file does'nt run..
@Skullblade I feel ya bro <_<
I hope i don't sound like a ass hole since I'm really just trying to help...

Also this program was done a while ago...
@Skullblade
*asshole
No I atleast don't think you sound like one but I know the frustration when you not even can start the program that's posted.

@urielsalis have you've gotten any progress now?
Or is there something I can help with? I would be glad to just test this atleast..
well your and asshole for correcting me!!!
:P
Sorry.. You know (ME = Grammar Nazi :P )

#36 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:40 PM

View PostHellkid98, on 06 February 2013 - 01:39 PM, said:

Sorry.. You know (ME = Grammar Nazi :P )
Lol :D i think its just funny :)

#37 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 06 February 2013 - 01:41 PM

View PostHellkid98, on 06 February 2013 - 01:21 PM, said:

It say error at line 139
By the way.. The error is this as Iv'e read it
v = memory("remember", string.upper(d), "nil") then --Line 139
printai(v) --Line 140: Is This A function you have in the program?
That's indeed incorrect, the 'then' should be removed at line 139. (Syntactically, I didn't really looked into the program logic)

And @Hellkid98: yes, string.upper(str) is a function. He could just do 'd:upper()' by the way.
Edit: obviously, there is a string.lower(str) as well...

#38 FuuuAInfiniteLoop(F.A.I.L)

  • Banned
  • 435 posts
  • LocationThe left part of this post

Posted 06 February 2013 - 01:47 PM

View PostOrwell, on 06 February 2013 - 01:41 PM, said:

View PostHellkid98, on 06 February 2013 - 01:21 PM, said:

It say error at line 139
By the way.. The error is this as Iv'e read it
v = memory("remember", string.upper(d), "nil") then --Line 139
printai(v) --Line 140: Is This A function you have in the program?
That's indeed incorrect, the 'then' should be removed at line 139. (Syntactically, I didn't really looked into the program logic)

And @Hellkid98: yes, string.upper(str) is a function. He could just do 'd:upper()' by the way.
Edit: obviously, there is a string.lower(str) as well...
i knnow im correcting all the bugs I saw and executing with all posible scenariosso wait me a while!

#39 Mikee251

  • Members
  • 73 posts

Posted 06 February 2013 - 01:48 PM

Hm, maybe you should do bug squashing before you release your programs, I can get kinda picky when it comes to mine. No sleep all testing!

#40 Skullblade

  • Members
  • 470 posts
  • LocationThe Big Apple, NY

Posted 06 February 2013 - 01:48 PM

View PostOrwell, on 06 February 2013 - 01:41 PM, said:

View PostHellkid98, on 06 February 2013 - 01:21 PM, said:

It say error at line 139
By the way.. The error is this as Iv'e read it
v = memory("remember", string.upper(d), "nil") then --Line 139
printai(v) --Line 140: Is This A function you have in the program?
That's indeed incorrect, the 'then' should be removed at line 139. (Syntactically, I didn't really looked into the program logic)

And @Hellkid98: yes, string.upper(str) is a function. He could just do 'd:upper()' by the way.
Edit: obviously, there is a string.lower(str) as well...
oooh string.upper is the opposite of string.lower() ive used that...cant believe that i missed the 'then' *face palm*





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users