05-08-2013, 05:10 PM
Wow, look who's back
Random Chitchat 2012-2016
|
05-08-2013, 05:10 PM
Wow, look who's back
I won't be fixing FS #338 anytime soon, because it would most probably collide with Keyboard's work on the entity physics / AI.
There, rev 1459 should have fixed most of the crafting / inventory window problems. It doesn't implement inventory painting yet, but at least it's aware of its existence
05-08-2013, 09:41 PM
As he said not anytime soon..
As somebody else is working on some code.
05-08-2013, 10:45 PM
the trees are using like 30% of the generation speed, if it used cBlockArea would it then be much faster?
05-08-2013, 11:25 PM
Probably not so much. It's not about whether they use cBlockArea or not, it's because to place trees, 3x3 chunk neighbors need to be composed, so it's causing 9x more compositions. I put in a CompositionGen cache so that the last 32 compositions are remembered and reused, but still...
On the latest rev crafting works fine, but you can't get your pickups, your go to take your pickups, and nothing happens. Also, some errors spam the console:
[17:47:06] SlotArea: Unhandled click action: 23 (caRightPaintProgress) [17:47:31] *** Window lost sync at item 8 in SlotArea with 10 items *** [17:47:31] My item: lightplanks:2 * 3 [17:47:31] Their item: -1:0:0 * 0 [17:47:31] SlotArea: Unhandled click action: 23 (caRightPaintProgress) [17:47:31] SlotArea: Unhandled click action: 22 (caLeftPaintProgress) I posted it on pastebin too
05-09-2013, 05:33 PM
I think I know what is the cause for FS# 338. The server pushes entities upwards if they are found to be inside a block. I am hoping to alleviate this issue by doing bounding box collisions so we can prevent entities from landing inside a block in the first place.
(05-09-2013, 05:33 PM)keyboard Wrote: I think I know what is the cause for FS# 338. The server pushes entities upwards if they are found to be inside a block. I am hoping to alleviate this issue by doing bounding box collisions so we can prevent entities from landing inside a block in the first place.Ok, but maybe is intermitent. Now I can get the pickups, but I changed my OS to CentOS, and the error was in Ubuntu.
05-09-2013, 07:01 PM
how to spawn pickups using a plugin? i tried:
Item = cItem( BlockType, 1, BlockMeta ) cPickup( BlockX, BlockY, BlockZ, Item, 0, 0, 0 ) but it doesn't work. (05-09-2013, 05:33 PM)keyboard Wrote: [...]so we can prevent entities from landing inside a block in the first place.You really can't - the player can place a block into a place where a pickup is, and the server needs to deal with it. It might be easier to write a function that would return the nearest "available" space, and direct the entity towards it. Using NY-metric for "nearest" should be sufficient, to make the search algorithm easier. (05-09-2013, 07:01 PM)STR_Warrior Wrote: how to spawn pickups[...]?In C++ we have the cWorld::SpawnItemPickups() functions; they are not exported into Lua API, not sure why. I think they should work out of the box. Try auto-exporting them to API and use them. Exporting is done by putting Code: // tolua_begin Code: // tolua_end |
« Next Oldest | Next Newest »
|