[Help] Creating item package ?

06/13/2012 16:28 badguy4you#1
i want to make a package the contains certain items in the shoping mall how could i do that ?

Your help is really appreciated .
06/13/2012 17:22 Kiyono#2
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
06/13/2012 20:13 badguy4you#3
Quote:
Originally Posted by Kiyono View Post
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
I really appreciate your help but its really very confusing . is there any step by step Tutorial here to make item packages
06/13/2012 21:32 2slam#4
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).
06/13/2012 21:37 Kiyono#5
Quote:
Originally Posted by 2slam View Post
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).
You don't know what source he is using so you can't just give him source specific instructions.
06/13/2012 21:45 2slam#6
Quote:
Originally Posted by Kiyono View Post
You don't know what source he is using so you can't just give him source specific instructions.
public sources most of 'em use such.
06/13/2012 22:09 Healian#7
i need your help in pirate 2slam can i get it ?
06/13/2012 23:17 pro4never#8
Quote:
Originally Posted by Healian View Post
i need your help in pirate 2slam can i get it ?
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.
06/14/2012 02:11 badguy4you#9
Quote:
Originally Posted by pro4never View Post
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.

first thanks for your help

second (no offense but are you 2slam to answer the help question ? :pimp:)
06/14/2012 02:17 Zeroxelli#10
Quote:
Originally Posted by badguy4you View Post
first thanks for your help

second (no offense but are you 2slam to answer the help question ? :pimp:)
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. :)
06/14/2012 02:48 badguy4you#11
Quote:
Originally Posted by Zeroxelli View Post
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. :)

I really meant no offense by my question btw pro4never is a really expert programer and i really appreciate his help
06/14/2012 02:51 Zeroxelli#12
Quote:
Originally Posted by badguy4you View Post
I really meant no offense by my question btw pro4never is a really expert programer and i really appreciate his help
As long as you get the answer to your question, it should be fine, though. Regardless of who answers.