1. Carex65 submitted a new resource:

    Alter -- Custom Recipes Plugin - Create custom recipes!

    Read more about this resource...
     
  2. Been waiting for this, thanks Carex!
     
  3. ZOR

    ZOR

    WARNING: If player receives any damage, craft restrictions will be ignored.
     
  4. This plugin will be a real wonder, when it will be released. Keeping my eye on this one!
     
  5. ZOR

    ZOR

    you think ignoring workbench and move-speed limitations is acceptable?
     
  6. Actually I have to admit, I did not yet run the plugin. I don't really think it is acceptable, but I'll give the development time it needs. I believe it will be polished to be very good.
     
  7. ZOR

    ZOR

    I can work with Carex65 in coop, but accidentally we out of synchronize, and I've made yesterday alternative working version (where mentioned by me bug fixed :) ). 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..
     
  8. Whereas, I would really like to see this plugin on my server, but don't rush, there's plenty of time :) When you make a stable release that you think is optimized, I'll go for it!
     
  9. ZOR

    ZOR

    Heh, point of stability is more to oxide and NLua for now =) Actually I'm cared about user-friendly mechanic (more than admin-friendly)
    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?
     
  10. Unfortunately I'm far from development and programming, I'm more of a system architect :)
    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?
     
  11. 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
  12. ZOR

    ZOR

    If we spent X minute for crafting, why should we able co cancel? ;) (Why should you spare you time for implementing this?)
     
  13. You have a point there. It's just, when someone is crafting something on accident, they cannot cancel. =)[DOUBLEPOST=1392212981][/DOUBLEPOST]
    It all works atm, it's just the damage bug that destroys it. I've had no bug-reports as of yet. So I think it all works properly.
     
  14. Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:

    Quick Temporary Hotfix

     
  15. 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 
     
  16. HAHAHAHA! Omg, I shouldn't copy paste so much. If you can edit lua's.

    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
    To this:
    Code:
    function PLUGIN:SendHelpText( netuser )
        rust.SendChatToUser( netuser, self.Chat, "Use /alterhelp to list all the Alter commands!" )
    end
     
  17. Carex65 updated Alter -- Custom Recipes Plugin with a new update entry:

    Fixed the bug.

     
  18. 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?
     
  19.