[Mod] Advanced Trains [advtrains] [2.4.3]

User avatar
fireglow
Member
Posts: 93
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow
Location: Germany

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by fireglow » Post

Found another crash:

Code: Select all

ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback node_on_receive_fields(): /srv/minetest/world/worldmods/areas/api.lua:72: Invalid core.check_player_privs argument type: nil
ERROR[Main]: stack traceback:
ERROR[Main]:       [C]: in function 'error'
ERROR[Main]:       ...st/servers/0.4.15-4-525d2a0/bin/../builtin/game/misc.lua:13: in function 'check_player_privs'
ERROR[Main]:       /srv/minetest/world/worldmods/areas/api.lua:72: in function 'canInteract'
ERROR[Main]:       /srv/minetest/world/worldmods/areas/interact.lua:11: in function 'func'
ERROR[Main]:       ...st/servers/0.4.15-4-525d2a0/bin/../builtin/game/misc.lua:138: in function 'record_protection_violation'
ERROR[Main]:       ...st/world/worldmods/advtrains/advtrains/advtrains/atc.lua:102: in function <...st/world/worldmods/advtrains/advtrains/advtrains/atc.lua:100>
Does advtrains have to fix this, or areas?

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Andrey01 » Post

ABJ wrote:smbdy mk mglv
Errmm... What is language have you written?

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by gpcf » Post

Fireglow, have a look at the nocrash branch on github, where bugs shouldn't bring the server down.

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by gpcf » Post

Also, Maglevs are likely to suck, due to minetest's inability to handle very fast movement.

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by ABJ » Post

Wll, smbdy mk mntst thn

User avatar
orwell
Member
Posts: 958
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by orwell » Post

Fck Lngg, ts hrd t rd wtht vcls!
Mentioned crash has been fixed, thanks for reporting, fireglow.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by ABJ » Post

why dd y sy fck
btw pst nt rprtd

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Andrey01 » Post

ABJ wrote:why dd y sy fck
btw pst nt rprtd
What is language?

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Desour » Post

Andrey01 wrote:
ABJ wrote:why dd y sy fck
btw pst nt rprtd
What is language?
https://en.wikipedia.org/wiki/Language
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

casio33
Member
Posts: 50
Joined: Sun Jan 17, 2016 08:36

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by casio33 » Post

- -

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by azekill_DIABLO » Post

Andrey01 wrote:
ABJ wrote:smbdy mk mglv
Errmm... What is language have you written?
it's some NWL

ps:
no vowel language
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Andrey01 » Post

azekill_DIABLO wrote:
Andrey01 wrote:
ABJ wrote:smbdy mk mglv
Errmm... What is language have you written?
it's some NWL

ps:
no vowel language
NWL?

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Andrey01 » Post

It seems mbb has completed his work with trains.Likely he won`t add new trains anymore

User avatar
Puka
New member
Posts: 4
Joined: Mon Oct 05, 2015 03:47
IRC: Puka
In-game: Puka
Location: USA

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Puka » Post

Great mod, how do I rotate japanese engine to have an engine on each end of cars?

Never mind, I figured it out, again great work, very nice mod!
If you build it, they will come!

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by ABJ » Post

How?

gpcf
Member
Posts: 382
Joined: Fri May 27, 2016 10:48
GitHub: gpcf
In-game: gabriel

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by gpcf » Post

build tracks to turn them, either a wye or a loop.

User avatar
orwell
Member
Posts: 958
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by orwell » Post

The direction wagons are placed depends on the orientation of the rail
->rotate a rail by 180° and then place.
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

greglagrenouille
New member
Posts: 2
Joined: Sat Apr 15, 2017 14:25

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by greglagrenouille » Post

Hi everyone,

I'm relatively new with minetest and mods. And it seems I need help with advtrains mod.

I've installed the advtrains mod (which it seems great) in my personnel minetest server. Everything works fine when I play directly with the server instance. But when I use a client connected to this server (on the same PC or on another PC), I can get on a train, but I can't drive it. I don't have HUD on the middle of the screen and commands don't do anything (I can't move the train or manipulate doors).

Did I miss a configuration setting or anything else?

Thanks in advance for your help.
Greg

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Andrey01 » Post

greglagrenouille wrote:Hi everyone,

I'm relatively new with minetest and mods. And it seems I need help with advtrains mod.

I've installed the advtrains mod (which it seems great) in my personnel minetest server. Everything works fine when I play directly with the server instance. But when I use a client connected to this server (on the same PC or on another PC), I can get on a train, but I can't drive it. I don't have HUD on the middle of the screen and commands don't do anything (I can't move the train or manipulate doors).

Did I miss a configuration setting or anything else?

Thanks in advance for your help.
Greg
Might be it is something error or a owner of that server could change keys of driving and opening/closing in Advanced Trains mod himself, i don`t even know what is this

User avatar
orwell
Member
Posts: 958
Joined: Wed Jun 24, 2015 18:45
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell
Location: Raxacoricofallapatorius

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by orwell » Post

Oh, thats a feature i have not yet documented. To operate trains, a player needs the 'train_operator' privilege. This is automatically granted to the player in singleplayer and local games, but on servers you need to grant it explicitly by invoking
/grant <playername> train_operator
I've introduced this privilege because too many times evil players have broken the subway system on the new linuxworks server too often
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...

greglagrenouille
New member
Posts: 2
Joined: Sat Apr 15, 2017 14:25

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by greglagrenouille » Post

Hi Orwell,

Thank you very much for your reply ! It was that !!
With the correct privilege, everything works fine now.

Perhaps you should document this feature :-) I searched for it during too many time ;-)
But thanks for your quick answer.

And thank Andrey01 too for your help (but I'm the owner of my server).

Greg

User avatar
Andrey01
Member
Posts: 2579
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Andrey01 » Post

Isn`t Mbb making new trains anymore?

User avatar
mbb
Member
Posts: 256
Joined: Sat Jan 17, 2015 17:47
GitHub: mbruchert
IRC: mBb
In-game: MBB

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by mbb » Post

Andrey01 wrote:Isn`t Mbb making new trains anymore?
I will made new trains in the next time xD
cdb_2fcfab1b41f9

User avatar
Glory!
Member
Posts: 92
Joined: Thu Apr 30, 2015 17:45
GitHub: Glory7000
In-game: Glory7000
Location: Kernel Debugging Land <3

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by Glory! » Post

I have some questions, starting with the biggest one for me.
Can a passenger coach take more than one player?
Because if no, you've successfully created the world's slowest, least intuitive and most resource intensive travelnet clone.
Start, stop sounds? (+Horn?)
What about AWS, TWPS or ATS?
And is there a way to detect a train at a node?
If you wish to implement AWS, will the sunflower be a square?
Behold the Razgriz, its wings of black sheath. :: My skin A competitor that unfortunately needs attention to stay afloat.

ABJ
Member
Posts: 3015
Joined: Sun Jan 18, 2015 13:02
GitHub: ABJ-MV
In-game: ABJ
Location: In Earth orbit, with a perigee of 1048 km and an apogee of 1337 km and an inclination of 69 degrees.

Re: [Mod] Advanced Trains [advtrains] [1.7.2]

by ABJ » Post

I think it's supposed to be non-intuitive.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 44 guests