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-07-17 10:20:43, last edited by 1448 (2015-07-17 10:21:10)

1448
Formerly alkazam1448
From: Numberland
Joined: 2015-04-12
Posts: 683
Website

Stalker still not working

Why the hell does my stalker not work!? Now I don't have to worry about whether its an int or a double but still it doesn't work! >:(

Here's my code:

                case "m":
                try
                {
                    string mover = Players[e.GetInt(0)];
                    xPlayer = (int)e.GetDouble(1);
                    yPlayer = (int)e.GetDouble(2);
                    int leftRight = e.GetInt(7); //-1 means left, 1 means right
                    int upDown = e.GetInt(8); //-1 means up, 1 means down
                    cx = ((int)xPlayer + 8) >> 4;
                    cy = ((int)yPlayer + 8) >> 4;
                    if (mover == playerStalked.Text)
                    {
                        if (stalking)
                        {
                            con.Send("m", e[1], e[2], e[3], e[4], e[5], e[6], e[7], e[8], e[9], e[10]);
                        }
                    }
                }
                catch { }
                break;

I have attached my dig code along with it, so that's why extra variables. I've not provided my dig code, and I did try removing it.

Offline

14481437124843522285

Board footer

Powered by FluxBB

[ Started around 1713591210.7048 - Generated in 0.024 seconds, 10 queries executed - Memory usage: 1.34 MiB (Peak: 1.42 MiB) ]