Submission Rules said:cJass resources are not supported nor allowed here at Thehelper.net. This is due to the code being messy and the fact that it needs an additional tool to compile.
Believe it or not, we are not out to get you. We're trying to keep the resources here as quality, and able to be read by newer people. I'm sorry to say, but no one will read your code if it's not properly indented. cJass is unsupported here precisely because it encourages such terrible coding practices.honestly i have no idea how i could not implement the lua and objectmerger stuff in newgen despite having newest jasshelper and to think that cjass even comes with an installation wizard...it's so much more professional than vjass, it's not even funny and you guys have the nerve to call it messy? and constantly my code without white space you are calling messy, it's a big load of biased horse crap, i say.
and furthermore, the additional tool to compile is horse crap as well considering reinventing the craft is pretty much useless even though it's in newgen...if anything adichelper is very useful because it is implemented directly into newgen and you can enable and disable it just like you can the jasshelper. i think the only reason people don't download it is because they're not using robotic translation service to find the download link.
actually...on second thought...none of my resources has ever been approved on thehelper.net so making my code not be cjass would merely be a waste of time. and i'm not a russian so you guys are biased against your own english speaking coder, here. well, i suppose unless the rule is changed or ignored then i'll just know all my resources are in the graveyard. hmm maybe i'll put a link to your graveyard in my signature at another website.
i fnd it qite ridiculus that ur stil in de mindset that were all stoopid and ur some kinda god coz we cant read your code its not that we cant were not idiots its coz of the reasons stated in the sticky wich uve quite clearly red coz u quoted it nd i dont remember us being stupid or unble to read cjass being one of the reasons even if ur code was written in vjass itd still be unreadable coz of the horrible coding practices u use nd i cant believe u actually beleev the code is more readable remember that readability dosnt necesarily mean shorter code in fct its often the opposite but to a certain extent obviously making code bloated isnt the best way to achive wot u want to be honest i wouldnt have as much of an issue with u calling cjass more profesional if it wasnt for ur odd perceptions of gud coding practices not using intendation to inline ur code and separate individual blocks of code is silly and theres absolutel no reason not to do it unles ur tab button is broken in wich case get a new keyboard or sumtin ull find its much easier to read code thats been properly intended as its easy to browse through the code nd pinpoint areas of intrest whilst skipping code that doesnt concern u instead of having to read every single line for a similar reason we have naming conventions capital letters entirely for constants small for locals camelcase for members etc so that whoever is reading the code can immediately know what type of variable is being used without having to find the declaration this doesnt only reply to us stupid humans on thehelper who are totally incapable of reading anything remember but also to urself when ur going to come back to ur code in the future ull find it much easier to take a look through and see whats what im certain any true coding professional will agree with me just look at any real coding site that uses proper programming languages in fact a lot of ides actually auto indent code for these very reasons dont ever call bad practice professional its ridiculous also note that ur not some kinda child prodigy or god in fact ur coding skillz are far inferior to a good portion of this site so take advice from those better than u and learn instead of being so stubborn also were not in a war or anything against russa wot difference does it make welcome to the 21st century where ur from doesnt mean anything and if anything ur an embarasment to english speaking coders because of your poor practices stop hiding behind ur bad coding practices and calling it cjassactually, it's still in the graveyard. it has been since day one.
but since you guys can't read the code i'll convert it to vjass.
@narks, LOL the code is easier to read because it is in cjass.
look how you can view the entire code in a single screenshot.
oh i think i forgot to include the trigger with instructions.
updating post. hmm i wish there was a hidden/spoiler option.
when i put out vjass i could put cjass into the hidden brackets.
"cJass resources are not supported nor allowed here at Thehelper.net. This is due to the code being messy and the fact that it needs an additional tool to compile."
yeah...ouch. after actually downloading adichelper though, i'm very pleased.
honestly i have no idea how i could not implement the lua and objectmerger stuff in newgen despite having newest jasshelper and to think that cjass even comes with an installation wizard...it's so much more professional than vjass, it's not even funny and you guys have the nerve to call it messy? and constantly my code without white space you are calling messy, it's a big load of biased horse crap, i say.
and furthermore, the additional tool to compile is horse crap as well considering reinventing the craft is pretty much useless even though it's in newgen...if anything adichelper is very useful because it is implemented directly into newgen and you can enable and disable it just like you can the jasshelper. i think the only reason people don't download it is because they're not using robotic translation service to find the download link.
actually...on second thought...none of my resources has ever been approved on thehelper.net so making my code not be cjass would merely be a waste of time. and i'm not a russian so you guys are biased against your own english speaking coder, here. well, i suppose unless the rule is changed or ignored then i'll just know all my resources are in the graveyard. hmm maybe i'll put a link to your graveyard in my signature at another website.
like i already mentioned, being able to read the entire code of a library in a single screenshot means i can read the code much, much faster.
library MSGS{define{c_goldbrown="daa520";c_gold="ffd700";c_palegreen="7aff7c";c_pink="db7093";c_pretty="ee82ee"
c_grassgreen="7fff00";c_brightgreen="00ff00";c_brightblue="0000ff";c_aqua="00ffff";c_white="f0ffff"
c_black="000000";c_seagreen="7fffd4";c_twilightblur="20b2aa";c_twilightgreen="009966"
c_coralgreen="00fa9a";c_coralpink="f08080";c_coralblue="33aaff";c_plum="ba55d3";c_indigo="4169e1"
c_flowerpurple="aaaaff";c_green="32cd32"c_blue="4169e1";c_yellowgreen="adff2f";c_brightpurple="ff00ff"
c_paledenim="c3dbff";c_orange="ffa500";c_purple="da70d6";c_royalpurple="aa00ff";c_flowerred="ee2222"
c_grey="c0c0c0";c_gray="c0c0c0";c_redorange="ff4500";c_red="ff0000";c_spanishgreen="9acd32"
c_darkspanishgreen="6b8e23";c_brown ="995500";c_yellow="ffff00";c_sand="ffffcc"}//
string gtc(string x, string y){return "|cff"+x+y+"|r"}//colors text
string msggetcolor(integer x, string y){if x==0 then;return gtc(c_red,y);elseif x==1 then
return gtc(c_brightblue,y);elseif x==2 then;return gtc(c_aqua,y);elseif x==3 then
return gtc(c_purple,y);elseif x==4 then;return gtc(c_yellow,y);elseif x==5 then
return gtc(c_orange,y);else;return gtc(c_white,y);endif;return y}//colors text based on player color
integer GetPlayerTeamMSGS(integer playerid){if playerid==0 then;return 1;elseif playerid==1 then
return 1;elseif playerid==2 then;return 2;elseif playerid==3 then;return 2;elseif playerid==4 then
return 2;elseif playerid==5 then;return 2;elseif playerid==6 then;return 2;elseif playerid==7 then
return 8;elseif playerid==9 then;return 2;elseif playerid==10 then;return 1;elseif playerid==11 then
return 2;endif;return 3}//player number for team number//customize as needed
nothing msgally(real x, player y, string z, boolean ally){integer a=GetPlayerId(y),b=GetPlayerTeamMSGS(a)
if ally then;a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)==b then;timedmsg(Player(a),0,0,x,z);endif}
else;a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)!=b then;timedmsg(Player(a),0,0,x,z);endif}endif}
nothing msgallyonly(real x, player y, string z){integer a=GetPlayerId(y),b=GetPlayerTeamMSGS(a)
a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)==b then;timedmsg(Player(a),0,0,x,z);endif}}
nothing msgenemyonly(real x, player y, string z){integer a=GetPlayerId(y),b=GetPlayerTeamMSGS(a)
a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)!=b then;timedmsg(Player(a),0,0,x,z);endif}}
nothing msgall(real dur, string s){integer i=-1;whilenot (i++>11){timedmsg(Player(i),0,0,dur,s)}}//standard text
nothing msgone(real dur, player p, string s, boolean one){integer i=-1,ip=GetPlayerId(p);if one then
timedmsg(p,0,0,dur,(s));else;whilenot(i++>11){if i!=ip then;timedmsg(Player(i),0,0,dur,s);endif}endif}}
library MSGS
{
define
{
c_goldbrown="daa520";
c_gold="ffd700";
c_palegreen="7aff7c";
c_pink="db7093";
c_pretty="ee82ee"
c_grassgreen="7fff00";
c_brightgreen="00ff00";
c_brightblue="0000ff";
c_aqua="00ffff";
c_white="f0ffff"
c_black="000000";
c_seagreen="7fffd4";
c_twilightblur="20b2aa";
c_twilightgreen="009966"
c_coralgreen="00fa9a";
c_coralpink="f08080";
c_coralblue="33aaff";
c_plum="ba55d3";
c_indigo="4169e1"
c_flowerpurple="aaaaff";
c_green="32cd32"
c_blue="4169e1";
c_yellowgreen="adff2f";
c_brightpurple="ff00ff"
c_paledenim="c3dbff";
c_orange="ffa500";
c_purple="da70d6";
c_royalpurple="aa00ff";
c_flowerred="ee2222"
c_grey="c0c0c0";
c_gray="c0c0c0";
c_redorange="ff4500";
c_red="ff0000";
c_spanishgreen="9acd32"
c_darkspanishgreen="6b8e23";
c_brown ="995500";
c_yellow="ffff00";
c_sand="ffffcc"
}
//
string gtc(string x, string y)
{
return "|cff"+x+y+"|r"
}
//colors text
string msggetcolor(integer x, string y)
{
if x==0 then;
return gtc(c_red,y);
elseif x==1 then
return gtc(c_brightblue,y);
elseif x==2 then;
return gtc(c_aqua,y);
elseif x==3 then
return gtc(c_purple,y);
elseif x==4 then;
return gtc(c_yellow,y);
elseif x==5 then
return gtc(c_orange,y);
else;
return gtc(c_white,y);
endif;
return y
}
// cbf this code is obviously useless
//colors text based on player color
integer GetPlayerTeamMSGS(integer playerid){if playerid==0 then;return 1;elseif playerid==1 then
return 1;elseif playerid==2 then;return 2;elseif playerid==3 then;return 2;elseif playerid==4 then
return 2;elseif playerid==5 then;return 2;elseif playerid==6 then;return 2;elseif playerid==7 then
return 8;elseif playerid==9 then;return 2;elseif playerid==10 then;return 1;elseif playerid==11 then
return 2;endif;return 3}//player number for team number//customize as needed
nothing msgally(real x, player y, string z, boolean ally){integer a=GetPlayerId(y),b=GetPlayerTeamMSGS(a)
if ally then;a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)==b then;timedmsg(Player(a),0,0,x,z);endif}
else;a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)!=b then;timedmsg(Player(a),0,0,x,z);endif}endif}
nothing msgallyonly(real x, player y, string z){integer a=GetPlayerId(y),b=GetPlayerTeamMSGS(a)
a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)==b then;timedmsg(Player(a),0,0,x,z);endif}}
nothing msgenemyonly(real x, player y, string z){integer a=GetPlayerId(y),b=GetPlayerTeamMSGS(a)
a=-1;whilenot(a++>11){if GetPlayerTeamMSGS(a)!=b then;timedmsg(Player(a),0,0,x,z);endif}}
nothing msgall(real dur, string s){integer i=-1;whilenot (i++>11){timedmsg(Player(i),0,0,dur,s)}}//standard text
nothing msgone(real dur, player p, string s, boolean one){integer i=-1,ip=GetPlayerId(p);if one then
timedmsg(p,0,0,dur,(s));else;whilenot(i++>11){if i!=ip then;timedmsg(Player(i),0,0,dur,s);endif}endif}}
//player number for team number//customize as needed