Search found 9 matches

by Infernus
Sat Sep 17, 2016 17:04
Forum: Partly official engine development
Topic: noob c++ coder needs help
Replies: 3
Views: 945

Re: noob c++ coder needs help

Missing an include? Have you tried to clear your project?
by Infernus
Wed Sep 07, 2016 20:08
Forum: Problems
Topic: Bug with get_player_information?
Replies: 1
Views: 270

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

Code: Select all

local info = minetest.get_player_information(name)
print(info["connection_uptime"])
result: 0
by Infernus
Wed Sep 07, 2016 19:57
Forum: Modding Discussion
Topic: Quick question
Replies: 5
Views: 323

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 02:45
Forum: Modding Discussion
Topic: Quick question
Replies: 5
Views: 323

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 01:23
Forum: Modding Discussion
Topic: Quick question
Replies: 5
Views: 323

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
Tue Sep 06, 2016 17:27
Forum: Problems
Topic: FPS problem
Replies: 19
Views: 5410

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
Sun Sep 04, 2016 13:21
Forum: General Discussion
Topic: (Just for fun) Why Minetest Game will never be realistic
Replies: 86
Views: 9409

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
Sat Sep 03, 2016 09:51
Forum: General Discussion
Topic: (Just for fun) Why Minetest Game will never be realistic
Replies: 86
Views: 9409

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
Fri Sep 02, 2016 15:50
Forum: General Discussion
Topic: (Just for fun) Why Minetest Game will never be realistic
Replies: 86
Views: 9409

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

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?