Staredit Network > Forums > SC1 Mapping Tools > Topic: ProTRG v1.1
ProTRG v1.1
Jan 10 2010, 11:13 pm
By: poiuy_qwert
Pages: < 1 3 4 5
 

Jul 25 2010, 6:08 pm Cinolt Post #81



It makes some sense, and I've verified that it does what I want. I'm assuming that this initialization will only occur once, so I don't need to delete any members of the dcList. The only other minor issue with yours is that for multiple variable assignments it needs the number of variables passed to the function. So, essentially what I'm doing is checking every possible number of variables as so:
Code
timer, vhp, posX, posY = dcList[:0]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:1]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:2]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:3]
*program catches an error, loop again*
timer, vhp, posX, posY = dcList[:4]
*program doesn't catch an error, so break out of the loop*


Therefore the process is made even more easier by not having to know the number of variables being assigned.



None.

Jun 9 2018, 1:12 am EsX_Raptor Post #82



The links are dead. Could someone please redirect me?



None.

Options
Pages: < 1 3 4 5
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:41 pm]
Ultraviolet -- Suicidal Insanity
Suicidal Insanity shouted: Ultraviolet The devs are fairly good about backwards compatibility, just sometimes takes time
Fair enough, random crashes are always scary though :P
[07:36 pm]
Suicidal Insanity -- Ultraviolet
Ultraviolet shouted: martosss So you've had issues with maps that were previously playable having issues with the latest patch as well? I was play testing one of my creations a couple days ago and it crashed the game, something it has never done before. Has me feeling kind of concerned about playability of custom content going forward :/
The devs are fairly good about backwards compatibility, just sometimes takes time
[06:59 pm]
sraw531 -- (sc1)
[06:48 pm]
sraw531 -- is there a way to create using triggers a building that is under construction? (Especially protoss, for multiple reasons)
[06:23 pm]
Ultraviolet -- martosss
martosss shouted: jjf28 oh lol it was unplayable a few days ago, I guess Blizzard fixed it, thanks for trying it lol
So you've had issues with maps that were previously playable having issues with the latest patch as well? I was play testing one of my creations a couple days ago and it crashed the game, something it has never done before. Has me feeling kind of concerned about playability of custom content going forward :/
[06:21 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet depends on zoom
wat
[05:36 pm]
martosss -- jjf28
jjf28 shouted: I played it against the current SC:R bnet
oh lol it was unplayable a few days ago, I guess Blizzard fixed it, thanks for trying it lol
[05:06 pm]
jjf28 -- I played it against the current SC:R bnet
[05:04 pm]
jjf28 -- the map is playable on both 1.16.1 and SC:R, this would just be straight up unprotecting
[10:41 am]
martosss -- jjf28
jjf28 shouted: martosss can you provide an example map? I can confirm what you're saying and make a tool to decorrupt them
The map was probably locked with SMC, I just tested it and SMC produces a very similar garbled MPQ header(with a lot of fffffffffff and an MPQ header size of 10 00 00 00 in the start), which is unreadable by the latest SC:R version(not a valid scenario error when trying to host it). An example map is a KotK map that started all this - https://app.box.com/s/pmefbgb8oay8wo3gewwl046no26lfkjx Here's a link to download the map(giving it in a space storage service since it's not a valid map and i don't want to upload broken maps on SEN/nibbits ...) It would be nice if you can show me what you're doing to test unlocking the map :)
Please log in to shout.


Members Online: Roy, Ultraviolet, sraw531, Lirianose6, DarkenedFantasies