This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - G.K.
12981
« on: December 23, 2009, 09:45:30 AM »
DP.
Mad, the problem is that the py causes a C++ runtime error whenever I start a battle, and I know it's there because I simply added it to a working popup.py.
12982
« on: December 23, 2009, 08:04:56 AM »
All my friends were playing it, looked at it once - I had to wash my eyes out afterwards.
12983
« on: December 23, 2009, 06:27:36 AM »
Ah okay.
@S32: Was it just the test bots that gave you trouble since you last posted CheapPopup.py?
12984
« on: December 23, 2009, 03:03:27 AM »
After getting up to try 12, none of my attempts have worked.
Here's the bit of code in particular that is causing problems:
def Tick(self): # fire weapon
targets = [x for x in self.sensors.itervalues() if x.contacts > 0 \ and not plus.isDefeated(x.robot)] for bot in targets: if not plus.isUpsideDown(bot) or self.CanDriveUpsideDown(bot): fire = True # if a component is in the smart zone but not the chassis, wait to find chassis before firing weapons if self.compinzone == 1 and self.botinzone == 0: self.comptimer += 1 if self.botinzone == 1: self.comptimer = 0 if self.weapons and (self.botinzone == 1 or (self.comptimer >= self.NoChassisTime and self.compinzone == 1)): for trigger in self.triggers1: self.Input(trigger, 0, 1)
if self.weapons: targets = [x.robot for x in self.sensors.itervalues() if x.contacts > 0 \ and not plus.isDefeated(x.robot)] if fire: self.Input(self.trigger, 0, 1) bReturn = AI.SuperAI.Tick(self) return bReturn def CanDriveUpsideDown(self, bot): MOVE_THRESHOLD = 4.0
12985
« on: December 23, 2009, 02:18:36 AM »
Thanks so much Madiaba, and I'm fine waiting until you have the time you need to go though this.
12986
« on: December 22, 2009, 03:32:35 PM »
Probably. Or maybe just LRA2.
12987
« on: December 22, 2009, 01:56:28 PM »
Are you not able to uncompress .rar's?
12988
« on: December 22, 2009, 01:55:59 PM »
Bmp's are also supported for decals, textures etc.
12989
« on: December 22, 2009, 01:17:40 PM »
You can use .bmps as well, remember they have to be exactly 64x64.
For .tga's, download Paint.net
12990
« on: December 22, 2009, 11:13:43 AM »
As well as two blacks
12991
« on: December 22, 2009, 10:53:59 AM »
Right.
12992
« on: December 22, 2009, 10:44:32 AM »
I've sent a team too, having seen that.
12993
« on: December 22, 2009, 10:11:05 AM »
Do the casters touch the ground?
12994
« on: December 22, 2009, 10:02:55 AM »
Don't try to, you actually have to have the same components/mods as them.
12995
« on: December 22, 2009, 09:55:49 AM »
Download the link from a few posts up.
12996
« on: December 22, 2009, 07:45:36 AM »
I'm terrified of it. Between that and Urjak's bot, I have no chance. And I have only seen one other entry...
12997
« on: December 21, 2009, 03:49:49 PM »
Ah. Maybe we should have a seperate arena for each weightclass then.
12998
« on: December 21, 2009, 03:42:24 PM »
1) I like it 2) Agreed 3) Just because you don't like LW's doesn't mean we should all miss out on battles for them. However, if many people don't want to use them, I won't kick up a fuss.
12999
« on: December 21, 2009, 03:29:54 PM »
Which one do you suggest?
13000
« on: December 21, 2009, 03:02:24 PM »
What exactly is this used for? It's probably a stupid question, but I have looked and not been able to find its use.
|