• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Web [Tut]ID's, Drops and Shops and more

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 26, 2007
Messages
37
Reaction score
0
Re: [Guide-TitanMS] ID's, Drops and Shops and more

Do we have to add stuff to NPCsScript.h or doing what you did is fine?

For example for Sid I would put,

Code:
case 11000: npc_11000(npc); break;

and

Code:
static void npc_11000(NPC* npc);
 
Newbie Spellweaver
Joined
Feb 19, 2006
Messages
18
Reaction score
0
Re: [Guide-TitanMS] ID's, Drops and Shops and more

Yah, Um when I try to make an XML for Gold Slimes. They don't drop any of the items I listed.
Code:
<Mob>
<Drops>
<Mob>
<Drops>
<Drop>
<ID>1010002</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1010006</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012021</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012030</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012044</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012048</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012052</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012053</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012054</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012055</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012056</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022004</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022009</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022019</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022020</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022024</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022042</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022053</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022052</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022033</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000005</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000000</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000003</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000004</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000006</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000031</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000030</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102096</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102095</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102142</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102154</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102150</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102153</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1040001</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052089</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052084</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052091</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052092</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1072281</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1072282</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1702000</ID>
<Chance>100</Chance>
</Drop>
</Drops>
<Mesos>
<Min>50</Min>
<Max>200</Max>
</Mesos>
</Mob>
</Drops>
<Mesos>
<Min>100</Min>
<Max>200</Max>
</Mesos>
</Mob>

Yet, its strange, they don't even drop mesos, even though it shows a meso value for them. How would you explain this.
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
11
Reaction score
0
Re: [Guide-TitanMS] ID's, Drops and Shops and more

Where would i be able to find the ID for all the scrolls, I checked mapletip and sauna, but every scroll of the same % has the same ID number =.=
 
Newbie Spellweaver
Joined
Dec 22, 2007
Messages
32
Reaction score
0
Re: [Guide-TitanMS] ID's, Drops and Shops and more

Code:
<?xml version="1.0" encoding="UTF-8"?>
<Shop>
    <NPC>1011100</NPC> #the NPC ID that will sell the items,don't make a chat NPC with shop NPC
    <Items>
        <Item>
            <ID>02000000</ID> #the Item ID that will be sold
            <Price>50</Price> #the price of the Item on sale
        </Item>
        <Item>
            <ID>02000001</ID>
            <Price>150</Price>
        </Item>
        <Item>
            <ID>02000003</ID>
            <Price>120</Price>
        </Item>
        <Item>
            <ID>02000002</ID>
            <Price>150</Price>
        </Item>
        <Item>
            <ID>02060000</ID>
            <Price>1</Price>
        </Item>
        <Item>
            <ID>02061000</ID>
            <Price>1</Price>
        </Item>
    </Items>
</Shop>

don't seem to be working I restarted the server went back in and clicked on it did nothing do you have to add some kinda code to the server? and rebuild it or where are you suspost to save the shop to the shop folder or the NPC folder if you wanna have it sell its from a shop that a npc hosts?

Have u added 2 lines with ur npc in NPC.cpp or whatever its called :) ?
Make u sure uve done that where u see like static break or something
PM me and i tell u
 
Newbie Spellweaver
Joined
Apr 12, 2008
Messages
32
Reaction score
0
Re: [Guide-TitanMS] ID's, Drops and Shops and more

How do you change world scania to something else?


Although Off-topic, I feel compelled to answer.

Go into Worlds.cpp edit the Name to whatever you want, and then change the world id to the world you want.

Scania - 0
Bera - 1
Broa - 2
etc.

You can change channels to whatever #, but they all connect to the same place.

Should look like this.

Code:
void Worlds::showWorld(PlayerLogin* player){
	World world;
	strcpy_s(world.name, 15, "Bera");
	world.channels = 5;
	world.id = 1;
	LoginPacket::showWorld(player, world);
	LoginPacket::worldEnd(player);
}
 
Newbie Spellweaver
Joined
Apr 12, 2008
Messages
32
Reaction score
0
Re: [Guide-TitanMS] ID's, Drops and Shops and more

Yah, Um when I try to make an XML for Gold Slimes. They don't drop any of the items I listed.
Code:
<Mob>
<Drops>
<Mob>
<Drops>
<Drop>
<ID>1010002</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1010006</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012021</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012030</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012044</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012048</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012052</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012053</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012054</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012055</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1012056</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022004</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022009</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022019</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022020</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022024</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022042</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022053</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022052</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1022033</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000005</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000000</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000003</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000004</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000006</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000031</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1000030</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102096</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102095</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102142</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102154</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102150</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1102153</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1040001</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052089</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052084</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052091</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1052092</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1072281</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1072282</ID>
<Chance>100</Chance>
</Drop>
<Drop>
<ID>1702000</ID>
<Chance>100</Chance>
</Drop>
</Drops>
<Mesos>
<Min>50</Min>
<Max>200</Max>
</Mesos>
[COLOR="Yellow"]</Mob>[/COLOR]
</Drops>
<Mesos>
<Min>100</Min>
<Max>200</Max>
</Mesos>
</Mob>

Yet, its strange, they don't even drop mesos, even though it shows a meso value for them. How would you explain this.

You ended Mob before Drops and Mesos!

Simple fix
 
Status
Not open for further replies.
Back
Top