Author Topic: My Own Ai Killed My Game  (Read 843 times)

Offline Nika2.0

  • Antweight
  • Posts: 27
  • Rep: 0
    • View Profile
    • Awards
My Own Ai Killed My Game
« on: January 03, 2022, 03:46:09 PM »
I Tried To Put new Ai In my game but then my game just crashes when i keep going is there something i did wrong if so i dont know what it is

Offline Gulden

  • Am I still considered active?
  • Posts: 1331
  • Rep: 7
  • Currently trying to make a Riff in Time and Space.
    • https://www.youtube.com/c
  • Awards Donated money for site hosting 2019 BOTM Winner
    • View Profile
    • Awards
  • Discord: Gulden#1901
Re: My Own Ai Killed My Game
« Reply #1 on: January 03, 2022, 04:00:32 PM »
In terms of "is there something I did wrong," I'd say yes.  But what you did wrong is unknown unless you show us the AI line that is crashing the game.
I have several opinions.

Offline Nika2.0

  • Antweight
  • Posts: 27
  • Rep: 0
    • View Profile
    • Awards
Re: My Own Ai Killed My Game
« Reply #2 on: January 03, 2022, 04:13:22 PM »
I Have The Bindings Here:https://gametechmods.com/forums/downloads/?sa=view;down=604

Offline Gulden

  • Am I still considered active?
  • Posts: 1331
  • Rep: 7
  • Currently trying to make a Riff in Time and Space.
    • https://www.youtube.com/c
  • Awards Donated money for site hosting 2019 BOTM Winner
    • View Profile
    • Awards
  • Discord: Gulden#1901
Re: My Own Ai Killed My Game
« Reply #3 on: January 03, 2022, 04:42:49 PM »
That's a lot of bots.  Which one specifically killed it?  'cus right now I can only assume you imported all 90 at the same time, which is nothing but asking for trouble.
I have several opinions.

Offline Nika2.0

  • Antweight
  • Posts: 27
  • Rep: 0
    • View Profile
    • Awards
Re: My Own Ai Killed My Game
« Reply #4 on: January 03, 2022, 04:47:04 PM »
The Robot That Killed My Game Was Killerhurtz.

Offline Gulden

  • Am I still considered active?
  • Posts: 1331
  • Rep: 7
  • Currently trying to make a Riff in Time and Space.
    • https://www.youtube.com/c
  • Awards Donated money for site hosting 2019 BOTM Winner
    • View Profile
    • Awards
  • Discord: Gulden#1901
Re: My Own Ai Killed My Game
« Reply #5 on: January 03, 2022, 04:50:20 PM »
You forgot a { between "Omni", and 'nose'
You have a random v located just after the math.pi*2,

It should probably look like this.
Code: [Select]
    list.append(("Killerhurtz","Omni",{'nose': math.pi*2,'topspeed':99,'throttle'130,'radius':100.0,'range':992,'weapons':(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23)}))
I have several opinions.

Offline Nika2.0

  • Antweight
  • Posts: 27
  • Rep: 0
    • View Profile
    • Awards
Re: My Own Ai Killed My Game
« Reply #6 on: January 03, 2022, 05:22:09 PM »
I Fixed The Bindings But The Game Still Crashed Somehow.

Offline Gulden

  • Am I still considered active?
  • Posts: 1331
  • Rep: 7
  • Currently trying to make a Riff in Time and Space.
    • https://www.youtube.com/c
  • Awards Donated money for site hosting 2019 BOTM Winner
    • View Profile
    • Awards
  • Discord: Gulden#1901
Re: My Own Ai Killed My Game
« Reply #7 on: January 03, 2022, 08:22:12 PM »
I'm personally at a loss, so all I can recommend is to double check everything.

-Is the bot file named correctly?
-Does the name of the robot and the name in the AI match?
-Is the AI inserted correctly?
-Did you accidentally edit any other AI and break them instead?

I haven't AIed in forever, so forgive me, but I see no issue with the AI itself.


Edit:  There's a missing : after 'throttle'
« Last Edit: January 03, 2022, 08:52:30 PM by Gulden »
I have several opinions.