[DM2] NPCs and drops

Mu online season 21 - grand opening

2dope

Golden Oldie
Golden Oldie
Mar 15, 2005
514
13
155
Is this possible? - [DM2]

Hello, I am currently making a server, but there are a few ideas’ I have which I do not know if they are possible to do on DM server files. Ok to start, when some one creates a char and logs in the game. When they click an npc (I know you can add there name to a list) Can I have it so it creates example <$Username>.txt. So TestGuy clicks NPC and it creates TestGuy.txt?
Also Say I have 2 npcs we will call them NPC1 and NPC2 (this is to do with a quest) Can I have it so that say you click NPC1 it adds your name to a .txt (I know this is possible) But when you click NPC2 it clears your name from that list?

And also I know I can edit the drop chance of a player as a general rule of thumb, but can I change it so that on a specific map you have a higher chance to drop?

Thanks in advance
 

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
105
Re: Is this possible? - [DM2]

pretty sure its deletenamelist ***.txt for npc2, as for player drop on maps,, not sure
 
Upvote 0

2dope

Golden Oldie
Golden Oldie
Mar 15, 2005
514
13
155
Re: Is this possible? - [DM2]

pretty sure its deletenamelist ***.txt for npc2, as for player drop on maps,, not sure
Brill so that command would delete the names in that text file but not actually delete the file? Thanks once again
 
Upvote 0

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
105
nope, just the names,, obviously npc1 needs to create the txt file and put the name in it first, but npc2 could checknamelist ***.txt before moving onto deleting player name


edit: if you are using TD's files, theres a word doc that contains all working if and act statments, just remembered myself and searched for namelist,, theres a few options there
 
Last edited:
Upvote 0

2dope

Golden Oldie
Golden Oldie
Mar 15, 2005
514
13
155
Ok that makes sence, could I have it so it checks if there is any text in the xxx.txt. So that another player can not do the quest until cleared. IE checknamelist anything sorta thing,
thanks once again
 
Upvote 0

Gemma

Dedicated Member
Dedicated Member
Feb 22, 2006
135
0
93
this mite help u here
the list off commands


ADDNAMELIST
DELNAMELIST
CHECKNAMELIST
i cnt rember how to add it to txt but u need to have the txt the same folder at the npc
ill find out
 
Upvote 0

2dope

Golden Oldie
Golden Oldie
Mar 15, 2005
514
13
155
this mite help u here
the list off commands


ADDNAMELIST
DELNAMELIST
CHECKNAMELIST
i cnt rember how to add it to txt but u need to have the txt the same folder at the npc
ill find out
Wow your a star, I been looking for something like this, thanks a lot mate :)
 
Upvote 0

2dope

Golden Oldie
Golden Oldie
Mar 15, 2005
514
13
155
your welcome :) i mite be adding what they do etc
Yea some are very self explanitory, but others im a bit like mmm wtef lol. Would be great as doing a few complexed things, I think there possible but im a bit retarded atm and cant do them <.<
 
Upvote 0