Jump to content

Matenia

Elite user
  • Posts

    2226
  • Joined

  • Last visited

Posts posted by Matenia

  1. They're not real patches. The client remains 1.12, but might send out a wrong number which might break fightclasses and plugin

    To WRobot, it shouldn't matter, but it will never support custom clients. But it will likely still run just fine on Turtle.

    Try it out - you'll need your own fightclasses and maybe plugins, but it should at least connect to the client.

  2. They likely either:

    • purposely broke CTM (you can likely confirm by trying manually)
    • broke Lua movement functions
    • something about keys being injected

    My best guess is CTM. I doubt Droidz wants to fix that for custom clients.

  3. Here's what you should do:

    • add code to to TagNBagger (since it's public) to read a variable in WRobot via Via.GetVar<string>("customName")
    • use your quester to set that var, you can use my example randomized questers to take a look at how to do it
    • when var is set, the internal settings of the plugin are changed FROM WITHIN the plugin, you can then reload the plugin itself if required
    • use Var to communicate between plugins, quester, other parts of WRobot for everything you need

    The chat command itself isn't a bad idea either. But within the same instance of WRobot, you don't need to chat and as far as I understand, this is mainly what you're struggling with.

    The party mode plugin I released which TagNBagger is based on is also open source, if you need more inspiration.

     

    More info: 

     

  4. This is a separate plugin. I don't know where you're trying to paste this code. 

    If you're trying to put this INTO an existing plugin, this will never work. The important thing is in the sTemp class, that one has all the required info/functionality for writing a file.
    Quite frankly, I don't think you are capable of making a product that quests as a party with next to no coding knowledge.

    I'll just tell you one of the obvious things, now that I can read the code:
     

    var filePath = AdviserFilePathAndName("CustomPlugin-TagAndBag-" ObjectManager.Me.Name + "." + Usefuls.RealmName);

    What's obvious here? Either you do what Droidz did, a plugin name like CustomPlugin-TagAndBag, followed by the second argument (arguments are divided by a comma) OR you concatenate the whole string.

    Trying to do XML in a multiline string isn't exactly easy. You need to escape existing quotation marks or they will end the string again. This is why Droidz used double quotation marks.

    You can test strings here, for example. Keep in mind, that one uses a more modern version of C#. If you don't compile your own code (I told you, set up Visual Studio), you're limited to .NET Framework 4.0 (if I recall correctly), because WRobot compiles your code at runtime.

    image.png.e2567d3972332366350bb2bf54dc4ec9.png

     

    using robotManager.Helpful;
    using wManager.Plugin;
    using System.Windows.Forms;
    using wManager.Wow.Helpers;
    using wManager.Wow.ObjectManager;
    
    public class Main : IPlugin
    {
        public void Initialize() {}
    
        public void Dispose() {}
    
        public void Settings()
        {
            sTemp.CreateHmpSetting();
        }
    }
    
    class sTemp : Settings
    {
        public static void CreateHmpSetting()
        {
            var filePath = AdviserFilePathAndName("CustomPlugin-TagAndBag", ObjectManager.Me.Name + "." + Usefuls.RealmName);
    
            // read how to do a multiline string here: https://blog.gitnux.com/code/c-sharp-multiline-string/
            var fileContent = 
            @"<?xml version=""1.0"" encoding=""utf-8""?>
            <PluginSettings xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">
                <ChannelName>GemeinsamesLeveln</ChannelName>
                <ChannelPassword>GemeinsamesLeveln</ChannelPassword>
                <Followers />
                <GroupRegen>true</GroupRegen>
                <GroupTrain>false</GroupTrain>
            </PluginSettings>";
    
            Others.WriteFile(filePath, fileContent);
    
            MessageBox.Show("HMP file created");
        }
    }

    Again - I have no idea what context you're trying to use this in. If this doesn't work, you'll have to actually do what I said in the first place and learn.

  5. Dear community,

    I just found, I still have access to some workspaces via bitbucket (where I barely ever log in).
    Therefore, I'm sharing the original source as it was last commited by him here. I don't know if it's different from what was already uploaded or anything. That's why I'm sharing it in the developer forums and not plugins/quester.

    Last commits are from early 2018.

    mxsbt-vanillaflightmaster-dbcc4a5bd0e7.zip fnv316quester-quester-1-40-71d751b8482d.zip

  6. Please get help from someone who speaks both Chinese and English and have them explain the responses in this thread and help you respond.

    I feel like you haven't understood anything anyone told you in this thread. I certainly don't understand anything what you're trying to say now.

  7. Sounds like you're using a TBC/Wrath fightclass in vanilla that tries to use StopAttack() which doesn't seem to exist in in Vanilla.

    Or TurtleWoW removed that function from the client

  8. 10 hours ago, Zer0 said:

    As Matenia said, from their website

    I'm quite surprised they would use a wotlk client for a TBC server and I'd be very curious to know what these "patches" do exactly.

    As for the Wholesome TBC Fight class, I can confirm that it works on a regular wotlk client. No idea about the endless one. You should probably test it with the trial version.

    Generally, they edit the executable. This is what I've done to TBC to fix nameplate distance, FoV patches and iirc some specific condition Lua edits so I could use secure functions in pre-approved patches.

    WoW loads every patch-*.mpq file in your Data folder. This is how you add assets to the game or overwrite existing ones. You can take the structure that exists and whichever patch loads last will overwrite every previous file. It's generally how you patch talent trees, spells, the UI, etc.

    It's fairly straight forward and just DBC patching, which is what servers already use to largely validate spells anyway. So you can then extract DBC and maps (also modifiable) with the existing tools and your server will treat the spells just like the client "knows" them. Certain scripts and hacks for spells will still be required - DBC doesn't contain all the necessary info.

    For maps, it'll just generate paths via a pathing library (forget what it's called, haven't worked on WoW servers in ages), so any modified map will just as the client sees it.

  9. You're clearly using addons and you provided that info in the log file.

    [D] 13:21:45.659 - [Info] Wow Addons: !Libs, !!!Libs, AutoProfit, C, CensusPlus, ChatMOD, Clean_Up, En_UnitFrames, !ImprovedErrorFrame, Lern2Spell, MinimapButtonBag-TurtleWoW, MyAddons, SpamIam, SpamThrottle, SpellBookTag, SpellHelper, SUCC-bag, TinyTip, TinyTipExtras, TinyTipOptions, TipBuddy, UnitFramesImproved_Vanilla, WIM, YouveGotRedOnYou, MozzFullWorldMap, zUI

    This video isn't helping. Use a screen recording software like OBS.

    By the looks of your addons, it also seems like you're playing on Turtle WoW, they use a modified client.

     

    It's probably this error, like caused by a modded client or addons:

    [E] 16:35:33.694 - GetReactionTowards(WoWFactionTemplate otherFaction): System.NullReferenceException: 未将对象引用设置到对象的实例。
     wManager.Wow.Helpers.WoWFactionTemplate.GetReactionTowards(WoWFactionTemplate otherFaction)

     

  10. It's going to be a 3.3.5a client, so technically WRobot should work.

    But you'll have to rewrite everything made for TBC to work on the WotLK client. 
    It's going to be super interesting, because modding 3.3.5a is much easier than 2.4.3 (I've done the latter before to rebalance TBC, added new maps, spells, etc - it takes forever and there are basically no tools unlike 3.3.5a). But it's quite possible that if they are skilled enough, they can definitely break WRobot through Lua changes. They can also implement new anti-cheat and generally better anti-cheat in 3.3.5a.

    That being said, you'll have to test it. On the bright side, the way my fightclasses are written (and Wholesome TBC as well, from what I can recall) they should work on 3.3.5a clients, even if they're made for TBC.

  11. Booty Bay was fixed, so could be custom client. You can create offmesh connections - tons of forum threads explaining. I've posted some code examples of how to add custom pathing.

    Taxis: Always been an issue, you can try any of the free flightmaster plugins available for many expansions. May have to adjust them yourself as needed - especially FNV's is really old by now. This could be server/custom client related for you though.

    Battlegrounder: Profiles will work if you turn off free mode or whateever. Threads on the forums explain this already. The last guy who asked got a wall of text response. I'm sure you can find the threads.

    Not sure - never seen it bug out, but I replaced the ToTown state with my own in HMP anyway.

×
×
  • Create New...