[Mod] Carts [carts]

mmstick
New member
 
Posts: 9
Joined: Sun Nov 03, 2013 20:18

by mmstick » Mon Nov 18, 2013 04:37

I get the following output from the terminal with daily dev builds:

Could not open file of texture: pushable_block_cart_mesh.png
Loaded mesh: pushable_block_cart.b3d
Could not open file of texture: pushable_block_cart_mesh.png
Loaded mesh: pushable_block_transport_cart.b3d
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Mon Nov 18, 2013 10:59

mmstick wrote:I get the following output from the terminal with daily dev builds:

Could not open file of texture: pushable_block_cart_mesh.png
Loaded mesh: pushable_block_cart.b3d
Could not open file of texture: pushable_block_cart_mesh.png
Loaded mesh: pushable_block_transport_cart.b3d
That just means that it is using the model. You dont have to worry about it if the textures for the carts are still there.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Nov 18, 2013 18:20

mmstick wrote:I get the following output from the terminal with daily dev builds:

Could not open file of texture: pushable_block_cart_mesh.png
Loaded mesh: pushable_block_cart.b3d
Could not open file of texture: pushable_block_cart_mesh.png
Loaded mesh: pushable_block_transport_cart.b3d

Ummm.... what? This is not part of this mod...
 

oussama
New member
 
Posts: 8
Joined: Sat Dec 07, 2013 08:41

by oussama » Mon Dec 09, 2013 14:07

you said that rail switch has been added to version 8
so can you give me the link to download version 8
Last edited by oussama on Mon Dec 09, 2013 16:54, edited 1 time in total.
 

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

by sapier » Mon Dec 09, 2013 14:37

pushable_block is MONORAIL not carts
DON'T mention coding style!
(c) sapier all rights reserved
 

D0431791
Member
 
Posts: 19
Joined: Wed Nov 06, 2013 11:43

by D0431791 » Thu Jan 02, 2014 00:09

Exilyth wrote:Aside from carts randomly reversing direction on powered rails, it's a great mod.

Does this happens when x, y or z is closed to a multiple of 16?
Minetest can be better if
*better data structure for players and unstackable items like JSON
*multi sqlite files so that multi dimension can be easily implemented
*more convenient mob developing interface
 

vk
New member
 
Posts: 2
Joined: Fri Jan 03, 2014 19:25

by vk » Fri Jan 03, 2014 19:33

Hello! Good mod, thank you.
But what about reversing bug?
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Sat Jan 04, 2014 07:50

vk wrote:Hello! Good mod, thank you.
But what about reversing bug?


I think that some other things are taking up PilzAdam's time. I have been developing two mods, two texture packs and helping make textures for another game. I have found it hard enough. Some people don't have unlimited time to develop mods

If I were to get paid flat fee of a $ a mod, I would do it.
"The Foot is down!"
 

vk
New member
 
Posts: 2
Joined: Fri Jan 03, 2014 19:25

by vk » Sat Jan 04, 2014 08:54

I found that this bug happens because in cart_func:is_rail(p) function minetest.env:get_node(p) sometimes returns "ignore" (as for unloaded area)

I used simple hack

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
d.y = 0
local p = cart_func.v3:add(cart_func.v3:copy(pos), d)
if cart_func:is_rail(p) then
 return d
end


was changed to

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
d.y = 0
local p = cart_func.v3:add(cart_func.v3:copy(pos), d)
if cart_func:is_rail(p) or minetest.env:get_node(p).name == "ignore" then
 return d
end
 

User avatar
Stormageton
New member
 
Posts: 5
Joined: Tue Dec 31, 2013 21:57

by Stormageton » Sat Jan 04, 2014 22:41

Hey, I'm running MineTest 0.4.9 Stable on Win8, and "carts" doesn't work. I've tried extracting and compressing but it keeps talking about something to do with the init.lua. Please help, I desperately want this mod?
 

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

by Topywo » Sat Jan 04, 2014 22:50

Stormageton wrote:it keeps talking about something to do with the init.lua.


It will be easier to help you if you try again and copy the error message (or copy it from your debug.txt file)
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Sat Jan 04, 2014 22:58

What did it say about init.lua? This is the information needed to diagnose and fix the issue.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
markbe
Member
 
Posts: 23
Joined: Thu Jun 06, 2013 23:00

by markbe » Sun Jan 19, 2014 10:50

