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-10-12 03:28:57, last edited by AK712 (2015-10-12 03:29:07)

AK712
Member
Joined: 2015-02-16
Posts: 94

m.Type = "tele" No Longer Functioning for Portals

Hello,

So I was doing some testing with my bots and for some reason I no longer get any feedback from m.Type == "tele". Here's the code that should work:

if (m.Type == "tele")
            {
                users[m.GetInt(1)].teleported++;
                System.Threading.Thread.Sleep(500);
                connection.Send("say", "Portal!");
            }

I never get "Portal!" unless I /reset, when it should be firing every time someone goes in a portal. Has something changed?


O4DmNuI.png

Offline

#2 2015-10-12 04:05:21, last edited by Xfrogman43 (2015-10-12 04:05:43)

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: m.Type = "tele" No Longer Functioning for Portals

#tele - Owner reset the world
[0] <Boolean> True = used /reset command/Or teleported, False = Someone got killed
[1] <Integer> UserID
[2] <Integer> SpawnPosX
[3] <Integer> SpawnPosY
[..] If more users exists


Meaning:
/teleport name x y


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

Wooted by:

#3 2015-10-12 08:40:10

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: m.Type = "tele" No Longer Functioning for Portals

/teleport uses teleport message, capasha is wrong here (Thanel told me, so I think I got a reliable source.

Just print all messages you get, jump in a portal and see what you get?

Offline

Wooted by:

#4 2015-10-12 10:59:08

ewoke
Member
Joined: 2015-02-20
Posts: 412

Re: m.Type = "tele" No Longer Functioning for Portals

den3107 wrote:

Just print all messages you get, jump in a portal and see what you get?

lots of people dont seem to understand this //forums.everybodyedits.com/img/smilies/wink


if you can read this....good for you

Offline

#5 2015-10-12 13:40:45

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: m.Type = "tele" No Longer Functioning for Portals

^That.
At the same time, it seems too difficult for the admins to detail just what's going on
I've seen a list of changes, but not so far as a list of current 'protocols'

Also, portals don't send squat (IIRC, it's been a while) -- they're just considered part of the moving code.

Offline

hummerz51444653645548776

Board footer

Powered by FluxBB

[ Started around 1732443974.8797 - Generated in 0.040 seconds, 13 queries executed - Memory usage: 1.46 MiB (Peak: 1.58 MiB) ]