few Q's Bout 1.4 [help pls :X]

Play Now

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
ok got my serv up n runin perfectly just a few probs tht i need hlp with pls

1st of all pet npc :


i have a pet npc tht should give you pets for your level. u make the selection of which pet you want, npc takes your cash and says " treat it well etc" only prob is u dont get a pet =x.

below is my pet npc script i have set all mobs to "oma" to test it out untill i can get it to work ><

-----------
[@main]
#SAY
R - Pet Service\
Each pet has its own specialties and values. Here,\
the higher level you get, the more and better pet\
you can achieve. Please select one of the following :\
- <Wizard Pets/@wizardpet> - <Taoists Pets/@taoistpet> \
<Close Window/@exit>\

[@wizardpet]
Wizard Pet List -\
1 . <oma/@Monster5> Level 45+\
2 . <oma/@Monster6> Level 55+\
3 . <oma/@Monster7> Level 65+\
4 . <oma/@Monster8> Level 75+\
5 . <oma/@Monster9> Level 85+\
6 . <oma/@Monster10> Level 95+\
<Back to Main/@main> - <Close Window/@exit>
[@taoistpet]
Taoist Pets -\
1 . <oma/@Monster11> Level 45+\
2 . <oma/@Monster 12> Level 55+\
3 . <oma/@Monster13> Level 65+\
4 . <oma/@Monster14> Level 75+\

[@Monster5]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \
Sorry!\
<Close Window/@exit>

[@Monster6]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R- Pet Limit Reached.\ \

[@Monster7]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 45
#ACT
Recallmob oma 1
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster8]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R- Pet Limit Reached.\ \
[@Monster9]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R- Pet Limit Reached.\ \

[@Monster10]
#IF
checkslavecount > 5
Checkjob Taoist
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster11]
#IF
checkslavecount > 5
Checkjob Taoist
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster12]
#IF
checkslavecount > 5
Checkjob Taoist
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \
[@Monster13]
#IF
checkslavecount > 5
Checkjob Taoist
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster14]
#IF
checkslavecount > 5
Checkjob Taoist
checklevel 45
#ACT
Recallmob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \
------------

the other prob is my m2server.. its the basic one you get with "offline files 1.4" all i want to do is make it so when you log in it says
welcome to "server name" etc.
i used the latest exe and tht says " welcome to our server translated by mordeth etc" i dont want to change the credits just make it say my server name

thx 4 reading:bounce:
 

Jamie

LOMCN Developer
Developer
Mar 29, 2003
4,864
426
350
United Kingdom
Ok heres your problem m8.

If your using Original Untouched Files The M2Server.exe, I did a search for Offline Files 1.4, But there was definate Result so i can only assume that it the oringal. It does not support pets from npc.

If your using a M2Server.exe that does support the Pet Feature, make sure you have the right command. In 1.4 server files im sure the NPC Script was Marrymob and not RecallMob.

To change the name you will need to Hex the M2Server.exe. check the Hexing Help for a hex editor. I would suggest HexWorkshop. Basicly when you have it open up M2Server.exe with the Hex Editor, and search for the text that you wanted to change. Please becareful when changing the text that you do not insert new Bits, just write over it.
 
Last edited:

michelle

Dedicated Member
Dedicated Member
Apr 30, 2003
173
0
93
Hampshire UK
the comands checkslavecount & Recallmob in npc scripts are for 1.9

in 1.4 if you usin deadson m2, comands are

checkmarry & marry mob. (note space between marry and mob is correct)

also because you are doing 3 checks together it would be better to change your elsesay wording to somthing like I have put or it might be better to seperate the checks.
Even better do the job checks and lvl checks seperatly with goto comands to avoid player selection

[@Monster5]
#IF
checkmarry 5
Checkjob Wizard
checklevel 45
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
Sorry You get no pets because your are\
either not a Wizard, are the wrong Level\
or already have 5 Pets\
<Close Window/@exit>
 
Last edited:

michelle

Dedicated Member
Dedicated Member
Apr 30, 2003
173
0
93
Hampshire UK
Have just amalgimated your script with one of my old 1.4 scripts
think it shoul work but not able to test it now as no longer have a 1.4 server
if there are any errors should be easy for you to correct.
the levels you have are a bit unrealistic for a 1.4 server so you might want to change them also do different mobs for differrent levels

Note:- the pet taming room is old 1st attempt couldnt find my latest ,so needs a few changes ie gold take after hum check
---------------------------------------------------------
;Info [ Npc Name{petshop} X=? Y=? MapName={?????} ]
[@Main]
#IF
checkpkpoint 2
#SAY
I only help Hero's not Killers of Mankind like you...\
<Exit/@exit>
#ELSEACT
goto @main-1

[@main-1]
#SAY
Hello <$USERNAME> Welcome to the Pet Shop\
I am the pet seller\
DONT leave pets parked in SafeZone as they obstruct other players\
and will be Killed. \ \
<Now lets see what I can do for you/@main-01>

[@main-01]
#SAY
would you like to buy a pet? Each pet will cost you 20k.\
Wizards can have 5 pets!. Toa's can have 2 pets\
<Yes I would like to buy one please./@main-2>\ \
Or would you like to train your pets?. \
<Train my Pets Please/@petlvl>\ \
<nothing today thank you!/@exit>\

;-------------------------------------------
;JOB CHECK
[@main-2]
#IF
checkjob taoist
#ACT
goto @taogold
#ELSEACT
goto @Main-3

