Jump to content
  • 0

Combobox :/


HyperActive

Question

Hello guys,

 

so i would like to know how to create a combobox that reads xml for a GmShop so for example

 

if on the list there is ArmorS then show player xxx.xml ....

 

Does anybody know how this works i only found an example on AdminCreate in L2Jacis pack but it works with intregers so it is not quite the same could somebody give me an example or how is this supposed to be implimented on java...

 

 

Thank you very much :P 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

If you check how it rly works ull find your answer :D All vars are strings... Next step is to make them integer with checks.. take a look in the example u said..

private static int getCoinId(String name)
	{
		if (name.equalsIgnoreCase("adena"))
			return 57;
		
		if (name.equalsIgnoreCase("ancientadena"))
			return 5575;
		
		if (name.equalsIgnoreCase("festivaladena"))
			return 6673;
		
		return 0;
	}
Link to comment
Share on other sites

  • 0

 

If you check how it rly works ull find your answer :D All vars are strings... Next step is to make them integer with checks.. take a look in the example u said..

private static int getCoinId(String name)
	{
		if (name.equalsIgnoreCase("adena"))
			return 57;
		
		if (name.equalsIgnoreCase("ancientadena"))
			return 5575;
		
		if (name.equalsIgnoreCase("festivaladena"))
			return 6673;
		
		return 0;
	}

 

Does this actually apply for xml i mean should i write if (name.equalsIgnoreCase("ArmorS"))

                                                                                              return ? what the xml number/name for example 25040.xml

Link to comment
Share on other sites

  • 0

if you are working on acis you can check how admin gm shop works..

