QFunction-0 Help plz.

Mu online season 21 - grand opening

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
Hi im haveing a prob woth QFunction i had HolyDeva working as a summon but i lost Skely i dont wont to lose a skill so iv tryed geting Qfunction to summon a deva for me & i carnt get it working theis is what's in my QFunction-0.text


[@StdModeFunc1]
#CALL [\\QFunction\SummonDeva.txt] @summondeva

;--------------------------------------------------------------
[@summondeva]
{
#IF
CHECKJOB Taos
#ACT
goto @deva
#ELSEACT
give SummonDeva 1
Sendmsg 5 Only.taoist.can.use.this.orb
[@deva]
#IF
CheckLevelEx < 38
#ACT
give SummonDeva 1
Sendmsg 5 You.need.level.38.to.use.this.orb
#ELSEACT
goto @summon
[@summon]
#IF
CHECKSLAVECOUNT > 0
#ACT
give SummonDeva 1
#ELSEACT
RECALLMOB HolyDeva
give SummonDeva 1
}

& in my item DB info for DevaOrb is

STDMode 31 & Anicount 1 & all th rest is 0 do you know whats wroung?
 

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
why dont you just have the whole script under

[@StdModeFunc1]

theres nothing wrong with the script, it may just be the #CALL function being anal :\
 
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
I get this error in my M2server sorry dident see it b4.

6/03/2006 22:55:08 ÒѶÁÈ¡ 7¸öÐлáÐÅÏ¢...
16/03/2006 22:55:08 ÒѶÁÈ¡ 1¸ö³Ç±¤ÐÅÏ¢...
16/03/2006 22:55:11 script error, load fail: \\QFunction\SummonDeva.txt@summondeva
16/03/2006 22:55:11 script error, load fail: \\QFunction\SummonDeva.txt@summondeva
16/03/2006 22:55:11 script error, load fail: \\QFunction\SummonDeva.txt@summondeva
16/03/2006 22:55:11 script error, load fail: \\QFunction\SummonDeva.txt@summondeva
16/03/2006 22:55:11 script error, load fail: \\QFunction\SummonDeva.txt@summondeva
16/03/2006 22:55:11 ½Å±¾´íÎó: } µÚ:33 ÐÐ: c:\Mirserver\Mir200\Envir\Market_Def\QFunction-0.txt
16/03/2006 22:55:12 ½Å±¾´íÎó: <Close/@exit> µÚ:6 ÐÐ: c:\Mirserver\Mir200\Envir\MapQuest_def\B00.txt
16/03/2006 22:55:12 µÇ¼·þÎñÆ÷(127.0.0.1:5600)Á¬½Ó³É¹¦...
×¢²áÓû§Êý3000£¬Ê£ÓàÌìÊý:8000
16/03/2006 22:55:15 Êý¾Ý¿â·þÎñÆ÷(127.0.0.1:6000)Á¬½Ó³É¹¦...
16/03/2006 22:55:20 ????[0](127.0.0.1:1055)???...
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
take out the call function, its not loading the file, due to the path directory
 
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
Fire said:
take out the call function, its not loading the file, due to the path directory

[@StdModeFunc1]
#CALL [\\QFunction\SummonDeva.txt] @summondeva

;--------------------------------------------------------------
[@summondeva]
{
#IF
CHECKJOB Taos
#ACT
goto @deva
#ELSEACT
give SummonDeva 1
Sendmsg 5 Only.taoist.can.use.this.orb
[@deva]
#IF
CheckLevelEx < 38
#ACT
give SummonDeva 1
Sendmsg 5 You.need.level.38.to.use.this.orb
#ELSEACT
goto @summon
[@summon]
#IF
CHECKSLAVECOUNT > 0
#ACT
give SummonDeva 1
#ELSEACT
RECALLMOB HolyDeva
give SummonDeva 1
}

Remove the red?
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
Code:
[@StdModeFunc1]
#IF
CHECKJOB Taos
#ACT
goto @deva
#ELSEACT
give SummonDeva 1
Sendmsg 5 Only.taoist.can.use.this.orb
[@deva]
#IF
CheckLevelEx < 38
#ACT
give SummonDeva 1
Sendmsg 5 You.need.level.38.to.use.this.orb
#ELSEACT
goto @summon
[@summon]
#IF
CHECKSLAVECOUNT > 0
#ACT
give SummonDeva 1
#ELSEACT
RECALLMOB HolyDeva
give SummonDeva 1

try that
 
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
180
Chorley
Ty m8 all working now :)

enXg85ot_Images01.jpg
 
Upvote 0

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
[@StdModeFunc1]
#IF
checkjob Taos
#ACT
goto @deva
#ELSESAY
You have to be a Taoist to harness this skill.\

[@deva]
#IF
checklevel > 38
#ACT
goto @summon
#ELSESAY
You have to be a higher level to harness this skill.\

[@summon]
#IF
CHECKSLAVECOUNT > 0
#ACT
RECALLMOB HolyDeva
#ELSESAY
You already have enough summons.\

This might work, its similar to the script i use on my server. :D
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
~HeavenSent~ said:
Hi im haveing a prob woth QFunction i had HolyDeva working as a summon but i lost Skely i dont wont to lose a skill so iv tryed geting Qfunction to summon a deva for me & i carnt get it working theis is what's in my QFunction-0.text


[@StdModeFunc1]
#CALL [\\QFunction\SummonDeva.txt] @summondeva

;--------------------------------------------------------------
[@summondeva]
{
#IF
CHECKJOB Taos
#ACT
goto @deva
#ELSEACT
give SummonDeva 1
Sendmsg 5 Only.taoist.can.use.this.orb
[@deva]
#IF
CheckLevelEx < 38
#ACT
give SummonDeva 1
Sendmsg 5 You.need.level.38.to.use.this.orb
#ELSEACT
goto @summon
[@summon]
#IF
CHECKSLAVECOUNT > 0
#ACT
give SummonDeva 1
#ELSEACT
RECALLMOB HolyDeva
give SummonDeva 1
}

& in my item DB info for DevaOrb is

STDMode 31 & Anicount 1 & all th rest is 0 do you know whats wroung?


wud also of helped if you told us were the file was in the server files that you are tryin to call from then we cud of just told you what was wrong
 
Upvote 0

daniejam

Golden Oldie
Golden Oldie
Apr 4, 2004
790
0
103
i was refering to where she had the file as she could of placed it in the wrong place :D and no it doesnt ive used it from market def folder withought all the


...\\\\ crap be4 :D
 
Upvote 0