Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • Dll reference input idea


    Smokie
    • Version: All Product: Developers Type: Bug Status: Not a Bug

    hello @Droidz

    After a few hours of trial and error ive found that i am unable to input my own dll file reference into bin, i was wondering if you could allow a loader into wrobot so others can use the reference DLL file for there products instead of having to copy and past all the custom script code. i feel like it would help a lot of problems and be able to contribute a lot more to help newbies work on there own profiles. i am writing a simple toolkit that wrobot does not have for others to be able to use to help impack wrobot commuity and make more user friendly.

     

    template source code : 

     

    namespace Extension
    {
        public static class Functions
        {
            public static void BuyThisSpell(string skillname)
            {
                Lua.LuaDoString(string.Format(@"
            for i=1,GetNumTrainerServices() do
            local name = GetTrainerServiceInfo(i)
            if (name == '{0}') then
                BuyTrainerService(i)
             end
            end
            ", skillname.Replace("'", "\'")));
            }
        }
    }

    i find this method to be better then inputting into custom script, so instead of a lot of copying pasting into custom script, everything is into a single dll reference.




    User Feedback

    Recommended Comments

    Hello, put your dll in folder "bin" (with correct name, if you use namepacace "Extension" name your dll "Extension.dll"

    Share this comment


    Link to comment
    Share on other sites


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...