gametechmods

Robot Arena => General Support => Topic started by: Dadddjent on December 02, 2017, 06:17:04 PM

Title: Binding Issues
Post by: Dadddjent 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)}))


 [ This attachment cannot be displayed inline in 'Print Page' view ]

Title: Re: Binding Issues
Post by: apanx on December 02, 2017, 06:41:57 PM
 [ This attachment cannot be displayed inline in 'Print Page' view ]
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.
Title: Re: Binding Issues
Post by: Dadddjent on December 02, 2017, 07:22:24 PM
noted
edit: still crashing.
Title: Re: Binding Issues
Post by: Resetti's Replicas 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?
Title: Re: Binding Issues
Post by: Dadddjent on December 02, 2017, 10:21:17 PM
im too cool for that hurhurhur jk but i think i need to do that
Title: Re: Binding Issues
Post by: Asbestosstar 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)}))


 [ This attachment cannot be displayed inline in 'Print Page' view ]


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.
Title: Re: Binding Issues
Post by: Dadddjent on December 03, 2017, 01:54:17 AM
AYY WHO WANTS THE FILE, A BIG OLE THICC BOI TOO
Title: Re: Binding Issues
Post by: Resetti's Replicas 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
Title: Re: Binding Issues
Post by: Gulden 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. 
Title: Re: Binding Issues
Post by: Asbestosstar 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.
Title: Re: Binding Issues
Post by: Squirrel_Monkey 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.
Title: Re: Binding Issues
Post by: Asbestosstar on December 03, 2017, 06:04:04 PM
i have ideas, i have done this before
Title: Re: Binding Issues
Post by: 090901 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.
Title: Re: Binding Issues
Post by: Dadddjent on December 03, 2017, 09:05:37 PM
i literally did everything idk what i did but its gone lol