struct { unsigned int active : 1; //Marks active player (not active is logging in/out, or changing map servers) unsigned int menu_or_input : 1;// if a script is waiting for feedback from the player unsigned int dead_sit : 2; unsigned int lr_flag : 2; unsigned int connect_new : 1; unsigned int arrow_atk : 1; unsigned int gangsterparadise : 1; unsigned int rest : 1; unsigned int storage_flag : 3; //0: closed, 1: Normal Storage open, 2: guild storage open [Skotlex] 3: Rent Storage [ZephStorage] unsigned int snovice_dead_flag : 1; //Explosion spirits on death: 0 off, 1 used. unsigned int abra_flag : 1; // Abracadabra bugfix by Aru unsigned int gmaster_flag : 1; // is guildmaster? (caches sd->status.name == g->master) unsigned int autocast : 1; // Autospell flag [Inkfish] unsigned int autotrade : 1; //By Fantik unsigned int reg_dirty : 3; //By Skotlex (marks whether registry variables have been saved or not yet) unsigned int showdelay :1; unsigned int showcast :1; // [Zephyrus] Display casting time to user unsigned int showcastdelay :1; // [Zephyrus] Display casting delay time to user unsigned int showexp :1; unsigned int showgain :1; unsigned int showzeny :1; unsigned int noask :1; // [LuzZza] unsigned int trading :1; //[Skotlex] is 1 only after a trade has started. unsigned int can_tradeack : 1; // client can send a tradeack unsigned int deal_locked :2; //1: Clicked on OK. 2: Clicked on TRADE unsigned int monster_ignore :1; // for monsters to ignore a character [Valaris] [zzo] unsigned int size :2; // for tiny/large types unsigned int night :1; //Holds whether or not the player currently has the SI_NIGHT effect on. [Skotlex] unsigned int blockedmove :1; unsigned int using_fake_npc :1; unsigned int rewarp :1; //Signals that a player should warp as soon as he is done loading a map. [Skotlex] unsigned int killer : 1; unsigned int killable : 1; unsigned int doridori : 1; unsigned int ignoreAll : 1; unsigned int buyingstore : 1; unsigned int lesseffect : 1; unsigned int vending : 1; short packet_filter; // [Zephyrus] Packet Filter unsigned int battleinfo : 1; unsigned short displaydrop; unsigned int pvpmode : 1; // PK Mode [Zephyrus] unsigned int noks : 3; // [Zeph Kill Steal Protection] unsigned int secure_items : 1; // [Zephyrus] Item Security bool changemap, changeregion; short pmap; // Previous map on Map Change unsigned short autobonus; //flag to indicate if an autobonus is activated. [Inkfish] unsigned int warping : 1;//states whether you're in the middle of a warp processing unsigned int only_walk : 1; // [Zephyrus] Block Skills and Item usage to a player unsigned int view_mob_info : 1; unsigned int evade_antiwpefilter : 1; // Required sometimes to show the user previous to use the skill unsigned int bg_afk : 1; // Moved here to reduce searchs unsigned int bg_listen : 1; unsigned int hit_tick;