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-23 19:25:40

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

help with fill

if (idof > 500 && idof < 1000)
                con.Send(worldKey + "fill", idof, 1, worldWidth, worldHeight, worldHeight, worldWidth);
            else
                con.Send(worldKey + "fill", idof, 0, worldWidth, worldHeight, worldHeight, worldWidth);

Doesn't work.

HELLP


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

Offline

Wooted by: (2)

#2 2015-04-23 20:18:24

goeyfun
Member
From: Mighty Japan
Joined: 2015-02-18
Posts: 667

Re: help with fill

"fill" really exist?


Ug3JzgO.png

Offline

Wooted by: (2)

#3 2015-04-23 21:07:18, last edited by CJMaeder (2015-04-23 21:21:42)

CJMaeder
Member
From: Lame Land
Joined: 2015-04-06
Posts: 219

Re: help with fill

marcoantonimsantos wrote:
if (idof > 500 && idof < 1000)
                con.Send(worldKey + "fill", idof, 1, worldWidth, worldHeight, worldHeight, worldWidth);
            else
                con.Send(worldKey + "fill", idof, 0, worldWidth, worldHeight, worldHeight, worldWidth);

Doesn't work.

HELLP

Try this.

x1 = 1;
y1 = 1;
x2 = worldWidth-2;
y2 = worldHeight-2;
if (idof > 500 && idof < 1000)
                con.Send(worldKey + "fill", idof, 1, x1, y1, x2, y2);
            else
                con.Send(worldKey + "fill", idof, 0, x1, y1, x2, y2);

Just FYI it will not allow you to place the blocks if the blocks you are trying to place are not allowed on the border.
so unless they are allowed you should not try to fill on the border.


Lame!

Offline

Wooted by: (2)

#4 2015-04-23 22:21:35

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

Re: help with fill

IDof would be better because I was confused for a second on what 'idof' was... but meh


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#5 2015-04-24 10:40:54

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

Re: help with fill

Lmao. worldWidth can't be the top left corner and the bottom right corner's X.

Offline

Wooted by:

#6 2015-05-30 13:54:56

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

Re: help with fill

it didnt work halp
!!!1


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

Offline

#7 2015-05-30 19:12:05

CJMaeder
Member
From: Lame Land
Joined: 2015-04-06
Posts: 219

Re: help with fill

This has been removed for now.


Lame!

Offline

#8 2015-05-30 20:05:01

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

Re: help with fill

CJMAEDER wrote:

This has been removed for now.

D:::
bringzitbaksc


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

Offline

realmaster421433012701508549

Board footer

Powered by FluxBB

[ Started around 1732477927.1913 - Generated in 0.114 seconds, 14 queries executed - Memory usage: 1.46 MiB (Peak: 1.58 MiB) ]