[v1.1 - DISCONTINUED] Mari0:HEC (HugoBDesigner's Entities and Customization)

Mods, guides how to use and install mods go right in here.
B-Man99
Posts: 1868
Joined: 02 Jul 2012, 00:32
Contact:

Post » 18 Feb 2015, 08:11

If anyone cares, I went in and fix the discrepancy in version numbers (and naming). I think. Whatever I noticed at least.
Hugo could have wrote:v1.0

Image
Surprise I made an exe in case anyone else is lazy and/or needy

Image
Source requires LÖVE 0.8.0 (Which is NOT the current version)
I swear to god I'm not OCD
If I was I would bother to find the actual Windows download image from stabyourself instead of poorly cropping a screenie of it
Yeah yeah that

EDIT:
Image
heh...
heh heh heh...

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 18 Feb 2015, 10:04

Despite what I told you already via chat, thank you so much for fixing my laziness :3
I updated the main post with your links and also other references to Mari0 +Portal and the banner as well (the last one was REALLY awful).

So once again, thanks a bunch for that :D

User avatar
SasukeVip
Posts: 23
Joined: 05 Aug 2015, 17:37

Post » 28 Aug 2015, 10:44

Sorry for the bump, but the game crashes when I hit a ? block to get a fire flower.
Image

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 28 Aug 2015, 18:55

Thank you for your error report, Sasuke! As it turns out, your issue was just a small typo in the code, which I fixed easily. However, I realized that this mod could use a bit of bug-fixing and optimization, so I decided to update it to LÖVE 0.9.2, properly changed all the Mari0 +Portal references into Mari0:HEC, fixed some random errors I encountered and FINALLY fixed the custom categories feature in the editor. That was the one thing I've been forever procrastinating into fixing and still wanted working the most. 10/10 laziness logic.

Anyways, updated the main post with the new version, added a couple things and here's the download to make it easier: https://www.dropbox.com/s/237cov551zmfs ... .love?dl=0

By the way, if you or anybody finds any error/problem in this mod, please let me know, as at the moment I'm on a roll with bugfixing :D

User avatar
SasukeVip
Posts: 23
Joined: 05 Aug 2015, 17:37

Post » 29 Aug 2015, 08:00

Here's another error in the latest version (v1.1).
Image
Attempting to change control scheme crashes the game.
And thanks for the fire flower bug fix, now I can burn goombas again :D

noellekiq
Posts: 20
Joined: 25 Nov 2015, 19:06
Contact:

Post » 25 Nov 2015, 19:15

In the level editor, clicking the entities tab, then any other tab crashes the game.
Image

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 26 Nov 2015, 02:11

Noahkiq wrote:In the level editor, clicking the entities tab, then any other tab crashes the game.
Image
Thanks for the error report! Turns out it was just a silly problem, easily fixable. I already updated the latest download, so just download the same file again (or click the link in a few posts above).

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 26 Nov 2015, 16:39

Double post for a good reason: new update coming soon with even MORE bugfixes (dunno what Noahkiq did, but he got me back into Mari0:HEC). Sneak-peak:

Image

MF064DD
Posts: 719
Joined: 20 May 2014, 00:08

Post » 26 Nov 2015, 18:57

Well, guess I'll download this.

Loving what I see in that sneak-peak. It's one of the major things that I wished for in this game.

Downloading..

EDIT: Did I do something wrong here? (Notice Invisible Red Turtle)

Image

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 27 Nov 2015, 09:18

I did something silly and forgot to load the red koopa image. Fixed for this and the next update. Just redownload version 1.1, and thanks for letting me know :P

Pro-tip: if you get another bug like this, you can press "F1" to show the koopa's hitbox even though the koopa is not visible

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 27 Nov 2015, 16:34

Another double post for a good reason: I stole something from my Pattern Generator and it's pretty cool:

Image
Cause why the heck not?

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 23 Dec 2015, 11:55

Triple post for more goodies!

Image

EDIT:
Image

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 23 Dec 2015, 16:20

Nice!
Also I just realized how much you can customize cube droppers.

BTW, are you going to mainly focus on bug fixes in the update or are you adding new features?

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 23 Dec 2015, 17:50

Mostly bugfixes, my past self would just pretend they never existed just so that he could add new features xD

But if you want to suggest a feature or report a bug, it'd be much welcome! I'm finishing up stuff I left unfinished and fixing the bugs I find. Can't have much optimization, that'd take forever :T

User avatar
I LÖVE LUA
Posts: 222
Joined: 12 Aug 2013, 13:19

Post » 02 Jan 2016, 20:42

I found a bug while placing a multi-gel entity in the editor :

Code: Select all

Error

game.lua:1345: attempt to index a nil value


Traceback

main.lua:1762: in function 'draw'
[C]: in function 'xpcall'


You can get a copy of this error at:
%appdata%/LOVE/mari0/errors

And you can send it to:
http://hugobdesigner.blogspot.com.br/p/contact.html

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 02 Jan 2016, 22:01

Thanks for the bug report! Already fixed for the next update!

Speaking of next update, get ready. We're going LÖVE 0.10.0 now!

User avatar
I LÖVE LUA
Posts: 222
Joined: 12 Aug 2013, 13:19

Post » 02 Jan 2016, 22:16

HugoBDesigner wrote:Thanks for the bug report! Already fixed for the next update!

Speaking of next update, get ready. We're going LÖVE 0.10.0 now!
You're welcome.
Also, sweet, 0.10.0. Wasn't it a bit sad we "lost" love.filesystem.exists?

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 03 Jan 2016, 00:59

I LÖVE LUA wrote:You're welcome. Also, sweet, 0.10.0. Wasn't it a bit sad we "lost" love.filesystem.exists?
A little bit, but on the plus side, we have file drops! I'm already working on adding this feature for easy installing of mappacks and tilesets. Just drag-drop the file into the game and bam! Installed.

User avatar
TurretBot
Posts: 4412
Joined: 15 Mar 2012, 23:18
Contact:

Post » 03 Jan 2016, 06:45

HugoBDesigner wrote:
I LÖVE LUA wrote:we "lost" love.filesystem.exists?
Wait, seriously? Or was it just renamed?

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 03 Jan 2016, 08:09

TurretBot wrote:
HugoBDesigner wrote:
I LÖVE LUA wrote:we "lost" love.filesystem.exists?
Wait, seriously? Or was it just renamed?
Though I can't seem to find it on the Wiki, I've read it was removed. Now you have to use love.filesystem.isFile, I think. Not happy with that though. Like most changes, I'll probably just write a code to "recover" the functions (like how they added love.wheelmoved for mouse wheel, I just made it call love.mousepressed).

User avatar
TurretBot
Posts: 4412
Joined: 15 Mar 2012, 23:18
Contact:

Post » 03 Jan 2016, 10:15

All I can think of is
Maurice wrote:

Code: Select all

	--blame slime
	love.graphics.drawq = love.graphics.draw

User avatar
I LÖVE LUA
Posts: 222
Joined: 12 Aug 2013, 13:19

Post » 03 Jan 2016, 11:16

TurretBot wrote:All I can think of is
Maurice wrote:

Code: Select all

	--blame slime
	love.graphics.drawq = love.graphics.draw
Actually, "exists" also works for folders, so I do (in love.load):

Code: Select all

local lfe = function(filename)
  assert(filename and type(filename)=="string", "bad argument #1 to 'exists' (string expected, got " .. ((filename==nil and "nil") or type(filename)) .. ")")
  return love.filesystem.isFile(filename) or love.filesystem.isFolder(filename)
end

love.filesystem.exists = love.filesystem.exists or lfe

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 03 Jan 2016, 16:11

Forgot about the folder thing, but your solution sums it up pretty well. There are also problems with the changed mouse and keyboard inputs, so I did this:

Code: Select all

function love.mousepressed(x, y, button)
	if button == 1 then button = "l" end
	if button == 2 then button = "r" end
	if button == 3 then button = "m" end
end

function love.wheelmoved(x, y)
	if y > 0 then
		love.mousepressed(love.mouse.getX(), love.mouse.getY(), "wu")
	else
		love.mousepressed(love.mouse.getX(), love.mouse.getY(), "wd")
	end
end

function love.keypressed(key)
	if key == "space" then key = " " end
end

function love.keyreleased(key)
	if key == "space" then key = " " end
end
Pretty simple fixes, really.

User avatar
TurretBot
Posts: 4412
Joined: 15 Mar 2012, 23:18
Contact:

Post » 03 Jan 2016, 17:55

I know it's a pain to port existing code, but the new button inputs seem pretty logical to me...

What do you mean this thread is about Mari0: HEC? What the hec is that?

oobsacul
Posts: 1
Joined: 12 Feb 2016, 09:27

Post » 12 Feb 2016, 09:53

BUG:
When I attempt to open the editor for the cube dispenser, I recieve the following error message:

Error

multigui.lua:459: attempt to concatenate field 'id' (a nil value)


Traceback

editor.lua:297: in function 'editor_update'
game.lua:1060: in function 'game_update'
main.lua:1176: in function 'update'
[C]: in function 'xpcall'

Also, when I try to change the controls after doing so the first time, I get the following:

Error

menu.lua:2802: attempt to call field 'getNumJoysticks' (a nil value)


Traceback

menu.lua:2374: in function 'menu_keypressed'
main.lua:2446: in function 'keypressed'
main.lua:2267: in function <main.lua:2262>
[C]: in function 'xpcall'

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 12 Feb 2016, 12:07

It's a silly bug that has already been fixed for the next update,but thanks for the bug report!

Speaking of update, I should really push this update as fast as I can...

BobbyJones
Posts: 18
Joined: 14 Feb 2016, 07:03

Post » 14 Feb 2016, 07:26

If you are updating to 0.10.0 then there is this https://github.com/radgeRayden/future-mari0

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 14 Feb 2016, 15:23

BobbyJones wrote:If you are updating to 0.10.0 then there is this https://github.com/radgeRayden/future-mari0
Thanks, but I already updated my mod to LÖVE 0.10.0 :)

