Jump to content
  • 0

question on mapflag


Rain408

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

to set my mapflag for noteleport,

 

The file would be located  npc/mapflag/noteleport.txt  right?

 

In that file i added this 

 

// Mvp Maps mapflag noteleport
moc_pryd06 mapflag noteleport
lhz_dun03 mapflag noteleport
ra_fild02 mapflag noteleport
ra_fild03 mapflag noteleport
ra_fild04 mapflag noteleport
ve_fild01 mapflag noteleport
ve_fild01 mapflag noteleport
lou_dun03 mapflag noteleport
prt_maze03 mapflag noteleport
bra_dun02 mapflag noteleport
gl_chyard mapflag noteleport
abyss_03 mapflag noteleport
gef_dun02 mapflag noteleport
gef_dun01 mapflag noteleport
treasure02 mapflag noteleport
pay_fild11 mapflag noteleport
gon_dun03 mapflag noteleport
abbey02 mapflag noteleport
xmas_fild01 mapflag noteleport
ra_san05 mapflag noteleport
dic_dun03 mapflag noteleport
prt_sewb4 mapflag noteleport
mosk_dun03 mapflag noteleport
thor_v03 mapflag noteleport
ama_dun03 mapflag noteleport
kh_dun02 mapflag noteleport
xmas_dun02 mapflag noteleport
ice_dun03 mapflag noteleport
ayo_dun02 mapflag noteleport
niflheim mapflag noteleport
anthell02 mapflag noteleport
mjolnir_04 mapflag noteleport
pay_dun04 mapflag noteleport
gef_fild02 mapflag noteleport
gef_fild14 mapflag noteleport
moc_pryd04 mapflag noteleport
in_sphinx5 mapflag noteleport
moc_fild17 mapflag noteleport
dic_dun02 mapflag noteleport
ein_dun02 mapflag noteleport
beach_dun mapflag noteleport
tur_dun04 mapflag noteleport
odin_tem03 mapflag noteleport
jupe_core mapflag noteleport
 
When i go reload the script, it appears to me I'm still able to go to those maps and teleport.
Did i mess up something?

 

 

 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

What exactly are you trying to block?
Also, are you testing with a GM Character?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

You have to add:

map_name[TAB]mapflag[TAB]noteleport

As Haziel said, GMs can evade mapflag effects, so test them always with a normal character.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

Yes I'm testing w/ a lvl 99. GM character, I'm just trying to remove teleport and fly wing from mvp maps. No teleport= the skill and fly wing right?

Ahh I didn't know that

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  639
  • Reputation:   596
  • Joined:  11/25/11
  • Last Seen:  

Yes, noteleport actually does that:

warp, areawarp, warpchar, warpparty, warpguild and warpwaitingpc script commands will not work with "Random" destination
warpwaitingpc will not work with "SavePoint" destinationwhy?
unitwarp script command will not work with players
@jump will not work if GM level is below any_warp_GM_min_level
AL_TELEPORT skill can't be used by players (except for level 3, ie. Butterfly Wing)
TK_HIGHJUMP skill will not work (except for battleground, gvg and gvg_castle maps)
teleport part of RG_INTIMIDATE, NPC_EXPULSION, CG_TAROTCARD skills will not work
following items can't be used:
Fly Wing (ID 601)
Giant Fly Wing (ID 12212)

But GM Characters can override it.
Try with a normal account.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

It's always best to test out restrictions with normal accounts.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

Yea, that's not doing the trick for me. I'm still able to teleport on account where setting is normal player lvl

 

Well i think i figure out the problem, but I still not know how to solve it

 

it seems my npc/script_mapflags.config   & npc/map/mapflags.txt   on server side are not sync w/ the game

 

Is there another location where the mapflags items are placed?

Edited by Rain408
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:  

  • make sure your char dont have any_warp permission.

make sure your map has successfully added the mapflag, check using @mapinfo

make sure you dont have any script that remove the mapflag.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

I tried a few things, and it didn't work.

 

Using @mapinfo help a lot, but it's kinda weird too.

 

Here's what I tried.

 

Went to a map i knew  i couldn't teleport in.

 

type @mapinfo --->  notice there was nothing there. Try to teleport ---> couldnt, but no warning saying i can't teleport here

type @mapflag noteleport 1 ---> @mapinfo ---> mapflag noteleport is on --> tried to teleport, I couldn't teleport, but now i got a warning.

That seem pretty weird to me so next  i tried

 

Then i went to a tool shop inside pront, type @mapinfo---> mapflag noteleport is on --> turn off mapflag noteleport on mapflag.config ---> can teleport, results as expected

Now, I'm bloody confused.

 

I tried, copying code before me....... copy/paste prt_inn noteleport---> and change prt_inn to a desire map i wanted to mapflag in ---> and the shit fucken WORK!!!!!

 

SO WHY THE HELL DID I NOT WORK BEFORE WHEN SYNTAX WAS THE SAME!!!

 

well thanks..... work up 4 in the morning to try to figure this shit out -_-

 

But thanks a bunch on the @mapinfo insight, thanks to that  i notice there other spots i need to correct mapflag on ^^

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