Jump to content

Ordush

Elite user
  • Posts

    1165
  • Joined

  • Last visited

Bug Report Comments posted by Ordush

  1. 22 hours ago, Droidz said:

    I haven't solution without big change. I should be create new quest type with grind/gatherer support and add objectve by unit/gameobject entry (and not by quest like now) (and search all no completed entry objective and go to the neareest).

    That would be amazing man!

  2. On 5/8/2020 at 2:39 PM, Droidz said:

    Hey,

    In Wotlk you have Aura.Owner.

    You can use it like:

    
    if (ObjectManager.Target.GetBuffs("Vampiric Touch").Any(a => a.Owner == ObjectManager.Me.Guid && a.TimeLeft < 1000))

     

    This returns false if the target doesn't have Vampiric Touch
    Have been trying to make a workaround without luck.
    if ((ObjectManager.Target.GetBuffs(_VampiricTouch.Name).Any(a => a.Owner == ObjectManager.Me.Guid && a.TimeLeft < (1000 + ObjectManager.Me.GlobalCooldownTimeLeft + 1500)) || ObjectManager.Me.Guid != ObjectManager.Target.BuffCastedBy(_VampiricTouch.Name)))

    Nevermind lol the last code line i wrote just here works.

  3. 4 hours ago, Smokie said:

    Wow, i am glad to see others working on Wrath of the lich king content. Good job!

     

    Ps : IsMine was changed to UnitCaster in patch 3.1.0

    It was just an example, I'm  pretty sure that Droidz reads from memory instead of using the lua function. Was just to explain what I meant. ?

  4. ObjectManager.Me.PlayerRaceString returns "Unknown"

    I obviously did a fresh wrobot install before coming here. ?

    Edit: This is very odd, on another server it returns the race.
    But on my own CMangos Server it returns those numbers. ?
    Edit: If I do Logging.Write(Lua.LuaDoString<string>("return UnitRace('player')"));
    It writes: Tauren#||#Tauren
    in the log.
    If I write Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage(UnitRace('player'))");
    it does write Tauren in the chat.
    If I do:
    if (Lua.LuaDoString<string>("return UnitRace('player')") == "Tauren#||#Tauren")
        Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('Yes')");
    else
        Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('No')");
    It does write Yes in the chat. lol this is too weird.
    Edit: I did try using the same wow folder that is connecting to another private tbc server where this is not the case.

  5. 8 hours ago, Droidz said:

    Hello,
    Disable all Wow addons, all WRobot plugins and share your log file please ( https://wrobot.eu/forums/topic/1779-how-to-post-your-log-file-with-your-topic/ ).

    He is using my fightclass for Druid. I tested it myself, i am having the same issue.
    The same Druid that has been working for ages. It's made in the fightclass editor ages ago. It's probably some bin changes that has made it stop working.
    You will not get anything out of the logs, I've already looked through them.
    I am rewriting the Druid right now.

  6. 3 hours ago, Matenia said:

    @Ordush 

    @Droidz

    
    public static float GetGlobalCooldown()
        {
            string luaString = @"
            local i = 1
            while true do
                local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL);
                if not spellName or i >= 10 then
                    break;
                end
       
                local start, duration, enabled = GetSpellCooldown(i, BOOKTYPE_SPELL);
                if enabled == 1 and start > 0 and duration > 0 then
                    local cooldownLeft = duration - (GetTime() - start)
                    --DEFAULT_CHAT_FRAME:AddMessage('GCD check for ' .. spellName .. ' ' .. cooldownLeft);
                    if (cooldownLeft < 1500 and cooldownLeft ~= 0) then
                        return cooldownLeft / 1000;
                    end
                end
    
                i = i + 1;
            end
    
            return 0;
            ";
    
            return Lua.LuaDoString<float>(luaString);
        }

    Correct me if I'm wrong, but this should work (pure Lua, vanilla). Checks 10 first spells in spellbook for their cd. Rogues have 1 second GCD tho, so idk

    Yep works. I already pointed Droidz towards your shit Schaka. ?

  7. 1 hour ago, Droidz said:

    HellI would like (and it would be simple to put in place), but it is too complicated for my corporate accounting (I need invoice to pay someone, and to write invoice he need a registered company/organisation).

    That makes sense, but does it differ to your selling of licenses?
    I think i understand now, can't you make the payment go directly to the uploader, and then collect a % from the uploader from the end of the month? That is what Sellfy does.
    So if i sell for 100Euros in 1 month, then you bill me 2% of 100 or whatever you want your take to be.
    That way you don't have to pay anyone anything, but you will only withdraw from people? ?

    Cela a du sens, mais cela diffère-t-il de votre vente de licences?
    Je pense que je comprends maintenant, ne pouvez-vous pas faire le paiement aller directement à l'uploader, puis collecter un% de l'uploader de la fin du mois? C'est ce que fait Sellfy.
    Donc, si je vends 100Euros en 1 mois, alors vous me facturez 2% de 100 ou tout ce que vous voulez que votre prise soit.
    De cette façon, vous n'avez rien à payer à personne, mais vous vous retirez seulement des gens? ?

  8. Je ne suis pas sûr que quelqu'un ait déjà suggéré cela, mais ce serait une addition formidable, d'intégrer la boutique dans wrobot, où les programmeurs peuvent télécharger leurs produits, et les gens peuvent obtenir du contenu gratuit / payant via cette boutique. De cette façon, les gens n'avaient pas besoin d'utiliser des sites comme Sellfy, etc. Mais vous pouviez saisir ces 2% ou tout ce que les sites prennent pour héberger des fichiers.
    Il serait également lutter contre les escrocs et la propagation des logiciels payants.


    En français si cela a plus de sens. ?

  9. 9 minutes ago, Droidz said:

    You have closed WRobot before? do you have try to restart your computer?

    First i tried on Windows 7 did not work, then i rebooted into windows 10, did not work there either.
    Same error on both OS. It works fine, when i install it and run the updater the first time, but if i try to update again after that, then i get the error.
    And ofc. i closed WRobot before updating. ?

  10. Works like charm now. Ran it while at work, no issues on win 10 now!
    But a new issue is now showing up. When i try to update the bot from an already updated version i get an error

    15:06:07 - error: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
       at System.Net.WebClient.DownloadFile(Uri address, String fileName)
       at UpdateManager.UpdateManager.Inoerueruawu()

    If i make a fresh install and update, there is no problems, but if i try to update again, this error comes. I have no antivirus, and i have tried turning off firewall. Same issue.

    This error is both on Win 10 and Win 7

  11. 1 minute ago, Droidz said:

    And you get this problem only since yesterday (last update)?

    No i used to use windows 7, but then people reported crashes on win10, so i tried on my win10 installation and i have the same issues as everyone else.

    https://discord.gg/C374wf

    First we thought it was HumanMaster, but it appeared that it was also happening on fresh install (I did fresh install).

  12. 3 hours ago, Droidz said:

    Hello, your offset is probably bad (not safe). I don't know other way. Why you don't want use lua code?

    If i use Lua. I have to have the ability on the action bar.
    None of my other spells needs to be on action bar. ?

  13. 2 minutes ago, Droidz said:

    CombatReach is calculed by server and he is in relation to the mob size ( https://github.com/mangoszero/server/blob/52454825c7e1435ff53f32f9edf9fe7dca10ec08/src/game/Object/Unit.cpp#L8842  ). I think than server send bad value (or when you cast spell he don't check distance like Wow).

    Alright, so this is a server thing, too bad. Will just have to make a safe "9 yard distance". :)
    I have also written on the same subject a thread. I qouted you in it. If you get the time, will you look at it?
    Thanks a ton for helping with all this mate! <3

×
×
  • Create New...