How to put sz in a map ?

Mu online season 21 - grand opening

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
i haved maked a map 50+ and there goes all players that have 50+ but how can i make that map to be the HomeMap for the players with lvl 50+ but not for players with lvl 50- , for players with 50- to be bichon .... and how can i put sz in that map ( 50+) ???
thankxs....
 

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
if is imposibllee , then this must be possible , i saw at bandet , how cand i make a npc that ask ( example) for a key so the player can go to a new town , but if the player gived the key to the npc , then he can use the npc every time he want , without the npc to ask again the key ....

P.S and how can i put sz in 50+ map ???
 
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
Make your own Townteleports useing Qfunction and useing the [@STDMODEFUNC{number here}] command.

All you need to do is make 2 new TownTeleports in your STDitems.

Example

Say, NewbieTT and AdvancedTT when you make the items in FLD_Anicount put 11 For NewbieTT and 12 for AdvancedTT.

Once you have made the new TT`s go to Qfunction and does this.

[@STDMODEFUNC12]
#IF
CHECKLEVEL 50
#ACT
goto @Move1
#ELSEACT
goto @NoMove1

[@NoMove1]
#SAY
You are not level 50 and cannot access\
This town.\ \ \ \ \
<Ok/@exit>\

[@move1]
#IF
CHECKITEM AdvancedTT 1
#ACT
Take AdvancedTT 1
Mapmove ? ??? ???
#SAY
You have been safely teleported.\ \ \ \ \
<Close/@exit>\


[@STDMODEFUNC11]
#IF
CHECKLEVEL 50
#ACT
goto @Nomove
#ELSEACT
goto @Move

[@NoMove]
#SAY
You are level 50 or over and can no longer access\
This town.\ \ \ \ \
<Ok/@exit>\

[@move]
#IF
CHECKITEM NewbieTT 1
#ACT
Take NewbieTT 1
Mapmove 0 212 013
#SAY
You have been safely teleported.\ \ \ \ \
<Close/@exit>\

I think this should work !!

P.S and how can i put sz in 50+ map ???

Do you want to make the full map safe or just a certain point on the map.

If fullmap in SQL TBL_MapInfo in FLD_FLAGS just type SAFE
 
Last edited:
Upvote 0

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
what you are saing thare is that just players with lvl 50 can acces it , i mean that players with 50 or 50+ ( 51 , 52 , 53....) can acces that map ( homemap) but ather with 50- cannon acces that map....
 
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
No the players that are level 50 + (50,51,52,53,54,55 and so on) can access it, the Npc just checks wether you are level 50 or over or under, trust me this will work and its not exactley hard, works fine for me useing TD files.
 
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
What don`t work?

The STDModeFunc command works fine for me, so do the teleports, what files are you useing?

if you can`t be bothered with that why not use custom commands?

@Low (Low level town)


@High (high level town)
 
Last edited:
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
M2Server > Envir > CustomCommands { This is where you list your command }

So in this txt.document type

@Low
@High

M2Server > Envir > MarketDef > Qfunction

[@Low]
Type up your NPC

[@High]
Type up your NPC

You could use the above i posted scripts NewbieTT for @low and AdvancedTT for @high

Once you have done this all youe players will have to ingame is type either @low or @high to townteleport obviously if the script works the level 50+ will goto The High town and the Lower levels will goto Low town as Qfunction script will stop them being able to teleported to the incorrect town.

If you want me to set up for you send me your Qfunction document and i`ll do it for you.
 
Upvote 0

Gemma

Dedicated Member
Dedicated Member
Feb 22, 2006
135
0
93
if u want it to teleport the player to lvl 50+ when they log on then u can do it by qman this will teleport the ppl lvl 50+ to lvl 50+ sz and lvl 50- to noobie zone when u log on

just add this

[@Login]
#IF
CHECKLEVELEX > 49
#ACT
goto @highmap
#ELSEACT
goto @lowmap


[@highmap]
#act
Mapmove ? ??? ???

[@lowmap]
#act
Mapmove ? ??? ???


also if u add em to msn ill help u when im on msn [email protected]
 
Last edited:
Upvote 0

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
i putted in qfunction like this :

[@STDMODEFUNC12]
#IF
CHECKLEVEL 50
#ACT
goto @Move1
#ELSEACT
goto @NoMove1

[@NoMove1]
#SAY
You are not level 50 and cannot access\
This town.\ \ \ \ \
<Ok/@exit>\

[@move1]
#IF
CHECKITEM AdvancedTT 1
#ACT
Take AdvancedTT 1
Mapmove HellCentralZone 90 78
#SAY
You have been safely teleported.\ \ \ \ \
<Close/@exit>\

end is teleporting my player in bichon lol :((
 
Last edited:
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
Because you need to make the New town teleports in your TBL_STDItems also use QFunction.


M2Server > Envir > MarketDef > Qfunction

So in your SQL TBL_STDItems, add item AdvancedTT {Just copy and paste townteleport, rename AdvancedTT} and then i FLD_Anicount add the number 12, then this TT will teleport you to HellCentralZone 90 78.

I could fix all your problems in 2 minutes if i had access.
 
Upvote 0

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
Because you need to make the New town teleports in your TBL_STDItems also use QFunction.


M2Server > Envir > MarketDef > Qfunction

So in your SQL TBL_STDItems, add item AdvancedTT {Just copy and paste townteleport, rename AdvancedTT} and then i FLD_Anicount add the number 12, then this TT will teleport you to HellCentralZone 90 78.
bu so i did , i maked in db a item called blabla ... with anitcount 12 and i copyed like tt just changed the name and putet anycount 12
and in qfunction i typed this :
[@STDMODEFUNC12]
#IF
CHECKLEVEL 50
#ACT
goto @Move1
#ELSEACT
goto @NoMove1

[@NoMove1]
#SAY
You are not level 50 and cannot access\
This town.\ \ \ \ \
<Ok/@exit>\

[@move1]
#IF
CHECKITEM AdvancedTT 1
#ACT
Take AdvancedTT 1
Mapmove HellCentralZone 90 78
#SAY
You have been safely teleported.\ \ \ \ \
<Close/@exit>\

end is teleporting my player in bichon lol
 
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
Well if its in your database try this in QFunction.

[@STDMODEFUNC12]
#IF
CHECKITEM AdvancedTT 1
CHECKLEVEL 50
#ACT
Mapmove HellCentralZone 90 78
Take AdvancedTT 1
#SAY
You have been safely teleported <$USERNAME>.\ \ \ \ \
<Close/@exit>\
#ELSESAY
You are not level 50 and cannot access\
This town.\ \ \ \ \
<Ok/@exit>\

This is how mine is set up, so if you have added it correctly this will work and teleport you to HellCentralZone 90 78, if not your either doing something wrong or you have different files.
 
Last edited:
Upvote 0

Elise

Dedicated Member
Dedicated Member
Jun 1, 2008
132
4
45
North East
i will try , but can you give me your msn/yahoo id messenger?

I`m at work atm and i don`t have msn on this laptop :mad:.

The above should work as it works on my server and i`m useing TD all in one files.

If your still having problems when i get home i will send you my msn address.
 
Upvote 0