Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 08:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Creating item package ?

Discussion on [Help] Creating item package ? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
badguy4you's Avatar
 
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 .
badguy4you is offline  
Old 06/13/2012, 17:22   #2

 
Kiyono's Avatar
 
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
Kiyono is offline  
Old 06/13/2012, 20:13   #3
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
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
badguy4you is offline  
Old 06/13/2012, 21:32   #4
 
2slam's Avatar
 
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).
2slam is offline  
Thanks
1 User
Old 06/13/2012, 21:37   #5

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
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.
Kiyono is offline  
Old 06/13/2012, 21:45   #6
 
2slam's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
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.
2slam is offline  
Old 06/13/2012, 22:09   #7
 
Healian's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 92
Received Thanks: 4
i need your help in pirate 2slam can i get it ?
Healian is offline  
Old 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 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.
pro4never is offline  
Thanks
1 User
Old 06/14/2012, 02:11   #9
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
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 ? )
badguy4you is offline  
Old 06/14/2012, 02:17   #10
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by badguy4you View Post
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.
Zeroxelli is offline  
Old 06/14/2012, 02:48   #11
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
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
badguy4you is offline  
Old 06/14/2012, 02:51   #12
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
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.
Zeroxelli is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.