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-04-19 09:58:31

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

[EE Broking Fix] April Update Killing Bots

So the new April update broken all bots that got values from init, but here's a tip:

All old values now are '3' values further. (I found this out while i was looking at message values, using VS2015 locals)


So, this means:
m.GetInt(12) and m.GetInt(13), are now m.GetInt(15), m.GetInt(16)

And if you use botid, consider m.GetString(9) is now a byte. m.GetString(12) is now acceptable.
and so on...


http://i.imgur.com/bjvgH5L.png?1

Offline

#2 2015-04-19 10:02:56

madiik
Member
From: floor above Yuuta
Joined: 2015-02-26
Posts: 514

Re: [EE Broking Fix] April Update Killing Bots

So, wait.

What is the world data byte?


shh i have returned

Offline

#3 2015-04-19 10:03:43

Psychocrysma
Member
Joined: 2015-02-26
Posts: 46

Re: [EE Broking Fix] April Update Killing Bots

marcoantonimsantos wrote:

So the new April update broken all bots that got values from init, but here's a tip:

All old values now are '3' values further. (I found this out while i was looking at message values, using VS2015 locals)


So, this means:
m.GetInt(12) and m.GetInt(13), are now m.GetInt(15), m.GetInt(16)

And if you use botid, consider m.GetString(9) is now a byte. m.GetString(12) is now acceptable.
and so on...

Can you tell me which is what? It's out of curiosity really.

Offline

#4 2015-04-19 10:06:08

Psychocrysma
Member
Joined: 2015-02-26
Posts: 46

Re: [EE Broking Fix] April Update Killing Bots

madiik wrote:

So, wait.

What is the world data byte?

Did you just...
12 --> 15
13 --> 16

Offline

#5 2015-04-19 10:15:05

madiik
Member
From: floor above Yuuta
Joined: 2015-02-26
Posts: 514

Re: [EE Broking Fix] April Update Killing Bots

Psychocrysma wrote:
madiik wrote:

So, wait.

What is the world data byte?

Did you just...
12 --> 15
13 --> 16

yeeesss
but this is what i do:

World.Info.Owner = m.GetString(0);
                World.Info.Title = m.GetString(1);
                World.Info.Plays = m.GetInt(2);
                World.Info.Woots = m.GetInt(3);
                World.Info.Key = derot(m.GetString(5));

                LocalPlayer.UserID = m.GetInt(6); //whats this
                LocalPlayer.UserName = m.GetString(9); // and this

                World.Info.Size.X = m.GetInt(15);
                World.Info.Size.Y = m.GetInt(16);

                World.Info.Data = new uint[2, m.GetInt(12), m.GetInt(13)];
                var roomData = new uint[2, m.GetInt(12), m.GetInt(13)];
                World.DataBlocks = new object[m.GetInt(12), m.GetInt(13)];
                var chunks = InitParse.Parse(m);
                foreach (var chunk in chunks)
                {
                    foreach (var pos in chunk.Locations)
                    {
                        roomData[chunk.Layer, pos.X, pos.Y] = chunk.Type;
                        World.Info.Data[chunk.Layer, pos.X, pos.Y] = chunk.Type;
                        try
                        {
                            foreach (var Args in chunk.Args)
                            {
                                World.DataBlocks[pos.X, pos.Y] = Args;
                            }
                        }
                        catch (Exception er)
                        {
                            MessageBox.Show(er.ToString());
                        }
                    }
                }


shh i have returned

Offline

#6 2015-04-19 10:21:54, last edited by Psychocrysma (2015-04-19 10:27:12)

Psychocrysma
Member
Joined: 2015-02-26
Posts: 46

Re: [EE Broking Fix] April Update Killing Bots

madiik wrote:
Psychocrysma wrote:
madiik wrote:

So, wait.

What is the world data byte?

Did you just...
12 --> 15
13 --> 16

yeeesss
but this is what i do:

World.Info.Owner = m.GetString(0);
                World.Info.Title = m.GetString(1);
                World.Info.Plays = m.GetInt(2);
                World.Info.Woots = m.GetInt(3);
                World.Info.Key = derot(m.GetString(5));

                LocalPlayer.UserID = m.GetInt(6); //whats this
                LocalPlayer.UserName = m.GetString(9); // and this

                World.Info.Size.X = m.GetInt(15);
                World.Info.Size.Y = m.GetInt(16);

                World.Info.Data = new uint[2, m.GetInt(12), m.GetInt(13)];
                var roomData = new uint[2, m.GetInt(12), m.GetInt(13)];
                World.DataBlocks = new object[m.GetInt(12), m.GetInt(13)];
                var chunks = InitParse.Parse(m);
                foreach (var chunk in chunks)
                {
                    foreach (var pos in chunk.Locations)
                    {
                        roomData[chunk.Layer, pos.X, pos.Y] = chunk.Type;
                        World.Info.Data[chunk.Layer, pos.X, pos.Y] = chunk.Type;
                        try
                        {
                            foreach (var Args in chunk.Args)
                            {
                                World.DataBlocks[pos.X, pos.Y] = Args;
                            }
                        }
                        catch (Exception er)
                        {
                            MessageBox.Show(er.ToString());
                        }
                    }
                }

Instead, do this:

var getWhatThisIs = m[6].GetType();

Not sure if it will work, but if you know the type, then you can know the message.
6 is Int32 and 9 is Double [EDIT]
In my case, I get value "4" for 6 and "384" for 9
[EDIT2] If you find out what they are, I'd like you to tell me~

Offline

#7 2015-04-19 10:55:20

madiik
Member
From: floor above Yuuta
Joined: 2015-02-26
Posts: 514

Re: [EE Broking Fix] April Update Killing Bots

