Thanks :)Don wrote:Nice work!
[Mod] Sprint [sprint]
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
Wow, very good update, thank you !
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
i tried your new amazing update on my server and... i wonder if it's possible to add a "graphical bar" (like in the stamina of adventure test) for your mod ? maybe be inspired of adventuretest for this bar ? (or something like in the hud ?)
What do you think about my ideas ?
What do you think about my ideas ?
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
Hi, Thanks for the posive feedback!Minetestforfun wrote:i tried your new amazing update on my server and... i wonder if it's possible to add a "graphical bar" (like in the stamina of adventure test) for your mod ? maybe be inspired of adventuretest for this bar ? (or something like in the hud ?)
What do you think about my ideas ?
In response to your question, maybe. I'm not too experienced with the minetest modding API yet, but there may be a way to do it. If there is, I'll try to get a commit up sometime soon to add a stamina bar similar to the food bar in Minecraft.
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
Added sprint stamina bar. Changed licence to CC0.
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
Thank you for your work ! :)
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: [Mod] Sprint [sprint]
Yes, it's a good mod.
One thing: I would like to have those HUD-arrows in an other color, so they are visible at night.
One thing: I would like to have those HUD-arrows in an other color, so they are visible at night.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: [Mod] Sprint [sprint]
Ya. Change them to a red-ish color, or something like that.
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
philipbenr wrote:Ya. Change them to a red-ish color, or something like that.
Good advice, they are now green.Krock wrote:Yes, it's a good mod.
One thing: I would like to have those HUD-arrows in an other color, so they are visible at night.
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: [Mod] Sprint [sprint]
Cool. Thanks.
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
Hi,
my variable "SPRINT_STAMINA" is set to 10, and i have only 5 arrows "stamina.png" in my hud.
After 1 second of sprinting, it takes 0.5 of an arrow, and after 10seconds, all arrow disappear.
Please, can you explain me a way to have the "SPRINT_STAMINA" set to 10, 10 arrows in my hud, and 1 arrow disappear after 1 second ?
Thank you for reading/answering :)
my variable "SPRINT_STAMINA" is set to 10, and i have only 5 arrows "stamina.png" in my hud.
After 1 second of sprinting, it takes 0.5 of an arrow, and after 10seconds, all arrow disappear.
Please, can you explain me a way to have the "SPRINT_STAMINA" set to 10, 10 arrows in my hud, and 1 arrow disappear after 1 second ?
Thank you for reading/answering :)
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
Sorry, that was something I forgot to correct when adding the stamina bar. Just made a commit that fixes it.Minetestforfun wrote:Hi,
my variable "SPRINT_STAMINA" is set to 10, and i have only 5 arrows "stamina.png" in my hud.
After 1 second of sprinting, it takes 0.5 of an arrow, and after 10seconds, all arrow disappear.
Please, can you explain me a way to have the "SPRINT_STAMINA" set to 10, 10 arrows in my hud, and 1 arrow disappear after 1 second ?
Thank you for reading/answering :)
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
Thank you for your fast fix !
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
Hi,
It's me again :D
And Thank you again for your last update, it resolved my issue !
Today, im trying to change the "sprint key", i think dual key W (or Z for me, french keyboard) between "0.50 to 0.59 sec" to launch the sprint, isn't pratical...
My server is a Survival Server, nobody in my server has the "fast" privilege, so my idea for players sprint easily is to replace the dual W/Z with the fast key pressed, and when the player didn't press the "fast" key, the sprint stop and the players walk...
My problem : i haven't found a way for make it work... Can you help me ? Or, do this feature ?
It's me again :D
And Thank you again for your last update, it resolved my issue !
Today, im trying to change the "sprint key", i think dual key W (or Z for me, french keyboard) between "0.50 to 0.59 sec" to launch the sprint, isn't pratical...
My server is a Survival Server, nobody in my server has the "fast" privilege, so my idea for players sprint easily is to replace the dual W/Z with the fast key pressed, and when the player didn't press the "fast" key, the sprint stop and the players walk...
My problem : i haven't found a way for make it work... Can you help me ? Or, do this feature ?
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
Check out the latest commit. You can now choose between either sprinting by holding the e key or sprinting by double tapping w. Change SPRINT_METHOD to switch between the methods.Minetestforfun wrote:Hi,
It's me again :D
And Thank you again for your last update, it resolved my issue !
Today, im trying to change the "sprint key", i think dual key W (or Z for me, french keyboard) between "0.50 to 0.59 sec" to launch the sprint, isn't pratical...
My server is a Survival Server, nobody in my server has the "fast" privilege, so my idea for players sprint easily is to replace the dual W/Z with the fast key pressed, and when the player didn't press the "fast" key, the sprint stop and the players walk...
My problem : i haven't found a way for make it work... Can you help me ? Or, do this feature ?
Sprint Mod -- viewtopic.php?f=11&t=9650&p=156207
Server Essentials Mod -- viewtopic.php?f=11&t=12445&p=180964
My PvE server -- viewtopic.php?f=10&t=10616
Server Essentials Mod -- viewtopic.php?f=11&t=12445&p=180964
My PvE server -- viewtopic.php?f=10&t=10616
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: [Mod] Sprint [sprint]
Thank you so much!!! This is very helpful. Now, I can set my fast move key to a different key, and have the sprint be realistic.
Edit: This will be added to Lux_Solis eventually to replace default fast move.
Edit: This will be added to Lux_Solis eventually to replace default fast move.
-
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Sprint [sprint]
Thank you for your update :)
Just a last things, can you re-add with a variable, if it's possible (or make an alternative branch with it, i don't know) :
- The "stamina runs out message" (because players like it in my server)
- And the "sprint stop" if players do a left or right mouse click ?
Just a last things, can you re-add with a variable, if it's possible (or make an alternative branch with it, i don't know) :
- The "stamina runs out message" (because players like it in my server)
- And the "sprint stop" if players do a left or right mouse click ?
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
Re: [Mod] Sprint [sprint]
Hi. I installed that mod and it wouldnt start. When i disabled the mod, it had cleared out my entire world, put me on a random location, with no inventory.
Any Idea what might have caused this? And how to revert that? I don't have a newer backup and no idea that a simple mod can cause problems like this.
This is what the degub.txt has to say:
Any help on that would be nice. I just hope it didn't kill my world.
Any Idea what might have caused this? And how to revert that? I don't have a newer backup and no idea that a simple mod can cause problems like this.
This is what the degub.txt has to say:
Code: Select all
10:27:27: ERROR[main]: Empty rollback log
10:27:28: ERROR[main]: Error loading mod "sprint-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed.
10:27:28: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua
10:27:28: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua
10:27:41: ERROR[main]: Empty rollback log
10:27:41: ERROR[main]: Error loading mod "sprint-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed.
10:27:41: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua
10:27:41: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua
10:27:52: ERROR[main]: Empty rollback log
Re: [Mod] Sprint [sprint]
you need too rename the folder to sprint.Nubm wrote:Hi. I installed that mod and it wouldnt start. When i disabled the mod, it had cleared out my entire world, put me on a random location, with no inventory.
Any Idea what might have caused this? And how to revert that? I don't have a newer backup and no idea that a simple mod can cause problems like this.
This is what the degub.txt has to say:Any help on that would be nice. I just hope it didn't kill my world.Code: Select all
10:27:27: ERROR[main]: Empty rollback log 10:27:28: ERROR[main]: Error loading mod "sprint-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed. 10:27:28: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:28: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:41: ERROR[main]: Empty rollback log 10:27:41: ERROR[main]: Error loading mod "sprint-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed. 10:27:41: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:41: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:52: ERROR[main]: Empty rollback log
Remove the -master
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: [Mod] Sprint [sprint]
Thanks, the mod works now. Have not played for a while and simply forgot about that. It was mentioned in other mods before.Don wrote:you need too rename the folder to sprint.
Remove the -master
Anyways, my world and inventory is still missing. Is there any way to recover it, and what has caused this? I don't want this to happen again in the future (i will make backups from now on before installing any mod tho).
Re: [Mod] Sprint [sprint]
The mod shouldn't have cause your issue. Can you give a little more info about it? It might be best if you start a new thread in the Bugs and Problems section of the forum for this.Nubm wrote:Thanks, the mod works now. Have not played for a while and simply forgot about that. It was mentioned in other mods before.Don wrote:you need too rename the folder to sprint.
Remove the -master
Anyways, my world and inventory is still missing. Is there any way to recover it, and what has caused this? I don't want this to happen again in the future (i will make backups from now on before installing any mod tho).
Just a thought, go into your world folder and check the env_meta.txt.
It should look like this
Code: Select all
game_time = 1768
time_of_day = 11566
EnvArgsEnd
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
Re: [Mod] Sprint [sprint]
env_meta.txt was ok, had put in the selcetion above to be sure, didn't change anything.
I've asked here because it happened right after i put that mod in (with the error message i mentioned above). Never had this problem before, have some mods installed and made some myself too. I didn't changed anything between my last playsession and the installation of this mod, not even drivers. I also doubt that this mod is directly responsible for the problem, but somehow the error has probably caused it. And maybe others had experienced this too, or know what to do or where to look at.
The map.sqlite is 245.877KB so it is probably still there. Also two empty files called rollback.txt and rollback.txt.migrating and a rollback.sqlite file size of 9k. I removed them teporary, but that didn't changed anything.
I've asked here because it happened right after i put that mod in (with the error message i mentioned above). Never had this problem before, have some mods installed and made some myself too. I didn't changed anything between my last playsession and the installation of this mod, not even drivers. I also doubt that this mod is directly responsible for the problem, but somehow the error has probably caused it. And maybe others had experienced this too, or know what to do or where to look at.
The map.sqlite is 245.877KB so it is probably still there. Also two empty files called rollback.txt and rollback.txt.migrating and a rollback.sqlite file size of 9k. I removed them teporary, but that didn't changed anything.
Re: [Mod] Sprint [sprint]
What does your debug.txt say now?Nubm wrote:env_meta.txt was ok, had put in the selcetion above to be sure, didn't change anything.
I've asked here because it happened right after i put that mod in (with the error message i mentioned above). Never had this problem before, have some mods installed and made some myself too. I didn't changed anything between my last playsession and the installation of this mod, not even drivers. I also doubt that this mod is directly responsible for the problem, but somehow the error has probably caused it. And maybe others had experienced this too, or know what to do or where to look at.
The map.sqlite is 245.877KB so it is probably still there. Also two empty files called rollback.txt and rollback.txt.migrating and a rollback.sqlite file size of 9k. I removed them teporary, but that didn't changed anything.
Can you load other worlds?
I suggested you post in the Bugs and Problems section because I thought it was an unrelated problem and because the people that are good at this type of issues will look in that section more often then this one.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
- GunshipPenguin
- Member
- Posts: 94
- Joined: Tue Jan 28, 2014 00:38
- GitHub: GunshipPenguin
- IRC: GunshipPenguin
- In-game: GunshipPenguin
- Location: Vancouver, BC
Re: [Mod] Sprint [sprint]
Here's a version with those edits. Whenever a player runs out of stamina, or presses the LMB or RMB, they stop sprinting and there is a 3 second timeout, during which they cannot sprint.Minetestforfun wrote:Thank you for your update :)
Just a last things, can you re-add with a variable, if it's possible (or make an alternative branch with it, i don't know) :
- The "stamina runs out message" (because players like it in my server)
- And the "sprint stop" if players do a left or right mouse click ?
https://www.sendspace.com/file/513vws
See this thread for naming conventions:Nubm wrote:Hi. I installed that mod and it wouldnt start. When i disabled the mod, it had cleared out my entire world, put me on a random location, with no inventory.
Any Idea what might have caused this? And how to revert that? I don't have a newer backup and no idea that a simple mod can cause problems like this.
This is what the degub.txt has to say:Any help on that would be nice. I just hope it didn't kill my world.Code: Select all
10:27:27: ERROR[main]: Empty rollback log 10:27:28: ERROR[main]: Error loading mod "sprint-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed. 10:27:28: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:28: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:41: ERROR[main]: Empty rollback log 10:27:41: ERROR[main]: Error loading mod "sprint-master": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed. 10:27:41: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:41: ERROR[main]: ModError: ModError: Failed to load and run D:\minetest-0.4.10-64bit\bin\..\mods\sprint-master\init.lua 10:27:52: ERROR[main]: Empty rollback log
viewtopic.php?f=11&t=10029
I can't think of what could be causing this. Someone with more experence on the Bugs and problems forum may have an answer though.Nubm wrote:env_meta.txt was ok, had put in the selcetion above to be sure, didn't change anything.
I've asked here because it happened right after i put that mod in (with the error message i mentioned above). Never had this problem before, have some mods installed and made some myself too. I didn't changed anything between my last playsession and the installation of this mod, not even drivers. I also doubt that this mod is directly responsible for the problem, but somehow the error has probably caused it. And maybe others had experienced this too, or know what to do or where to look at.
The map.sqlite is 245.877KB so it is probably still there. Also two empty files called rollback.txt and rollback.txt.migrating and a rollback.sqlite file size of 9k. I removed them teporary, but that didn't changed anything.
Sprint Mod -- viewtopic.php?f=11&t=9650&p=156207
Server Essentials Mod -- viewtopic.php?f=11&t=12445&p=180964
My PvE server -- viewtopic.php?f=10&t=10616
Server Essentials Mod -- viewtopic.php?f=11&t=12445&p=180964
My PvE server -- viewtopic.php?f=10&t=10616
Who is online
Users browsing this forum: No registered users and 37 guests