Always aim for constant computational complexity, whenever possible.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//** Round value f to nearest increment.fixedRoundIncrement(fixedf,fixedincrement){returnRound(f/increment)*increment;}//** Round value f to specific place value.// +place value for whole places// -place value for fractional placesfixedRoundPlace(fixedf,intplace){returnRoundIncrement(f,Pow(10,place));}//** Round value f to nearest tenths.fixedRoundTenths(fixedf){returnRoundIncrement(f,0.1);}
Quote from Mozared:
Most of the moderators aren't as active as they used to be - people like TacoManStan, xCorbo, JademusSreg, Molsterr, Zeldarules28 and EternalWraith do show up from time to time but can't really be called regulars anymore by now.
To be fair, I've never been quite active on the forums, instead having occupied the #sc2mapster IRC channel more or less continuously for the past 3 years.
Regarding the site, one expects it will become a priority for Curse when the SC2 content-generation community has the potential to be something more than a blackhole investment, which is contingent on it being a priority for Blizzard. Talks at the recent BlizzCon indicate their interest in positioning SC2 and Herostorm as products on the "Galaxy platform" which, while of no immediate use, seems like a promising development and suggests they may eventually put the content-generation community to profitable use.
This paste may be helpful, as it provides some usage examples of funcref and structref (didn't include arrayref, since it's used similarly to structref).
Attached is a .7z archive of the most recent standard galaxy files, with some additional reference compilations. See also Deaod's docs on galaxy script, its operators and types, and optionally an explanation of bitwise operators.
Presets are a GUI trigger construct, its values are inserted into the map script as literals. So definitely not accessible via script.
While galaxy lacks an enum construct, one may employ constants, arrays, structs, functions, DataTable API, and/or UserType data & UserData API to similar effect. None of the approaches are entirely satisfying as a convenient enum construct, but given the options one ought to find a workable compromise.
Oh, I've neglected to mention, I'm working on a new version. It has enough changes that it will be published separately, so people can continue to enjoy/hate the previous version.
What you've posted here is nothing short of amazingly useless, with a description which would be misleading if it weren't obvious nonsense. Have a look.
"CCL" is confused about its identity; the identifiers suggest it's intended to be a checksum, yet its relationship with "VBI" suggests it's intended to track versions. Both of which could be barely useful if they actually worked, nevermind that nothing about this "injects" or "infects" players' banks, or does anything with them at all. And if you could overlook the parody of a hash function that demonstrates zero concern for collision, the date tracker that can't even get time from the server, the absence of banks even being used in the code, and that this scrapbook of functions and variables don't accomplish anything in the least, if you could overlook all of that and suppose it might somehow work the way you describe, it would still be exploited by anyone with a few minutes of spare time simply by unlocking the map and coding it to output a bank with a date "checksum" higher than the official.
Moving this to the Trigger Dev forum; it's not a resource to anyone.
Perhaps instead of indulging in grandiose fantasies of persecution and Martin-Luther-like proclamations, one could devote the energy and hours wasted writing rage-erotica to something more productive. Like, literally anything. Anything would be more productive than publishing histrionic, fight-the-power vitriol on a small niche forum, especially when the target of such disproportionate resentment is just a company that makes games and provides services for said games.
Blizzard is not significant enough to warrant it, and making them your target makes you even less significant than you could have been had you taken the time to accomplish something. A sensible person doesn't invest so much in lashing out at a company for providing a dissatisfying experience; a sensible person gets the fuck over it, learns from the experience, and doesn't waste any more time or money on it.
Since "locking" a map merely strips out the editor-read data, "unlocking" a map is roughly simple as substituting editor-read data. The editor doesn't need GUI trigger data, and on Test Map the client will read the previously generated script just fine, so while GUI trigger data is not recoverable and thwarts most non-technical users, it does nothing to stop tinkering from those comfortable with galaxy script.
Best way to reduce cracked maps from popping up is to publish your content to other regions and (where the authentic version has trouble competing with the cracked version) improve the quality of your content. Where cracked maps become popular, and especially when they make non-trivial changes to the gameplay, it's because there's a demand for that experience, and people had little alternative but to make that experience more accessible.
Perhaps Hobb is confused, because there exists no such deal. Hobb may be referring to Taint's presence in the IRC channel, and assumes that a deal was struck, but as I told Hobb in IRC, I'm not going to waste time tracking down the alts of banned individuals unless they are behaving in such a way as to draw attention to themselves. One would do well to not confuse disinterest with collusion.
This topic has been an inspirational example illustrating the power of collective action, how talented and resourceful people can put aside their petty differences, come together, and succeed spectacularly in accomplishing nothing.
As for derailing the thread. This could make a valid claim to be on topic. After all you cannot successfully brainstorm a working solution until you identify all of the reasons for the failure.
Fair enough. Having thoroughly outlined the obstacles, one would expect the next post propose an equally comprehensive draft of viable, actionable measures on which community members may act toward realizing a solution. Otherwise, people may misinterpret your rigorousness as petulance, and I for one wouldn't want people to misconstrue your motivations in such a way.
0
Always aim for constant computational complexity, whenever possible.
As for misinformation about the fixed-point Real, learn the bit widths.
0
I can assure you, the "galaxy platform" is not speculation on my part.
The available evidence indicates Herostorm is a fork of the SC2 source, diverging at least to the extent it must to support a different backend.
EDIT: Formatting fix.
0
Regarding the site, one expects it will become a priority for Curse when the SC2 content-generation community has the potential to be something more than a blackhole investment, which is contingent on it being a priority for Blizzard. Talks at the recent BlizzCon indicate their interest in positioning SC2 and Herostorm as products on the "Galaxy platform" which, while of no immediate use, seems like a promising development and suggests they may eventually put the content-generation community to profitable use.
0
This paste may be helpful, as it provides some usage examples of funcref and structref (didn't include arrayref, since it's used similarly to structref).
0
Attached is a .7z archive of the most recent standard galaxy files, with some additional reference compilations. See also Deaod's docs on galaxy script, its operators and types, and optionally an explanation of bitwise operators.
0
Presets are a GUI trigger construct, its values are inserted into the map script as literals. So definitely not accessible via script.
While galaxy lacks an enum construct, one may employ constants, arrays, structs, functions, DataTable API, and/or UserType data & UserData API to similar effect. None of the approaches are entirely satisfying as a convenient enum construct, but given the options one ought to find a workable compromise.
0
Oh, I've neglected to mention, I'm working on a new version. It has enough changes that it will be published separately, so people can continue to enjoy/hate the previous version.
0
What you've posted here is nothing short of amazingly useless, with a description which would be misleading if it weren't obvious nonsense. Have a look.
"CCL" is confused about its identity; the identifiers suggest it's intended to be a checksum, yet its relationship with "VBI" suggests it's intended to track versions. Both of which could be barely useful if they actually worked, nevermind that nothing about this "injects" or "infects" players' banks, or does anything with them at all. And if you could overlook the parody of a hash function that demonstrates zero concern for collision, the date tracker that can't even get time from the server, the absence of banks even being used in the code, and that this scrapbook of functions and variables don't accomplish anything in the least, if you could overlook all of that and suppose it might somehow work the way you describe, it would still be exploited by anyone with a few minutes of spare time simply by unlocking the map and coding it to output a bank with a date "checksum" higher than the official.
Moving this to the Trigger Dev forum; it's not a resource to anyone.
0
Congratulations to StarCraft Universe and the obscenely committed team behind it. Surprised the Kickstarter succeeded, but not at all unpleasantly so.
To those who would shit on it, seems rather petty; people with dignity celebrate the successes of their peers.
0
Perhaps instead of indulging in grandiose fantasies of persecution and Martin-Luther-like proclamations, one could devote the energy and hours wasted writing rage-erotica to something more productive. Like, literally anything. Anything would be more productive than publishing histrionic, fight-the-power vitriol on a small niche forum, especially when the target of such disproportionate resentment is just a company that makes games and provides services for said games.
Blizzard is not significant enough to warrant it, and making them your target makes you even less significant than you could have been had you taken the time to accomplish something. A sensible person doesn't invest so much in lashing out at a company for providing a dissatisfying experience; a sensible person gets the fuck over it, learns from the experience, and doesn't waste any more time or money on it.
In short, stop doing this:
0
0
Since "locking" a map merely strips out the editor-read data, "unlocking" a map is roughly simple as substituting editor-read data. The editor doesn't need GUI trigger data, and on Test Map the client will read the previously generated script just fine, so while GUI trigger data is not recoverable and thwarts most non-technical users, it does nothing to stop tinkering from those comfortable with galaxy script.
Best way to reduce cracked maps from popping up is to publish your content to other regions and (where the authentic version has trouble competing with the cracked version) improve the quality of your content. Where cracked maps become popular, and especially when they make non-trivial changes to the gameplay, it's because there's a demand for that experience, and people had little alternative but to make that experience more accessible.
0
Perhaps Hobb is confused, because there exists no such deal. Hobb may be referring to Taint's presence in the IRC channel, and assumes that a deal was struck, but as I told Hobb in IRC, I'm not going to waste time tracking down the alts of banned individuals unless they are behaving in such a way as to draw attention to themselves. One would do well to not confuse disinterest with collusion.
0
This topic has been an inspirational example illustrating the power of collective action, how talented and resourceful people can put aside their petty differences, come together, and succeed spectacularly in accomplishing nothing.
0
Fair enough. Having thoroughly outlined the obstacles, one would expect the next post propose an equally comprehensive draft of viable, actionable measures on which community members may act toward realizing a solution. Otherwise, people may misinterpret your rigorousness as petulance, and I for one wouldn't want people to misconstrue your motivations in such a way.