Gunslinger is one of the most advanced guns mods for Minetest. It provides a very simple API to register custom guns, and almost every aspect of the gun can be customized. See the README, and the official API documentation to know more!
2019-01-05 21:40:11: ERROR[Main]: ModError: Failed to load and run script from C:\MT-0.5-master\bin\..\mods\gunslinger-master\init.lua:
2019-01-05 21:40:11: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:250: gunslinger.register_gun: Attempt to register gun of disabled type 'semi-automatic'
2019-01-05 21:40:11: ERROR[Main]: stack traceback:
2019-01-05 21:40:11: ERROR[Main]: [C]: in function 'error'
2019-01-05 21:40:11: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:250: in function 'register_gun'
2019-01-05 21:40:11: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master/guns.lua:1: in main chunk
2019-01-05 21:40:11: ERROR[Main]: [C]: in function 'dofile'
2019-01-05 21:40:11: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master\init.lua:7: in main chunk
2019-01-05 21:40:11: ERROR[Main]: Check debug.txt for details.
2019-01-06 15:49:12: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'gunslinger' in callback item_OnUse(): C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:165: attempt to perform arithmetic on field 'time' (a function value)
2019-01-06 15:49:12: ERROR[Main]: stack traceback:
2019-01-06 15:49:12: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:165: in function <C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:124>
2019-01-07 15:06:42: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'gunslinger' in callback environment_Step(): C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:55: attempt to index local 'stack' (a nil value)
2019-01-07 15:06:42: ERROR[Main]: stack traceback:
2019-01-07 15:06:42: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:55: in function 'fire'
2019-01-07 15:06:42: ERROR[Main]: C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:196: in function <C:\MT-0.5-master\bin\..\mods\gunslinger-master/api.lua:185>
2019-01-07 15:06:42: ERROR[Main]: C:\MT-0.5-master\bin\..\builtin\game\register.lua:420: in function <C:\MT-0.5-master\bin\..\builtin\game\register.lua:400>
2019-01-07 15:06:42: ERROR[Main]: stack traceback:
The fire function aborts if stack is nil, avoiding the error described here.
The gun definition field style_of_fire has been renamed to mode.
Some firing modes have been renamed for consistency and factual accuracy:
semi-automatic --> hybrid
manual --> semi-automatic
A new firing mode has been introduced: manual. Manual guns are truly manual, as in they have to be manually loaded after each shot. This can be used for guns like bolt-action sniper rifles, for example.
As usual, I've created a pre-release on CDB for those who prefer that to downloading from GitHub.
- Fix a potential crash.
- Set firing mode of `gunslinger:cheetah` to `burst` until `automatic` mode is fixed.
- Use particles for visual feedback of projectile path.
The lost posts included release announcements, bug reports, feedback, and feature requests. I'll try to at least make a summary of the release announcements.
New `config.debug` variable has been added, to allow `gunslinger` to toggle debug-only features. This would be set to `true` by default, until the `v1.0.0` release.
There have been some improvements to the structure and accuracy of the API documentation.
Hello everyone. I'm online only to announce that I'm leaving Minetest (and CTF) permanently, due to a recent turn of events IRL.
I had one hell of a ride throughout my journey in Minetest and CTF, and I'd like to thank everyone for this. I hope CTF continues to develop into a super-awesome game.
Farewell :wave: