Author Topic: Binding Issues  (Read 2021 times)

Offline Dadddjent

  • Beetleweight
  • Posts: 132
  • Rep: 0
  • LORDSLUDGE
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Discord: lordsludge
Binding Issues
« on: December 02, 2017, 06:17:04 PM »
Im pretty new at modding and playin with the system n struff, but i said F it why not make a whole with my own creations...its been 2 days since i have schleep, heres the Bind Threads that i tried to modify. what did i do wrong?

Code: [Select]
# 0 - Red Zone "That's where your bot will be after ten seconds with ours!"
    list.append(("die like a hero (AI)","Omni",{'invertible':True,'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':100,'turn':30,'turnspeed':5,'weapons':(8,9)}))
    list.append(("FULL SPEED T-BONE (AI)","Omni",{'invertible':True,'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':5,'weapons':(13,14,16,17,18)}))
    list.append(("GOLDTOOTH (AI)","Omni",{'nose':-math.pi*0.5,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':5,'weapons':(18,19)}))
    list.append(("IONVAPER (AI)","Spinner",{'invertible':True,'nose':math.pi,'tactic':"Charge",'ThresholdSpeed':0.02,'reload':16,'radius':1,'topspeed':100,'throttle':100,'turn':50,'turnspeed':2,'weapons':(13,)}))
    list.append(("jailbreak (AI)","Omni",{'invertible':True,'nose':-math.pi*0.5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':1.5,'weapons':(16,)}))
    list.append(("NEON (AI)","Omni",{'invertible':True,'nose':math.pi,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2,'weapons':(18,)}))

    # 1 - PREHISTORIC "Badder and still bloodthirsty!"
    list.append(("ULTRAdisk3 (AI)","Spinner",{'nose':math.pi/2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("ULTRAVIOLENCESLAM (AI)","Whipper",{'invertible':True,'nose':math.pi*2,'radius':0.2,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3.5,'weapons':(10,11,12,13,14,15,16,17,18,19)}))
    list.append(("scorpion","Omni",{'nose':-math.pi*0.5,'range':500,'radius':1,'topspeed':3,'throttle':130,'turn':60,'turnspeed':5,'weapons':(27,28,29,30,35,36,37,38,39,40,41,42,43,44,45,46,47,48,53,54)}))
    list.append(("SPIKE (AI)","Omni",{'invertible':True,'nose':math.pi*/2,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2,'AimError':0.1}))
    list.append(("TEALdeath (AI)","Rammer",{'beta':-64000,'MotorID':1,'StartAngle':-math.pi*0.6,'reload':5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'weapons':(39,)}))
    list.append(("bullfish","Flipper",{'MotorID':45,'StartAngle':math.pi*,'reload':8,'tactic':"Charge",'SightRange':2,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'weapons':(46,)}))

    # 2 - The Good Ol' Boys "Don't need nuthin' but my truck, my shotgun, my new bots, and my REVENGE!"
    list.append(("BADDEVIL 2(IRL) ","Omni",{'invertible':True,'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("bl00dymary","Whipper",{'invertible':True,'nose':math.pi*2,'radius':.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(3,4,5,6)}))
    list.append(("blue wave (HS)","Omni",{'invertible':True,'nose':math.pi*2,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':30,'turnspeed':3,'weapons':(22,23,24,25)}))
    list.append(("MR.NASTIE","Omni",{'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':3,'weapons':(23,)}))
    list.append(("NOT WOD TURNED INTO HAZ (AI)","Omni",{'invertible':True,'nose':-math.pi,'range':50,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':1.5,'weapons':(15,16,24)}))
    list.append(("pitbull (AI)","Omni",{'invertible':True,'delta':0.5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':1.5,'weapons':(40,41,43)}))


im_done.PNG


« Last Edit: December 02, 2017, 06:35:15 PM by 090901 »
LORDSLUDGE

Online apanx

Re: Binding Issues
« Reply #1 on: December 02, 2017, 06:41:57 PM »
image[1].png

Code: [Select]
list.append(("bullfish","Flipper",{'MotorID':45,'StartAngle':math.pi*,'reload':8,'tactic':"Charge",'SightRange':2,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'weapons':(46,)}))

'StartAngle':math.pi* is not valid python. Also, standard Flipper AI class does not use MotorID, StartAngle, tactic or SightRange at all.

Offline Dadddjent

  • Beetleweight
  • Posts: 132
  • Rep: 0
  • LORDSLUDGE
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Discord: lordsludge
Re: Binding Issues
« Reply #2 on: December 02, 2017, 07:22:24 PM »
noted
edit: still crashing.
« Last Edit: December 02, 2017, 07:52:50 PM by Dadddjent »
LORDSLUDGE

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Binding Issues
« Reply #3 on: December 02, 2017, 08:10:38 PM »
Bot names are case sensitive so check that.  Have you isolated the problem to one robot by inserting them one at a time?

Offline Dadddjent

  • Beetleweight
  • Posts: 132
  • Rep: 0
  • LORDSLUDGE
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Discord: lordsludge
Re: Binding Issues
« Reply #4 on: December 02, 2017, 10:21:17 PM »
im too cool for that hurhurhur jk but i think i need to do that
LORDSLUDGE

Offline Asbestosstar

  • Most Bizzare of 2017. Also2nd Best new host of 2017
  • Super Heavyweight
  • Posts: 862
  • Rep: -4
    • Asbestosstar Gaming
    • View Profile
    • Asbestosstar.com
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Asbestosstar
Re: Binding Issues
« Reply #5 on: December 02, 2017, 11:52:18 PM »
Im pretty new at modding and playin with the system n struff, but i said F it why not make a whole with my own creations...its been 2 days since i have schleep, heres the Bind Threads that i tried to modify. what did i do wrong?

Code: [Select]
# 0 - Red Zone "That's where your bot will be after ten seconds with ours!"
    list.append(("die like a hero (AI)","Omni",{'invertible':True,'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':100,'turn':30,'turnspeed':5,'weapons':(8,9)}))
    list.append(("FULL SPEED T-BONE (AI)","Omni",{'invertible':True,'nose':math.pi,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':5,'weapons':(13,14,16,17,18)}))
    list.append(("GOLDTOOTH (AI)","Omni",{'nose':-math.pi*0.5,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':5,'weapons':(18,19)}))
    list.append(("IONVAPER (AI)","Spinner",{'invertible':True,'nose':math.pi,'tactic':"Charge",'ThresholdSpeed':0.02,'reload':16,'radius':1,'topspeed':100,'throttle':100,'turn':50,'turnspeed':2,'weapons':(13,)}))
    list.append(("jailbreak (AI)","Omni",{'invertible':True,'nose':-math.pi*0.5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':1.5,'weapons':(16,)}))
    list.append(("NEON (AI)","Omni",{'invertible':True,'nose':math.pi,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2,'weapons':(18,)}))

    # 1 - PREHISTORIC "Badder and still bloodthirsty!"
    list.append(("ULTRAdisk3 (AI)","Spinner",{'nose':math.pi/2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("ULTRAVIOLENCESLAM (AI)","Whipper",{'invertible':True,'nose':math.pi*2,'radius':0.2,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3.5,'weapons':(10,11,12,13,14,15,16,17,18,19)}))
    list.append(("scorpion","Omni",{'nose':-math.pi*0.5,'range':500,'radius':1,'topspeed':3,'throttle':130,'turn':60,'turnspeed':5,'weapons':(27,28,29,30,35,36,37,38,39,40,41,42,43,44,45,46,47,48,53,54)}))
    list.append(("SPIKE (AI)","Omni",{'invertible':True,'nose':math.pi*/2,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2,'AimError':0.1}))
    list.append(("TEALdeath (AI)","Rammer",{'beta':-64000,'MotorID':1,'StartAngle':-math.pi*0.6,'reload':5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'weapons':(39,)}))
    list.append(("bullfish","Flipper",{'MotorID':45,'StartAngle':math.pi*,'reload':8,'tactic':"Charge",'SightRange':2,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':2.5,'weapons':(46,)}))

    # 2 - The Good Ol' Boys "Don't need nuthin' but my truck, my shotgun, my new bots, and my REVENGE!"
    list.append(("BADDEVIL 2(IRL) ","Omni",{'invertible':True,'nose':math.pi*2,'radius':0.1,'topspeed':100,'throttle':130,'turn':60,'turnspeed':2.5}))
    list.append(("bl00dymary","Whipper",{'invertible':True,'nose':math.pi*2,'radius':.1,'range':99,'topspeed':100,'throttle':130,'turn':60,'turnspeed':3,'weapons':(3,4,5,6)}))
    list.append(("blue wave (HS)","Omni",{'invertible':True,'nose':math.pi*2,'range':99,'radius':0.1,'topspeed':100,'throttle':130,'turn':30,'turnspeed':3,'weapons':(22,23,24,25)}))
    list.append(("MR.NASTIE","Omni",{'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':3,'weapons':(23,)}))
    list.append(("NOT WOD TURNED INTO HAZ (AI)","Omni",{'invertible':True,'nose':-math.pi,'range':50,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':1.5,'weapons':(15,16,24)}))
    list.append(("pitbull (AI)","Omni",{'invertible':True,'delta':0.5,'radius':1,'topspeed':100,'throttle':100,'turn':100,'turnspeed':1.5,'weapons':(40,41,43)}))


 [ Quoting of attachment images from other messages is not allowed ]


I may know what is happening, I have had the problems when you have an extra space or are missing a space, I think the 1st line, which is the red zone motto, is not indented, the  ones below it, tell me if it is not indented. Normally I get the problem of it crashing on start if I do not format it correctly. Send us your binding file.

Offline Dadddjent

  • Beetleweight
  • Posts: 132
  • Rep: 0
  • LORDSLUDGE
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Discord: lordsludge
Re: Binding Issues
« Reply #6 on: December 03, 2017, 01:54:17 AM »
AYY WHO WANTS THE FILE, A BIG OLE THICC BOI TOO
LORDSLUDGE

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: Binding Issues
« Reply #7 on: December 03, 2017, 09:44:18 AM »
Start over and put them back in one at a time, checking that it works each time.  I know it’s a pain but consider this a learning experience for general computer knowledge, on the importance of regularly checking for errors

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: Binding Issues
« Reply #8 on: December 03, 2017, 10:21:05 AM »
Just a first glance here but...
Make sure that in the weapons section there's a comma after every number. 
I have several opinions.

Offline Asbestosstar

  • Most Bizzare of 2017. Also2nd Best new host of 2017
  • Super Heavyweight
  • Posts: 862
  • Rep: -4
    • Asbestosstar Gaming
    • View Profile
    • Asbestosstar.com
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Asbestosstar
Re: Binding Issues
« Reply #9 on: December 03, 2017, 11:19:03 AM »
I think it is a problem with the last bot on team 1, it is not lined up correctly.

Offline Squirrel_Monkey

  • Squirrel_Monkeyweight
  • *
  • Posts: 7587
  • Rep: 7
  • [Insert clever and witty comment here]
    • 0SquirrelMonkey0
    • View Profile
    • Awards
Re: Binding Issues
« Reply #10 on: December 03, 2017, 01:22:36 PM »
I may know what is happening, I have had the problems when you have an extra space or are missing a space, I think the 1st line, which is the red zone motto, is not indented, the  ones below it, tell me if it is not indented. Normally I get the problem of it crashing on start if I do not format it correctly. Send us your binding file.
Please only try and help if you actually have an idea.
This is Python so any line starting with # is a comment and is ignored.
I think in addition to what apanx said, there is a space at the end of "BADDEVIL 2(IRL) " which might be the issue.
Better than GK since 2009.
I think SM is a pretty cool guy, eh builds unicycle-bots and doesn't afraid of anything

Offline Asbestosstar

  • Most Bizzare of 2017. Also2nd Best new host of 2017
  • Super Heavyweight
  • Posts: 862
  • Rep: -4
    • Asbestosstar Gaming
    • View Profile
    • Asbestosstar.com
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Asbestosstar
Re: Binding Issues
« Reply #11 on: December 03, 2017, 06:04:04 PM »
i have ideas, i have done this before

Offline 090901

  • alcoholic in denial
  • *
  • Posts: 7006
  • Rep: 22
  • :mrgreen:
  • Awards Donated money for site hosting 2019 GTMCS2 Divison Winner GTMCS Division Winner
    • View Profile
    • Awards
Re: Binding Issues
« Reply #12 on: December 03, 2017, 06:07:30 PM »
just # out every single line and then unhash them one by one restarting the game after everytime you unhash a line. should narrow down the which line is the issue.

Offline Dadddjent

  • Beetleweight
  • Posts: 132
  • Rep: 0
  • LORDSLUDGE
    • https://www.youtube.com/c
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
  • Discord: lordsludge
Re: Binding Issues
« Reply #13 on: December 03, 2017, 09:05:37 PM »
i literally did everything idk what i did but its gone lol
 
LORDSLUDGE