[@main-3]
#IF
checkjob wizard
#ACT
goto @wizgold
#ELSESAY
Sorry warriors Don't have pets!!
;------------------------------------------
;TAKE GOLD
[@wizgold]
#IF
Checkgold 20000
#ACT
take gold 20000
goto @wizlvl
#ELSESAY
You do not have enough gold\ \
<Exit/@exit>\


[@taogold]
#IF
Checkgold 20000
#ACT
take gold 20000
goto @taolvl
#ELSESAY
You do not have enough gold\ \
<Exit/@exit>\
;---------------------------------------------------
;LEVEL CHECK
[@wizlvl]
#IF
checklevel 95
#ACT
goto @Monster10

#IF
checklevel 85
#ACT
goto @Monster9

#IF
checklevel 85
#ACT
goto @Monster8

#IF
checklevel 75
#ACT
goto @Monster7

#IF
checklevel 65
#ACT
goto @Monster6

#IF
checklevel 55
#ACT
goto @Monster6

#IF
checklevel 45
#ACT
goto @Monster5
BREAK

;-----------------------
[@taolvl]
#IF
checklevel 75
#ACT
goto @Monster14

#IF
checklevel 65
#ACT
goto @Monster13

#IF
checklevel 55
#ACT
goto @Monster12

#IF
checklevel 45
#ACT
goto @Monster11

BREAK

;----------------------------
;WIZZ PETS
[@Monster5]
#IF
checkmarry 5
Checkjob Wizard
checklevel 45
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \
Sorry!\
<Close Window/@exit>

[@Monster6]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 55
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R- Pet Limit Reached.\ \

[@Monster7]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 65
#ACT
marry mob oma 1
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster8]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 75
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R- Pet Limit Reached.\ \
[@Monster9]
#IF
checkslavecount > 5
Checkjob Wizard
checklevel 85
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R- Pet Limit Reached.\ \

[@Monster10]
#IF
checkmarry 5
Checkjob Taoist
checklevel 95
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

;----------------------------------------------------
;TAO PETS

[@Monster11]
#IF
checkmarry 2
Checkjob Taoist
checklevel 45
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster12]
#IF
checkmarry 2
Checkjob Taoist
checklevel 55
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \
[@Monster13]
#IF
checkmarry 2
Checkjob Taoist
checklevel 65
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

[@Monster14]
#IF
checkmarry 2
Checkjob Taoist
checklevel 75
#ACT
marry mob oma
#SAY
Please treat you pet with good care.\ \
<I'd like another one./@main>\ \
<Exit/@exit>
#ELSESAY
R - Pet Limit Reached.\ \

;=========================================
;PET LEVEL

[@petlvl]
I will move you to a room for you to level up your pets.\
If your a Wizard or Tao with bought pets then\
recall your pets into the room when i move you into it.\
Tao using summon pet must summon pets before goin in.\ \
It wil cost you 5k for my Services\\
Do you want to avail yourself of my Services\
<Yes please.../@petlvl-00> . . . . <No Thank You/@exit>

[@petlvl-0]

[@petlvl-00]
#IF
checkgold 5000
#ACT
take gold 5000
#SAY
Be Warned if you have just come out of here and your pets are\
still in, do not go back in till your pets have come out\
as doing so will kill them
. Please be ready for me to move you in\
.. 50 TamingHens will be spawned.. Only one person\
at a time maximum Four minute.\
<Ok im ready.../@petlvl-01>
#ELSESAY
You do not have enough Gold

[@petlvl-01]
#IF
checkmarry 1
#SAY
You do not have any Pets to Tame
#ELSEACT
goto @petlvl-1

[@petlvl-1]
#IF
checkhum W1 1
#ACT
goto @petlvl-2
#ELSESAY
In you go
#ELSEACT
give TownTeleport 1
TimeRecall 4
monclear W1
mapmove W1 10 22
break
Param1 W1
Param2 12
Param3 22
MonGen TamingHen 25 1
close

[@petlvl-2]
#IF
checkhum W2 1
#SAY
I am afraid ithey are in use please try again later\
#ELSESAY
In you go
#ELSEACT
give TownTeleport 1
TimeRecall 4
monclear W2
mapmove W2 10 22
break
Param1 W2
Param2 12
Param3 22
MonGen TamingHen 50 1
 
Last edited:

michelle

Dedicated Member
Dedicated Member
Apr 30, 2003
173
0
93
Hampshire UK
Tom27 said:
yess thx michelle n1 :D now just need rev to work :X
if you get the anti cheat gamegate. and use the ledu client with 1.4 you can have auto run, autorev and mob radar in 1.4.
with the anticheat gamegate you can select what you want to block or allow
 

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
ok ty iv tried gettin it to ledu b4 but failed lol ¬¬ ill try again tho thx :D if i fail is there any other way to get rev working? its the "latest m2server for 1.4"
 

michelle

Dedicated Member
Dedicated Member
Apr 30, 2003
173
0
93
Hampshire UK
Tom27 said:
ok ty iv tried gettin it to ledu b4 but failed lol ¬¬ ill try again tho thx :D if i fail is there any other way to get rev working? its the "latest m2server for 1.4"
dont know soz I was using deadsons M2 the one befor the Rebirth.

I changed over to 1.9 just befor xmass its far better
you might want to consider going 1.9
 
Last edited: