@Bryukh I belive there is a error in the mirroring system. In most of my battles as humans I beat everyone. But inexplicably as blue I get destroyed. I do not use hero.color
in any of my code. Could you please try to fix this?
(Edit) Also the people I am going up against and losing as blue seems to do the same thing as red so it does not look like they use hero.color
either.
Spectate Links:
I second the above. There appears to be a new mirroring problem that is seemingly only present in the spectate view (i could be mistaken, however)âfor instance, I win against iggymaster99 and buddeycc in the editor (even on ogres side), but lose in spectate (occasionally). As iggymaster mentioned, I do not use hero.color. Itâs an issue thatâs occurred only recentlyâneither me or buddeycc have modified our submitted algo for several days now, and the previous submission that was winning against buddeycc in ladder matches now has losses against the exact same code.
Iâm pretty sure itâs a mirroring issue regarding unit coordinates: a condition in my code that triggers when the difference between a unitâs position and an enemyâs position reaches a certain threshold triggers when it should not. It seems like the enemyâs position is mirrored correctly, however, so it might be the friendly unitâs position?
Thank you for the bug reports. I will try my best to find time to research those bugs next week, sorry, this one overbusy with other stuff already.
Thanks for the info. I know we are competators and all, but do you have any ideas for ajusting code while we wait for Bryukh to try to fix this?
Also for me the mirroring issue does not only occur in the spectate view. I have observed it while battling people in humans and ogres.
when I play against @iggymaster99 as red I beat him by around 7, However when Iâm blue I lose by 9. I also donât use hero.color. I think it might have something to do with thecoordinates and my placeCrate code.
I also have something similar, and I donât use hero.color. I win in a battle, but when I spectate I lose.
My issues r even worse. I lose to the most random of people when I play ogres.
Looking at the simulations the only way I could describe how my code acts is sluggish⌠Its rlly weird.
Ok guys. I found a couple of things that might help u guys.
-
Math not mathing? It looks like a lot of X axis are not being mirrored properly. They seem to be mirrored somewhat but things are off just enough for it to wonk your code off. Check your movement code and summon code.
-
Look at your conditionals and see if you use anything that has a relation to things like:
unit.distanceTo(enemy)
,unit.x
, andhero.ability("placeCrate", enemy.row, enemy.x + 5)
ect⌠These things seemed kinda broken for me when I printed everything out.
Hope this helps yall out.
Thanks. I will say though that even using the hero.ability("placeCrate", enemy.row, enemy.x + 5)
doesnât completely fix it either. I have been using -1 for a while now. But I think youâre right about the unit.x
, and unit.distanceTo(enemy
). Every time I tried to make a condition using those or something with more math to find distance of my units to the enemy, something always went wrong.
Also, I sent one earlier
And see it again here. I donât know why this is happening. Can anyone else find and battle these people to see if it is weird for them too.
Huh. Your code just stops working? My code is fine against them.
Ya. It is the weirdest thing. Only those two instances.
All this coloring problems are wierd, I donât seem to have any, only against a few top guys I lose on blue, but because of their infrequency on my end donât seem to be connected to my code, which doesnât have hero.color either.
Right now, Iâm not even working on my code because idk what to do. Is my code good or am I just facing other peoples bad code.
Just saying, if anyone has crate issues while mirroring just place crate on the unit and it still stops them while not having mirroring issues
Its not just the crate. Its other stuff too.