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 2016-03-05 02:42:17

Firecrackericebreak
Member
Joined: 2015-02-15
Posts: 616

Code Error

case "init":
                    con.Send("init2");                 
                    worldKey = derot(m.GetString(5));
                    break;

It keeps saying String(5) is an Integer when I run the bot and it crashes

Offline

#2 2016-03-05 02:45:15

Hexagon
Member
Joined: 2015-04-22
Posts: 1,213

Re: Code Error

The new EE protocol has introduced a breaking change: there isn't a worldkey anymore. For more info, see here.

Offline

#3 2016-03-05 02:52:23

Firecrackericebreak
Member
Joined: 2015-02-15
Posts: 616

Re: Code Error

Hexagon wrote:

The new EE protocol has introduced a breaking change: there isn't a worldkey anymore. For more info, see here.

[5] <String> RoomRot13

According to this String(5) is a String, how come it shows up as an Integer?

Offline

#4 2016-03-05 02:55:08

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

Re: Code Error

You don't use Rot13 anymore since the new update.Instead, just delete all rot13 code you have (or derot) and to send blocks its:

conn.Send("b", layer, x, y, bid);

zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#5 2016-03-05 15:19:14

912468
Member
Joined: 2015-02-21
Posts: 212
Website

Re: Code Error

Firecrackericebreak wrote:
Hexagon wrote:

The new EE protocol has introduced a breaking change: there isn't a worldkey anymore. For more info, see here.

[5] <String> RoomRot13

According to this String(5) is a String, how come it shows up as an Integer?

7LIaUIq.png
You were probably looking at capasha's site, which isn't up to date...


vF0MA5o.png

Offline

Wooted by:

#6 2016-03-05 18:16:14

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

Re: Code Error

You should use this:

https://github.com/Tunous/EverybodyEditsProtocol

Or wait til Capasha updates if he hasn't already


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#7 2016-03-07 05:32:47

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

Re: Code Error

Xfrogman43 wrote:

You should use this:

https://github.com/Tunous/EverybodyEditsProtocol

Or wait til Capasha updates if he hasn't already

Yeah. I'm not going to update it anymore. Thanels protocol looks better and is updated.

Offline

Wooted by: (2)
capasha1457325167587254

Board footer

Powered by FluxBB

[ Started around 1732756518.592 - Generated in 0.034 seconds, 12 queries executed - Memory usage: 1.5 MiB (Peak: 1.65 MiB) ]