blurite / rsprot

RSProt is an all-in-one networking package for RuneScape Private Servers, primarily targeted at the OldSchool scene.
MIT License
27 stars 5 forks source link

Change `SetMapFlag` category `LOW_PRIORITY_PROT` -> `HIGH_PRIORITY_PROT` #25

Closed Tomm0017 closed 2 weeks ago

Tomm0017 commented 2 weeks ago

Using rsprox, we can see that set_map_flag has the same priority as zone prots as they are sent in the order they were originally flagged. Example 1

    Tick 8  
        oploc1  id=1536, coord=(3014, 3220, 0)
        set_map_flag    coord=null
        set_map_flag    coord=null
        loc_del coord=(3014, 3220, 0), shape=0, rotation=2
        loc_add_change  id=1535, coord=(3014, 3219, 0), shape=0, rotation=1
        synth_sound id=60

Example 2

    Tick 584    
        oploc1  id=1536, coord=(3012, 3238, 0)
        set_map_flag    coord=null
        set_map_flag    coord=null
        loc_del coord=(3012, 3238, 0), shape=0, rotation=0
        loc_add_change  id=1535, coord=(3012, 3239, 0), shape=0, rotation=3
        synth_sound id=60