Jump to content
  • 0

request all maps can't vending except in vending maps


kangfredy

Question


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

guys i want to request :) in all maps canot vending (not add from mapflag) except in vending maps :).can u help me??or do you have all maps setting no vending (from mapflag)??:D

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  491
  • Reputation:   19
  • Joined:  11/19/11
  • Last Seen:  

http://pastebin.com/7jR21gaL

add your map to enable vending

/no1

Edited by Akbare
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

...or in src/map.c in function map_flags_init into loop add:

/// Initializes map flags and adjusts them depending on configuration.

void map_flags_init(void)
{
int i;

for( i = 0; i < map_num; i++ )
{
// mapflags
memset(&map[i].flag, 0, sizeof(map[i].flag));

// additional mapflag data
map[i].zone	  = 0;  // restricted mapflag zone
map[i].nocommand = 0;  // nocommand mapflag level
map[i].bexp	  = 100;  // per map base exp multiplicator
map[i].jexp	  = 100;  // per map job exp multiplicator
memset(map[i].drop_list, 0, sizeof(map[i].drop_list));  // pvp nightmare drop list

// adjustments
if( battle_config.pk_mode )
map[i].flag.pvp = 1; // make all maps pvp for pk_mode [Valaris]

map[i].flag.novending = 1; // <- add this
}
}

then in turn off your novending flag in some maps, ex.

prontera	mapflag	novending off

Edited by Lilith
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

ok tq :D..has been done..:D..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...