Found a bug with the mod, players with brackets in their name, "[]" throw an error and cannot craft.
Here's the name:
Removing the brackets allowed him to craft like normal.Code:[ ALTER ] No players found with name: [ANB]Valtrino
Alter (Custom Recipes) [Unmaintained]
Discussion in 'Plugin Support' started by Carex65, Feb 12, 2014.
-
Funny thing. Lets go!
When I need to check/take/add something from the inventory I need to have a specific inventory 'dataline'. this dataline tells Rust from which inventory to take/add/check.
However, since a few Rust updates back, this broke. When a player gets damaged the inventory 'dataline' will become corrupted. So Thomasfn made a new function rust.GetInventory( netuser ) to temprorarely counter that issue. ( it takes the inventory 'dataline' from a cache.
however, I need a netuser for that. and the hook OnUserCraft doesn't give me one. Well it does, but thats also in the inventory 'dataline'. So I need to get the netuser.
The only thing I can do to find it is rust.GetNetusersByName( name ). And THIS function does NOT accept special characters like "[" and "]".
Until the inventory 'dataline' corruption is fixed, the players will need to change their name.[DOUBLEPOST=1393796079][/DOUBLEPOST]
-
Good Question ... i tested it with only some (not all of course ...).
Metal walls for example ... i can test more items if you want -
Yes please, cus it shouldn't do that in any case...
-
Hi. I setup plagin and all craft no work. Problem.
-
Dieing for this mod as I just want to increase resources required for C4.
But correct me if I'm wrong but the current bugs are:
- Crafting window does not show new resource requirements
- Crafting without enough mats will remove all mats and not craft the item
- People with brackets in their name cant craft the custom items.
-
2. Incorrect - I'm not having that problem on latest version at least.
3. Correct - I suggest reading this: http://oxidemod.org/threads/brackets-in-nicknames-and-stuff.2228/ -
I dont know why that happends. I tried breaking it. I couldn't
Yes the brackets are annoying. Nothing I can do about it. -
for #1 - that's the biggest issue. How does anyone know what it takes to craft the modified items then?
Understand you can't currently change this apparently but how are people dealing with it on their servers? -
Or you can do /req "Explosive Charge" to see if the C4 has any special recipes for it. -
nice plugin but if i cant show this needed items in the window its uselesse!
so if i change something everyday i must talk this to the people.
the player can not see why he cant craft a m4 if he have 30 lqw in the pack.
he wondering why this does not work and leave the server.
if you can fix this i love this plugin but q the moment its only confused and useless.. -
But the damn recipe shows up in the chat box if someone cannot afford to craft the item, why do people keep 'not seeing' the requirements? -
Wait. They have the UI in progress?!?!
-
https://trello.com/c/ZrtyLEGU/291-new-in-game-gui -
Saweetsauce!
-
And then you can make this plugin directly in the crafting window.
Here's to hoping. -
Hellzyeah! I've been dying for this man
-
[Oxide] [ ALTER ] No players found with name: [Power] IsuSS
Player cant craft
Help Please -
-