Minetest logo

IRC log for #minetest-delta, 2012-11-01

| Channels | #minetest-delta index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:11 OWNSyouAll joined #minetest-delta
01:16 Anchakor_ joined #minetest-delta
04:20 OWNSyouAll joined #minetest-delta
04:57 steve____ joined #minetest-delta
05:00 steve____ sup
05:01 steve____ left #minetest-delta
05:47 ecube joined #minetest-delta
05:59 ecube joined #minetest-delta
06:03 neko259 joined #minetest-delta
09:42 rubenwardy joined #minetest-delta
10:26 MiJyn joined #minetest-delta
11:12 nyuszika7h joined #minetest-delta
11:14 PilzAdam joined #minetest-delta
11:22 Taoki Hello. Can anyone give me some advice on an approach in my models code, about another small feature in it I'm trying to finish up?
11:23 Taoki Doesn't seem like anyone's around right now so that's why I'm asking first
12:11 Anchakor_ joined #minetest-delta
12:18 VanessaE joined #minetest-delta
12:51 LunaVorax joined #minetest-delta
14:03 rubenwardy joined #minetest-delta
14:09 NakedFury joined #minetest-delta
14:47 LunaVorax joined #minetest-delta
15:12 Taoki thexyz: Since the other channel is busy, and if I can ask for help again. I only suspect one thing to cause the crash from earlier. In content_cao.cpp, I need to get the ClientActiveObject of an entity that (obviously) also exists on the server (and is a ServerActiveObject). I used this code to do so: http://pastebin.com/SEDm9m96 Perhaps I'm doing that wrong?
15:13 Taoki I do so by networking the Id over, as I assume it is the same
15:13 Taoki eg: The first player who logs into the server should have ID 1. So using player->getId() on him server-side should return 1. Then using player-getId() to him on the client-side should also return 1. For the next player 2, and so on
15:14 Taoki So to recognize the parent in the client for an object, I network its ID and try to get the ActiveClientObject of the same ID there, as in that pastebin. Yet the only logic for why that returns something bad is that it fails. Is there a known reason why? I can't suspect why it would be different
15:32 Taoki If anyone else knows feel free to answer please
16:12 Taoki thexyz: If you still have time to look at this sometime. I checked and m_attachment_parent is the proper client object of the player (I printed its origin). However, when I use that new function to get the animated mesh node, that mesh node is seen as unexistent. But the player is set to an animated mesh, I checked that clearly. Any idea what it could be?
16:13 Taoki scene::IAnimatedMeshSceneNode *parent_mesh = m_attachment_parent->getAnimatedMeshSceneNode(); ---- what I use
16:14 thexyz no idea
16:15 Taoki ok
16:16 Taoki If anyoene else here is good with the code, any feedback would be appreciated
16:31 Calinou joined #minetest-delta
16:44 celeron55 joined #minetest-delta
16:49 MiJyn joined #minetest-delta
17:03 cisoun joined #minetest-delta
17:24 PilzAdam wheres the 2? https://github.com/PilzAdam/minetest/blob/master/builtin/serialize.lua#L196
17:26 celeron55 2 is overrated
17:26 PilzAdam okay
17:26 Kray 8D
17:26 PilzAdam then set #prime = #prime-1
17:36 OWNSyouAll joined #minetest-delta
17:39 CiaranG joined #minetest-delta
17:44 OdnetninI joined #minetest-delta
17:48 celeron55_ joined #minetest-delta
18:05 cisoun joined #minetest-delta
18:16 neko259 joined #minetest-delta
18:58 celeron55 joined #minetest-delta
19:07 celeron55 joined #minetest-delta
19:15 Taoki celeron55: Hello. I made some progress on the client attachment code today thanks to thexyz. I still have some problems I can't understand however. Do you have some time to help me debug it and feel like it?
19:18 Taoki Unfortunately there are few people who know the code enough to help, most devs are specialized with lua. It's hard to get help on what I don't understand
19:36 toabi Two issues remain to build minetest with cmake+xcode on a mac… https://github.com/toabi/minetest/commit/50ece0a18899d64f31e68845892eef3c5aed7a94
20:37 mrtux joined #minetest-delta
21:16 SpeedProg joined #minetest-delta
21:45 LunaVorax joined #minetest-delta
21:48 LunaVorax joined #minetest-delta
21:48 LunaVorax joined #minetest-delta
22:38 SpeedProg1 joined #minetest-delta
22:38 SpeedProg joined #minetest-delta
22:39 SpeedProg joined #minetest-delta
23:11 Anchakor_ joined #minetest-delta
23:11 bones_was_here joined #minetest-delta

| Channels | #minetest-delta index | Today | | Google Search | Plaintext