[REQ]Map Status IDīs

10/16/2013 22:01 Y u k i#1
Does anyone happen to have a more or less complete list of MapStatus IDīs?

Mainly searching for the "disable jumping" one, but a complete list would help more for further implementations.

I just know the ones for Market, "enable revive here" and Offline TG for now :/

No im not talking about MapIDs.
10/16/2013 22:05 CptSky#2
They are in my COPS v6 source. Somewhere :p

Edit. For the last three ones, take the comment name, not the enum.
Code:
        //    None = 0x0000,
        //    PKField = 0x0001,               //No PkPoints, Not Flashing...
        //    ChangeMap_Disable = 0x0002,     //Unused...
        //    Record_Disable = 0x0004,        //Do not save this position, save the previous
        //    PK_Disable = 0x0008,            //Can't Pk
        //    Booth_Enable = 0x0010,          //Can create booth
        //    Team_Disable = 0x0020,          //Can't create team
        //    Teleport_Disable = 0x0040,      //Can't use scroll
        //    Syn_Map = 0x0080,               //Syndicate Map
        //    Prison_Map = 0x0100,            //Prison Map
        //    Wing_Disable = 0x0200,          //Can't fly
        //    Family = 0x0400,                //Family Map
        //    MineField = 0x0800,             //Mine Map
        //    PKGame = 0x1000,                //MAPTYPE_CALLNEWBIE_DISABLE
        //    NeverWound = 0x2000,            //MAPTYPE_REBORN_NOW_ENABLE
        //    DeadIsland = 0x4000,            //MAPTYPE_NEWBIE_PROTECT
10/16/2013 23:25 Super Aids#3
// Booth_Enable = 0x0010, //Can create booth

Is not entirely true, since you could do that in pretty much any map. What it does is enabling it so you can exit your booth again :)
10/16/2013 23:55 _DreadNought_#4
Quote:
Originally Posted by Y u k i View Post
Does anyone happen to have a more or less complete list of MapStatus IDīs?

Mainly searching for the "disable jumping" one, but a complete list would help more for further implementations.

I just know the ones for Market, "enable revive here" and Offline TG for now :/

No im not talking about MapIDs.
Especially for the 'disable jumping' one in specific, make sure you have the appropriate sanity checks in place. :)
10/17/2013 03:34 CptSky#5
Quote:
Originally Posted by Y u k i View Post
Thanks alot, i should really look at your source more often. Do you happen to know the type to disable jumping? Where do you find those IDīs or do you just trial and error?
Initially, I took the values in the EO sources. Others, I used trial & errors as it's a bitfield, it's limited. I really don't know what you're talking about for disabling jumping... Do you have an example on an old version ? I can't remember seeing this thing... I would go for a entity flag instead of a map flag...

Quote:
Originally Posted by Super Aids View Post
// Booth_Enable = 0x0010, //Can create booth

Is not entirely true, since you could do that in pretty much any map. What it does is enabling it so you can exit your booth again :)
Well, when clicking to a booth flag, they would say that selling is not activated on this map if the flag is not set. It's the idea of the name as you can always create booth otherwise...
10/17/2013 03:40 Super Aids#6
Never faced that problem when not enabling that flag. I have only faced the problem not being able to quit your booth.
10/17/2013 03:52 CptSky#7
Quote:
Originally Posted by Super Aids View Post
Never faced that problem when not enabling that flag. I have only faced the problem not being able to quit your booth.
I remember having both when designing the booth system on an old LOTF source back in the days... Anyway, for a full functional implementation, you need the flag :)