Page 1 of 1

Fence Bug - Finally Fixed

Posted: Wed Apr 01, 2020 3:43 pm
by DrMekar
The Day of Fence Climbing has come and they Days off the Fence Bug are over.

After being confronted with that annoying Fence Bug once again, while making the Third Castle of my
Episode Mario Heroes: The First Chaper Remade PLEASE CHECK IT OUT and being
really tired of this, I decided to finally work out a fix.

You can download it here: https://www.mediafire.com/file/5gut16z3 ... x.zip/file

The Instructions are aviable in the Download Folder alongside a Demo Picture and the Code obviously.

Enjoy :)

~Dr. Mekar

Re: Fence Bug - Finally Fixed

Posted: Wed Apr 01, 2020 9:09 pm
by Quantumenace
That code is not efficient. Try this instead:
Spoiler: show

Code: Select all

local NPCidxMinusOne = readmem(0x00B259E8, FIELD_DWORD) + 127*0x158

function onTick()
	writemem(NPCidxMinusOne+0x98, FIELD_DFLOAT, 0)
	writemem(NPCidxMinusOne+0xA0, FIELD_DFLOAT, 0)
end

Re: Fence Bug - Finally Fixed

Posted: Sat Apr 04, 2020 9:54 am
by TheGameyFireBro105
fooled by april

Re: Fence Bug - Finally Fixed

Posted: Sat Apr 04, 2020 10:01 am
by Cedur
TheGameyFireBro105 wrote:
Sat Apr 04, 2020 9:54 am
fooled by april

then why is Quantumenace responding about an existing code and suggesting a better one

Re: Fence Bug - Finally Fixed

Posted: Sat Apr 04, 2020 10:08 am
by TheGameyFireBro105
Oh. I thought i was pranked cuz April 1st. Dang.

Re: Fence Bug - Finally Fixed

Posted: Sat Apr 04, 2020 10:10 am
by ElectriKong
Did you know that not everything that happens on April 1st is a prank? Although this one is.

Re: Fence Bug - Finally Fixed

Posted: Sat Apr 04, 2020 10:17 am
by Emral
Has ANYONE in this thread aside from Quantumenace even downloaded the package?