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-04-02 19:20:38

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 978
Website

How NOT change a value

Hi there!

I'm trying to change the aura color but not the shape. The problem is that the the 'send' aura commands needs 2 types of ints. The color and id.

con.send("aura", shapeID, colorID)

I know I can get the current aura shape and than just fill that in but I feel like there is an easier way of getting it to work.

Am I just lazy or is there an other way?
Any suggestions?

*Edit
Found out that for what I was trying I didn't really need to send only 1.
My question still remains. How can I send just 1 int if I dont need to change the other (or get the current).
Is this even possible?

MartenM

PS: Yes I'm quite noob at coding. //forums.everybodyedits.com/img/smilies/tongue


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#2 2016-04-02 20:46:08

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

Re: How NOT change a value

y0jEPqI.png

In init, you can set a value to be 7 or 8 and then use that value for shapeID/colorID


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#3 2016-04-02 20:47:45

drunkbnu
Formerly HG
Joined: 2017-08-16
Posts: 2,306

Re: How NOT change a value

You can use null.

Offline

#4 2016-04-03 00:12:24

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 978
Website

Re: How NOT change a value

HG wrote:

You can use null.

Using this code crashes the application

con.Send("aura", null, Colorid);

Object reference not set to an instance of an object. (Translated by google cause I use Dutch as language)


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#5 2016-04-03 00:40:36

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

Re: How NOT change a value

MartenM wrote:
HG wrote:

You can use null.

Using this code crashes the application

con.Send("aura", null, Colorid);

Object reference not set to an instance of an object. (Translated by google cause I use Dutch as language)

Don't send null. You need to add both aura type and aura color.

Offline

#6 2016-04-03 00:54:37

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 978
Website

Re: How NOT change a value

capasha wrote:

Don't send null. You need to add both aura type and aura color.

I guesse its not possible to send only the aura shape/color. Question anwsered.
Topic can be closed.


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#7 2016-04-03 01:03:56

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

Re: How NOT change a value

MartenM wrote:
capasha wrote:

Don't send null. You need to add both aura type and aura color.

I guesse its not possible to send only the aura shape/color. Question anwsered.
Topic can be closed.

Did you not even use my code? All you did was send null. Wow thanks I feel important


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

Wooted by:

#8 2016-04-03 01:23:27

Zoey2070
Moderation Team
From: Shakuras
Joined: 2015-02-15
Posts: 5,509

Re: How NOT change a value

MartenM wrote:
capasha wrote:

Don't send null. You need to add both aura type and aura color.

I guesse its not possible to send only the aura shape/color. Question anwsered.
Topic can be closed.

pretty pls report your own post instead of assuming we'll see it <3

closed on request


proc's discorb UnGdm07.gif stylish themes for forums/the game UnGdm07.gif
꧁꧂L O V E & C O R N꧁꧂   ᘛ⁐̤ᕐᐷ
danke bluecloud thank u raphe   Gq8tv9Z.gif [this section of my sig is dedicated to everything i've loved that's ever died]
? Hc0cu9u.gif         6yG4Efc.gif

Offline

Wooted by:
Zoey20701459643007593336

Board footer

Powered by FluxBB

[ Started around 1732425905.2764 - Generated in 0.180 seconds, 12 queries executed - Memory usage: 1.54 MiB (Peak: 1.7 MiB) ]