BobbyJones
Posts: 18
Joined: 14 Feb 2016, 07:03

Post » 14 Feb 2016, 18:45

The reason I linked that repo is that there should be 1 0.10.0 repo where everyone can collaborate and make Mari0 better that way the community can have a more solid game to play. And maybe it could be cleaned up to be modded easier. That repo also runs in the browser and the web. I'm assuming it will receive changes to reflect that. Like the shaders could use some work.

Guest_1000000
Posts: 8
Joined: 29 May 2016, 05:47

Post » 14 Jun 2016, 11:38

In the editor,place a thing a produce gel in that tile crash the game

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 14 Jun 2016, 13:54

Thanks for the report, I fixed it and updated the main download :)

Guest_1000000
Posts: 8
Joined: 29 May 2016, 05:47

Post » 18 Jun 2016, 15:37

when i test the level with that,it crash the game again

User avatar
Mari0_Player
Posts: 224
Joined: 23 Sep 2013, 00:48

Post » 18 Jun 2016, 16:20

When testing 3-4 of the Portal mappack in the editor:

game.lua:1309: bad argument #1 to 'draw' (Texture expected, got nil)

game.lua:1309: in function 'game_draw'
main.lua:1762: in function 'draw'
[C]: in function 'xpcall'

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 18 Jun 2016, 17:36

