Just been looking through the Facebook page @red51 linked. Really Great to see how the game has been developing since 2014.
Rising World does sound a lot better than Concept Game hehe
Just been looking through the Facebook page @red51 linked. Really Great to see how the game has been developing since 2014.
Rising World does sound a lot better than Concept Game hehe
Great thanks again Red. I googled and cimg extension is from a C language library, and I was sure you weren't using that!
awesome. Thanks Red
Hi @red51 I'm trying to insert clothing and object kits to an inventory via plugin,
I'm using https://javadoc.rising-world.n…em-short-int-int-int-int- as a reference as how this is achieved.
This is how I'm doing it (the clothes bit - objects obviously different)
Problem is, when I first call this, i.e. add an item of clothing to the player inventory I get a "broken" item. Which strangely gets fixed when I call the code a second time, OR equip another working item of clothes.
For visualisation:
Here I have moved a medieval armour over to my inventory, cancelling the event, then called the above code. As you can see in the inventory slot 1 there is a "broken" item.
I did the same thing again (no changes to code) inserting the rag clothes into slot 2. At this point slot 1 magically became the working item it was supposed to be and slot 2 was broken.
This behaviour continues with each added item.
It also appears that equipping an item fixes the broken inventory items. For example, in the above screenshot, as soon as I equip the armour the rag clothing in slot 2 appears normal.
Any idea what's going on here?
We want to make a donation
I believe the only way to donate is to buy multiple copies of the game
That's awesome! Really good job there!
Love how you have used the doors in the kitchen!
Awkward is my middle name
Is registering and unregistering an expensive operation?
Update: Yes it was because I was not unregistering my event listener after working with it all fixed.
Haha I think I know what the problem might be. . .
When a player initialises a popup I register a new event listener. I *think* I need to somehow kill the event listener once it's been used.
I'm looking now, but do you know if there is something like "unregisterEventListenter(this);" ?
I was calling this.destroy(); but it may not be killing the event listener? I dunno. lol
This is confusing me a little. So I hope it's a bug that can be squashed. . . (or me doing it wrong )
When this code is called the first time, I get 1 of the items added to players inventory and message saying 1 added - all good.
The second time I call it I get 2 added to the inventory and a messages saying 3 added
The third time I call it I get 3 added to the inventory and a messages saying 6 added
The fourth time I call it I get 4 added to the inventory and a messages saying 10 added
The fifth time I call it I get 5 added to the inventory and a messages saying 15 added
The sixth time I call it I get 6 added to the inventory and a messages saying 21 added
The seventh time I call it I get 7 added to the inventory and a messages saying 28 added
I've also tried:
This still results in weird behaviour.
(I put a literal 1 int in to make sure it wasn't my cache file spewing out garbage.)
p.s. I know pnb works so I'm even more confused
Just for reference you can actually turn off most stream features like cloud syncing:
1) In your Steam Library, right-click on a game and select "Properties."
2) Click the "Updates" tab.
3) Uncheck "Enable Steam Cloud synchronization."
4) Click "Close."
Turn off updates
Ah thanks mino
Did you use a bed at your village? If you make a compass it will point to your bed.
Hi, not really a plugin question per se but this feels like the right board.
Does anyone know the best method for working with CIMG files?
Hi @red51
There will be some methods in the next update to show/hide the inventory as well as other screens (journal, chest content, map)
Would it also be possible to hide show the icons for say health bar, food, water, bleeding, freezing, and sprint? (and others I may have missed off that list).