QFunction/Orb problem

Mu online season 21 - grand opening

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
Ok i want to make a special map in where u can enter only if you have level 43 +. This is my orb:

QFunction-0.txt
----------------------------------------------------
[@StdModeFunc1]
#CATT [\Market\LostIsland.txt] @warpmain
----------------------------------------------------
LostIsland.txt
----------------------------------------------------
[@lostisland]
{
#SAY
Using the knowledge of oma fighters, you will be warped\
in a hidden place far away on a forgotten land of darkness.\
Be aware of the danger that awaits you there.\ \
<Warp me/@warp>\
<No thanks/@exit>\
[@warp]
#IF
CHECKLEVELEX < 43
#SAY
You are too low level to enter this area.\ \
<Exit/@exit>\
#ELSEACT
mapmove 7 269 149
{
-------------------------------------------
I got the Orb in the database called LostIslandOrb, but in game, when i 2xclick it...nothing happens. StdMode is 31 and anicount 1.
What should be the problem?
Thanks!
 

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
If you want it to be a Level43+ teleport you need to change the check level thing to < 42 ;)
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
155
Netherlands
makaveli said:
Ok i want to make a special map in where u can enter only if you have level 43 +. This is my orb:

QFunction-0.txt
----------------------------------------------------
[@StdModeFunc1]
#CATT [\Market\LostIsland.txt] @warpmain(seeks @warpmain in lostisland.txt)
----------------------------------------------------
LostIsland.txt
----------------------------------------------------
[@lostisland]<----------(must be @warpmain)

understand what im saying?

so will be like this

QFunction-0.txt
----------------------------------------------------
[@StdModeFunc1]
#CALL [\Market\LostIsland.txt] @warpmain
----------------------------------------------------
LostIsland.txt
----------------------------------------------------
[@warpmain]
{
#SAY
Using the knowledge of oma fighters, you will be warped\
in a hidden place far away on a forgotten land of darkness.\
Be aware of the danger that awaits you there.\ \
<Warp me/@warp>\
<No thanks/@exit>\
[@warp]
#IF
CHECKLEVEL 43
#ACT
mapmove 7 269 149
#ELSESAY
You are too low level to enter this area.\ \
<Exit/@exit>\
{

also i edited the checklevel as you only need 43+
also changed the CATT to CALL in Q-func
 
Last edited:
Upvote 0

spunky05

LOMCN Veteran
Veteran
Loyal Member
Oct 7, 2003
271
1
95
Smallville
QFunction-0.txt
----------------------------------------------------
[@StdModeFunc1]
#CALL [\\Market\LostIsland.txt] @warpmain


LostIsland.txt
----------------------------------------------------
[@warpmain]
{
#IF
#SAY
Using the knowledge of oma fighters, you will be warped\
in a hidden place far away on a forgotten land of darkness.\
Be aware of the danger that awaits you there.\ \
<Warp me/@warp>\
<No thanks/@exit>\

[@warp]
#IF
CHECKLEVEL 43
#ACT
mapmove 7 269 149
#ELSESAY
You are too low level to enter this area.\ \
<Exit/@exit>\
}
 
Upvote 0

stephenking

I HAVE A DREAM!!
Developer
Aug 28, 2005
616
39
155
Netherlands
dunno if it will help but its last thing i can think off in all my files where #CALL is used its always like this

QFunction-0.txt
----------------------------------------------------
[@StdModeFunc1]
#ACT
#CALL [\Market\LostIsland.txt] @warpmain

dunno if the #ACT is realy needed tho its always used with all my #CALL cmd's try it
 
Upvote 0

Holy

LOMCN Veteran
Veteran
Feb 13, 2006
372
0
42
[@StdModeFunc1]
{
#SAY
Using the knowledge of oma fighters, you will be warped\
in a hidden place far away on a forgotten land of darkness.\
Be aware of the danger that awaits you there.\ \
<Warp me/@warp>\
<No thanks/@exit>\
[@warp]
#IF
CHECKLEVELEX < 42
#SAY
You are too low level to enter this area.\ \
<Exit/@exit>\
#ELSEACT
mapmove 7 269 149
{


add that to ya QFunction the #CALL command is a ****er to get working... i found it only opens the text files that are already in the Common/Market flders...

/Echo
 
Upvote 0

Ripman

LOMCN Developer
Developer
Jul 22, 2003
1,129
20
265
Romania, Timisoara
makaveli said:
Ok i want to make a special map in where u can enter only if you have level 43 +. This is my orb:

QFunction-0.txt
----------------------------------------------------
[@StdModeFunc1]
#CATT [\Market\LostIsland.txt] @warpmain
----------------------------------------------------
LostIsland.txt
----------------------------------------------------
[@lostisland]
{
#SAY
Using the knowledge of oma fighters, you will be warped\
in a hidden place far away on a forgotten land of darkness.\
Be aware of the danger that awaits you there.\ \
<Warp me/@warp>\
<No thanks/@exit>\
[@warp]
#IF
CHECKLEVELEX < 43
#SAY
You are too low level to enter this area.\ \
<Exit/@exit>\
#ELSEACT
mapmove 7 269 149
{
-------------------------------------------
I got the Orb in the database called LostIslandOrb, but in game, when i 2xclick it...nothing happens. StdMode is 31 and anicount 1.
What should be the problem?
Thanks!



this is my orb from izar :) i know ur trying to reconstruct the game :))

here is the original script:

[@lostisland]
{
#IF
checklevel 43
#SAY
Using the old knowlage of oma fighters, you will be warped\
in a hidden place far away on a forgotten land or darkness.\
Be ware of danger that awaits you there.\ \

<Warp me/@warp>\
<No thanks/@exit>

#ELSESAY
You are level to low to be warped in this area.\ \ \

<Exit/@exit>

[@warp]
#ACT
mapmove 7 269 149
close
break
}

also u need to enter this:

[@StdModeFunc44]
#CALL [\\QFunction\LostIslandTele.txt] @lostisland
 
Upvote 0

makaveli

Dedicated Member
Dedicated Member
Nov 19, 2005
247
0
43
Timisoara, Romania
yep ur right Ripman, btw jaguarr here :P hmm script not work i receive in M2Server 07.05.2006 18:19:00 script error, load fail: \\QFunction\LostIslandTele.txt@lostisland
 
Last edited:
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
makaveli said:
yep ur right Ripman, btw jaguarr here :P hmm script not work i receive in M2Server 07.05.2006 18:19:00 script error, load fail: \\QFunction\LostIslandTele.txt@lostisland
either you havent got the text file, there isnt a reference in it called @lostisland

OR its not pointing to the file in the right place, ie wrong directory
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
makaveli said:
m8 the directory is correct, file is there, name correct. checked it "n" times...dunno what is the probl :(
where have you put the file...
 
Upvote 0