Jump to content
  • 0

[Q] Is There a Way?


Question

Posted

<?xml version="1.0" encoding="UTF-8"?>
<list>
<item id="1" type="Weapon" name="Short Sword">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="sword" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="10" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="steel" />
	<set name="weight" val="1600" />
	<set name="price" val="768" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="8" />
		<set order="0x08" stat="mAtk" val="6" />
		<set order="0x08" stat="rCrit" val="8" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="2" type="Weapon" name="Long Sword">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="sword" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="10" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="fine_steel" />
	<set name="weight" val="1560" />
	<set name="price" val="136000" />
	<set name="soulshots" val="2" />
	<set name="spiritshots" val="2" />
	<for>
		<set order="0x08" stat="pAtk" val="24" />
		<set order="0x08" stat="mAtk" val="17" />
		<set order="0x08" stat="rCrit" val="8" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="3" type="Weapon" name="Broadsword">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="sword" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="10" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="steel" />
	<set name="weight" val="1590" />
	<set name="price" val="12500" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="11" />
		<set order="0x08" stat="mAtk" val="9" />
		<set order="0x08" stat="rCrit" val="8" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="4" type="Weapon" name="Club">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="blunt" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="20" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="wood" />
	<set name="weight" val="1870" />
	<set name="price" val="768" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="8" />
		<set order="0x08" stat="mAtk" val="6" />
		<set order="0x08" stat="rCrit" val="4" />
		<add order="0x10" stat="accCombat" val="4" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="5" type="Weapon" name="Mace">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="blunt" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="20" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="steel" />
	<set name="weight" val="1880" />
	<set name="price" val="12500" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="11" />
		<set order="0x08" stat="mAtk" val="9" />
		<set order="0x08" stat="rCrit" val="4" />
		<add order="0x10" stat="accCombat" val="4" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="6" type="Weapon" name="Apprentice's Wand">
	<set name="is_magical" val="true" />
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="blunt" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="20" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="steel" />
	<set name="weight" val="1350" />
	<set name="price" val="138" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<set name="is_tradable" val="false" />
	<set name="is_dropable" val="false" />
	<set name="is_sellable" val="false" />
	<for>
		<set order="0x08" stat="pAtk" val="5" />
		<set order="0x08" stat="mAtk" val="7" />
		<set order="0x08" stat="rCrit" val="4" />
		<add order="0x10" stat="accCombat" val="4" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="7" type="Weapon" name="Apprentice's Rod">
	<set name="is_magical" val="true" />
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="blunt" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="20" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="wood" />
	<set name="weight" val="1330" />
	<set name="price" val="768" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="6" />
		<set order="0x08" stat="mAtk" val="8" />
		<set order="0x08" stat="rCrit" val="4" />
		<add order="0x10" stat="accCombat" val="4" />
		<set order="0x08" stat="pAtkSpd" val="379" />
	</for>
</item>
<item id="8" type="Weapon" name="Willow Staff">
	<set name="is_magical" val="true" />
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="bigblunt" />
	<set name="bodypart" val="lrhand" />
	<set name="random_damage" val="20" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;46;120" />
	<set name="material" val="wood" />
	<set name="weight" val="1080" />
	<set name="price" val="12500" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="11" />
		<set order="0x08" stat="mAtk" val="12" />
		<set order="0x08" stat="rCrit" val="4" />
		<add order="0x10" stat="accCombat" val="4" />
		<set order="0x08" stat="pAtkSpd" val="325" />
	</for>
</item>
<item id="9" type="Weapon" name="Cedar Staff">
	<set name="is_magical" val="true" />
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="bigblunt" />
	<set name="bodypart" val="lrhand" />
	<set name="random_damage" val="20" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;46;120" />
	<set name="material" val="wood" />
	<set name="weight" val="1090" />
	<set name="price" val="54100" />
	<set name="soulshots" val="2" />
	<set name="spiritshots" val="2" />
	<for>
		<set order="0x08" stat="pAtk" val="16" />
		<set order="0x08" stat="mAtk" val="16" />
		<set order="0x08" stat="rCrit" val="4" />
		<add order="0x10" stat="accCombat" val="4" />
		<set order="0x08" stat="pAtkSpd" val="325" />
	</for>
</item>
<item id="10" type="Weapon" name="Dagger">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="dagger" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="5" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="steel" />
	<set name="weight" val="1160" />
	<set name="price" val="138" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<set name="is_tradable" val="false" />
	<set name="is_dropable" val="false" />
	<set name="is_sellable" val="false" />
	<for>
		<set order="0x08" stat="pAtk" val="5" />
		<set order="0x08" stat="mAtk" val="5" />
		<set order="0x08" stat="rCrit" val="12" />
		<sub order="0x10" stat="accCombat" val="3" />
		<set order="0x08" stat="pAtkSpd" val="433" />
	</for>
</item>
<item id="11" type="Weapon" name="Bone Dagger">
	<set name="default_action" val="equip" />
	<set name="weapon_type" val="dagger" />
	<set name="bodypart" val="rhand" />
	<set name="random_damage" val="5" />
	<set name="attack_range" val="40" />
	<set name="damage_range" val="0;0;40;120" />
	<set name="material" val="bone" />
	<set name="weight" val="1150" />
	<set name="price" val="768" />
	<set name="soulshots" val="1" />
	<set name="spiritshots" val="1" />
	<for>
		<set order="0x08" stat="pAtk" val="7" />
		<set order="0x08" stat="mAtk" val="6" />
		<set order="0x08" stat="rCrit" val="12" />
		<sub order="0x10" stat="accCombat" val="3" />
		<set order="0x08" stat="pAtkSpd" val="433" />
	</for>
</item>
</list>

Is there a way to edit from a file like this all the lines of price the values? All of them! <set name="price" val="768" />

I try wth notepad++ but smth can't do. I also try with eclipse with no luck.

Replace all don't work.Need help. Many files to edit.

2 answers to this question

Recommended Posts

  • 0
Posted

This way the xml part will be ignored:

 

RequestSellItem.java

 

int price = item.getReferencePrice() / 2;

change it to

int price = 0;

 

SellList.java

 

writeD(item.getReferencePrice() / 2);

change it to

writeD(0);

  • 0
Posted

This way the xml part will be ignored:

 

RequestSellItem.java

 

int price = item.getReferencePrice() / 2;

change it to

int price = 0;

 

SellList.java

 

writeD(item.getReferencePrice() / 2);

change it to

writeD(0);

 

I have change the price with NOTDONE.

Until now i have no problems.

But is this a good way or i must follow your?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I work with Kenrix and he is a  next level coder. Hugely Recommended.
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Follow our Telegram channel, because exciting events are coming very soon! Halloween, 11.11, and also a giveaway related to 3000 subscribers in our Telegram channel are ahead! What do you think we have prepared? Subscribe to our Telegram channel and stay updated on all the news: https://t.me/accsforyou_shop Active links to SOCNET stores: Digital goods store (Website): Go Telegram store bot: Go – convenient access to the store via Telegram messenger. Telegram Stars purchasing bot: Go – fast and profitable purchase of stars in Telegram. SMM Panel: Go – promotion of your social media accounts. We would like to introduce you to the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) in October! You can also use a promo code for the first purchase: SOCNET (15% discount) 2. Get $1 to your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write it in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel — just open a ticket with the topic “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Stars purchasing bot! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts & Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • 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