abdallahessam118 Posted June 5 Posted June 5 Hello, I was just wondering which TypeStatus I should use to prevent players from logging back into a map they shouldn't be in after logging out? i`m using this: !client.Map.TypeStatus.HasFlag(MapTypeFlags.RebornNowEnable) but not quite sure if its the right one Quote
Konichu Posted June 6 Posted June 6 (edited) /// <summary> /// Disable recording the map position into the database. /// </summary> public bool IsRecordDisable() { return Type.HasFlag(MapTypeFlag.RecordDisable); } 0x4 RebornNowEnable = 0x2000 is for maps that allow Revive Here Edited June 6 by Konichu Quote
theshadowpriest Posted June 8 Posted June 8 Maps have an attribute for "reborn_map" which is the ID of the map you will respawn on if you log in or revive. Eg, Metzone is 1212 "GlobeQuest10" aka Adventure Zone 10, but the reborn map is 1219, which is GlobeExit, the Bird Island style looking map. You can do checks when reviving or logging in that the current map has Record Disabled and if it is, have them appear in the Reborn_Map instead. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.