try
{
	final int val = Integer.parseInt(command.substring(10));
	
	final NpcBuyList list = BuyListTable.getInstance().getBuyList(val);
	if (list == null)
		activeChar.sendMessage("Invalid buylist id.");
	else
		activeChar.sendPacket(new BuyList(list, activeChar.getAdena(), 0));
}
catch (Exception e)
{
	activeChar.sendMessage("Invalid buylist id.");
}
Edited by melron
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.



  • Posts

    • New Webite and Update have been released: https://somikpatch.com/Updates   All upcoming updates and infromation will be posted on the website.
    • POWERFUL BLACK MAGIC LOVE SPELL CASTERS SPIRITUAL VOODOO SPELLS CASTER uk usa ,Italy, JaMAICA South Africa,UK,USA Gauteng, Germiston, Glenanda, Sandton, Soweto, Tembisa, Heidelberg, Jeffreys Bay, Johannesburg RANDBURG Virginia Indiana Kentucky Missouri Georgia North Carolina Kentucky Ohio Alabama Nevada Oklahoma Colorado New Mexico Minnesota Louisiana Kansas Colorado North Carolina Michigan Oregon South Carolina Nebraska Arkansas Florida Utah Mississippi Indiana Arizona South Carolina Texas California Louisiana New Mexico Oklahoma Washington Missouri Maryland Iowa Idaho Maine +27630699577 DEATH SPELL / REVENGE SPELLS CASTER IN U.S.A U.K, SWITZERLAND,AMERICA,ENGLAND, CANADA. INSTANT DEATH SPELLS TO KILL ENEMIES ,Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing based in Johannesburg, Pretoria Sandton, Midrand, Centurion, South Africa. Dubai – Dubai, Abu Dhabi-AbuDhabi, Sharjah-Sharjah, Al Ain-Abu Dhabi, Ajman-Ajman, Al Gharbia-Abu Dhabi, Ras Al Khaimah-Ras al Khaimah, Fujairah-Fujairah, Dibba-Fujairah, Um AlQuwain-Um Al Quwain New York -New York, Los Angeles California, Phoenix Arizona Chicago Illinois, Houston-Texas – Philadelphia Pennsylvania -San Antonio Texas -San Diego, Ecuador, Egypt, Eritrea, Estonia, Ethiopia, Finland, Fiji, France, Gabon, Gambia, Georgia, south Australia. Black magic lottery spells caster in Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras Approved Lottery and Money spells that work fast in Netherlands, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Honduras Most Powerful Spell Caster in the world, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan Psychic Lottery Spells in Canada, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan +27630699577 Same day Lottery Spells and Money Spells in Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq , Ethiopia, Fiji, Finland, France, Gabon, Gambia, The Georgia, Germany, Mauritius, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti Love Spells To Make Him Or Her Come Back Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia Bring Back Lost Love Spells 24 Hours Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia 100% Black magic Spells | Stop Divorce spell in Kansas, Colombia, Greater Poland, Ireland, Vienna, Salzburg, Syria. Candle Love Spells That Work Fast Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia World Love Spells Casters In South Africa, Iran, Iraq, Ireland, Israel, Italy, Jamaica , Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea, North, South, Kosovo, Kuwait. Best Love Spells In Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea. +27630699577 Most Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Singapore, Norway, Ecuador, France, Greece, Honduras, Ireland, Hungary, Iceland, Italy, Israel, Poland, Jordan, Colombia, Luxembourg, Switzerland, United Arab Emirates, Brunei, San Marino, Denmark, Netherlands, Malta, Spain, Cyprus, Slovenia, Lithuania, Malaysia, Estonia , Croatia, Belgium, Austria, Germany, Australia, Sweden, New Zealand, Canada, Indonesia, Seychelles, Bahamas, Panama, Finland, England, London, Namibia, Wales, Scotland Call or whatsapp : Baba Joseph Whatsapp; +27630699577 Email; babajoseph467@gmail.com
    • POWERFUL BLACK MAGIC LOVE SPELL CASTERS SPIRITUAL VOODOO SPELLS CASTER uk usa ,Italy, JaMAICA South Africa,UK,USA Gauteng, Germiston, Glenanda, Sandton, Soweto, Tembisa, Heidelberg, Jeffreys Bay, Johannesburg RANDBURG Virginia Indiana Kentucky Missouri Georgia North Carolina Kentucky Ohio Alabama Nevada Oklahoma Colorado New Mexico Minnesota Louisiana Kansas Colorado North Carolina Michigan Oregon South Carolina Nebraska Arkansas Florida Utah Mississippi Indiana Arizona South Carolina Texas California Louisiana New Mexico Oklahoma Washington Missouri Maryland Iowa Idaho Maine +27630699577 DEATH SPELL / REVENGE SPELLS CASTER IN U.S.A U.K, SWITZERLAND,AMERICA,ENGLAND, CANADA. INSTANT DEATH SPELLS TO KILL ENEMIES ,Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing based in Johannesburg, Pretoria Sandton, Midrand, Centurion, South Africa. Dubai – Dubai, Abu Dhabi-AbuDhabi, Sharjah-Sharjah, Al Ain-Abu Dhabi, Ajman-Ajman, Al Gharbia-Abu Dhabi, Ras Al Khaimah-Ras al Khaimah, Fujairah-Fujairah, Dibba-Fujairah, Um AlQuwain-Um Al Quwain New York -New York, Los Angeles California, Phoenix Arizona Chicago Illinois, Houston-Texas – Philadelphia Pennsylvania -San Antonio Texas -San Diego, Ecuador, Egypt, Eritrea, Estonia, Ethiopia, Finland, Fiji, France, Gabon, Gambia, Georgia, south Australia. Black magic lottery spells caster in Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras Approved Lottery and Money spells that work fast in Netherlands, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Honduras Most Powerful Spell Caster in the world, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan Psychic Lottery Spells in Canada, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan +27630699577 Same day Lottery Spells and Money Spells in Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq , Ethiopia, Fiji, Finland, France, Gabon, Gambia, The Georgia, Germany, Mauritius, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti Love Spells To Make Him Or Her Come Back Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia Bring Back Lost Love Spells 24 Hours Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia 100% Black magic Spells | Stop Divorce spell in Kansas, Colombia, Greater Poland, Ireland, Vienna, Salzburg, Syria. Candle Love Spells That Work Fast Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia World Love Spells Casters In South Africa, Iran, Iraq, Ireland, Israel, Italy, Jamaica , Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea, North, South, Kosovo, Kuwait. Best Love Spells In Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea. +27630699577 Most Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Singapore, Norway, Ecuador, France, Greece, Honduras, Ireland, Hungary, Iceland, Italy, Israel, Poland, Jordan, Colombia, Luxembourg, Switzerland, United Arab Emirates, Brunei, San Marino, Denmark, Netherlands, Malta, Spain, Cyprus, Slovenia, Lithuania, Malaysia, Estonia , Croatia, Belgium, Austria, Germany, Australia, Sweden, New Zealand, Canada, Indonesia, Seychelles, Bahamas, Panama, Finland, England, London, Namibia, Wales, Scotland Call or whatsapp : Baba Joseph Whatsapp; +27630699577 Email; babajoseph467@gmail.com
    • POWERFUL BLACK MAGIC LOVE SPELL CASTERS SPIRITUAL VOODOO SPELLS CASTER uk usa ,Italy, JaMAICA South Africa,UK,USA Gauteng, Germiston, Glenanda, Sandton, Soweto, Tembisa, Heidelberg, Jeffreys Bay, Johannesburg RANDBURG Virginia Indiana Kentucky Missouri Georgia North Carolina Kentucky Ohio Alabama Nevada Oklahoma Colorado New Mexico Minnesota Louisiana Kansas Colorado North Carolina Michigan Oregon South Carolina Nebraska Arkansas Florida Utah Mississippi Indiana Arizona South Carolina Texas California Louisiana New Mexico Oklahoma Washington Missouri Maryland Iowa Idaho Maine +27630699577 DEATH SPELL / REVENGE SPELLS CASTER IN U.S.A U.K, SWITZERLAND,AMERICA,ENGLAND, CANADA. INSTANT DEATH SPELLS TO KILL ENEMIES ,Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing based in Johannesburg, Pretoria Sandton, Midrand, Centurion, South Africa. Dubai – Dubai, Abu Dhabi-AbuDhabi, Sharjah-Sharjah, Al Ain-Abu Dhabi, Ajman-Ajman, Al Gharbia-Abu Dhabi, Ras Al Khaimah-Ras al Khaimah, Fujairah-Fujairah, Dibba-Fujairah, Um AlQuwain-Um Al Quwain New York -New York, Los Angeles California, Phoenix Arizona Chicago Illinois, Houston-Texas – Philadelphia Pennsylvania -San Antonio Texas -San Diego, Ecuador, Egypt, Eritrea, Estonia, Ethiopia, Finland, Fiji, France, Gabon, Gambia, Georgia, south Australia. Black magic lottery spells caster in Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras Approved Lottery and Money spells that work fast in Netherlands, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Honduras Most Powerful Spell Caster in the world, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan Psychic Lottery Spells in Canada, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan +27630699577 Same day Lottery Spells and Money Spells in Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq , Ethiopia, Fiji, Finland, France, Gabon, Gambia, The Georgia, Germany, Mauritius, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti Love Spells To Make Him Or Her Come Back Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia Bring Back Lost Love Spells 24 Hours Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia 100% Black magic Spells | Stop Divorce spell in Kansas, Colombia, Greater Poland, Ireland, Vienna, Salzburg, Syria. Candle Love Spells That Work Fast Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia World Love Spells Casters In South Africa, Iran, Iraq, Ireland, Israel, Italy, Jamaica , Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea, North, South, Kosovo, Kuwait. Best Love Spells In Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea. +27630699577 Most Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Singapore, Norway, Ecuador, France, Greece, Honduras, Ireland, Hungary, Iceland, Italy, Israel, Poland, Jordan, Colombia, Luxembourg, Switzerland, United Arab Emirates, Brunei, San Marino, Denmark, Netherlands, Malta, Spain, Cyprus, Slovenia, Lithuania, Malaysia, Estonia , Croatia, Belgium, Austria, Germany, Australia, Sweden, New Zealand, Canada, Indonesia, Seychelles, Bahamas, Panama, Finland, England, London, Namibia, Wales, Scotland Call or whatsapp : Baba Joseph Whatsapp; +27630699577 Email; babajoseph467@gmail.com
    • POWERFUL BLACK MAGIC LOVE SPELL CASTERS SPIRITUAL VOODOO SPELLS CASTER uk usa ,Italy, JaMAICA South Africa,UK,USA Gauteng, Germiston, Glenanda, Sandton, Soweto, Tembisa, Heidelberg, Jeffreys Bay, Johannesburg RANDBURG Virginia Indiana Kentucky Missouri Georgia North Carolina Kentucky Ohio Alabama Nevada Oklahoma Colorado New Mexico Minnesota Louisiana Kansas Colorado North Carolina Michigan Oregon South Carolina Nebraska Arkansas Florida Utah Mississippi Indiana Arizona South Carolina Texas California Louisiana New Mexico Oklahoma Washington Missouri Maryland Iowa Idaho Maine +27630699577 DEATH SPELL / REVENGE SPELLS CASTER IN U.S.A U.K, SWITZERLAND,AMERICA,ENGLAND, CANADA. INSTANT DEATH SPELLS TO KILL ENEMIES ,Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Australia, USA, UK, Canada, Mauritius. Bring Back Lost Love Spell Caster in Tasmania Victoria West Norway Hull London Powerful Spiritual Traditional Herbalist Healer experienced in Ancestral healing and spell casting, Astrologers, African Medicines, Ritualism, Herbalist healers, Spiritual healers, Native healer, Philosophy, Traditional healers, Herbal remedies, holistic healing based in Johannesburg, Pretoria Sandton, Midrand, Centurion, South Africa. Dubai – Dubai, Abu Dhabi-AbuDhabi, Sharjah-Sharjah, Al Ain-Abu Dhabi, Ajman-Ajman, Al Gharbia-Abu Dhabi, Ras Al Khaimah-Ras al Khaimah, Fujairah-Fujairah, Dibba-Fujairah, Um AlQuwain-Um Al Quwain New York -New York, Los Angeles California, Phoenix Arizona Chicago Illinois, Houston-Texas – Philadelphia Pennsylvania -San Antonio Texas -San Diego, Ecuador, Egypt, Eritrea, Estonia, Ethiopia, Finland, Fiji, France, Gabon, Gambia, Georgia, south Australia. Black magic lottery spells caster in Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Honduras Approved Lottery and Money spells that work fast in Netherlands, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Honduras Most Powerful Spell Caster in the world, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan Psychic Lottery Spells in Canada, Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan +27630699577 Same day Lottery Spells and Money Spells in Hong, Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq , Ethiopia, Fiji, Finland, France, Gabon, Gambia, The Georgia, Germany, Mauritius, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti Love Spells To Make Him Or Her Come Back Grenada, Guatemala, Guinea, Guinea- Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia Bring Back Lost Love Spells 24 Hours Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia 100% Black magic Spells | Stop Divorce spell in Kansas, Colombia, Greater Poland, Ireland, Vienna, Salzburg, Syria. Candle Love Spells That Work Fast Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See, Honduras, Hong Kong, Hungary, Iceland, Indonesia World Love Spells Casters In South Africa, Iran, Iraq, Ireland, Israel, Italy, Jamaica , Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea, North, South, Kosovo, Kuwait. Best Love Spells In Iran, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Korea. +27630699577 Most Effective True Love Spells Caster, Bring Back Lost Love Spells, Voodoo Spells Caster To Stop Cheating, Black Magic Spell Caster, Death & Revenge Spells In Singapore, Norway, Ecuador, France, Greece, Honduras, Ireland, Hungary, Iceland, Italy, Israel, Poland, Jordan, Colombia, Luxembourg, Switzerland, United Arab Emirates, Brunei, San Marino, Denmark, Netherlands, Malta, Spain, Cyprus, Slovenia, Lithuania, Malaysia, Estonia , Croatia, Belgium, Austria, Germany, Australia, Sweden, New Zealand, Canada, Indonesia, Seychelles, Bahamas, Panama, Finland, England, London, Namibia, Wales, Scotland Call or whatsapp : Baba Joseph Whatsapp; +27630699577 Email; babajoseph467@gmail.com
  • Topics

×
×
  • Create New...