i want to make a package the contains certain items in the shoping mall how could i do that ?
Your help is really appreciated .
Your help is really appreciated .
I really appreciate your help but its really very confusing . is there any step by step Tutorial here to make item packagesQuote:
Rough instructions:
Add an item to the itemtype.dat and necessary icons and stuff.
Add the item to the shop in shop.dat (client and server)
Code the itemhandler
You don't know what source he is using so you can't just give him source specific instructions.Quote:
go to packet handler search for misc: or meteorscroll copy and paste then change the case for ur item id (should start with 721xxx to be a clickable item)
change the structure such client.inventory.add(ItemID);
add what ever u wanna
then duplicate expotion as an example in ur itemtype.dat and item.txt change id and itemicon through itemminicon.ani (thats a stepbystep).
NoQuote:
i need your help in pirate 2slam can i get it ?
Quote:
No
@ thread: There's guides on adding new items to the game floating around if you search some. From there you just need to add the item to a shop (just a new entry in shop.dat clientside as well as server side info on it) and from there you just need to hand what happens when the player USES the item.
To do this you need to handle the item ID within the source and handle what you want to have happen (in this case, adding new items to inventory). To do this you want to make sure that the player has enough free space to accept the new items, then add whatever items you wish (use metscrolls as an example I'd say) and then remove the original item used.
Tada! problem solved.
No offense, but I think as long as you get an answer, it doesn't matter. And also, I would have to say that he knows a tad more than 2slam when it comes to Conquer servers, and probably coding in general, having read his code myself. :)Quote:
first thanks for your help
second (no offense but are you 2slam to answer the help question ? :pimp:)
Quote:
No offense, but I think as long as you get an answer, it doesn't matter. And also, I would have to say that he knows a tad more than 2slam when it comes to Conquer servers, and probably coding in general, having read his code myself. :)