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.


Hello, visitor! These forums are run off of the revenue generated from these ads. If you'd like to support us, please whitelist us or consider donating:

#1 2018-03-12 01:02:27

Joined: 2015-02-15
Posts: 409

Help. How to?

I guess my lack of C# experience is a problem, but hey I'm only 16, so I have time to learn I guess(?). So basically, my OnPlayerJoin event is not triggering, can someone figure out why?

(run bot by opening command prompt or power shell and "dotnet EEBL.dll")

Source Code: don't mind my terrible coding. i have a lot to organize, refactor, and rewrites and stuff, but currently focusing on feature stuff.

Bot Loader:

Bot (HiPlayer): … iPlayer.cs

Edit: i know there are other implementations of this probably, just wanted to do this for coding experience and for fun.

Last edited by Timothyji (2018-03-12 01:12:41)



#2 2018-03-12 09:12:40

From: BiH
Joined: 2015-02-18
Posts: 1,540

Re: Help. How to?

Does it catch any errors? Does it connect to the world?

Your mistake may be in trying to send “init” before the bot’s actually joined the room. Find some connection code that handles the error and success callbacks in the Connect and JoinRoom (or maybe only CreateJoinRoom has callbacks) methods and use it.

I posted it at some point.

One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.


Wooted by:

#3 2018-03-12 09:13:40

Formerly destroyer123
From: England
Joined: 2016-06-03
Posts: 1,994

Re: Help. How to?

I should be able to find out for you if you're still stuck tommorrow, but until then I'd advise using breakpoints to see if you can find out yourself (if you don't know how to, google it because you'll probably need screenshots to learn how, and I can't do that atm)

I'd put one in the add message, then if that's the problem you'll know because it won't break, otherwise you'll be able to step through line by line to see where execution stops.

Edit: lol ninja'd ^, seems everyone in the UK wakes up at the same time // (iirc you also live in the UK don't you?)

Last edited by LukeM (2018-03-12 09:15:52)

- Luke Miles


#4 2018-03-12 15:48:19

Joined: 2015-02-15
Posts: 409

Re: Help. How to?

It connects fine. It seems it's seems to be failing around the subscribe to the event handler though. The chat stuff works though.

Edit: actually, when I get home, I'll just have the bot loader loop through all the bots and execute a function, since that seems to be how your supposed to get your plugin to respond to events.

Last edited by Timothyji (2018-03-12 15:53:48)




Board footer

Powered by FluxBB

[ Started around 1529665577.8665 - Generated in 0.021 seconds, 13 queries executed - Memory usage: 1.16 MiB (Peak: 1.26 MiB) ]