Jump to content
  • 0

[Help]How to make a box


Sick

Question

Hi guys!I don't know if i'm in the right section because the box i want to make i think requests client side files too and that's why i'm here to ask you about it...

So.I want to make a box that when you open it,it gives you random things like blessed scrolls or rb jwls or something like that with different chances

Is there anyone who can tell me how to do that?

Thanks in advance :)

Link to comment
Share on other sites

Recommended Posts

  • 0

in skills folder:

 

<skill id="SKILL-ID" levels="1" name="BOX NAME">
	<table name="#extractableItems">
		ITEM-ID,ITEM-AMOUNT,ITEM-RATE;
	</table>
	<set name="isMagic" val="2" /> <!-- Static Skill -->
	<set name="capsuled_items_skill" val="#extractableItems" />
	<set name="itemConsumeCount" val="1" />
	<set name="operateType" val="A1" />
	<set name="target" val="TARGET_SELF" />
</skill>

 

in items folder:

 

<item id="ITEM-ID" type="EtcItem" name="Box Name">
	<set name="icon" val="icon.etc_box_of_adventure_1_i00" />
	<set name="default_action" val="capsule" />
	<set name="immediate_effect" val="1" />
	<set name="material" val="paper" />
	<set name="is_stackable" val="true" />
	<set name="handler" val="ItemSkills" />
	<set name="item_skill" val="YOUR BOX SKILL ID" />
</item>

 

 

it should work :D

Link to comment
Share on other sites

  • 0

and where can i put the item id's?

 

<skill id="SKILL-ID" levels="1" name="BOX NAME">

<table name="#extractableItems">

ITEM-ID,ITEM-Am_ount-T,ITEM-RATE;

</table>

<set name="isMagic" val="2" /> <!-- Static Skill -->

<set name="capsuled_items_skill" val="#extractableItems" />

<set name="itemConsumeCount" val="1" />

<set name="operateType" val="A1" />

<set name="target" val="TARGET_SELF" />

</skill>

 

------

 

Track how Reagent Pouch (6009 ID) is used and you will know how to make your item, but basically it's like Leon said :)

Link to comment
Share on other sites

  • 0

That's the reason i made the topic man..you should tell me that before..Where to put what and where? :O

 

Generally, you have to edit now client files, itemname and etcitemgrp :P

You can use any existing item as an template, copy any and modifi it to your needs, just change description, ID and you're done :)

Link to comment
Share on other sites

  • 0

You can do it via java side and client too.

 

Also, there is a file which called 'extractableitems.xml' into data folder. (Check it)

 

man when i spawn the box it says Test Box has spawned in your inverntory

but i can't see it..it's like i spawn it and it doesn't appear

Link to comment
Share on other sites

  • 0

man when i spawn the box it says Test Box has spawned in your inverntory

but i can't see it..it's like i spawn it and it doesn't appear

 

 

add it to your system in

 

system/itemname-e.dat

system/etcitemgrp.dat

Link to comment
Share on other sites

  • 0

 

add it to your system in

 

system/itemname-e.dat

system/etcitemgrp.dat

 

I did it but still not appearing...maybe my file edit don't save it...i don't know why but when i open itemname and put the line for the box and save it,then i open it again to see if it save it but it don't save it.What's happening with file edit damn??

Link to comment
Share on other sites

  • 0

itemname-e doesn't matter while server is in beta phase . Take a look at etcitemgrp.dat or just try another fileedit.

 

I don't know what is goin on...someone who has knowledge about this pls help!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock