[mod] Not So Simple Helicopter [nss_helicopter]

User avatar
AntumDeluge
Member
Posts: 213
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

Re: [mod] Not So Simple Helicopter [helicopter]

by AntumDeluge » Post

You don't have an issue tracker on the GitHub page, so I will report this here.

This error occurred once for me. Hasn't occurred since, but thought I should report it just in case:

Code: Select all

2021-04-19 18:32:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'helicopter' in callback luaentity_Step(): ...antum_testing\mods\transport\helicopter\heli_control.lua:180: bad argument #1 to 'sound_stop' (number expected, got nil)
2021-04-19 18:32:27: ERROR[Main]: stack traceback:
2021-04-19 18:32:27: ERROR[Main]: 	[C]: in function 'sound_stop'
2021-04-19 18:32:27: ERROR[Main]: 	...antum_testing\mods\transport\helicopter\heli_control.lua:180: in function 'heli_control'
2021-04-19 18:32:27: ERROR[Main]: 	...ntum_testing\mods\transport\helicopter\heli_entities.lua:111: in function <...ntum_testing\mods\transport\helicopter\heli_entities.lua:103>
Using current master branch (1955cdd).

User avatar
apercy
Member
Posts: 639
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [mod] Not So Simple Helicopter [helicopter]

by apercy » Post

AntumDeluge wrote:
Tue Apr 20, 2021 01:47
You don't have an issue tracker on the GitHub page, so I will report this here.

This error occurred once for me. Hasn't occurred since, but thought I should report it just in case:

Code: Select all

2021-04-19 18:32:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'helicopter' in callback luaentity_Step(): ...antum_testing\mods\transport\helicopter\heli_control.lua:180: bad argument #1 to 'sound_stop' (number expected, got nil)
2021-04-19 18:32:27: ERROR[Main]: stack traceback:
2021-04-19 18:32:27: ERROR[Main]: 	[C]: in function 'sound_stop'
2021-04-19 18:32:27: ERROR[Main]: 	...antum_testing\mods\transport\helicopter\heli_control.lua:180: in function 'heli_control'
2021-04-19 18:32:27: ERROR[Main]: 	...ntum_testing\mods\transport\helicopter\heli_entities.lua:111: in function <...ntum_testing\mods\transport\helicopter\heli_entities.lua:103>
Using current master branch (1955cdd).
Thank you! I fixed with a check in the variable.

User avatar
MisterE
Member
Posts: 693
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Not So Simple Helicopter [helicopter]

by MisterE » Post

Bug report: the driver can hear the helicopter sound, but not players nearby and not the passenger havent tested if the same is true with the motorboat

User avatar
apercy
Member
Posts: 639
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [mod] Not So Simple Helicopter [helicopter]

by apercy » Post

Fuel consumption improved. Max height too.
Now starts the rotation controlled by mouse again. To change it, just hit E key

User avatar
apercy
Member
Posts: 639
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [mod] Not So Simple Helicopter [helicopter]

by apercy » Post

To avoid conflict with the original helicopter, the mod name definition was changed to nss_helicopter
But we have a problem: all existing helicopters will die. So it isn't a good idea update in servers that already use it

wsor4035
Member
Posts: 182
Joined: Sun Aug 11, 2019 21:23
GitHub: wsor4035
IRC: wsor
In-game: wsor

Re: [mod] Not So Simple Helicopter [nss_helicopter]

by wsor4035 » Post

you could provided a setting via minetest.conf for enabling conversions of the old entities to your new ones
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o

User avatar
apercy
Member
Posts: 639
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [mod] Not So Simple Helicopter [nss_helicopter]

by apercy » Post

wsor4035 wrote:
Wed Oct 27, 2021 02:52
you could provided a setting via minetest.conf for enabling conversions of the old entities to your new ones
How? I dont know how I could do it :(

User avatar
1faco
Member
Posts: 84
Joined: Tue Sep 08, 2020 20:32
GitHub: minefaco
In-game: faco

Re: [mod] Not So Simple Helicopter [nss_helicopter]

by 1faco » Post

apercy wrote:
Wed Oct 27, 2021 10:32
wsor4035 wrote:
Wed Oct 27, 2021 02:52
you could provided a setting via minetest.conf for enabling conversions of the old entities to your new ones
How? I dont know how I could do it :(

Code: Select all

minetest.register_alias("old_name", "new_name")

wsor4035
Member
Posts: 182
Joined: Sun Aug 11, 2019 21:23
GitHub: wsor4035
IRC: wsor
In-game: wsor

Re: [mod] Not So Simple Helicopter [nss_helicopter]

by wsor4035 » Post

1faco wrote:
Wed Oct 27, 2021 17:44

Code: Select all

minetest.register_alias("old_name", "new_name")
register_alias does not work with entites....

ill send some code later with a example
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 22 guests