Exilyth wrote:Aside from carts randomly reversing direction on powered rails, it's a great mod.

Mesecon enabled track switches would be nice to have.


Edit:
Just noticed something...
When riding a cart, your head goes through nodes in a height 3 nodes above the track ;)


Here is a video of my own track showing the reversing direction issue mentioned by Exilyth. Not so random as it happens in the same places each time.
http://youtu.be/F1tNelIkoPU

I use a track configuration by VanessaE to make the cart change direction at the top of the ramp but the cart auto-reverses in three different places. Interestingly, on the last run the cart ends up above the track. This is the only time I have seen this behavior

Minetest 0.4.9; Windows 7 x64, Direct3D9 video setting; Carts from GitHub on 15thJan
 

User avatar
markbe
Member
 
Posts: 23
Joined: Thu Jun 06, 2013 23:00

by markbe » Sun Jan 19, 2014 11:10

markbe wrote:
Exilyth wrote:Aside from carts randomly reversing direction on powered rails, it's a great mod.

Mesecon enabled track switches would be nice to have.


Edit:
Just noticed something...
When riding a cart, your head goes through nodes in a height 3 nodes above the track ;)


Here is a video of my own track showing the reversing direction issue mentioned by Exilyth. Not so random as it happens in the same places each time.
http://youtu.be/F1tNelIkoPU

I use a track configuration by VanessaE to make the cart change direction at the top of the ramp but the cart auto-reverses in three different places. Interestingly, on the last run the cart ends up above the track. This is the only time I have seen this behavior

Minetest 0.4.9; Windows 7 x64, Direct3D9 video setting; Carts from GitHub on 15thJan


I also tried the solution posted by VK:
d.y = 0
local p = cart_func.v3:add(cart_func.v3:copy(pos), d)
if cart_func:is_rail(p) or minetest.env:get_node(p).name == "ignore" then
return d
end

but my carts left the track to the right even where there was a solid object
Image
 

specopsbarton
Member
 
Posts: 12
Joined: Thu Jul 18, 2013 17:38

by specopsbarton » Sun Jan 26, 2014 18:39

This mod is nice, thanks!
You could make the power and break rail glow a little, when mesecon signal is attached etc.
Last edited by specopsbarton on Sun Jan 26, 2014 18:40, edited 1 time in total.
True Christian don't fight with evil, but transforms it to good on Cross, only on Cross.
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

by lightonflux » Mon Jan 27, 2014 09:31

There is still no way to remove carts, isn't it?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Mon Jan 27, 2014 11:17

lightonflux wrote:There is still no way to remove carts, isn't it?

[SHIFT] + Click
Worked everytime
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
nfsprodriver
Member
 
Posts: 41
Joined: Sun Nov 10, 2013 18:25

by nfsprodriver » Mon Jan 27, 2014 17:54

Hello!
I' got a question: How can I configure the mod, that the player doesn't get a block higher, when I activate the mod? Thanks in advance!
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

by lightonflux » Tue Jan 28, 2014 12:05

Krock wrote:
lightonflux wrote:There is still no way to remove carts, isn't it?

[SHIFT] + Click
Worked everytime


Thanks. Overlooked it. :)
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
In-game: lof

by lightonflux » Tue Jan 28, 2014 12:25

When i drive over some powerrails the accerate me in the wrong direction (against driving direction) or don't accelerate. Sounds like a bug. Or is there a direction the power rails accelerate?

BTW: is there a formula how much powerrails you need to raise x blocks?

Edit: I made a video: http://znn.info/files/minetest-carts-bug.ogv

Sorry for the bad quality, but i think you get the point. :)
Last edited by lightonflux on Tue Jan 28, 2014 14:51, edited 1 time in total.
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Wed Jan 29, 2014 00:29

I think the mistake people make with carts is in making the tracks circular. I don't think this mod was designed to work that way. I've never had any problems, but then I always design my tracks to go back and forth rather than circular.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Jan 29, 2014 18:58

gsmanners wrote:I think the mistake people make with carts is in making the tracks circular. I don't think this mod was designed to work that way.

Eh..... what?

@everyone else who reported the direction-change-bug: I dont have enough time to fix it currrently, sorry. Pull requests are welcome.
 

gsmanners
Member
 
Posts: 159
Joined: Fri Jan 10, 2014 21:37

by gsmanners » Thu Jan 30, 2014 12:24

