Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-03-03 05:47:47

ParadoxInTheVoid
Member
From: ̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺
Joined: 2015-02-18
Posts: 341

Moar Bot Help

I am having some trouble.

I've been trying to place dots around the player so they can "fly". It hasn't been working.

I tried to get the players location and then place dots in there vicinity.

What I want to do is make it to where the dots delete after, and dots can't be placed when there is a block there.


signature.png

Offline

#2 2015-03-03 19:09:50

skullz17
Member
Joined: 2015-02-15
Posts: 6,699

Re: Moar Bot Help

The player's location is only tracked when the player presses a button I think. So I think this would be quite difficult to do, unless the player just tapped a button when they want to move rather than hold down a button.


m3gPDRb.png

thx for sig bobithan

Offline

#3 2015-03-04 04:19:57

Jabatheblob1
Member
Joined: 2015-03-01
Posts: 856

Re: Moar Bot Help

Yes. Player coords are only sent in certain messages, such as 'add' or 'm' which means those are the location when that event happens. To get their exact location you would need to have player physics and let alone the bot wouldn't be able to keep up with the amount of blocks you would need to place. Now you can connect multiple bots to place the blocks but again that is only for one user. If you wanted to do this for all the users in the world then i don't believe you would have enough alt accs let alone the max limit would be reached very quickly.


If you would like me to make a bot for you, go here.

Offline

#4 2015-03-04 12:44:44

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Moar Bot Help

The client handles movements after a keypress is made which means you cannot receive messages constantly for players - you will get the initial X,Y V,H (among other things) and a library like EEPhysics handles this pretty well.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Koya1425469484478987

Board footer

Powered by FluxBB

[ Started around 1732822415.9381 - Generated in 0.032 seconds, 12 queries executed - Memory usage: 1.39 MiB (Peak: 1.5 MiB) ]