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-06-11 11:51:50

koozing
Member
Joined: 2015-10-01
Posts: 16

Can someone explain me this?

So i'm trying to increase deaths count when a person i killed by fire/spikes

But how do I extract information from this section ?

http://prntscr.com/bf1c4u

When i charge into a spike the bot stopped at m.Type == "tele".
But somehow m.GetInt(0) and m.GetInt(1) threw the exception InvalidCast, m.GetBoolean(0) and m.GetBoolean(1) both returns false,
while m.GetInt(2) is 14 (i only have 1 spawn at 23x1) and m.GetInt(3) = 368 (i had less than 3 deaths).

Or am I looking at the wrong section ?

Offline

#2 2016-06-11 12:06:48

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: Can someone explain me this?

It shouldn't be that hard to figure out, 0 and 1 are the bools as explained in the documentation, 2 is your player id, 3 is probably your respawn x and 4 then your y and 5 amount of deaths.
Try it out I'd say.

Offline

#3 2016-06-11 12:12:24

koozing
Member
Joined: 2015-10-01
Posts: 16

Re: Can someone explain me this?

i'm an idiot thank you !!

Offline

#4 2016-06-11 12:16:14

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: Can someone explain me this?

Welcome, please take this as a lesson to try and experiment more before hitting the internet, you can learn a lot from it.

Offline

den31071465643774605971

Board footer

Powered by FluxBB

[ Started around 1732741925.5756 - Generated in 0.032 seconds, 11 queries executed - Memory usage: 1.36 MiB (Peak: 1.45 MiB) ]