Show Posts

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.

Pages: 1 ... 643 644 645 646 647 648 649 [650] 651 652 653 654 655 656 657 ... 663
12981
Tutorials and Tips / Re: AI-ing (.py files, coding, R+D, and help)
« 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
Existing Games / Re: Runescape
« 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
Tutorials and Tips / Re: AI-ing (.py files, coding, R+D, and help)
« 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
Tutorials and Tips / Re: AI-ing (.py files, coding, R+D, and help)
« 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:

Code: [Select]
    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
Tutorials and Tips / Re: AI-ing (.py files, coding, R+D, and help)
« 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
Tournament Archives / Re: International League Idea
« on: December 22, 2009, 03:32:35 PM »
Probably. Or maybe just LRA2.

12987
General Support / Re: Robot Arena 2 trial version for UK
« on: December 22, 2009, 01:56:28 PM »
Are you not able to uncompress .rar's?

12988
Discussion / Re: Is this is cheat?
« on: December 22, 2009, 01:55:59 PM »
Bmp's are also supported for decals, textures etc.

12989
Discussion / Re: Is this is cheat?
« 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
Stock Showcases / Re: SM's Stock Showcase
« on: December 22, 2009, 11:13:43 AM »
As well as two blacks

12991
Modifications / Re: NAR AI pack releases !
« on: December 22, 2009, 10:53:59 AM »
Right.

12992
Modifications / Re: NAR AI pack releases !
« on: December 22, 2009, 10:44:32 AM »
I've sent a team too, having seen that.

12993
Stock Showcases / Re: SM's Stock Showcase
« on: December 22, 2009, 10:11:05 AM »
Do the casters touch the ground?

12994
Discussion / Re: Is this is cheat?
« on: December 22, 2009, 10:02:55 AM »
Don't try to, you actually have to have the same components/mods as them.

12995
General Support / Re: Robot Arena 2 trial version for UK
« on: December 22, 2009, 09:55:49 AM »
Download the link from a few posts up.

12996
DSL TC Showcases / Re: Pwnator's DSL Showcase
« 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
Tournament Archives / Re: International League Idea
« on: December 21, 2009, 03:49:49 PM »
Ah. Maybe we should have a seperate arena for each weightclass then.

12998
Tournament Archives / Re: International League Idea
« 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
Tournament Archives / Re: International League Idea
« on: December 21, 2009, 03:29:54 PM »
Which one do you suggest?

13000
General Support / Events2Player.txt
« 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.

Pages: 1 ... 643 644 645 646 647 648 649 [650] 651 652 653 654 655 656 657 ... 663