Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » [ATC#3] So you say you're a "hacker"? Prove it!
- iamunknown2
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Screenshots please?Have you tried testing out my new revision 6, anyone? As I've said, I changed it to something else…I've been including it in my tests, but it hasn't fared well
- MegaApuTurkUltra
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Whoops
I just realized I had a huge error in detecting enemy bots (thanks to @TheMonsterOfTheDeep)
The issue was that it would detect bots on the wrong axis (so if direction was up or down, it would search left or right)
It's fixed now, but it may affect scores
I just realized I had a huge error in detecting enemy bots (thanks to @TheMonsterOfTheDeep)
The issue was that it would detect bots on the wrong axis (so if direction was up or down, it would search left or right)
It's fixed now, but it may affect scores
- Tymewalk
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
So I made a test bot:
It gains no points against another bot I wrote. It doesn't even appear to be tagging anything. I've checked that it's moving near people and can tag, but I ran a full match and nothing gained any points.
I then did this to make sure it wasn't a problem with direction:
Still nothing.
Am I doing something wrong?
SET DIRECTION RANDOM
MOVE
TAG
SET EXECUTION_POINTER 1
It gains no points against another bot I wrote. It doesn't even appear to be tagging anything. I've checked that it's moving near people and can tag, but I ran a full match and nothing gained any points.
I then did this to make sure it wasn't a problem with direction:
SET DIRECTION RANDOM
MOVE
TAG
SET EXECUTION_POINTER 2
Am I doing something wrong?
- TheMonsterOfTheDeep
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
So I made a test bot:Yeah - in order to tag a bot you need to useSET DIRECTION RANDOM
MOVE
TAG
SET EXECUTION_POINTER 1
It gains no points against another bot I wrote. It doesn't even appear to be tagging anything. I've checked that it's moving near people and can tag, but I ran a full match and nothing gained any points.
I then did this to make sure it wasn't a problem with direction:Still nothing.SET DIRECTION RANDOM
MOVE
TAG
SET EXECUTION_POINTER 2
Am I doing something wrong?
SET *@(something) @(my line with tag)
- TheMonsterOfTheDeep
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
nope
Last edited by TheMonsterOfTheDeep (July 15, 2016 23:52:31)
- TheMonsterOfTheDeep
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Welp, Snipar now loses to STINGER a lot. Oh well. 

- MartinBraendli2
-
Scratcher
100+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
WhoopsHmm. Now everyone is super peaceful, not a single attack/point. Am I missing something?
I just realized I had a huge error in detecting enemy bots (thanks to @TheMonsterOfTheDeep)
The issue was that it would detect bots on the wrong axis (so if direction was up or down, it would search left or right)
It's fixed now, but it may affect scores
- Random-Man
-
Scratcher
48 posts
[ATC#3] So you say you're a "hacker"? Prove it!
I was thinking of joining in on the brawl with a bot, but… well… none of the bots seem to be doing anything, except to slowly move around randomly… eventually chrome crashed when I added a 10th submission. 

- goldfish678
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Just saying, I haven't scored a single point against anyone with either WonkThePlank or OverWriter. What's the point of the tag code if it doesn't work properly?
- CodeLegend
-
Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
It gains no points against another bot I wrote. It doesn't even appear to be tagging anything. I've checked that it's moving near people and can tag, but I ran a full match and nothing gained any points.
Hmm. Now everyone is super peaceful, not a single attack/point. Am I missing something?
I was thinking of joining in on the brawl with a bot, but… well… none of the bots seem to be doing anything, except to slowly move around randomly… eventually chrome crashed when I added a 10th submission.
Just saying, I haven't scored a single point against anyone with either WonkThePlank or OverWriter. What's the point of the tag code if it doesn't work properly?Something might be wrong with the controller

- MegaApuTurkUltra
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
WhoopsHmm. Now everyone is super peaceful, not a single attack/point. Am I missing something?
I just realized I had a huge error in detecting enemy bots (thanks to @TheMonsterOfTheDeep)
The issue was that it would detect bots on the wrong axis (so if direction was up or down, it would search left or right)
It's fixed now, but it may affect scores
Yep, there was another bug where the bots found themselves as targets. That's fixed
http://image.prntscr.com/image/4b7909d012814b7fbcddedec56a8d842.png
Last edited by MegaApuTurkUltra (July 15, 2016 13:44:34)
- MartinBraendli2
-
Scratcher
100+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
@MATU
Any words on the mode of the tournament?
Any words on the mode of the tournament?
- goldfish678
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
I just did a few test runs with WonkThePlank and OverWriter. They're definitely tagging each other, I can see it happening, but neither of them are getting any points. Meanwhile, when I put something like stinger or copybot into it, they get points no problem. Is this like biased towards better coded bots or something? 
EDIT: Also, with WonkThePlank and OverWriter, the point counter disappears when the game starts or it just doesn't show up at all when I import them. However, this never happens with other bots.

EDIT: Also, with WonkThePlank and OverWriter, the point counter disappears when the game starts or it just doesn't show up at all when I import them. However, this never happens with other bots.
Last edited by goldfish678 (July 15, 2016 16:32:05)
- CodeLegend
-
Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
I just did a few test runs with WonkThePlank and OverWriter. They're definitely tagging each other, I can see it happening, but neither of them are getting any points. Meanwhile, when I put something like stinger or copybot into it, they get points no problem. Is this like biased towards better coded bots or something?Looking at both of those bots, neither have any means of transmitting their TAG…
EDIT: Also, with WonkThePlank and OverWriter, the point counter disappears when the game starts or it just doesn't show up at all when I import them. However, this never happens with other bots.Importing bots before running makes them not have a score counter until a score is gained. Importing after running starts them off with 0 score.
- goldfish678
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Why would you want to transmit a TAG? That would just give the other person more of a chance to tag you, right? How does tag work and why is it so complicated?I just did a few test runs with WonkThePlank and OverWriter. They're definitely tagging each other, I can see it happening, but neither of them are getting any points. Meanwhile, when I put something like stinger or copybot into it, they get points no problem. Is this like biased towards better coded bots or something?Looking at both of those bots, neither have any means of transmitting their TAG…
Edit: Oh, and I tested it with WonkThePlank, OverWriter, Catch me if you can, and Project Whatever, and Project Whatever won 3-0-0-0.
Last edited by goldfish678 (July 15, 2016 16:37:32)
- CodeLegend
-
Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Revision 2In English:PROTECT @3
SET DIRECTION RANDOM
MOVE
IF *@2 EQUALS @15 1 1
IF *@2 EQUALS @17 1 1
SET EXECUTION_POINTER 1
TAG
Protect my third line. (MOVE)
Point in a random direction.
Move forward.
If my opponent's second line equals my fifteenth line (which doesn't exist), run line 1, otherwise run line 1. (what actually happens - Run line 1 if I'm facing an opponent.)
If my opponent's second line equals my seventeenth line (which doesn't exist), run line 1, otherwise run line 1. (what actually happens - Run line 1 if I'm facing an opponent.)
Go back to the first line.
TAG (never transmitted)
- MartinBraendli2
-
Scratcher
100+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
Why would you want to transmit a TAG? That would just give the other person more of a chance to tag you, right? How does tag work and why is it so complicated?
The whole game is about leaving your tag on the enemies. That's how you score. It wont help the enemy, if they have your tag. In the best case, they even tag other enemies with YOUR tag, which give you points.
- CodeLegend
-
Scratcher
500+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
How does tag work and why is it so complicated?TAG doesn't actually do anything at all. Your score is simply determined by how many of your TAGs are in other bots.
EDIT: ninja'd

Last edited by CodeLegend (July 15, 2016 16:42:15)
- goldfish678
-
Scratcher
1000+ posts
[ATC#3] So you say you're a "hacker"? Prove it!
YES! Out of luck probably, Revision 3 of WonkThePlank beat CopyBot.

EDIT: Beat it again 174-86
Tried it a few more times. Most of the time CopyBot won, but I managed to win 155-81 on one of them

EDIT: Beat it again 174-86
Tried it a few more times. Most of the time CopyBot won, but I managed to win 155-81 on one of them
Last edited by goldfish678 (July 15, 2016 16:55:20)
