|
You last visited: Today at 08:11
Advertisement
[Help] Creating item package ?
Discussion on [Help] Creating item package ? within the CO2 Private Server forum part of the Conquer Online 2 category.
06/13/2012, 16:28
|
#1
|
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
|
[Help] Creating item package ?
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
|
#2
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
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
|
#3
|
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
|
Quote:
Originally Posted by Kiyono
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
|
#4
|
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
|
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
|
#5
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
Quote:
Originally Posted by 2slam
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
|
#6
|
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
|
Quote:
Originally Posted by Kiyono
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
|
#7
|
elite*gold: 0
Join Date: Apr 2012
Posts: 92
Received Thanks: 4
|
i need your help in pirate 2slam can i get it ?
|
|
|
06/13/2012, 23:17
|
#8
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by Healian
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
|
#9
|
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
|
Quote:
Originally Posted by pro4never
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 ?  )
|
|
|
06/14/2012, 02:17
|
#10
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by badguy4you
first thanks for your help
second (no offense but are you 2slam to answer the help question ?  )
|
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
|
#11
|
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
|
Quote:
Originally Posted by Zeroxelli
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
|
#12
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by badguy4you
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.
|
|
|
Similar Threads
|
armor package speed package ...
02/20/2012 - Wolfteam - 1 Replies
was bringen die?
sind die gut ?
welche stats haben die?
|
[Question] Creating npc for element item
07/04/2010 - EO PServer Hosting - 8 Replies
guys.. im trying to create npc that sell item or weapon that have element in it like +255 water etc but i carnt... i only can sell +12 2 soc item.. is it posible or a way to create npc like that ? :confused:
|
All times are GMT +1. The time now is 08:11.
|
|