Ok well im just started to get into this coding stuff and i have coded a Npc to give me +1 items. I have no problem with that stuff now. My questions are:
1. How do i change the stuff the mobs drop?
2. How do i determine what the Npc case is?(read somewhere but it didnt make sense)
3. I followed the Wuxing over guide but it doesnt take +1 stones, what do i do? If someone could point me in the right direction or help me through that would be nice.
4. When coding a npc i saw how to take money and cps but how do i take Items? The same kind of setup?
5. How do i get the items to do something. Like get the +1Stonepack to give me 5 stones if right clicked?
Is that How i would do that? or is there an easier way?
6. How do i change what is being sold in the shops?
7. How do i code a Npc to take a item and give me items in return?
8. I copyed the Db tocps code editted it put it into a case and now it doesnt work. I get an error saying "Control cannot fall through from one case label ('10062:') to another". Any Help?
Any other helpful hints or tips you think i would need/want would be greatly appreciated.
duddz;)
1. How do i change the stuff the mobs drop?
2. How do i determine what the Npc case is?(read somewhere but it didnt make sense)
3. I followed the Wuxing over guide but it doesnt take +1 stones, what do i do? If someone could point me in the right direction or help me through that would be nice.
4. When coding a npc i saw how to take money and cps but how do i take Items? The same kind of setup?
5. How do i get the items to do something. Like get the +1Stonepack to give me 5 stones if right clicked?
Code:
case 723712://+1Stonepack
{
AddItem(730001, 0, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
AddItem(730001, 0, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
AddItem(730001, 0, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
AddItem(730001, 0, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
AddItem(730001, 0, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
break;
}
6. How do i change what is being sold in the shops?
7. How do i code a Npc to take a item and give me items in return?
8. I copyed the Db tocps code editted it put it into a case and now it doesnt work. I get an error saying "Control cannot fall through from one case label ('10062:') to another". Any Help?
Any other helpful hints or tips you think i would need/want would be greatly appreciated.
duddz;)