- Joined
- Jul 3, 2011
- Messages
- 251
Hey guys, as the title says i have a couple of hard JASS questions, some are related to hosting bots but are more code sided (or so i think anyway)
First, how does HCL actually work? I know what it does and that it does it by handicap, but how is each player assigned a specific handicap by a letter?
Second, does anyone have a link to w3mmd code? Is w3mmd possible to do in normal JASS? Ive only seen it done in vJASS but to my knowledge the compliler compiles vJASS into ordinary JASS, no? And how w3mmd actually work?
Third, once we have HCL set up and working correctly, how can we see if the HCL contains 2 game modes that dont work with eachother? An example is HCL in DotA "apsd" since all pick and single draft cancel eachother out, none will be entered, i thought about this and the only way i can think this would be achieved is by checking every 2 letters to see if they contain those letters, however i am unsure how to check if 2 game modes have been entered in the same string without a tonne of if/then/else statements, so how can this be done efficiently?
Fouth, how can i create an ability that will make the user perm invis no matter what, even if he casts spells? And dont say spam invisability cast on him please, i need something that wont even reveal him for a split second, like shadow dance from slark in DotA.
Fith, can someone explain to me fully what the debug code is, what it does and how it can be used?
Will rep for any usefull help.
If you post code to help, please make it JASS, i dont understand vJASS yet.
First, how does HCL actually work? I know what it does and that it does it by handicap, but how is each player assigned a specific handicap by a letter?
Second, does anyone have a link to w3mmd code? Is w3mmd possible to do in normal JASS? Ive only seen it done in vJASS but to my knowledge the compliler compiles vJASS into ordinary JASS, no? And how w3mmd actually work?
Third, once we have HCL set up and working correctly, how can we see if the HCL contains 2 game modes that dont work with eachother? An example is HCL in DotA "apsd" since all pick and single draft cancel eachother out, none will be entered, i thought about this and the only way i can think this would be achieved is by checking every 2 letters to see if they contain those letters, however i am unsure how to check if 2 game modes have been entered in the same string without a tonne of if/then/else statements, so how can this be done efficiently?
Fouth, how can i create an ability that will make the user perm invis no matter what, even if he casts spells? And dont say spam invisability cast on him please, i need something that wont even reveal him for a split second, like shadow dance from slark in DotA.
Fith, can someone explain to me fully what the debug code is, what it does and how it can be used?
Will rep for any usefull help.
If you post code to help, please make it JASS, i dont understand vJASS yet.
Last edited: