Author Topic: Damn AI is unrealiable.  (Read 1725 times)

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Damn AI is unrealiable.
« on: January 10, 2011, 03:05:42 PM »
Occasionally AI lines dont work for no reason whatsoever, even if they're copy and pasted. Like this one:    list.append(("Derek","SZSpinner",{'nose':math.pi,'radius':0.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(22,23,24,25)}))
 
Its stopping me working on Realism AI, after a while these AI lines suddenly start working for no reason which is slowing me down, although some never start working, whats wrong with my game?

Offline Scorpion

  • Giga Heavyweight
  • Posts: 5431
  • Rep: 2
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #1 on: January 10, 2011, 03:07:36 PM »
Just recheck them all, you may have just left an extra space in or something if you're copy/pasting them.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #2 on: January 10, 2011, 03:09:40 PM »
Its not them all crashing, only newer ones, I had the same problem with another bot, I posted a thread and everyone was like "Wut?" Then a couple of hours later it started working for no reason at all.

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #3 on: January 10, 2011, 03:13:19 PM »
If you send me the bot + Bindings and it works on my PC, its the game.

If not, its the bot.

Simples *squeak*
I do those awful YouTube videos.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #4 on: January 10, 2011, 03:15:54 PM »
Most of my bots use Custom parts, and yes they do work, they've been tested in the botlab. Also, stop trying to get me to send you realism AI, let you make UI, etc. Its extremely annoying and It wont happen.

Offline SteveM4

  • Ultra Heavyweight
  • Posts: 2323
  • Rep: 2
  • Obviously dangerous.
    • https://www.youtube.com/c
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #5 on: January 10, 2011, 03:18:05 PM »
I am not trying to scam you into sending me the AI.

I am offering you some help that's all, jeez.

:mad:
I do those awful YouTube videos.

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Damn AI is unrealiable.
« Reply #6 on: January 10, 2011, 03:46:51 PM »
SZSpinner does not work, there is no reason to use it unless you can improve it or I manage to fix it.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #7 on: January 11, 2011, 10:35:12 AM »
Could you fix it? :D

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Damn AI is unrealiable.
« Reply #8 on: January 11, 2011, 10:53:10 AM »
Could you fix it? :D

Not unless I kick my ass and feel like finding a solution. For now, I probably have better things to do.

Offline JoeBlo

Re: Damn AI is unrealiable.
« Reply #9 on: January 11, 2011, 09:36:15 PM »
Could you fix it? :D

why do you need spinners to use SZ's ?

omni with range would work the same way..

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Damn AI is unrealiable.
« Reply #10 on: January 13, 2011, 12:30:33 AM »
<shameless plug> The updated EcoOmni.py in the (just released a couple hours ago) DSL BBEANS AI can use smart zones for spinners.  Just put 'UseSpinZone':1 in Bindings. </shameless plug>


Most spinners are better off without a smart zone, but there are certain bots, mostly bouncy VS's, that can benefit from one.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #11 on: January 13, 2011, 12:50:57 AM »
I should try to learn how to AI sometime. From my minimal knowledge it looks like it would be eco.
« Last Edit: January 13, 2011, 01:37:33 AM by Sypher878 »

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #12 on: January 13, 2011, 01:18:16 AM »
Piss off sparkey, I'm not realeasing it to people who keep asking me, I'll release it when its finished.

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #13 on: January 13, 2011, 01:20:28 AM »
I just don't see why you need to be so rude to kingmush

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Damn AI is unrealiable.
« Reply #14 on: January 13, 2011, 01:21:33 AM »
Back on topic... I also reported sparkey for being yet again an idiot in technical support.

You said EcoOmni can use smartzones for spinners ? This is interesting, I'll check the code you used to do it.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #15 on: January 13, 2011, 01:24:03 AM »
So where would I place 'UseSpinZone':1 in the bindings?

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Damn AI is unrealiable.
« Reply #16 on: January 13, 2011, 01:29:52 AM »
So where would I place 'UseSpinZone':1 in the bindings?

Normally, between the brackets part of the line {}, where all the other similar commands are placed.

Order doesn't matter.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #17 on: January 13, 2011, 01:31:18 AM »
    list.append(("Derek","EcoOmni",{'nose':math.pi,'UseSpinZone':1,'radius':0.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5,'weapons':(22,23,24,25)}))

Is this right?

Offline Naryar

  • Posts: 23278
  • Rep: 20
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Damn AI is unrealiable.
« Reply #18 on: January 13, 2011, 01:32:58 AM »
It LOOKS okay and doesn't have any obvious syntax error. Try it.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Damn AI is unrealiable.
« Reply #19 on: January 13, 2011, 01:33:42 AM »
I'll download BBEANS AI first to get the EcoOmni.