Mari0 Mod Loader Help!
Ok So This Kind Of branches off of my other post. I've stopped Being a dumb ass and figured out how to get mods into the game. Now It worked pretty fine until I added fakeusers turrets into the mods folder. After that I went back into Mari0Ms_1.6.2 and I opened the level editor and It came up with a blue screen. Then I removed the turrets file and it still comes up with this blue screen:
wtf have I done wrong?
wtf have I done wrong?
- Flutter Skye
- Posts: 1690
- Joined: 08 Apr 2012, 17:54
- Contact:
delete the mappacks or in every rxt file of a level remove the end
Persisting the problem after mod removal means you have done something really wrong. Turrets mod applies his changes only runtime and released versions do not modify any of the files. However it is really a good idea to open a new thread for already reported and probably solved bug:
Check the turrets thread. I'm wondering what other mods are you guys using. Because both the game and level editor work for me with MMS 1.6.1 and 1.6.2Eleenrei wrote:im having a error here (using MarioMS mod version)
Error
mods.turret/inceptors/physics.lua:24: attempt to get lenght of local 'list' (a function value)
Traceback
mods/turrets/interceptors/physic.lua:24: in function 'matchList'
mods/turrets/interceptors/physic.lua:10: in function 'checkrect'
bubtton.lua:25: in function 'update'
game.lua:379: in function 'oldGameUpdate'
mods/turrets/interceptors/game.lua:44: in function 'game_update'
main.lua:812: in function 'update'
[C]:in function 'xpcall'
fakeuser wrote:Persisting the problem after mod removal means you have done something really wrong. Turrets mod applies his changes only runtime and released versions do not modify any of the files. However it is really a good idea to open a new thread for already reported and probably solved bug:Check the turrets thread. I'm wondering what other mods are you guys using. Because both the game and level editor work for me with MMS 1.6.1 and 1.6.2Eleenrei wrote:im having a error here (using MarioMS mod version)
Error
mods.turret/inceptors/physics.lua:24: attempt to get lenght of local 'list' (a function value)
Traceback
mods/turrets/interceptors/physic.lua:24: in function 'matchList'
mods/turrets/interceptors/physic.lua:10: in function 'checkrect'
bubtton.lua:25: in function 'update'
game.lua:379: in function 'oldGameUpdate'
mods/turrets/interceptors/game.lua:44: in function 'game_update'
main.lua:812: in function 'update'
[C]:in function 'xpcall'
I did what you said and replaced the 1 thing with
Code: Select all
checkrect = function(x, y, width, height, list, statics)
if type(list) == "table" then
-- stop laser
if matchList(list, {"player", "box", "goomba", "koopa"}) then
list = {"player", "box", "goomba", "koopa", "turret"}
-- lightbridges push turrets
elseif matchList(list, {"box", "player"}) then
list = {"box", "player", "turret"}
end
end
return oldCheckRect(x, y, width, height, list, statics)
there's one line you have forgotten to copy:
Code: Select all
end
fakeuser wrote:there's one line you have forgotten to copy:Code: Select all
end
If I Did forget something. Where do I put it?
right after
and before
Code: Select all
return oldCheckrect(....
Code: Select all
-- returns if list matches...
You Sir Deserve a Some cake, we ran out of cookies :(fakeuser wrote:right afterand beforeCode: Select all
return oldCheckrect(....
Code: Select all
-- returns if list matches...
Well, that first error you posted relates to my index-reassignment code, which moves around entities' information in entityquads, entitylist, and entitydescriptions so that they're at the index they were at when they were first used in the map. The turrets must have offset some of the indices.