Jump to content

S-T-I-N-K-Y

Legendary Member
  • Posts

    1,041
  • Joined

  • Last visited

  • Days Won

    21
  • Feedback

    100%

Everything posted by S-T-I-N-K-Y

  1. orea borite na tous kanete gia na mas help emas tous Newbie?
  2. Crystalia... egw skeftika na kaneis ena skill pou 8a to i8ela gia enan High Rate server me big stats.... ( Skill to opio 8a to exoun oloi oi char apo to lvl 1, to skill 8a einai episeis lvl 1... 8a i8ela afto to skill na anevenei lvl ka8e 6-8 wres aftomata "1-1 lvl" kai na deinei kapia stats... me Max lvl 80 sto skill... "dn 8elw na anevenei taftoxrona me ton char... 8elw na anevenei me ton xrono pou einai online o char..." enas tropos kiolas na kratas online se enan server :P enyway dn eimai sugouros an 8elei mono java afto h' an einai dinaton na ginei.. pados an boreis 8a to xriazo-beep-a polu... pistevw kai kapioi alloi.... "ta stats na min einai trela... apo 150 hp, 80 mp, 80 p atk, 70 m atk, 90 p def, 80 m def ,6-7 Atk Speed, 8-9 m.Atk speed" ka8e lvl pou anevenei... h' kati tetio...) tec pa gia na min sunexisw polu to bla bla.. perimeno apadish sou.. thx kai elpizw na ta katafereis.... 8)
  3. exw kanei search alla dn vrika pote tpt.. boreis na stilei LINK mipos? 8)
  4. Kapios? tpt? kserw oti ginete afto.. to exw dei paliotera se enan server... :S pff
  5. geia sas members tou MxC 8a i8ela na rwtisw mipos kserei kapios na mou pei.. pos borw na valw se ena shop ena "weapon,armor,jeweler" pou na to agorazei kapios kai na to dieni + dld na agorazw Arcana +10 kai etc... (endiaferome gia apadiseis se Lineage][interlude opios borei as apadisei euxaristo polu.
  6. bori na mou pei kapios thn gnomh tou gia to L2jSigmo?
  7. ok me epises... pados dn einai kati to polu spoudeo.. :) kai elpizw na min perimeneis karma apo afto gt borei na apogoitefteis... kai kati alo... (ipes prin an dn exei internet dn 8a boresei na to katevasei to notpad++.... pff ELEOS... an dn exei net dn borei na dei oute to Share sou... ara afto dn stekei... tec pa dn 8elw na ginei alo spam... apo emena afta kai good luck sta next Share sou.. :)
  8. egw kserw oti sin menei NotPad kai to " ++ " oti exei pros8eta... ara Update.. :S
  9. Rly? OMG egw pOu asxoloume ta ta HTML dld... :/
  10. exw akousi oti to acis einai gia low rate.. :) kai dn kserw kai ti vazw sta Quest npc.. opos evaza l2jfrozen sthn buffer :S
  11. dn 8eoro oti einai ektos topic... to notepad++ einai Update tou Notepad... ara egw ipa na kanoune update to diko sou kai na to exoune pio efkolo sthn xrish... xD kai sorry gia to spam..
  12. mias kai to frozen ta paratise kana new Project kalo 8a mas sustisete?
  13. epidi polu dn to kserane giafto kai egw to anefera to NotePad++ kai edosa kai link gia download... 8) kai an to pc den exei net... kai sto notepad to aplo boreis na patiseis Alt+F kai na sou vgalei kapies paromies edoles...
  14. Download NotePad++ Kanto egatastarh sta ellhnika kai patas Alt+F kai meta sou leei oles tis dinatotites pou boreis na kaneis... (adikatastash erevnish... kai alles..)
  15. Wait for Stinky. will return back... :P
  16. ec kses eimai diakopes twra kai telos tou mhnos pou epistrefw.. 8a deis pola apo ton Stinky :) NpC kai Share's :)
  17. Xerome pou to 8elate tetia atoma... 8a kanw kai pola NPC kai kana alo Admin panel kai 8a ta valw se collection share.. :)
  18. polh kalh doulia bravo sou.... (gia na katalavw :P to Freya exei tosa gamata meri gt dialegete akira :P )
  19. RaZoRॐ Password Changer 1.) Go to: head-src/com/l2jfrozen/gameserver/model/actor/instance 2.) Create new .Java file 3.) Name it: L2PasswordChangerInstance 4.) Paste This Inside: /* 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 2, 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package com.l2jfrozen.gameserver.model.actor.instance; import com.l2jfrozen.crypt.Base64; import com.l2jfrozen.gameserver.ai.CtrlIntention; import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; import com.l2jfrozen.gameserver.network.serverpackets.LeaveWorld; import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocation; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.util.database.L2DatabaseFactory; import java.security.MessageDigest; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.StringTokenizer; import javolution.text.TextBuilder; public class L2PasswordChangerInstance extends L2FolkInstance { public L2PasswordChangerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("change_password")) { StringTokenizer st = new StringTokenizer(command); st.nextToken(); String currPass = null; String newPass = null; String repeatNewPass = null; try { if (st.hasMoreTokens()) { currPass = st.nextToken(); newPass = st.nextToken(); repeatNewPass = st.nextToken(); } else { player.sendMessage("Please fill in all the blanks before requesting for a password change."); return; } changePassword(currPass, newPass, repeatNewPass, player); } catch (StringIndexOutOfBoundsException e) { } } } public void onAction(L2PcInstance player) { if (!canTarget(player)) { return; } if (this != player.getTarget()) { player.setTarget(this); player.sendPacket(new MyTargetSelected(getObjectId(), 0)); player.sendPacket(new ValidateLocation(this)); } else if (!canInteract(player)) { player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); } else { showHtmlWindow(player); } player.sendPacket(new ActionFailed()); } private void showHtmlWindow(L2PcInstance activeChar) { NpcHtmlMessage nhm = new NpcHtmlMessage(5); TextBuilder replyMSG = new TextBuilder(""); replyMSG.append("<html><title>L2 InStadia Account Manager</title>"); replyMSG.append("<body><center>"); replyMSG.append("To change your password:<br1> First fill in your current password and then your new!</font><br>"); replyMSG.append("Current Password: <edit var=\"cur\" width=100 height=15><br>"); replyMSG.append("New Password: <edit var=\"new\" width=100 height=15><br>"); replyMSG.append("Repeat New Password: <edit var=\"repeatnew\" width=100 height=15><br><br>"); replyMSG.append("<button value=\"Change Password\" action=\"bypass -h npc_" + getObjectId() + "_change_password $cur $new $repeatnew\" width=204 height=20 back=\"sek.cbui75\" fore=\"sek.cbui75\">"); replyMSG.append("</center></body></html>"); nhm.setHtml(replyMSG.toString()); activeChar.sendPacket(nhm); activeChar.sendPacket(new ActionFailed()); } public static boolean changePassword(String currPass, String newPass, String repeatNewPass, L2PcInstance activeChar) { if (newPass.length() < 5) { activeChar.sendMessage("The new password is too short!"); return false; } if (newPass.length() > 20) { activeChar.sendMessage("The new password is too long!"); return false; } if (!newPass.equals(repeatNewPass)) { activeChar.sendMessage("Repeated password doesn't match the new password."); return false; } Connection con = null; String password = null; try { MessageDigest md = MessageDigest.getInstance("SHA"); byte[] raw = currPass.getBytes("UTF-8"); raw = md.digest(raw); String currPassEncoded = Base64.encodeBytes(raw); con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("SELECT password FROM accounts WHERE login=?"); statement.setString(1, activeChar.getAccountName()); ResultSet rset = statement.executeQuery(); while (rset.next()) { password = rset.getString("password"); } rset.close(); statement.close(); byte[] password2 = null; if (currPassEncoded.equals(password)) { password2 = newPass.getBytes("UTF-8"); password2 = md.digest(password2); PreparedStatement statement2 = con.prepareStatement("UPDATE accounts SET password=? WHERE login=?"); statement2.setString(1, Base64.encodeBytes(password2)); statement2.setString(2, activeChar.getAccountName()); statement2.executeUpdate(); statement2.close(); activeChar.sendMessage("Congratulations! Your password has been changed succesfully. You will now be disconnected for security reasons. Please login again!"); try { Thread.sleep(3000L); } catch (Exception e) { } activeChar.deleteMe(); activeChar.sendPacket(new LeaveWorld()); } else { activeChar.sendMessage("The current password you've inserted is incorrect! Please try again!"); return password2 != null; } } catch (Exception e) { _log.warning("could not update the password of account: " + activeChar.getAccountName()); } finally { try { if (con != null) con.close(); } catch (SQLException e) { _log.warning("Failed to close database connection!"); } } return true; } } 5.) Save it, Compile. 6.) Go to Database and Find "Npc" or "Custom_npc" table... 7.) Make or Add a NEW NPC...make it as you wish...but in "Type" put: L2PasswordChanger 8.) Finaly if you know how to Log in Lineage II Interlude Client....just log in and play! Navicat: INSERT INTO `custom_npc` VALUES ('99000', '35435', 'Password Changer', '1', 'Server-name', '1', null, '8.00', '37.00', '80', 'female', 'L2PasswordChanger', '40', '1000', '1000', '10.00', '10.00', '40', '43', '30', '21', '20', '10', '10', '10', '1000', '1000', '1000', '1000', '100', '0', '0', '0', '0', '0', '55', '120', '0', '0', '0', '0', 'LAST_HIT'); INSERT INTO `custom_npc` VALUES ('50022', '30993', 'Casino Manager', '1', 'Server-name', '1', null, '8.00', '17.00', '70', 'male', 'L2Casino', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '120', '0', '0', '0', '0', 'LAST_HIT'); P.s. i don't know if has again become share if again I apologize Credits To L2Shax's developer Just EpiC :P
  20. Password Changer 1.) Go to: head-src/com/l2jfrozen/gameserver/model/actor/instance 2.) Create new .Java file 3.) Name it: L2PasswordChangerInstance 4.) Paste This Inside: /* 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 2, 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, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. * * http://www.gnu.org/copyleft/gpl.html */ package com.l2jfrozen.gameserver.model.actor.instance; import com.l2jfrozen.crypt.Base64; import com.l2jfrozen.gameserver.ai.CtrlIntention; import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed; import com.l2jfrozen.gameserver.network.serverpackets.LeaveWorld; import com.l2jfrozen.gameserver.network.serverpackets.MyTargetSelected; import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage; import com.l2jfrozen.gameserver.network.serverpackets.ValidateLocation; import com.l2jfrozen.gameserver.templates.L2NpcTemplate; import com.l2jfrozen.util.database.L2DatabaseFactory; import java.security.MessageDigest; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.StringTokenizer; import javolution.text.TextBuilder; public class L2PasswordChangerInstance extends L2FolkInstance { public L2PasswordChangerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); } public void onBypassFeedback(L2PcInstance player, String command) { if (command.startsWith("change_password")) { StringTokenizer st = new StringTokenizer(command); st.nextToken(); String currPass = null; String newPass = null; String repeatNewPass = null; try { if (st.hasMoreTokens()) { currPass = st.nextToken(); newPass = st.nextToken(); repeatNewPass = st.nextToken(); } else { player.sendMessage("Please fill in all the blanks before requesting for a password change."); return; } changePassword(currPass, newPass, repeatNewPass, player); } catch (StringIndexOutOfBoundsException e) { } } } public void onAction(L2PcInstance player) { if (!canTarget(player)) { return; } if (this != player.getTarget()) { player.setTarget(this); player.sendPacket(new MyTargetSelected(getObjectId(), 0)); player.sendPacket(new ValidateLocation(this)); } else if (!canInteract(player)) { player.getAI().setIntention(CtrlIntention.AI_INTENTION_INTERACT, this); } else { showHtmlWindow(player); } player.sendPacket(new ActionFailed()); } private void showHtmlWindow(L2PcInstance activeChar) { NpcHtmlMessage nhm = new NpcHtmlMessage(5); TextBuilder replyMSG = new TextBuilder(""); replyMSG.append("<html><title>L2 InStadia Account Manager</title>"); replyMSG.append("<body><center>"); replyMSG.append("To change your password:<br1> First fill in your current password and then your new!</font><br>"); replyMSG.append("Current Password: <edit var=\"cur\" width=100 height=15><br>"); replyMSG.append("New Password: <edit var=\"new\" width=100 height=15><br>"); replyMSG.append("Repeat New Password: <edit var=\"repeatnew\" width=100 height=15><br><br>"); replyMSG.append("<button value=\"Change Password\" action=\"bypass -h npc_" + getObjectId() + "_change_password $cur $new $repeatnew\" width=204 height=20 back=\"sek.cbui75\" fore=\"sek.cbui75\">"); replyMSG.append("</center></body></html>"); nhm.setHtml(replyMSG.toString()); activeChar.sendPacket(nhm); activeChar.sendPacket(new ActionFailed()); } public static boolean changePassword(String currPass, String newPass, String repeatNewPass, L2PcInstance activeChar) { if (newPass.length() < 5) { activeChar.sendMessage("The new password is too short!"); return false; } if (newPass.length() > 20) { activeChar.sendMessage("The new password is too long!"); return false; } if (!newPass.equals(repeatNewPass)) { activeChar.sendMessage("Repeated password doesn't match the new password."); return false; } Connection con = null; String password = null; try { MessageDigest md = MessageDigest.getInstance("SHA"); byte[] raw = currPass.getBytes("UTF-8"); raw = md.digest(raw); String currPassEncoded = Base64.encodeBytes(raw); con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("SELECT password FROM accounts WHERE login=?"); statement.setString(1, activeChar.getAccountName()); ResultSet rset = statement.executeQuery(); while (rset.next()) { password = rset.getString("password"); } rset.close(); statement.close(); byte[] password2 = null; if (currPassEncoded.equals(password)) { password2 = newPass.getBytes("UTF-8"); password2 = md.digest(password2); PreparedStatement statement2 = con.prepareStatement("UPDATE accounts SET password=? WHERE login=?"); statement2.setString(1, Base64.encodeBytes(password2)); statement2.setString(2, activeChar.getAccountName()); statement2.executeUpdate(); statement2.close(); activeChar.sendMessage("Congratulations! Your password has been changed succesfully. You will now be disconnected for security reasons. Please login again!"); try { Thread.sleep(3000L); } catch (Exception e) { } activeChar.deleteMe(); activeChar.sendPacket(new LeaveWorld()); } else { activeChar.sendMessage("The current password you've inserted is incorrect! Please try again!"); return password2 != null; } } catch (Exception e) { _log.warning("could not update the password of account: " + activeChar.getAccountName()); } finally { try { if (con != null) con.close(); } catch (SQLException e) { _log.warning("Failed to close database connection!"); } } return true; } } 5.) Save it, Compile. 6.) Go to Database and Find "Npc" or "Custom_npc" table... 7.) Make or Add a NEW NPC...make it as you wish...but in "Type" put: L2PasswordChanger 8.) Finaly if you know how to Log in Lineage II Interlude Client....just log in and play! Navicat: INSERT INTO `custom_npc` VALUES ('99000', '35435', 'Password Changer', '1', 'Server-name', '1', null, '8.00', '37.00', '80', 'female', 'L2PasswordChanger', '40', '1000', '1000', '10.00', '10.00', '40', '43', '30', '21', '20', '10', '10', '10', '1000', '1000', '1000', '1000', '100', '0', '0', '0', '0', '0', '55', '120', '0', '0', '0', '0', 'LAST_HIT'); INSERT INTO `custom_npc` VALUES ('50022', '30993', 'Casino Manager', '1', 'Server-name', '1', null, '8.00', '17.00', '70', 'male', 'L2Casino', '40', '3862', '1493', '11.85', '2.78', '40', '43', '30', '21', '20', '10', '0', '0', '1314', '470', '780', '382', '278', '0', '333', '0', '0', '0', '55', '120', '0', '0', '0', '0', 'LAST_HIT'); P.s. i don't know if has again become share if again I apologize Credits To L2Shax's developer Afto sOu ekane post o Vl4d
  21. -.- exeis perasei kapio java code gia pio pano lvl apo 80? alios dn eksigite.. :S
  22. mhpos to "19946" einai kai se alo spawn as poume kai dn se paei? an kai dn nomizw.. :S kita na kaneis new spawn se alla /loc ... ksero ego ligo pio dipla kati tetio gt gia na min sou kanei ta tp to SQL exei to prob.. ta HTML sou einai mia xara.
×
×
  • 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