Any Help Please

Play Now

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
Hi,

Im currently redoing all the mobs and drops in caves in Diamond files (TD Release) Just wondering a few things....

How to change start characters - What level, kit and spells..

How to add NPCS like a telestone to SZ..

How to make gold drop into bag

How to make GoldBar // Goldchest so when you double click they turn into gold

How to add new item images (i know how to make new items, just new images)

Same as above with mobs.

I have had a look around, cant find much help

Thanks /Tom
 

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
You can either do some of this in the setup txt or use qmanage. this just basic script which your have to adapt to how you want it check out http://www.lomcn.co.uk/forum/showthread.php?t=56618 for details of scripting.

1. in qmanage
Code:
#IF
ISNEWHUMAN
#ACT 
Sendmsg 1 "Welcome <$USERNAME> to the server :)"
CHANGELEVEL = 22
GIVE GOLD 20000
GIVE DRAGONRING 2
ADDSKILL FENCING 3

2. Open sql goto tbl_npc add something like this. npc apperence you will have to opn uo the npc wil and find what npc u want to use.

Code:
Index   npcname      fld_type  map       x      y      flag   npcapperence   load
3      TeleStone       0	     0	   324	   270	 0    	0	True

3. goto qfunction add
Code:
[@StdModeFunc1]
#IF
checkitem GoldBar 1
#ACT
take GoldBar 1
give gold 1000000
break

[@StdModeFunc2]
#IF
checkitem GoldBarBundle 1
#ACT
take GoldBarBundle 1
give gold 5000000
break

[@StdModeFunc3]
#IF
checkitem GoldChest 1
#ACT
take GoldChest 1
give gold 10000000
break

Then in sql tbl_std_items where goldbar is add 1 in annicount, do same for goldbarbundle and add 2, and same for goldchest adding 3.

4. use h88 and open stateitems.wil add the images there, also add the images to dnitems.wil & items.wil where the image is placed in the wil is the image number for the item.

5. make a graphics folder place it in your mir2 client folder, inside that make another folder called monster inside there you can add the monster wil's start from number 1000 and that will be the fld_imageindex for the monster in sql tbl_monster.

to add gold to go into players bag goto setup.txt in m2server folder find AutoGainGold=TRUE , also in there you can change the start levels etc just have a look.
 
Last edited:
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
Just tried adding some new items, i put the item.wils in my data folder and they overide my old ones. Now everything elce looks wrong.. steelarmour is heaven armour etc..
Ive removed the new .wils and put oldones back but im just wondering how i can have both without messing up?
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
Place the images in a folder and goto h88 import click add select the folder with the images.

 
Last edited:
Upvote 0

Tom27

Golden Oldie
Golden Oldie
Sep 15, 2005
1,877
78
185
Norwich
Thanks to gezza i can now import the items i wanted but....

When i import into STDITEM.WIL for example Darknecklace will be 1450 and in DMITEM.WIL it will be 1460 and then in ITEM.WIL ti will be 1476

so ingame it will look fine on the body or and then wrong in the bag..

How do i make it so the items are the same number in each .wil, ive tried importing them all onto the same selected box but it ignores that and just imports them to the end..

/tom
 
Upvote 0

Chris22

LOMCN Veteran
Veteran
Jun 10, 2009
372
1
45
Thats just it lol you gotta get em all right i dont no if there is any other way or doing other than doing them exactley the same when your adding etc but i may be wrong :P
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
On dnitems, and items make sure the same idex number's are free and either insert, replace or add. have a play around it's simple after practice to get right.
 
Upvote 0