Repository navigation
Slime Ore - #9
Azael-Snively wants to merge 5 commits into
Conversation
IntegratedQuantum
left a comment
There was a problem hiding this comment.
First of all thank you for considering to contribute to Cubyz.
Apart from minor (mostly syntactical) issues, your pull request misses just one important thing:
What is slime ore?
You probably have some great ideas in the back of your head, but if you don't write them down, we are not going to understand, why we should add slime ore into the game.
And now about those syntactical issues:
First of all: The file names.
The internal convention in Cubyz is to use lower-case words separated by "_" instead of " ".
So the correct file names would be slime_ore and slime_ore.png
|
Slime Ore he will serve for make armor in slime it just like an ore |
|
i fix the problem |
|
Cubyz features a system that can automatically generate ores with corresponding tools (and armor, once we add it). If you have no such things to offer, but still think that your slime ores needs to be added to the game, I suggest you write an Addon instead of contributing to the base game. |
|
Can You tell me what should i do for make a better pull request please |
|
Your pull request is (mostly) fine. The problem is the idea behind your pull request. If you want your idea to get into the base game, you need to offer the player something useful or unique. Slime ore as you present it is neither unique(there are lots of ores in the game already) nor useful(it can only be used for probably weak armor). |
|
can you give me an example of what should i say to be convincing |
|
If I knew what you should say, I would have said it already. Coal
Wood
Stone
Apples
Cactus, Snow, Ice, Gravel, Mossy Cobblestone, Grass
randomly generated ores
|
|
Ok i see |
|
Slime Ore it will be first for add variety to the underground it will be for make armor and weapon precisely the hammer(i will add it) |
|
it was convincing |
|
can you give me a link for discord server please |
|
https://discord.gg/XtqCRRG |
|
so did my pull request was accepted |
Do some of the changes quantum asked for
I observed this crash after the last play session: ``` #0 0x000000000137d1a7 in utils.CircularBufferQueue(*server.server.User).pushBack (self=0x23e1630 <server.server[userDeinitList]>, elem=0x7ff9bd0ad000) at utils.zig:512 #1 utils.ConcurrentQueue(*server.server.User).pushBack (self=0x23e1630 <server.server[userDeinitList]>, elem=0x7ff9bd0ad000) at utils.zig:614 #2 0x000000000137cc1a in server.server.disconnect (user=0x7ff9bd0ad000) at /home/mint/Cubyz/src/server/server.zig:724 #3 network.Connection.disconnect (self=0x7ff9bd0e3000) at network.zig:1831 #4 0x000000000137c30a in network.Connection.deinit (self=0x7ff9bd0e3000) at network.zig:1513 #5 server.server.User.deinit (self=0x7ff9bd0ad000) at /home/mint/Cubyz/src/server/server.zig:189 #6 0x00000000013f77f5 in server.server.User.decreaseRefCount (self=0x23e1630 <server.server[userDeinitList]>) at /home/mint/Cubyz/src/server/server.zig:209 #7 server.server.deinit () at /home/mint/Cubyz/src/server/server.zig:589 #8 server.server.startFromExistingThread (port=...) at /home/mint/Cubyz/src/server/server.zig:701 #9 0x000000000156d548 in server.server.startFromNewThread (port=...) at /home/mint/Cubyz/src/server/server.zig:695 #10 Thread.callFn__anon_469235 (args=...) at /home/mint/Cubyz/compiler/zig/lib/std/Thread.zig:422 #11 Thread.PosixThreadImpl.spawn__anon_469217.Instance.entryFn (raw_arg=0x7f155e0) at /home/mint/Cubyz/compiler/zig/lib/std/Thread.zig:752 #12 0x00007ffff7c94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #13 0x00007ffff7d268d0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 ``` The problem was that a disconnect tried to add to the `userDeinitList`, but the userDeinitList was cleaned just before. To fix this I moved the connection manager first, which also makes more sense since it avoids receiving new connections while already starting to clean things.
This it is Slime Ore