ayy found out.

LocalPlayer.UserID = m.GetInt(6);
LocalPlayer.UserName = m.GetString(12);

shh i have returned

Offline

#8 2015-04-19 11:00:41

Psychocrysma
Member
Joined: 2015-02-26
Posts: 46

Re: [EE Broking Fix] April Update Killing Bots

madiik wrote:

ayy found out.

LocalPlayer.UserID = m.GetInt(6);
LocalPlayer.UserName = m.GetString(12);

But what is m[9] then?

Offline

#9 2015-04-19 12:12:58, last edited by realmaster42 (2015-04-19 12:14:09)

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

Re: [EE Broking Fix] April Update Killing Bots

m[9] and m[10] give 16
(16x16)

the 16 byte is used by server for COOR, spawn and portals (and more).

The 16x16 is block size, wich should give coordinates. Blame /setpos command addition!


http://i.imgur.com/bjvgH5L.png?1

Offline

#10 2015-04-19 12:15:40

ZeldaXD
EE Homeboy
From: Cyprus
Joined: 2015-02-15
Posts: 1,539
Website

Re: [EE Broking Fix] April Update Killing Bots

In world data, in the line that says

if (m[messageIndex] is string)
    break;

change it to

if (m[messageIndex] is string || m[messageIndex] is bool)
    break;

gLjTZE1.png

Offline

Wooted by:

#11 2015-04-19 12:50:39

MikeK
Member
From: Earth
Joined: 2015-03-13
Posts: 25

Re: [EE Broking Fix] April Update Killing Bots

Thanks for warning.
Btw.. I checked the available servers and noticed FlixelWalker. What is it?


FluxBB bbcode test

Offline

#12 2015-04-19 15:18:35

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

Re: [EE Broking Fix] April Update Killing Bots

MikeK wrote:

Thanks for warning.
Btw.. I checked the available servers and noticed FlixelWalker. What is it?

flixelwalker is the server that runs the old.everybodyedits i think


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

Offline

#13 2015-04-19 15:51:01

Processor
Member
Joined: 2015-02-15
Posts: 2,246

Re: [EE Broking Fix] April Update Killing Bots

Correct! , and it's removed now. //forums.everybodyedits.com/img/smilies/tongue


I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.

Offline

#14 2015-04-19 19:35:25

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [EE Broking Fix] April Update Killing Bots

I updated my information site, to work on the newest update. I also uploaded the pictures to the site too.
EE Information: http://capasha.com/notafraud/index.php
Graphics pack: http://capasha.com/ee/

Offline

#15 2015-04-20 08:11:06

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

Re: [EE Broking Fix] April Update Killing Bots

capasha wrote:

I updated my information site, to work on the newest update. I also uploaded the pictures to the site too.
EE Information: http://capasha.com/notafraud/index.php
Graphics pack: http://capasha.com/ee/

It seems you have some wrong info.

I checked the 'm' init entries and there was one with descriptions, tought, your site tells nothing about it :/


http://i.imgur.com/bjvgH5L.png?1

Offline

#16 2015-04-20 14:10:34

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [EE Broking Fix] April Update Killing Bots

marcoantonimsantos wrote:
capasha wrote:

I updated my information site, to work on the newest update. I also uploaded the pictures to the site too.
EE Information: http://capasha.com/notafraud/index.php
Graphics pack: http://capasha.com/ee/

It seems you have some wrong info.

I checked the 'm' init entries and there was one with descriptions, tought, your site tells nothing about it :/

m init? Are you talking about movements or init?

Offline

#17 2015-04-20 19:57:33

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

Re: [EE Broking Fix] April Update Killing Bots

capasha wrote:
marcoantonimsantos wrote:
capasha wrote:

I updated my information site, to work on the newest update. I also uploaded the pictures to the site too.
EE Information: http://capasha.com/notafraud/index.php
Graphics pack: http://capasha.com/ee/

It seems you have some wrong info.

I checked the 'm' init entries and there was one with descriptions, tought, your site tells nothing about it :/

m init? Are you talking about movements or init?

init.

Message init


http://i.imgur.com/bjvgH5L.png?1

Offline

#18 2015-04-21 11:23:41

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: [EE Broking Fix] April Update Killing Bots

World Description @ Capasha's EE Info

Offline

#19 2015-04-21 14:26:40

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [EE Broking Fix] April Update Killing Bots

DarkDragon4900 wrote:

What I have read on the processors thread, It should be correct on 23. Or isn't it?

Offline

#20 2015-04-21 14:59:04

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: [EE Broking Fix] April Update Killing Bots

I was telling marco that it exists.
I didn't check it but it should be correct.

Offline

#21 2015-04-21 19:20:28

realmaster42
Formerly marcoantonimsantos
From: ̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍̍
Joined: 2015-02-20
Posts: 1,380
Website

Re: [EE Broking Fix] April Update Killing Bots

DarkDragon4900 wrote:

I was telling marco that it exists.
I didn't check it but it should be correct.

there was nothing before, but it's updated now.


http://i.imgur.com/bjvgH5L.png?1

Offline

#22 2015-04-21 22:17:25

DarkDragon4900
Member
Joined: 2015-03-17
Posts: 251

Re: [EE Broking Fix] April Update Killing Bots

marcoantonimsantos wrote:
DarkDragon4900 wrote:

I was telling marco that it exists.
I didn't check it but it should be correct.

there was nothing before, but it's updated now.

Alright then.

Offline

DarkDragon49001429651045497422

Board footer

Powered by FluxBB

[ Started around 1714355913.0569 - Generated in 0.082 seconds, 11 queries executed - Memory usage: 1.79 MiB (Peak: 2.05 MiB) ]