Vazon wrote:There is a way to adjust the player running speed already in the minetest.config. Unless I misunderstand this mod is kind of pointless in the matter
Calinou wrote:Double-tap is annoying and hurts fingers; it'd be a better idea to use the “special” key, which is available for players without the “fast” privilege (which is what this mod is intended for).
This way, players with “fast” privilege can still go very fast if needed.
For hosting, I suggest learning some Git (very useful for mod development, it's often used in here) and using Gitorious.
ERROR[main]: ERROR: An unhandled exception occurred: C:\minetestdev\bin\..\games\twt\mods\sprint\init.lua:18: attempt to index global 'player' (a nil value)
23:07:38: ERROR[main]: stack traceback:
23:07:38: ERROR[main]: C:\minetestdev\bin\..\games\twt\mods\sprint\init.lua:18: in function <C:\minetestdev\bin\..\games\twt\mods\sprint\init.lua:12>
23:07:38: ERROR[main]: C:\minetestdev\bin\..\builtin\game\register.lua:348: in function <C:\minetestdev\bin\..\builtin\game\register.lua:336>
trainwrecktony wrote:worked for a while but i did get crash .... minetest git with gsmapper
- Code: Select all
ERROR[main]: ERROR: An unhandled exception occurred: C:\minetestdev\bin\..\games\twt\mods\sprint\init.lua:18: attempt to index global 'player' (a nil value)
23:07:38: ERROR[main]: stack traceback:
23:07:38: ERROR[main]: C:\minetestdev\bin\..\games\twt\mods\sprint\init.lua:18: in function <C:\minetestdev\bin\..\games\twt\mods\sprint\init.lua:12>
23:07:38: ERROR[main]: C:\minetestdev\bin\..\builtin\game\register.lua:348: in function <C:\minetestdev\bin\..\builtin\game\register.lua:336>
Minetestforfun wrote:Very good mod, i haven't crash yet :)
Can you add a stop sprint when a player do a mouse click ?
Can you add a sprint effect for the first player view and the model, like a fast movment effect ? (like Mine****t ... ?)
Minetestforfun wrote:Thank you for your work, i try soon your modified code !
EDIT : it doesn't work with the stop_key define like that :
STOP_ON_CLICK = true
STOP_KEY = "RMB", "LMB"
4aiman wrote:So.. the old sprinting was abandoned?
Does the new one considers there maybe other mods that change physics?
What about stop sprinting if a player has touched a wall?
4aiman wrote:@GunshipPenguin
You, probably, won't get it at all, since you have only 6 messages which, in turn, means you're probably rather new here.
The old sprinting mod is buried somewhere @forum.minetest.net and I can't seem to find it.
So, nevermind the prelude. You got the question quite right.
Regards!
Users browsing this forum: No registered users and 5 guests