Sorry, you did design it for that?

Well... It doesn't really work if you have a loop. 9 times out of 10, the accelerated tracks don't push the cart the right direction, and it just looks like a mess. The only way I can ever get this to work is if I do a back-and-forth.
 

NyankoSensei
Member
 
Posts: 14
Joined: Fri Feb 28, 2014 11:29

by NyankoSensei » Mon Mar 03, 2014 22:04

vk wrote:if cart_func:is_rail(p) or minetest.env:get_node(p).name == "ignore" then


Worked fine to me, really fun ride the rail :)
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

by Kilarin » Fri Mar 14, 2014 13:34

I'm running minetest 0.4.9 under linux. Just tried adding mods for the first time: carts, invoice++, and zcg.

I put down some rails, and crafted a cart and dropped it on the rails. I left click the cart, and it moves! So far, AWESOME!

Then I try the following, I right click the cart to get into it, and the right click DOES link me to the cart (My point of view moves to being on top of the cart)

But now, I can't get the cart to move while I'm IN it. movement keys don't do anything (I assumed they wouldn't) But also, left clicking the cart doesn't cause the cart to move!

I put the debug level to 4 and reproduced the issue. This is the log of me right clicking the cart to get in, and then left clicking it 3 times with no movement, then right clicking to dismount. The left clicks, after I'm in the cart, show the punching message, but no movement.

Am I experiencing a bug, or is there something different I'm supposed to do to make the cart move with me in it?

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
06:52:27: INFO[main]: Pointing at [object 4]
06:52:30: INFO[main]: Right-clicked object
06:52:30: INFO[ServerThread]: ServerMap: Written: 0 sector metadata files, 3 block files, 746 blocks in memory.
06:52:30: INFO[ServerThread]: ServerMap: Blocks modified by:
06:52:30: INFO[ServerThread]:   deactivateFarObjects: Static data changed considerably...: 3
06:52:30: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=3, item=0, pointed=[object 4]
06:52:30: ACTION[ServerThread]: singleplayer right-clicks object 4: LuaEntitySAO at (703,24,-389.905)
06:52:30: INFO[main]: Pointing at [nothing]
06:52:30: INFO[main]: Pointing at [node under=703,24,-387 above=703,25,-387]
06:52:30: INFO[main]: Pointing at [node under=703,24,-386 above=703,24,-387]
06:52:31: INFO[main]: Pointing at [node under=703,24,-386 above=703,25,-386]
06:52:31: INFO[main]: Pointing at [node under=703,24,-387 above=703,25,-387]
06:52:31: INFO[main]: Pointing at [node under=703,24,-388 above=703,25,-388]
06:52:31: INFO[main]: Pointing at [node under=703,24,-389 above=703,25,-389]
06:52:32: INFO[main]: Pointing at [object 4]
06:52:32: VERBOSE[main]: Client: time_of_day=11234 time_speed=72 dr=1000
06:52:32: INFO[main]: Client: avg_rtt=3.02448e-28
06:52:33: INFO[main]: Left-clicked object
06:52:33: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=0, item=0, pointed=[object 4]
06:52:33: ACTION[ServerThread]: singleplayer punches object 4: LuaEntitySAO at (703,24,-389.905)
06:52:33: VERBOSE[main]: OpenALSoundManager::maintain(): 2 playing sounds, 20 sound names loaded
06:52:33: VERBOSE[main]: OpenALSoundManager::maintain(): deleting 2 playing sounds
06:52:34: INFO[main]: Left-clicked object
06:52:34: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=0, item=0, pointed=[object 4]
06:52:34: ACTION[ServerThread]: singleplayer punches object 4: LuaEntitySAO at (703,24,-389.905)
06:52:34: VERBOSE[main]: OpenALSoundManager::maintain(): 0 playing sounds, 20 sound names loaded
06:52:35: INFO[main]: Left-clicked object
06:52:35: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=0, item=0, pointed=[object 4]
06:52:35: ACTION[ServerThread]: singleplayer punches object 4: LuaEntitySAO at (703,24,-389.905)
06:52:35: VERBOSE[main]: OpenALSoundManager::maintain(): 0 playing sounds, 20 sound names loaded
06:52:37: INFO[main]: Right-clicked object
06:52:37: VERBOSE[ServerThread]: TOSERVER_INTERACT: action=3, item=0, pointed=[object 4]
06:52:37: ACTION[ServerThread]: singleplayer right-clicks object 4: LuaEntitySAO at (703,24,-389.905)


