Jump to content
  • 0

How can I turn off All Items and Equip on a map?


Pink Guy

Question


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Just what my title says, How can I turn off the use of all items and equip on a certain map? Thank you for those people who will help me..

I dunno where to post so I just posted it here. :(

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

So.. how exactly can I apply it to a map? Can you please give me an example in script/mapflag(if possible) form?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

its in mapflag, you need to put the "mf_loadevent" map flag on the map that u want to make people nude :X, which can also be done via scripting.

example:

OnInit:
      setmapflag "prontera",mf_loadevent;
      end;

Edited by lilcooldude69
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

So I'll just copy paste that? example...

OnInit:
          setmapflag "prontera",mf_loadevent;
          end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

OnPCLoadMapEvent:
if(strcharinfo(3) == "prontera"){
nude;
//you need a source mod to prevent anymore equipment/item to be used
}

with that, you can strip all equipment upon entering the map specified. but won't prevent the player from re-equipping it.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

well...good try..but it wont work..

like what cyledion has mentioned...they can re-equip...

and due to too many item to disable from the map.. and items...

without any src for creating a new mapflag....

i can suggest you to do it in this way...

create a simple npc warper..that check for Item Weight

if the player current Weight is larger than 0....he cant go in the map...

or

you can use getinventory command..

if the users have more than 1 items or 0 items..

he cant go into the map.

with this..i think they are not be able to bring any items into the map..

but of course...the idea might still have not good enough to fit what you want.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

OnPCLoadMapEvent:
if(strcharinfo(3) == "prontera"){
nude;
toggleequip;
}

I feel like helping so.. add this to your script after applying this diff.

noequip.diff

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Thanks. I'll reply if I test it because at the moment, I don't know how to put diffs to my server lol.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.03
  • Content Count:  295
  • Reputation:   6
  • Joined:  12/02/11
  • Last Seen:  

i can still equip items even i use the diff

toggleequip;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  85
  • Reputation:   17
  • Joined:  12/25/11
  • Last Seen:  

why dont try this mod?

Its really excellent, easy and dont need restart for restrict items or skills in maps that are assigned

http://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/

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...