L2JMobius

Free Users => Shares/Contributions => Committed User Contributions => Topic started by: snacks on January 29, 2023, 10:03:45 PM

Title: Admin coin creation
Post by: snacks on January 29, 2023, 10:03:45 PM
Updated ancient adena and festival coin id and removed unused and deleted coins.

Code: [Select]
diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/itemcreation.htm b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/itemcreation.htm
index 24aa8b5..c39e05f 100644
--- a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/itemcreation.htm
+++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/html/admin/itemcreation.htm
@@ -25,7 +25,7 @@
 <table width=270 cellpadding="4">
 <tr>
 <td>Coin Type:</td>
-<td><combobox width=120 height=17 var=ebox list=Adena;AncientAdena;FestivalAdena;BlueEva;GoldEinhasad;SilverShilen;BloodyPaagrio;FantasyIsleCoin;LCoin></td>
+<td><combobox width=120 height=17 var=ebox list=Adena;AncientAdena;FestivalCoin;LCoin></td>
 </tr>
 <tr>
 <td>Amount:</td>

Code: [Select]
diff --git a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java
index c89f4a3..f4c92cb 100644
--- a/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java
+++ b/L2J_Mobius_Essence_6.2_Vanguard/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java
@@ -324,31 +324,11 @@
  }
  else if (name.equalsIgnoreCase("ancientadena"))
  {
- id = 5575;
+ id = 97145;
  }
- else if (name.equalsIgnoreCase("festivaladena"))
+ else if (name.equalsIgnoreCase("festivalcoin"))
  {
- id = 6673;
- }
- else if (name.equalsIgnoreCase("blueeva"))
- {
- id = 4355;
- }
- else if (name.equalsIgnoreCase("goldeinhasad"))
- {
- id = 4356;
- }
- else if (name.equalsIgnoreCase("silvershilen"))
- {
- id = 4357;
- }
- else if (name.equalsIgnoreCase("bloodypaagrio"))
- {
- id = 4358;
- }
- else if (name.equalsIgnoreCase("fantasyislecoin"))
- {
- id = 13067;
+ id = 72041;
  }
  else if (name.equalsIgnoreCase("lcoin"))
  {
Title: Re: Admin coin creation
Post by: Mobius on January 29, 2023, 10:04:45 PM
Old coins are vastly used by many servers.
Title: Re: Admin coin creation
Post by: snacks on January 29, 2023, 10:14:02 PM
Old coins are vastly used by many servers.

I see. I removed because they dont exist on the client.

Maybe just update ancient adena id or make 2 entry?
Title: Re: Admin coin creation
Post by: Mobius on January 29, 2023, 10:37:45 PM
Check what exists in client and change ancient adena.
Title: Re: Admin coin creation
Post by: Mobius on February 08, 2023, 11:46:19 PM
This will be added to the next free version.
Code: [Select]
Index: dist/game/data/html/admin/itemcreation.htm
===================================================================
--- dist/game/data/html/admin/itemcreation.htm (revision 11553)
+++ dist/game/data/html/admin/itemcreation.htm (working copy)
@@ -25,7 +25,7 @@
 <table width=270 cellpadding="4">
 <tr>
 <td>Coin Type:</td>
-<td><combobox width=120 height=17 var=ebox list=Adena;AncientAdena;FestivalAdena;BlueEva;GoldEinhasad;SilverShilen;BloodyPaagrio;FantasyIsleCoin;LCoin></td>
+<td><combobox width=120 height=17 var=ebox list=Adena;AncientAdena;BlueEva;GoldEinhasad;SilverShilen;BloodyPaagrio;LCoin></td>
 </tr>
 <tr>
 <td>Amount:</td>
Index: dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java
===================================================================
--- dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java (revision 11553)
+++ dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java (working copy)
@@ -324,12 +324,8 @@
  }
  else if (name.equalsIgnoreCase("ancientadena"))
  {
- id = 5575;
+ id = 97145;
  }
- else if (name.equalsIgnoreCase("festivaladena"))
- {
- id = 6673;
- }
  else if (name.equalsIgnoreCase("blueeva"))
  {
  id = 4355;
@@ -346,10 +342,6 @@
  {
  id = 4358;
  }
- else if (name.equalsIgnoreCase("fantasyislecoin"))
- {
- id = 13067;
- }
  else if (name.equalsIgnoreCase("lcoin"))
  {
  id = 91663;

Moved to shares.
Title: Re: Admin coin creation
Post by: Mobius on March 08, 2023, 01:33:13 AM
Partially committed with https://bitbucket.org/MobiusDev/l2j_mobius/commits/2a4b24e8613c58554d13eac4b2e58483dfd9ad03
Thanks :D