Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Server hosted on Raspberry pi 2B crashes every 15min
Post: RE: Server hosted on Raspberry pi 2B crashes every...

bearbin Wrote: (08-28-2018, 05:04 PM) -- OK, it's good that it's all working now. If you wanted to try and diagnose the issue a bit more, you could try changing your settings and disable the deadlock...
MGlolenstine Discussion 10 8,644 08-28-2018, 05:42 PM
    Thread: Server hosted on Raspberry pi 2B crashes every 15min
Post: RE: Server hosted on Raspberry pi 2B crashes every...

NiLSPACE Wrote: (08-28-2018, 03:33 PM) -- Does the console say anything before the crash? For example if it's generating any worlds. -- No, it doesn't only the deadlock. I think we can close thi...
MGlolenstine Discussion 10 8,644 08-28-2018, 04:17 PM
    Thread: Server hosted on Raspberry pi 2B crashes every 15min
Post: RE: Server hosted on Raspberry pi 2B crashes every...

NiLSPACE Wrote: (08-27-2018, 08:12 PM) -- Could you try disabling all the plugins? -- Did that, only had Core enabled. Same problem. :(
MGlolenstine Discussion 10 8,644 08-27-2018, 08:28 PM
    Thread: Server hosted on Raspberry pi 2B crashes every 15min
Post: RE: Server hosted on Raspberry pi 2B crashes every...

bearbin Wrote: (08-27-2018, 05:08 PM) -- If it crashes with the "Deadlock detected" message there are two possibilities, either there is a bug in the code causing a deadlock; alternatively the tick t...
MGlolenstine Discussion 10 8,644 08-27-2018, 05:48 PM
    Thread: Server hosted on Raspberry pi 2B crashes every 15min
Post: Server hosted on Raspberry pi 2B crashes every 15m...

I'm running server on my rusty old RPi 2B which has 512MB of RAM and it crashes every 15min. Logs don't populate, so I don't know what the reason could be, but when I look in the terminal after the...
MGlolenstine Discussion 10 8,644 08-27-2018, 04:45 PM
  Sport Thread: Infinite potion effect
Post: Infinite potion effect

When executing Code: -- /effect 16 1000000 255 -- it gives me night vision for 9 minutes and 35 sec instead of showing xx:xx, thus making it infinite. 1000000sec should be somewhere around 1...
MGlolenstine Development 2 3,620 08-26-2018, 09:53 PM
    Thread: How to get player's name at the ping screen
Post: RE: How to get player's name at the ping screen

bearbin Wrote: (08-23-2018, 07:40 PM) -- OK, I have looked into it a little bit more. I'm pretty sure that there isn't a good way to do it, and the servers that have your name in the description just...
MGlolenstine Development 12 10,374 08-25-2018, 06:16 PM
    Thread: How to get player's name at the ping screen
Post: RE: How to get player's name at the ping screen

bearbin Wrote: (08-23-2018, 07:16 PM) -- Yes, it is not possible. The player is only added to the client handle once it has logged in, and I don't believe the username is even sent in ping packets. C...
MGlolenstine Development 12 10,374 08-23-2018, 07:23 PM
    Thread: How to get player's name at the ping screen
Post: RE: How to get player's name at the ping screen

NiLSPACE Wrote: (08-23-2018, 05:19 AM) -- It might be. You'll have to try it. What happens in the console when you use [shcode=lua] function OnServerPing(ClientHandle, ServerDescription, OnlinePlay...
MGlolenstine Development 12 10,374 08-23-2018, 05:40 PM
    Thread: How to get player's name at the ping screen
Post: RE: How to get player's name at the ping screen

NiLSPACE Wrote: (08-23-2018, 03:48 AM) -- Ah, then I misunderstood you. the cClientHandle has a GetPlayer method which returns a cPlayer object, but it might not be filled yet which would mean it ret...
MGlolenstine Development 12 10,374 08-23-2018, 04:25 AM
    Thread: Is there a way to rotate entities?
Post: Is there a way to rotate entities?

I want to rotate entities in Z direction - just like player is when sleeping. I'd like to know if that is possible to do with dragons, Villagers, Witches, etc. Thanks
MGlolenstine Development 1 2,717 08-20-2018, 06:21 PM
    Thread: How to get player's name at the ping screen
Post: RE: How to get player's name at the ping screen

NiLSPACE Wrote: (08-14-2018, 07:05 PM) -- I tried the code I provided (as I didn't test it beforehand) and it seems I made a slight error. cRoot has to be replaced with cRoot:Get(). Afterwards it wor...
MGlolenstine Development 12 10,374 08-20-2018, 06:18 PM
  Rainbow Thread: How to create fake entities'
Post: How to create fake entities'

While I was skimming through the extensive API, I've noticed, that here (https://api.cuberite.org/cClientHandle.html) you can create fake blocks with SendBlockChange. I was wondering if that's poss...
MGlolenstine Development 1 2,596 08-14-2018, 05:38 AM
    Thread: How to get player's name at the ping screen
Post: RE: How to get player's name at the ping screen

NiLSPACE Wrote: (08-14-2018, 01:25 AM) -- Do you mean something like this?: [shcode=lua] function OnServerPing(ClientHandle, ServerDescription, OnlinePlayers, MaxPlayers, Favicon) local newDesc...
MGlolenstine Development 12 10,374 08-14-2018, 05:19 AM
  Tongue Thread: How to get player's name at the ping screen
Post: How to get player's name at the ping screen

Ok, so I'm trying to get player's username to display in the server's description when the player pings my server, as I'd like to show personalised description. I've read the description (https://a...
MGlolenstine Development 12 10,374 08-13-2018, 06:18 PM
    Thread: Change Villager's name
Post: RE: Change Villager's name

NiLSPACE Wrote: (08-03-2018, 01:22 AM) -- Could you try the cChatColor (https://api.cuberite.org/cChatColor.html) properties or the more advanced cCompositeChat (https://api.cuberite.org/cCompositeCh...
MGlolenstine Development 17 13,398 08-03-2018, 06:05 PM
    Thread: Adding lore to a cItem
Post: RE: Adding lore to a cItem

tigerw Wrote: (08-02-2018, 11:10 PM) -- I think I see the problem, the C++ code wants an array of strings but the auto-exported bindings doesn't seem to know how to translate that into Lua. Meanwhil...
MGlolenstine Development 6 6,300 08-03-2018, 05:45 PM
    Thread: When placing furnaces with World:SetBlock they become invisible
Post: RE: When placing furnaces with World:SetBlock they...

tigerw Wrote: (08-03-2018, 01:48 AM) -- Might be a block entities issue? Does this happen with e.g. chests, command blocks, signs, mob spawners? By invisible, do you mean the hitbox is still there...
MGlolenstine Development 4 4,862 08-03-2018, 05:43 PM
    Thread: Change Villager's name
Post: RE: Change Villager's name

NiLSPACE Wrote: (08-02-2018, 09:47 PM) -- That still sounds like a bug. If it's a typo then the variable 'VilName' is probably nil which should've been reported in the console. -- Hmmm... It wasn't...
MGlolenstine Development 17 13,398 08-02-2018, 11:13 PM
    Thread: Change Villager's name
Post: RE: Change Villager's name

NiLSPACE Wrote: (08-02-2018, 04:20 PM) -- What Minecraft version are you using? Could you try an older version? Perhaps it's a problem in the protocol code of Cuberite. -- I'm using Minecraft 1.12.2...
MGlolenstine Development 17 13,398 08-02-2018, 05:34 PM