Level up

Mu online season 21 - grand opening

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
How can i make when a player levels up, says a message and magic like
Congratiolations! You level is raised. You MP and HP are recovered!
and a magic like in mir3

Thanks!
 

Elijah

Crystal Dev
Developer
Jul 21, 2004
1,806
18
265
dont think you'll get it to come up at bottom like on euro mir.

But if you search you can use the QMANAGE.txt to make a npc box pop up to say it.

Cant remmeber exact commands.

ill search in a sec and find the right thread

/Tofas

http://www.lomcn.co.uk/forum/showthread.php?t=35473&highlight=qmanage

Read that thread, you might be able to pick up where mental is going with the level up thing.
 
Last edited:
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
Grr the only thing i got from there, is that the message is send everytime i log on. If i'm 50 for example, i logon and appears Your level is raised blabla. If any1 know how to make message appear when player level's up, please help me :P

Thanks!
 
Upvote 0

daneo1989

I am Ancient.
Staff member
Super Moderator
Dec 5, 2005
6,036
1
283
330
UK
makaveli said:
any1 any other ideas how to make it work?

i thought you do all that in String.txt in Mir200 try search for QFunction that might be it
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
this is my qfunction:
[@Login]
#IF
ISCASTLEGUILD
#ACT
Sendmsg 1 SwMember<%S>Online.
;==================================================
#IF
ISCASTLEMASTER
#ACT
Sendmsg 1 SwMaster<%S>Online.
;==================================================
#IF
CheckLevelEx < 90
#ACT
RECALLMOB »˘ÎŔ 1
#IF
Check [001] 0
#ACT
AddNameList GameNameList.txt
;==================================================
#IF
CheckNameList GameNameList.txt
#ACT
#CALL [\Common\Info.txt] @Readme
;==================================================
#IF
ISADMIN
#ACT
CHANGEMODE 2 1
CHANGEMODE 3 1
SENDMSG 5 Admin<%s>IsOnline.
;==================================================
#IF
CheckNameList Çĺłý˛ÖżâĂÜÂë.txt
#ACT
Clearpassword
DelNameList Çĺłý˛ÖżâĂÜÂë.txt
;==================================================
#IF
CHECKLEVELEX < 35
#ACT
SET [004] 0
;==================================================
#IF
CHECKLEVELEX > 34
#ACT
SET [004] 1
;==================================================
#IF
#ACT
#CALL [\Common\LoginAct.txt] @Act
;==================================================
[@PlayLevelUp]
#IF
CHECKLEVELEX > 1
#ACT
sendmsg 5 Congratulations!.You.level.is.raised.All.HP.and.MP.are.recovered!
break

[@play blabla should be when u level up. but doenst work :((
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
You dont understand. I want to make the script, each time player levels up, displays that message. I copyied mentals script and bring error. i deleted (@@sendmsg) no error, but doenst work....
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
155
Netherlands
(i assumed mental whas right lol or it could be it whas with the old files)

this is in my *:\mirserver\Mir200\Envir\market_def\Q-Function.txt
and it works for me hope it helps

and if you want it for all lvls to give a msg just add all lvl's in it

;=====================================================
;Player Lvl UP Msg

[@PlayLevelUp]
#IF
CHECKLEVELEX = 35
#ACT
LineMSG 6 "Congratulations! <$USERNAME> has advanced to level 35"
BREAK
#IF
CHECKLEVELEX = 40
#ACT
LineMSG 6 "Congratulations! <$USERNAME> has advanced to level 40"
break
#IF
CHECKLEVELEX = 45
#ACT
LineMSG 6 "Congratulations! <$USERNAME> has advanced to level 45"
break
#IF
CHECKLEVELEX = 50
#ACT
LineMSG 6 "Congratulations! <$USERNAME> has advanced to level 50"
break
;=====================================================
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
155
Netherlands
makaveli said:
ty m8. i tought i have to make them with QManage not QFunction lol. works now. thanks a million times :)

ye soz about that m8 i whas talking without checking it out i should have checked it before answer tbh :P:P

and np i like to help ppl:blam: (also this a new emo?? rofl)
 
Upvote 0