Jump to content

MikeJ

Members
  • Posts

    348
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by MikeJ

  1. Just saying, people would bypass that by simply not doing the 3rd class quest.
  2. Hetzner: http://www.hetzner.de Server4You: http://www.server4you.com
  3. CoLD, you will never get a reward from them. All you're doing is getting them money (by people completing their surveys) by advertising them.
  4. Αν προσέξεις στον κώδικα, δεν φαίνεται το video να είναι εκτός YouTube. googlevideo.com λέει που είναι πάλι του Google/Youtube.
  5. Seeing that you're from Greece, I'll paste 2 links to guides. http://www.maxcheaters.com/forum/index.php?topic=134605.0 http://www.maxcheaters.com/forum/index.php?topic=135998.0
  6. Εγώ κατέβασα τα αρχεία από το πρώτο link και μπήκαν μια χαρά, απλώς πρέπει να κάνεις κάποιες αλλαγές.
  7. Μπαίνουν απλά πρέπει να ψάξεις λίγο. Δείτε τα errors και θα σας οδηγήσει στην λύση. (δεν λέω κάτι για να ψάξετε)
  8. Που ακριβώς διάβασες ότι συνεργάζεται με 200-300 χιλιάδες καταστήματα; Μήπως εννοείς εκεί που λέει "450.000 σημεία πώλησης"; Αυτά είναι μέρη που μπορείς να αγοράσεις την Paysafe, όχι μέρη που αγοράζεις πράγματα με Paysafe. Τι είδους fees έχεις στο Paypal;
  9. Δεν νομίζω να υπάρχουν καταστήματα που να δέχονται Paysafe ως τρόπο πληρωμής και αν υπάρχει (που δεν νομίζω), θα το βρεις πολύ δύσκολα. Θα σου πρότεινα αντί paysafe, να ανεβάζεις τα λεφτά σου σε Paypal και να κάνεις τις αγορές σου πληρώνοντας με Paypal.
  10. To the guys that PasswordChanger gives an error "could not update" etc, here's the solution. The problem is that the code for the PasswordManager was trying to find the "accounts" table in gameserver_beta so it can change the account's password. Now for you that have 1 database for l2jfrozen, this code should work but those who have 2 dbs (loginserver_beta, gameserver_beta) will get that error. What I did was to change the current database to loginserver_beta so it can update the account's password and then turn it back to gameserver_beta. (I turned it back because it needs to be so, else you would get errors) In my code I used the default database names (loginserver_beta,gameserver_beta) so if you have different names YOU must change them in the code. So once you pasted the code in Eclipse, search (CTRL + F) for the word "loginserver_beta" and change it to your loginserver's database name. Then do the same for gameserver's database name. Here's the code: /* 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); } @Override 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) { } } } @Override 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()); } @SuppressWarnings("null") 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(); con.setCatalog("loginserver_beta"); 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!"); con.setCatalog("gameserver_beta"); 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; } }
  11. Έχει κάποια NPCs το pack αλλά αν θες βάζεις και δικά σου.
  12. Μπορείς να μας δώσεις ένα link για το code;
  13. Τα άλλα πράγματα (quests κλπ) που δουλεύουν και αυτά με την python, δουλεύουν κανονικά στον server σου;
  14. Αν είναι εύκολο, πάρε ένα screenshot και πόσταρε το εδώ ώστε να βοηθήσουμε. (αν τελικά δεν μπορέσει ο Dante να το λύσει)
  15. If you want others to connect to your server, you should put your external IP address at ExternalHostname, not the internal one.
  16. Ups, I just realized that this is in the english section. Sorry for writing in greek guys, I'll edit my post now. Also OP, you can request from moderators to lock that topic since your problem is gone.
  17. Go at Start -> Right click at My Computer -> Advanced -> Environment Variables There should be a PATH variable, just put the address of the file that you found there. (javaw.exe)
  18. Ναι δεν είπα κάτι, απλώς μην περιμένεις απαντήσεις από εδώ. Και να ήθελε να βοηθήσει κάποιος, δεν έχει το pack σου.
  19. Πίστεψε με, δεν νομίζω να είναι κάποιος πιο έμπειρος ώστε να σου δώσει λύση σε αυτό το πρόβλημα. Το pack σου είναι παλιό.
  20. Αυτό το error δεν συμβαίνει συχνά σε άλλους και έτσι δυστυχώς δεν έχουμε πληροφορίες που θα μας οδηγήσουν στην επίλυση του. Ψάξε και στα java logs αν θες να δεις τι ακριβώς λέει και να το ποστάρεις εδώ αλλά εγώ θα σου πρότεινα να κάνεις compile το l2j του πιο καινούριου rev.
  21. Μια χαρά κατάλαβα τι συμβαίνει μάγκα. Απλώς βρήκα κάτι αλλού που σε κάποιον έκανε το ίδιο πράγμα και ένας του είπε ότι φταίει που βγήκαν οι heroes πρόσφατα και θα διαρκούσε μέχρι να αρχίσει η καινούρια περίοδος στην Oly. Μην ανησυχείς, ξέρω να διαβάζω.
  22. Ναι υπάρχουν, ορίστε ένα: http://tinypic.com/ Μήπως τυχαίνει να βγήκαν πρόσφατα οι heroes στον server σου;
  23. Πιο pack έχεις και ποιο rev; Μπορεί να πρέπει να κατεβάσεις πιο καινούριο.
  24. MikeJ

    Donate

    Πήγαινε εδώ: http://maxcheaters.com/forum/index.php?action=profile;area=subscriptions EDIT: Για Paypal λέει όμως εκεί, θα μπορούσες να κάνεις exchange αν δεν δέχεται paysafe cards.
  25. Δυστυχώς για να προστατευτείς από DDoS κοστίζει ακριβά. Αντίθετα αν θέλει κάποιος να σου κάνει attack, κοστίζει φτηνά.
×
×
  • Create New...