Alright, fixed both bugs. Thanks for the reports!

Now, has any of you experienced a weird lag during gameplay? It's probably not just me, so I'll try to find what's causing it.

User avatar
Mari0_Player
Posts: 224
Joined: 23 Sep 2013, 00:48

Post » 19 Jun 2016, 21:51

Not happening to me, but I only have the version from 2015 that's in the main post.
Here's a crash when portalling a Koopa into a horizontal portal that's inside a pit (EDIT: It just seems to happen when firing at Koopas in general):

koopa.lua:269: attempt to index a nil value

physics.lua:402: in function 'horcollision'
physics.lua:275: in function 'checkcollision'
physics.lua:249: in function 'handlegroup'
physics.lua:151: in function 'physicsupdate'
game.lua:1065: in function 'game_update'
main.lua:1176: in function 'update'
[C]: in function 'xpcall'

Also, in Alesan's mappack The 1-Up, the game seems to be oddly copying the platform from the first screen of 1-1 onto other levels randomly, and it's not showing how many lives I have either...

Guest_1000000
Posts: 8
Joined: 29 May 2016, 05:47

Post » 25 Jun 2016, 09:38

when i tried to open the cube dispenser gui,it crash the game

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 25 Jun 2016, 20:32

I made it so that right-clicking the cube dispenser won't crash the game anymore, and I couldn't reproduce the koopa portal bug.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 05 Jul 2016, 04:40

