Carex65 submitted a new resource:
Alter -- Custom Recipes Plugin - Create custom recipes!
Read more about this resource...
Alter (Custom Recipes) [Unmaintained]
Discussion in 'Plugin Support' started by Carex65, Feb 12, 2014.
-
Been waiting for this, thanks Carex!
-
WARNING: If player receives any damage, craft restrictions will be ignored.
-
This plugin will be a real wonder, when it will be released. Keeping my eye on this one!
-
-
-
). Mine solution doesnt fully overrides requirement res., it add additional requirements and uses ingame workbench & timer.
As I can see, both ways are not user friendly enough.. -
When you make a stable release that you think is optimized, I'll go for it!
-
So, user reads default requirements. than he annoyed by some popups info about overrided/additional requirements.
He not sure about ~ can he cancel this and .. how it gona to be.
Any suggestions about this? -
If the craft requirements are inside the game engine / files and cannot be changed / overriden then I don't see any user-friendly way to supply crafting information. Except: if you make the crafting possible with chat, for example. Which is of course, not as user friendly, but at least you can show the real requirements in the chat box. Not sure really, you would maybe want to ask FacePunch about this.
I think we need a new major plugin which is a PluginUI. But it modification of game files. But if FP would allow it, it would make everyone's life easier (who runs or plays on a modified server).
Oxide is such a great thing that FP could open themselves a bit more. Maybe write a non-open-source plugin UI that would just receive and show information from plugin data and display it in a user-friendly way. This way the game engine is still secure, so to say.What do you think?
-
Just to clarify some things;
This plugin DOES need a nearby crafting table to work (if the set item needs a crafting table ofcourse). You CAN edit the crafting time on the modified items. There is no way of limiting the moving speed at the moment. HOWEVER it is possible to to code in that you cannot move at all.
The when damage is taking the crafting is f'ed. That is a Oxide bug. Currently, as far as my knowledge goes, there is no counter to that.
EDIT: Yes I've been thinking to add a cancel option. But that requires me to save all the data. Because when the timer is running, it actually already stopped doing the whole plugin action. The timer then becomes stand alone.
I figured this out because when the timer was running, it also gave the items after the timer function. It was alot of creative thinking on how to return the items that have already been counting and deleted from the inventory.Last edited by a moderator: Feb 12, 2014 -
If we spent X minute for crafting, why should we able co cancel?
(Why should you spare you time for implementing this?)
-
You have a point there. It's just, when someone is crafting something on accident, they cannot cancel. =)[DOUBLEPOST=1392212981][/DOUBLEPOST]
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Quick Temporary Hotfix
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Quick fix in the broadcast.
-
Code:
7:49 PM: ERROR: Lua error (Alter) mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\***\16153\save\oxide\p..."]:296: attempt to index field 'Auction' (a nil value) --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Main.CallPlugin (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 : NLua.Exceptions.LuaScriptException: [string "C:\TCAFiles\Users\***\16153\save\oxide\p..."]:296: attempt to index field 'Auction' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
Change this: ( line 295 -297 )
Code:function PLUGIN:SendHelpText( netuser ) rust.SendChatToUser( netuser, self.Auction.settings.chatname, "Use /alterhelp to list all the Alter commands!" ) end
Code:function PLUGIN:SendHelpText( netuser ) rust.SendChatToUser( netuser, self.Chat, "Use /alterhelp to list all the Alter commands!" ) end
-
Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:
Fixed the bug.
-
Hi there,
ive tested today
The server tolad me that the M4 need 50 metal Frag and 10 woods
but when i get crafting...there the old one...30 metal frags.......
why?