IPB

Welcome Guest ( Log In | Register )

> PyTRG.py, Questions and bug reports
bajadulce    Santa Cruz, California
Feb 21 2008, 10:45 PM    Post #1
Thnx for the recent update.

I was doing some experiments with an existing trigger and noticed that the set countdown timer didn't appear to be correctly decompiled? I built a quick test map that involved a 60 second countdown timer and it too decompiled as:

CODE
Conditions:
        CountdownTimer(0)
        Deaths(All Players, Exactly, 0, Map Revealer)
    Actions:
        SetCountdownTimer(0, Set To)
        SetDeaths(All Players, Map Revealer, 1, Set To)
        PreserveTrigger()


My StarEdit triggers were written as:
CODE
Conditions:
            -countdown timer is at most 0 seconds
            -all players has suffered at most 0 deaths of map revealer
     Actions:
            Modify countdown timer: Set to 60 seconds
            Modify death counts for all players: Set to 1 for map revealer


you can see the discrepancies.

Note: This was fixed later in the thread, in Post #4


 
Go to the top of the page +

Posts in this topic
bajadulce   PyTRG.py   Feb 21 2008, 10:45 PM
poiuy_qwert   Yup looks like there are still some issues, i...   Feb 22 2008, 06:58 AM
bajadulce   great. thnx for the tech support. You can see t...   Feb 22 2008, 09:55 AM
poiuy_qwert   Alright, I can't believe these bugs, i thought...   Feb 22 2008, 11:31 AM
poiuy_qwert   The attachment in the post above was changed to a ...   Feb 24 2008, 11:41 AM
bajadulce   thnx for the update again. I will check it out.   Feb 24 2008, 01:56 PM
Spirus   Thnx. I used the -t option and I was able to deco...   Feb 24 2008, 04:28 PM
poiuy_qwert   Hmm, i think i got my PyTRG files messed up, looks...   Feb 24 2008, 05:04 PM
modmaster50   Ummm...Will the new PyMS include AI, or will the A...   Feb 24 2008, 06:10 PM
poiuy_qwert   Yes it will include the most up to date PyAI with ...   Feb 24 2008, 06:12 PM
modmaster50   Whee! Wait, using -e wont include the extra de...   Feb 24 2008, 06:14 PM
poiuy_qwert   No they wont.   Feb 24 2008, 06:21 PM
bajadulce   Question: I want my mod to play a .wav file in m...   Jul 9 2008, 12:42 PM
poiuy_qwert   You mean StarCraft said in game that the parameter...   Jul 9 2008, 01:59 PM
ShadowFlare   IIRC, the trigger action for playing a sound requi...   Jul 10 2008, 04:11 AM
poiuy_qwert   Oh yeah, it does... When compiling to a GOT/TRIG c...   Jul 10 2008, 08:10 AM
bajadulce   This is sort of PyTRG related: I was looking at a...   Sep 27 2008, 08:06 PM
poiuy_qwert   Hmm, I don't understand what you mean about Mo...   Sep 27 2008, 08:16 PM
bajadulce   QUOTE(poiuy_qwert @ Sep 27 2008, 08:16 PM...   Sep 27 2008, 09:47 PM
poiuy_qwert   Ok odd... I'll look into it, thanks! Yeah...   Sep 27 2008, 09:56 PM
poiuy_qwert   The Mojo and Artanis problem was a bug in interpre...   Sep 29 2008, 05:36 PM
bajadulce   I have been trying out LocUnlock today, and came a...   Oct 2 2008, 02:43 PM
poiuy_qwert   :X These are stupid mistakes on my part. Go into L...   Oct 2 2008, 06:41 PM
bajadulce   unit #204 is messed up. SetDeaths(Player 1, 204, ...   Mar 6 2009, 09:44 AM
poiuy_qwert   It's because of the ( and ) in the unit name, ...   Mar 6 2009, 11:35 AM
bajadulce   Sorry haven't had the opportunity to use the p...   Nov 5 2009, 08:24 AM
poiuy_qwert   The reason its done like that is because of how tr...   Nov 5 2009, 06:54 PM
bajadulce   I've been using PyTrg to actually build trigs ...   Jan 12 2010, 07:28 PM
poiuy_qwert   1) No there is no way. Later down the line I plan ...   Jan 12 2010, 08:09 PM
bajadulce   This isn't really a bug, but a misprint in the...   Jan 21 2010, 11:51 PM
bajadulce   QUOTE(poiuy_qwert @ Jan 12 2010, 08:09 PM...   Jan 24 2010, 12:13 AM
poiuy_qwert   QUOTE(bajadulce @ Jan 22 2010, 02:51 AM) ...   Jan 24 2010, 08:02 AM
bajadulce   I looked closer at this problem this morning as I ...   Jan 24 2010, 09:19 AM
poiuy_qwert   QUOTE(bajadulce @ Jan 24 2010, 12:19 PM) ...   Jan 24 2010, 10:39 AM
bajadulce   lol.. I'm not the most experienced mapper (obv...   Jan 24 2010, 11:06 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 10th September 2010 - 12:35 AM