I'm liking how this mod is going, keep it up.

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 05 Jul 2016, 13:40

Thanks, Justin! Although, I'm not taking this mod as my priority anymore, and most of the recent updates have been directed to fixing bugs that would crash the game. I'm mostly done for with this mod, even though I may give it a few more updates in the future.

noellekiq
Posts: 20
Joined: 25 Nov 2015, 19:06
Contact:

Post » 05 Jul 2016, 20:04

Heh, I meant to re-check this page just a few days after I reported that one crash. Well, 7 months later, I'm here to say thanks for fixing that! Guess I'll go and play this again..

User avatar
The Snivy
Posts: 34
Joined: 15 Jul 2016, 02:43

Post » 18 Jul 2016, 23:48

Could you please make some windows exe installs? The one for 1.0 is broken and my LOVE 0.9.2 is acting up.

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 19 Jul 2016, 00:26

Sure thing, here it is: https://www.dropbox.com/s/1p0gy8iu1zkxv ... 1.zip?dl=0

Updated the main post with the link as well.

Vitellary
Posts: 1
Joined: 29 Jun 2015, 22:17

Post » 21 Jul 2016, 01:54

Hey. I got this error when attempting to change my controls:
Error

menu.lua:2802: attempt to call field 'getNumJoysticks' (a nil value)


Traceback

menu.lua:2374: in function 'menu_keypressed'
main.lua:2446: in function 'keypressed'
main.lua:2267: in function <main.lua:2262>
[C]: in function 'xpcall'
This happened in both the .exe and .love for LOVE 0.9.2.

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 21 Jul 2016, 03:31

Oh yeah, I forgot to update the controllers code from LÖVE 0.8 to 0.9. I'll fix it as soon as I can. Thanks for the report!

User avatar
The Snivy
Posts: 34
Joined: 15 Jul 2016, 02:43

Post » 14 Aug 2016, 02:06

I cannot access levels over W9 in the editor. When ever i click on W9-1, it goes to W1-1.

User avatar
weee50
Posts: 65
Joined: 12 Sep 2013, 00:35

Post » 31 Oct 2016, 03:08

Image

Why do I have 2 cursors?

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 31 Oct 2016, 03:52

Well, it's just a visual glitch, only one of them should work.

Also, felt like I should comment, but now that I've been working on projects of my own, I'm pretty much discontinuing this mod. May come back and fix a few things here and there, but just to make it official, this mod is basically done for. Thank you all so much for the support, though. Thanks to this mod, I got started in programming, so I owe it and you guys a lot. If you find any game-breaking bug, you may still report, even though I can't guarantee 100% that I'll fix them. But hey, I've had great fun with this mod while it lasted, and learned a lot through it! But hey, if anyone is crazy and courageous enough to venture through my code, you guys can feel free to mess around with this mod however you desire, heck, steal it from me, idc (just kidding, I care, but eh, not that much).

But yeah, will edit the main post to let everyone know that this mod is officially dead. Again, thanks everyone for the support, it was great fun!

User avatar
WawaTittere
Posts: 64
Joined: 02 Mar 2016, 17:41

Post » 24 Jul 2017, 17:34

It is possible to replace the music? I know that I can add music, but what I want is replace the music

User avatar
HugoBDesigner
Posts: 2188
Joined: 19 Sep 2012, 02:23
Contact:

Post » 24 Jul 2017, 21:31

I thought it was possible to replace the music. I know it was something I planned on doing, but apparently I never got into doing it. Sorry :/

User avatar
WawaTittere
Posts: 64
Joined: 02 Mar 2016, 17:41

Post » 25 Jul 2017, 00:22

HugoBDesigner wrote:I thought it was possible to replace the music. I know it was something I planned on doing, but apparently I never got into doing it. Sorry :/
ok

Post Reply