• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Chief_Of_GxBxL

Profile posts Latest activity Postings Experience Resources About

  • Yeah, your JassStringRet and JassStringArg er definitely mixed up a bit. You have to use JassStringArg when it's arguments and JassStringRet as return methods. It might seem a bit weird, but this automates converting from the internal JassString to C# Strings, which is a process that is different depending on if the value is a return or argument type.

    So lines like these
    private delegate JassStringArg HttpRequestPrototype(JassStringArg method, JassStringArg url, JassStringArg cookies, JassStringArg values);
    private JassStringArg HttpRequest(JassStringArg method, JassStringArg url, JassStringArg cookies, JassStringArg values)
    need to be
    private delegate JassStringRet HttpRequestPrototype(JassStringArg method, JassStringArg url, JassStringArg cookies, JassStringArg values);
    private JassStringRet HttpRequest(JassStringArg method, JassStringArg url, JassStringArg cookies, JassStringArg values)
    Using old plugins is a problem. They are not loaded by the game, and all natives they add will be unavailable. Anything that doesn't implement IPlugin won't get loaded. Also, there is a chance using it on b.net will result in a banned account.
    That's an issue related to security. You should have WarAPI and JassAPI in the plugins folder. Then for each dll, you have to right-click, open properties, and hit unblock. It's a windows security feature. I'm going to see if I can detect it in any way.
    As far as I can tell, the JassAPI plugin isn't present in the plugins folder. Could you confirm if that's true?
    I'm unsure if you need WarAPI referenced as well. If you require a plugin that uses WarAPI then you don't, but if you use features yourself from WarAPI, then you might.
    The Launcher.exe should work just like before as far as I can recall. If you look at the zip of the latest release, the .bat files included have the needed parameters which should make it work exactly like before. Also, Lidgren.Network is attached to the second post as well, and the only difference is that you can do [Requires(typeof(NetworkPlugin))] to ensure Lidgren.Network is loaded and present.

    Unrelated to your questions, but what's the best way to document features do you think? I'm trying to figure out how to do it properly with the least amount of work. I've considered simply a post with each module+core and then just a list of classes+methods with a short description.
    Hi Chief,

    I've added a Stopwatch example plugin to the main post. I hope it makes sense. Let me know if you need any help.

    - MindWorX
    Hi Chief,

    TriggerHappy is using an older version of the API. I'm in the process of updating to a newer version. I'll do my best to get it out as soon as possible, so you have a better API to work with.

    - MindWorX
    Dear Chief_Of_GxBxL, recently the owner of the Daily Peon social group changed and there are new rules. Now, only users that really partipiciate in our RP can be members of our group. You have three days to become really active in our RP or to leave by yourself, else you'll be kicked out from a group by force. If you'll join DP, please read the rules and backstory. If there will be any questions, contact Alagremm.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top