Jump to content

Checking if model is outdated broken on mirror mode ?


zwaffel

Recommended Posts

Mirror client version : (x64 to x32) v3.07.181

Console output / terminal output: NA

Crash report if a crash occurred: NA

Script that you ran: Self made not on sdn.

Hooks that failed.: none

JVM/Browser bit version (32 / 64) : (build 1.8.0_201-b09) - 64Bit

 

While looking for GroundDecoration on mirror mode i always seem to get undefined results.

Sometimes he finds nothing, sometimes he finds half of what he should find. If i run the exact same code on stealth injection i will not encounter this problem and everything will work as it should.

private List<GroundDecoration> getAllDeco()
    {
        List<GroundDecoration> decoList = new ArrayList<>();
        for (RS2Object object : getObjects().getAll())
        {
            if (object != null)
                if (object.getClass().equals(GroundDecoration.class))
                {
                    GroundDecoration deco = (GroundDecoration) object;
                    if (!deco.getModel().isOutdated())  // this line will make it break for mirror mode. 
                        decoList.add(deco);
                }
        }
        log("decoListSize : " + decoList.size());
        return decoList;
    }

The bug seems to be at if (!deco.getModel().isOutdated()) when this line gets removed there is no difference between injection and mirror mode.

log from mirror mode.

gMhJINk.png

It should have print 7 every loop.

Link to comment
Share on other sites

Mirror client hooking is key, make sure you are logged out during the whole process, otherwise you will get 0 npcs 0 items 0 objects. So stay logged out the whole time, once the clients hook, login manually, let the clients load by walking around a bit, opening interfaces etc, then you're set to either bot or develop scripts.

Link to comment
Share on other sites

9 hours ago, Token said:

Are the results affected by the reaction time value? 

Seems to be unaffected by the reaction value.

4 hours ago, Czar said:

Mirror client hooking is key, make sure you are logged out during the whole process, otherwise you will get 0 npcs 0 items 0 objects. So stay logged out the whole time, once the clients hook, login manually, let the clients load by walking around a bit, opening interfaces etc, then you're set to either bot or develop scripts.

Tried this but it didn't change anything, still getting the same random results.

Edited by zwaffel
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...