Search found 9 matches

Return to advanced search

Re: noob c++ coder needs help

Missing an include? Have you tried to clear your project?
by Infernus
Sat Sep 17, 2016 17:04
 
Forum: Minetest Engine
Topic: noob c++ coder needs help
Replies: 3
Views: 2949

Bug with get_player_information?

Why does minetest.get_player_information(player_name) always return 0 in connection_uptime ?

lua_api.lua says connection_uptime = 200, -- seconds since client connected

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local info = minetest.get_player_information(name)
print(info["connection_uptime"])

result: 0
by Infernus
Wed Sep 07, 2016 20:08
 
Forum: Minetest Problems
Topic: Bug with get_player_information?
Replies: 1
Views: 738

Re: Quick question

twoelk wrote:if the command is registered as chat command, can't you just call the command from any other mod by sending it as if typed in chat?

Seems like client handles it in a different handler. It just displays it on client side.
by Infernus
Wed Sep 07, 2016 19:57
 
Forum: Modding Discussion
Topic: Quick question
Replies: 5
Views: 1004

Re: Quick question

mod1: minetest.register_chatcommand("home", { description = SL(("Teleport you to your home point")), privs = {home=true}, func = function (name) local player = minetest.get_player_by_name(name) if player == nil then -- just a check to prevent the server crashing return false end...
by Infernus
Wed Sep 07, 2016 02:45
 
Forum: Modding Discussion
Topic: Quick question
Replies: 5
Views: 1004

Quick question

Is it possible to execute a registered command server sided?

For example I have a functionality that exists within a command in a separate mod. Instead of including the file and depend on it, I just execute this command server sided.
by Infernus
Wed Sep 07, 2016 01:23
 
Forum: Modding Discussion
Topic: Quick question
Replies: 5
Views: 1004

Re: FPS problem

Nothing above helped. But this ..

... is quite ideal solution -> http://memory.dataram.com/products-and- ... re/ramdisk

Before FPS choked almost every 5sec, going from 40 fps to 25. Now, it's way more stable.
by Infernus
Tue Sep 06, 2016 17:27
 
Forum: Minetest Problems
Topic: FPS problem
Replies: 19
Views: 6484

Re: (Just for fun) Why Minetest Game will never be realistic

There's no collapse in mines while digging
Locked chests can be opened without a key
by Infernus
Sun Sep 04, 2016 13:21
 
Forum: Minetest General
Topic: (Just for fun) Why Minetest Game will never be realistic
Replies: 42
Views: 5006

Re: (Just for fun) Why Minetest Game will never be realistic

  • Your right hand never gets tired.
  • There's no weather. (snow, rain, heat)
  • Climbing stairs is like fly hacking.
by Infernus
Sat Sep 03, 2016 09:51
 
Forum: Minetest General
Topic: (Just for fun) Why Minetest Game will never be realistic
Replies: 42
Views: 5006

Re: (Just for fun) Why Minetest Game will never be realistic

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Players walking animation and update time is wierd.


Hm, would it be better someone could make a mod based on most the conditions here?
by Infernus
Fri Sep 02, 2016 15:50
 
Forum: Minetest General
Topic: (Just for fun) Why Minetest Game will never be realistic
Replies: 42
Views: 5006

Return to advanced search

cron