[Mod] Monorail [0.1.2] [monorail]

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

by Evergreen » Post

Inocudom wrote:I noticed today that even with booster tracks that are powered by mesecons, the carts can't go up diagonal slopes that go really high. Is this intentional? If so, could something be added to this mod that allows carts to climb such slopes?
Yes, I would love something like that. Maybe add a chain lift rail from rollercoasters or something.
Back from the dead!

CalumMc
Member
Posts: 58
Joined: Mon Dec 12, 2011 16:50
Location: England

by CalumMc » Post

I'm having a problem with your mod and mesecons. When I place a switch, my server crashes with:

Code: Select all

16:57:44: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=588 m_static_exists=true but static data doesn't actually exist in (0,0,-11)
WARNING: StaticObjectList::remove(): id=588 not found
16:57:44: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=589 m_static_exists=true but static data doesn't actually exist in (0,0,-11)
WARNING: StaticObjectList::remove(): id=589 not found
16:57:44: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../games/minetest_game/mods/mesecons/mesecons/util.lua:5: bad argument #-2 to 'add_node' (string expected, got nil)
16:57:44: ERROR[main]: stack traceback:
In thread b745bb30:
/home/user/minetest-minetest-098692e/src/main.cpp:2024: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b745bb30:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
(Leftover data: #2 virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(-2,0,-12), create_blank=1)
(Leftover data: #3 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #4 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
Aborted
Any suggestions, have I done something wrong?

Thanks
Last edited by CalumMc on Sat Jun 01, 2013 16:21, edited 1 time in total.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

CalumMc wrote:I'm having a problem with your mod and mesecons. When I place a switch, my server crashes with:

Code: Select all

16:57:44: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=588 m_static_exists=true but static data doesn't actually exist in (0,0,-11)
WARNING: StaticObjectList::remove(): id=588 not found
16:57:44: ERROR[main]: ServerEnvironment::deactivateFarObjects(): id=589 m_static_exists=true but static data doesn't actually exist in (0,0,-11)
WARNING: StaticObjectList::remove(): id=589 not found
16:57:44: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: .../games/minetest_game/mods/mesecons/mesecons/util.lua:5: bad argument #-2 to 'add_node' (string expected, got nil)
16:57:44: ERROR[main]: stack traceback:
In thread b745bb30:
/home/user/minetest-minetest-098692e/src/main.cpp:2024: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b745bb30:
#0 int main(int, char**)
(Leftover data: #1 Dedicated server branch)
(Leftover data: #2 virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(-2,0,-12), create_blank=1)
(Leftover data: #3 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #4 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
Aborted
Any suggestions, have I done something wrong?

Thanks
This looks like a serious problem. Could anything be done about it?

Any new ideas for this mod?

vanek.james4
New member
Posts: 5
Joined: Sat Aug 17, 2013 13:39
GitHub: jakubvanek
Location: Czech Republic
Contact:

by vanek.james4 » Post

I have similar problem on my singleplayer to CalumMC's problem:

Code: Select all

15:41:14: ACTION[ServerThread]: singleplayer places node pushable_block:switch_on at (36,15,31)
15:41:14: ACTION[ServerThread]: facedir: 3
15:41:14: ACTION[ServerThread]: singleplayer leaves game. List of players: 
15:41:15: ERROR[main]: ServerError: LuaError: error: ...ds/Jeija-minetest-mod-mesecons-96011bc/mesecons/util.lua:5: bad argument #3 to 'add_node' (string expected, got table)
I have about a month old minetest 0.4.7 from git on Linux Ubuntu 12.04.
Last edited by vanek.james4 on Sun Aug 18, 2013 13:19, edited 1 time in total.

Exilyth
Member
Posts: 73
Joined: Sun Jul 28, 2013 18:46
Location: Earth

by Exilyth » Post

I've been trying out [pushable_blocks] together with [carts]... both mods treat each others rails/sliders as rails/sliders, but don't treat the accelerators of the other mod as accelerators. Noticed this when one of my carts suddenly switched to the parallel monorail track while going though a corner :)
I'm running 0.4.13 stable with [technic][carts][farming_plus][biome_lib][unified_inventory] and a few other mods.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Have any changes been made to this mod lately?

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

no it's feature complete, usually it's tested for compatibility along with mobf release ;-). I guess mesecons broke compatibility .. again
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

by Krock » Post

Is there a way to fix this?

Code: Select all

12:31:29: ERROR[main]: ServerError: LuaError: error: ...mme\minetest\bin\..\mods
\pushable_block/nodes_crafts.lua:276: attempt to index global 'mesecon' (a nil v
alue)
I really like this mod but it's already a bit older :/

Btw: First post! Hello Minetest forums!
Last edited by Krock on Thu Oct 10, 2013 10:33, edited 1 time in total.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

Krock wrote:Is there a way to fix this?

Code: Select all

12:31:29: ERROR[main]: ServerError: LuaError: error: ...mme\minetest\bin\..\mods
\pushable_block/nodes_crafts.lua:276: attempt to index global 'mesecon' (a nil v
alue)
I really like this mod but it's already a bit older :/

Btw: First post! Hello Minetest forums!

There's no mesecons in the depends.txt, but maybe it is depending on mesecons?

viewtopic.php?id=628

User avatar
Krock
Developer
Posts: 4649
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

by Krock » Post

Topywo wrote:There's no mesecons in the depends.txt, but maybe it is depending on mesecons?

viewtopic.php?id=628
thanks! it has been fixed :)
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

jhlucario3
New member
Posts: 4
Joined: Mon Jul 29, 2013 01:31

by jhlucario3 » Post

How do i run this mod on minetest 0.4.5 it keep saying mod failed to load and run

User avatar
VanessaE
Moderator
Posts: 4655
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:

by VanessaE » Post

jhlucario3, do not repeat yourself.

First, you need to update your copy of Minetest - 0.4.5 is quite obsolete. 0.4.7 is the current release.

Second, make sure the folder name is correct for your copy of the monorail mod.

Third, post the exact error message from the debug.txt file - just 'failed to load and run' is not enough.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

I've just tested against current (20131015) master of minetest. Even if this mod seems to be quite old it still is fully operational and working. If someone finds a bug I didn't recognize plz tell me.
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

I have 2 big suggestions, although I don't know if they would be possible, since both would probably require ABMs.
  • Crafting Cart- acts like the Workbench in Castles+ Mod.
  • Furnace Cart- acts like a furnace.
They would both be like the transport cart in that they have a formspec.

Also, what do the switches do?
Last edited by Dan Duncombe on Thu Oct 17, 2013 12:03, edited 1 time in total.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

Dan while those additions wouldn't be that difficult to add I'm sorry but I don't see any benefit of those additions.
DON'T mention coding style!
(c) sapier all rights reserved

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

Just added carts mimicry mode ... hope those addicted to carts graphics are now going to take a look too ;-)
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Sapier, you must rename the mod from pushable_block to monorail in the init.lua file. Otherwise, nobody will figure out how to get it working. That would be a shame, because monorail is superior to carts.

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

already done in git ... will update it once I discovered another trackfinding bug I just realized
DON'T mention coding style!
(c) sapier all rights reserved

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

Ok 0.1.0 is ready now
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

VanessaE, would you be able to test this mod on your servers? No server has ever hosted this mod before, and I would like to see that change.

BRICK
Member
Posts: 19
Joined: Tue Jan 21, 2014 01:36

by BRICK » Post

Pardon my "noobness", but could someone explain to me how exactly this works? I can place the carts on the monorail track, but I can't control them while I'm riding them.

Furthermore, I can't seem to figure out what any of the other blocks that come with this mod do. The cart detector, the accelerator, the switch etc - none of them seem to have any affect on the cart.

polletfa
New member
Posts: 2
Joined: Fri Feb 07, 2014 00:28

by polletfa » Post

@Brick : The accelerator pushes a cart when powered on by mesecons (so you can start a cart automatically). The cart detector can be use to power a mesecons circuit on when a cart passes by. The switch select a direction and can be turned on/off with mesecons or by hand.

@sapier : I had a server crash every time I tried to turn a switch off with mesecons. There is an error line 34 of switch.lua. It should be "offstate" instead of "onstate", then it works great. Also, the models look for 2 textures files that don't exist: pushable_block_cart_mesh.png, cart.png.
Thanks for the mod :)