This is a REALLY cool mod. Any help in getting it working for me would be very appreciated.
Last edited by Kilarin on Fri Mar 14, 2014 13:37, edited 1 time in total.
 

Iqualfragile
Member
 
Posts: 160
Joined: Tue Sep 18, 2012 22:11

by Iqualfragile » Fri Mar 14, 2014 13:41

Now, thats a bug report! :D
But (afaik) this is no bug. Just but the cart on an up/down hill slope and jump in. In case you want to have more complex mechanics there is a mod called monorail.
Gr8 b8, m8. I rel8, str8 appreci8, and congratul8. I r8 this b8 an 8/8. Plz no h8, I'm str8 ir8. Cr8 more, can't w8. We should convers8, I won't ber8, my number is 8888888, ask for N8. No calls l8 or out of st8. If on a d8, ask K8 to loc8. Even with a full pl8, I always have time to communic8 so don't hesit8.
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

by Kilarin » Fri Mar 14, 2014 14:30

Iqualfragile wrote:Just but the cart on an up/down hill slope and jump in.

Just tried it, and no difference in behavior. rebuilt my rails on a downhill slope. Put my cart on the slope, and right clicked to get in. no movement. left clicked on the cart while I was in it, no movement. Got out and left clicked, cart took off.

Iqualfragile wrote:In case you want to have more complex mechanics there is a mod called monorail.

I'll check it out, thanks.
 

klappspaten
Member
 
Posts: 15
Joined: Sun Mar 02, 2014 23:03

by klappspaten » Fri Mar 14, 2014 15:01

Had the same "problem". Punch it first - then jump in. It's a bit tricky but one gets used to it. In monorail you can setup accelerators and switches, but this will need [mesecons] to work. Otherwise you will have to punch-jump there too while 'jump in' is like punching from a distance, so instead of left-right-click [carts] you do double-left-click.
Last edited by klappspaten on Fri Mar 14, 2014 15:03, edited 1 time in total.
 

Kilarin
Member
 
Posts: 649
Joined: Mon Mar 10, 2014 00:36

by Kilarin » Fri Mar 14, 2014 16:54

klappspaten wrote:Had the same "problem". Punch it first - then jump in. It's a bit tricky but one gets used to it.

Tricky indeed, but I got it to work. thanks! Is this the way it is supposed to work?

klappspaten wrote:In monorail you can setup accelerators and switches, but this will need [mesecons] to work.

I tried turning off cart, and installing monorail, and minecraft crashed, badly. I suspect switching between the two after you have already created in game items is a BAD idea. :) So back to cart and I'm going to experiment there.

<edit>: Actually, looks like it wasn't monorail afterall. I'm having trouble with mesecons. I think I'll put off playing with that mod until I'm ready to start with a fresh map.
Last edited by Kilarin on Fri Mar 14, 2014 16:58, edited 1 time in total.
 

klappspaten
Member
 
Posts: 15
Joined: Sun Mar 02, 2014 23:03

by klappspaten » Fri Mar 14, 2014 20:57

Kilarin wrote:Tricky indeed, but I got it to work. thanks! Is this the way it is supposed to work?

Not sure :D. But havent found another way to make them move yet.

I tried turning off cart, and installing monorail, and minecraft crashed, badly. I suspect switching between the two after you have already created in game items is a BAD idea. :) So back to cart and I'm going to experiment there.

<edit>: Actually, looks like it wasn't monorail afterall. I'm having trouble with mesecons. I think I'll put off playing with that mod until I'm ready to start with a fresh map.

I tested around a bit a while ago with both mods simultaneously but without mesecons. They DO work next to each other but not together. Both mods ignore each other's special rails but both use Minetest default rail. I finally chose monorail over carts because in singleplayer I dont care about the occasional off-drifting lorry. Carts tend to promptly stop if a chunk isnt loaded fast enough while driving at full speed, so you have to get out, punch, jump in, drive, stop, get out.... Monorail instead "stutters" til the chunk is loaded and keeps moving. If you use monorail without mesecons prepare to use a lot of speed rails and dont forget to place some block to stop you as monorail wont stop automatically at the end of a track (which carts does).
Last edited by klappspaten on Fri Mar 14, 2014 21:02, edited 1 time in total.
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 87 guests

cron