-
Posts
1,771 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by Stewie
-
-
If you say so :D
-
I need patch for freya, for command .changepassword
-
try this
<?xml version='1.0' encoding='utf-8'?> ----->After this line, add this one: <list maintainEnchantment="true">
-
Explaining the multisell:
<?xml version='1.0' encoding='utf-8'?>
(This must go to the top of every xml you make for good reason that I don't feel like explaining, accept it for what it is)
<list>
(this starts the list of items you will type.)
<!--S-Grade // Bow -->
(This is just a comment, it does not do anything, you can change it as you like as long as it starts with <!-- and ends with -->)
<!-- Draconic Bow -->
(Just like the above, it does not do anything and is just a comment because of the <!-- -->
<item id="1">
(this is the order of which an item will apear in the multisell... in this case, this will be the first item you see. Also this is the tag that starts the item information. An item can have more than 1 ingredient and more than 1 product)
<ingredient id="57" count="32000000" enchant="0"/>
(This starts off with "ingredient" which basically says that it is something that is required for the product
(for example it is like a recipe), id stands for the Id of the item, so 57 means its Ingredient is Adena, count is the quantity of the Ingredient required for the product in this case it will be so far: Ingredient is 32,000,000 Adena, now enchant is the enchant required on the item, so now it says: Ingredient is 32,000,000 Adena with enchant of 0 on the Adena.)
<production id="7575" count="1" enchant="50"/>
(This starts off with "production" which basically says that it is something that will be produced, or given after the requirement for the Ingredient is met. id stands for the Id of the item, so 7575 means its Production is a Draconic Bow, count is the quantity of the Product given, in this case it will be so far: Producation is 1 Draconic Bow, now enchant is the enchant the product will ge: so now it says: Production is 1 Draconic Bow enchanted to +50)
</item>
(This will end the item's information tag)
</list>
(This will close the list you made, save and close and your all set.)
And as i see.... this was removed long ago from the multisell system.
In my server I just made a custom instance (L2PointManagerInstance) that is able to give you enchanted weapons from htmls in exchange of adenas gld bars or points.
I didn't mod the multi sells because they are bugged (which is done while lagging the client while buying an lots item from a multi sell store).
-
<item id="2"><ingredient id="5963" count="5000" enchant="0"/><production id="10550" count="1" enchant="0"/></item>
Reply if it works. Not tested.
<?xml version='1.0' encoding='utf-8'?> <list> <!--S-Grade // Bow --> <!-- Draconic Bow--> <item id="1"> <ingredient id="57" count="32000000" enchant="0"/> <production id="7575" count="1" enchant="50"/> </item> </list>
-
I'm looking for that command if someone share please.
http://maxcheaters.com/forum/index.php?topic=90945.0
/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package l2j.crazy.devs.gameserver.handler.voicedcommandhandlers; import java.security.MessageDigest; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.StringTokenizer; import l2j.crazy.devs.Base64; import l2j.crazy.devs.L2DatabaseFactory; import l2j.crazy.devs.gameserver.handler.IVoicedCommandHandler; import l2j.crazy.devs.gameserver.model.actor.instance.L2PcInstance; /** * * @author Destractor * */ public class ChangePassword implements IVoicedCommandHandler { private static final String[] _voicedCommands = { "changepassword" }; public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (command.equalsIgnoreCase("changepassword") && target != null) { StringTokenizer st = new StringTokenizer(target); try { String curpass = null, newpass = null, repeatnewpass = null; if (st.hasMoreTokens()) curpass = st.nextToken(); if (st.hasMoreTokens()) newpass = st.nextToken(); if (st.hasMoreTokens()) repeatnewpass = st.nextToken(); if (!(curpass == null || newpass == null || repeatnewpass == null)) { if (!newpass.equals(repeatnewpass)) { activeChar.sendMessage("The new password doesn't match with the repeated one!"); return false; } if (newpass.length() < 3) { activeChar.sendMessage("The new password is shorter than 3 chars! Please try with a longer one."); return false; } if (newpass.length() > 30) { activeChar.sendMessage("The new password is longer than 30 chars! Please try with a shorter one."); return false; } MessageDigest md = MessageDigest.getInstance("SHA"); byte[] raw = curpass.getBytes("UTF-8"); raw = md.digest(raw); String curpassEnc = Base64.encodeBytes(raw); String pass = null; int passUpdated = 0; // SQL connection Connection con = null; con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("SELECT password FROM accounts WHERE login=?"); statement.setString(1, activeChar.getAccountName()); ResultSet rset = statement.executeQuery(); if (rset.next())pass = rset.getString("password"); rset.close(); statement.close(); if (curpassEnc.equals(pass)) { byte[] password = newpass.getBytes("UTF-8"); password = md.digest(password); // SQL connection PreparedStatement ps = con.prepareStatement("UPDATE accounts SET password=? WHERE login=?"); ps.setString(1, Base64.encodeBytes(password)); ps.setString(2, activeChar.getAccountName()); passUpdated = ps.executeUpdate(); ps.close(); con.close(); if (passUpdated > 0) { activeChar.sendMessage("You have successfully changed your password!"); } else { activeChar.sendMessage("The password change was unsuccessful!"); } } else { activeChar.sendMessage("CurrentPass doesn't match with your current one."); return false; } } else { activeChar.sendMessage("Invalid pass data! Format: .changepassword CurrentPass NewPass NewPass"); return false; } } catch (Exception e) { activeChar.sendMessage("A problem occured while changing password!"); } } else { activeChar.sendMessage("To change your current password, you have to type the command in the following format(without the brackets []): [.changepassword CurrentPass NewPass NewPass]. You should also know that the password is case sensitive."); return false; } return true; } public String[] getVoicedCommandList() { return _voicedCommands; } }
And this code will work?
And from where i should know it's already add to H5 LoL
/* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package handlers.voicedcommandhandlers; import java.util.StringTokenizer; import java.util.logging.Level; import com.l2jserver.gameserver.LoginServerThread; import com.l2jserver.gameserver.cache.HtmCache; import com.l2jserver.gameserver.handler.IVoicedCommandHandler; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage; /** * @author Nik */ public class ChangePassword implements IVoicedCommandHandler { private static final String[] _voicedCommands = { "changepassword" }; @Override public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) { if (target != null) { final StringTokenizer st = new StringTokenizer(target); try { String curpass = null, newpass = null, repeatnewpass = null; if (st.hasMoreTokens()) { curpass = st.nextToken(); } if (st.hasMoreTokens()) { newpass = st.nextToken(); } if (st.hasMoreTokens()) { repeatnewpass = st.nextToken(); } if (!((curpass == null) || (newpass == null) || (repeatnewpass == null))) { if (!newpass.equals(repeatnewpass)) { activeChar.sendMessage("The new password doesn't match with the repeated one!"); return false; } if (newpass.length() < 3) { activeChar.sendMessage("The new password is shorter than 3 chars! Please try with a longer one."); return false; } if (newpass.length() > 30) { activeChar.sendMessage("The new password is longer than 30 chars! Please try with a shorter one."); return false; } LoginServerThread.getInstance().sendChangePassword(activeChar.getAccountName(), activeChar.getName(), curpass, newpass); } else { activeChar.sendMessage("Invalid password data! You have to fill all boxes."); return false; } } catch (Exception e) { activeChar.sendMessage("A problem occured while changing password!"); _log.log(Level.WARNING, "", e); } } else { // showHTML(activeChar); String html = HtmCache.getInstance().getHtm("en", "data/html/mods/ChangePassword.htm"); if (html == null) { html = "<html><body><br><br><center><font color=LEVEL>404:</font> File Not Found</center></body></html>"; } activeChar.sendPacket(new NpcHtmlMessage(1, html)); return true; } return true; } @Override public String[] getVoicedCommandList() { return _voicedCommands; } }
-
lol almost to forget you're my enemy, and i give you the link :D
-
-
-
2008 Topics no need to be locked.
k, if you says so.
-
http://maxcheaters.com/forum/index.php?topic=19982.0
http://maxcheaters.com/forum/index.php?topic=25022.0
http://maxcheaters.com/forum/index.php?topic=23791.0
http://maxcheaters.com/forum/index.php?topic=22495.0
http://maxcheaters.com/forum/index.php?topic=28621.0
http://maxcheaters.com/forum/index.php?topic=29159.0
http://maxcheaters.com/forum/index.php?topic=29918.0
http://maxcheaters.com/forum/index.php?topic=28606.0
http://maxcheaters.com/forum/index.php?topic=28310.0
http://maxcheaters.com/forum/index.php?topic=28240.0
http://maxcheaters.com/forum/index.php?topic=26898.0
http://maxcheaters.com/forum/index.php?topic=28125.0
http://maxcheaters.com/forum/index.php?topic=28228.0
http://maxcheaters.com/forum/index.php?topic=28243.0
http://maxcheaters.com/forum/index.php?topic=5018.0
http://maxcheaters.com/forum/index.php?topic=23946.0
http://maxcheaters.com/forum/index.php?topic=29714.0
http://maxcheaters.com/forum/index.php?topic=27766.0
http://maxcheaters.com/forum/index.php?topic=4561.0
http://maxcheaters.com/forum/index.php?topic=4576.0
http://maxcheaters.com/forum/index.php?topic=39766.0
http://maxcheaters.com/forum/index.php?topic=20528.0
http://maxcheaters.com/forum/index.php?topic=38618.0
http://maxcheaters.com/forum/index.php?topic=38830.0
http://maxcheaters.com/forum/index.php?topic=38935.0
http://maxcheaters.com/forum/index.php?topic=38525.0
http://maxcheaters.com/forum/index.php?topic=42003.0
http://maxcheaters.com/forum/index.php?topic=42975.0
http://maxcheaters.com/forum/index.php?topic=43075.0
http://maxcheaters.com/forum/index.php?topic=28430.0
http://maxcheaters.com/forum/index.php?topic=42850.0
http://maxcheaters.com/forum/index.php?topic=36448.0
-
-
So, now i will explain you the bug most of you probably seen, we need 1 buffer with heal and an non peace zone.
STEP 1:You go with char [1] near buffer, and if you use any Walker/autoclicker/bot you can easy make it.
STEP 2: Char [2] is killer, so flag and begin.
STEP 3: Kill/heal/kill/heal. Using heal from buffer make's you on full HP and enable to be kill :D, make your pvp's!
This is 1rst bug for PvP on Faction server's.
Wish you best.
[Credits: ME]
If it's already shared i don't care, i don't see this in here.
Review for my next [share]:
Make 60.000 M attack on L2Gracia Final, find out how, CHECK MY NEXT POSTS!
-
Nothing new...
-
I'm looking for Loading Screens for Freya [custom one]
If you are able to make HD, with my own Text will be good.
Also i'm looking for already done without any reclame text's of other server's.
PM ME WITH OFFERS, Or reply here.
Pay method ONLY VIA PAYPAL
-
Damn where is mention that we should wait to recieve our status? after payment it should be auto lol...
-
you will wait 1-2 Days :P Send 200 pms to maxtor and he will see it ;D
Fail, and you want us to donate? LOL
-
Nothing Just Wait Maxtor now :D
But he was online, and now is offline again...
-
Payment Methods Changed. Now you can Buy Donator Rank with €8.00 and VIP From €25.00 - €20.00
Now you can Buy Donator Rank with €8.00This i have been done, and yes it's from my profile, what i have to do next?
-
And why these yellow letters
no idia :D anyone any info?
-
pm maxtor.
Done already, no answer.
-
I just wanted to become donator member, i donate 8 Euro , nothing happend...
Can someone inform me?
-
-
I buy the pack from TheEnd, request for lock.
L2 Zombies - Realistic Zombie Apocalypse - unique highly customized server
in Private Servers
Posted
CS respawn server Zombie mod...... xD