polletfa
New member
Posts: 2
Joined: Fri Feb 07, 2014 00:28

by polletfa » Post

Oh I forgot: if mesecons mod is present, cart detectors become unknown objects when taken back into the inventory.
In nodes_craft.lua, the 2 lines:
drop = 'monorail:cart_detector 1',
must be changed in:
drop = 'monorail:cart_detector_off 1',

User avatar
rubberduck
Member
Posts: 505
Joined: Thu Feb 27, 2014 19:19
IRC: rbduck
In-game: rubberduck
Location: error 404 - location not found
Contact:

by rubberduck » Post

i installed the monorail mod with the ingame-function
the first issue is, that the name of the folder was wrong when i installed it.

after renaming it worked.

but i noticed a problem with the different kinds of rails (normal rail, booster rail and break rail)
they don't adjust their direction to their adjacent track-segments if i use two different kinds of rails.

also the game crashed when i placed a switch (i was back to menu, not the whole game crashed).
i found out, that sometime the game crashes, when you try to put an active switch (in creative mode)

i have installed mesecons too (if there are problems with this mod, i heart about problems with this mod)
and i use the stable version 0.4.9

do i need the newest dev-version and what about the carts mod (is it better or not?)
My game (not minetest): http://forum.freegamedev.net/viewtopic.php?f=22&t=6800

my mods: gold_and_gem, meseconductors

a penguin throws an apple through a window

sometimes i change my "forum location" via user control panel

theoluk
Member
Posts: 21
Joined: Sun May 11, 2014 18:24

Re: [Mod] Monorail [0.1.0] [monorail]

by theoluk » Post

One Bug, and this may just be for me, but when I place something in a transport cart, it also appears in the inventory of all the other transport carts.

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 25 guests