Jump to content
metin2dev

Search the Community

Showing results for tags 'login'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


ICQ


Yahoo


Skype


Location

Found 24 results

  1. amosth

    open login auto insert

    Hello everyone, Could someone explain to me a method of creating auto insert login? No need for button, save last login! Please help me.
  2. Hi guys, i have the next code def __OnClickSaveLoginButton(self): id = self.idEditLine.GetText() pwd = self.pwdEditLine.GetText() if (len(id) == 0 or len(pwd) == 0): self.PopupNotifyMessage("ID and Password required.",self.SetIDEditLineFocus) return file_object = open("account.cfg", "w") file_object.write(id+"\n"+pwd) self.PopupNotifyMessage("Account Saved.",self.SetIDEditLineFocus) file_object.close() def __OnClickLoadInfoButton(self): fileObject = open("account.cfg", "r").readlines() self.Connect(fileObject[0], fileObject[1]) Its for saving ID and Password to keep your account in the client, its triggered by buttons. And i want to make the saved password to be hashed in that file. I tried something but at login "Wrong ID / Pasword". Or if you know a system that works like this, please tell me. Maybe a system that works without a file. Thanks!
  3. Hello, I tried to add feature like "IP Login". It locks your IP and you can not login using different IP adress. I tried to write this code: char ip; char query[1024]; snprintf(query, sizeof(query),"SELECT ip FROM account.ip_login WHERE ip = '%s' AND login = '%s'", inet_ntoa(d->GetAddr().sin_addr), login); std::auto_ptr<SQLMsg> execquery(DBManager::instance().DirectQuery(query)); MYSQL_ROW row = mysql_fetch_row(execquery->Get()->pSQLResult); str_to_number(ip, row[0]); if (ip != '0' && execquery->Get()->uiNumRows < 1) { LoginFailure(d, "IP_MATCH"); return; } But when I run it and try to login, core gets dumped. I have tried a lot of variations of this code. One time I could not login when there were not IP adress in table. (It was recognising IP address, but when I cleared table, I could not login due bad IP) Any solution, please? (I pay 10€ - after solution) Thanks.
  4. Hello Today I want to share with all of you a little thing. All times when you are trying to open your safebox, it's requesting the password, isn't it? But for what? I modified to limit these requests to one input per login. Of course if you warp or change character, you need to retype your password again. But with extra modifications you can do it to store the password until you close the client, but I don't recommend this. So, first go to the uiSafeBox.py file and paste this line into the __init__ method of the PasswordDialog class, with taking care of the tabulators: self.lastPassword = "" This variable will store your last entered password. Then replace the Accept method of the same class with this: (take a look for the syntax, modulename, and true/false!) def OnAccept(self): self.lastPassword = str(self.passwordValue.GetText()) m2net.SendChatPacket(self.sendMessage + self.lastPassword) self.CloseDialog() return True When you accept the password input dialog, the entered password will be saved, if it's correct if it isn't as well. Don't worry about it, it will be reset if you entered wrong password. The next step is that to paste these new functions into the same class. def InitSafeboxPassword(self): self.lastPassword = "" def GetSafeboxPwd(self): return self.lastPassword As you can see, here is a function which will reset the entered password . With this, the file is done. Open interfaceModule.py and serach this line: ## Safebox then paste this function below: def InitSafeboxPassword(self): self.dlgPassword.InitSafeboxPassword() Then replace the AskSafeboxPassword and AskMallPassword functions with these: def AskSafeboxPassword(self): if self.wndSafebox.IsShow(): return if self.dlgPassword.IsShow(): self.dlgPassword.CloseDialog() return self.dlgPassword.SetSendMessage("/safebox_password ") if self.dlgPassword.GetSafeboxPwd() != "": self.dlgPassword.OnAccept() return self.dlgPassword.SetTitle(localeInfo.PASSWORD_TITLE) self.dlgPassword.ShowDialog() def AskMallPassword(self): if self.wndMall.IsShow(): return if self.dlgPassword.IsShow(): self.dlgPassword.CloseDialog() return self.dlgPassword.SetSendMessage("/mall_password ") if self.dlgPassword.GetSafeboxPwd() != "": self.dlgPassword.OnAccept() return self.dlgPassword.SetTitle(localeInfo.MALL_PASSWORD_TITLE) self.dlgPassword.ShowDialog() With these functions, if the last entered password is correct, the storages will open automatically with the last entered password. The file is done. Next, open your game.py and search this function: OnSafeBoxError and extend it with this line: self.interface.InitSafeboxPassword() So, as you can see this is the answer from the server to entered wrong password and this function will reset the last entered password as well . That's all, I hope you like it, and have fun.
  5. Avisek

    open I can't login as GM

    Hello, I have problem with logging in as GM: When I am not registereed in common i can login normally, but when i put my IP in gmhost and my ID, password etc in gmlist, game crashs. There are errors in console, but I don't understand it: Can you help me please? Thank you!
  6. raptorcu73

    open Login Interface Problem

    Hello I Have problem about login interface Photo : Here's my loginwindow.py : How can i solve this problem ? Thank You
  7. Distraught

    open login error

    Hey guyz, I put a sysh system to my server and after I deleted the define part (from game and bin too) and removed it from the client. Now I can't login. I input my ID and password and then just Connection in progress.
  8. k1daL

    Homepage backdoor ?

    Hello guys, someone is connecting to my homepage with my admin account... so he has acces to the control panel from the site. Someone told me there is a bug if you connect with the ID : 'user' .... and an existing password on the server it will work to connect to any account or something like this... I didn't understand very well... Did anyone had this problem?
  9. matejko89

    Game Crash Help please

    Hello pls can someone help me i got serverfiles by Signe and client by Signe. I setup everything but when i want to login in normaly starts but after 2secs it close without any error window... HERE is syserr thanks for help 1106 13:19:01060 :: Traceback (most recent call last): 1106 13:19:01060 :: File "ui.py", line 618, in OnSetFocus 1106 13:19:01060 :: AttributeError 1106 13:19:01060 :: : 1106 13:19:01060 :: 'module' object has no attribute 'EnableCaptureInput' 1106 13:19:01060 :: 1106 13:19:04255 :: Traceback (most recent call last): 1106 13:19:04255 :: File "ui.py", line 629, in OnKillFocus 1106 13:19:04255 :: AttributeError 1106 13:19:04255 :: : 1106 13:19:04255 :: 'module' object has no attribute 'DisableIME' 1106 13:19:04255 :: 1106 13:19:04255 :: Traceback (most recent call last): 1106 13:19:04255 :: File "ui.py", line 618, in OnSetFocus 1106 13:19:04255 :: AttributeError 1106 13:19:04255 :: : 1106 13:19:04255 :: 'module' object has no attribute 'EnableCaptureInput' 1106 13:19:04255 :: 1106 13:19:07687 :: Traceback (most recent call last): 1106 13:19:07687 :: File "ui.py", line 629, in OnKillFocus 1106 13:19:07687 :: AttributeError 1106 13:19:07687 :: : 1106 13:19:07687 :: 'module' object has no attribute 'DisableIME' 1106 13:19:07687 :: 1106 13:19:08224 :: Traceback (most recent call last): 1106 13:19:08224 :: File "ui.py", line 618, in OnSetFocus 1106 13:19:08224 :: AttributeError 1106 13:19:08224 :: : 1106 13:19:08224 :: 'module' object has no attribute 'EnableCaptureInput' 1106 13:19:08224 :: 1106 13:19:08225 :: Traceback (most recent call last): 1106 13:19:08225 :: File "ui.py", line 629, in OnKillFocus 1106 13:19:08225 :: AttributeError 1106 13:19:08225 :: : 1106 13:19:08225 :: 'module' object has no attribute 'DisableIME' 1106 13:19:08225 :: 1106 13:19:08225 :: Traceback (most recent call last): 1106 13:19:08225 :: File "ui.py", line 618, in OnSetFocus 1106 13:19:08225 :: AttributeError 1106 13:19:08225 :: : 1106 13:19:08225 :: 'module' object has no attribute 'EnableCaptureInput' 1106 13:19:08225 :: 1106 13:19:08225 :: Traceback (most recent call last): 1106 13:19:08225 :: File "ui.py", line 629, in OnKillFocus 1106 13:19:08225 :: AttributeError 1106 13:19:08225 :: : 1106 13:19:08225 :: 'module' object has no attribute 'DisableIME' 1106 13:19:08225 :: 1106 13:19:08379 :: Traceback (most recent call last): 1106 13:19:08379 :: File "ui.py", line 618, in OnSetFocus 1106 13:19:08379 :: AttributeError 1106 13:19:08379 :: : 1106 13:19:08379 :: 'module' object has no attribute 'EnableCaptureInput' 1106 13:19:08379 :: 1106 13:19:08380 :: Traceback (most recent call last): 1106 13:19:08380 :: File "ui.py", line 629, in OnKillFocus 1106 13:19:08380 :: AttributeError 1106 13:19:08380 :: : 1106 13:19:08380 :: 'module' object has no attribute 'DisableIME' 1106 13:19:08380 :: 1106 13:19:09734 :: Traceback (most recent call last): 1106 13:19:09734 :: File "ui.py", line 618, in OnSetFocus 1106 13:19:09734 :: AttributeError 1106 13:19:09734 :: : 1106 13:19:09734 :: 'module' object has no attribute 'EnableCaptureInput' 1106 13:19:09734 :: 1106 13:19:10024 :: playerSettingModule.py(line:1343) LoadGameData playerSettingModule.py(line:173) __InitData LoadGameData - exceptions.AttributeError:'module' object has no attribute 'EFFECT_AUTO_HPUP' 1106 13:19:10024 :: ============================================================================================================ 1106 13:19:10024 :: Abort!!!!
  10. MORTE

    BUG POT F1 F2 F3 F4

    I need help to correct some potions, what putting on F1, F2, F3 and F4, uses, log out, enter the game by clicking and gives bug and gets the double effect. HELP!?
  11. Hello guys I'm having a severe problem on logging in to my server these days I've been trying to understand what's wrong but nothing makes sence... My partner and other computers are able to login normally but for some reason my login is stuck to "Connecting to server...". However when I input my password wrong the client responds normally saying "Your username or password is wrong". Does anybody know how to help me please?
  12. Hi ! I made a server on VirtualBox with Maxmi 4.1 serverfile and I can connect to server and enter to game but my friends can't. I mean, they can log in but when they select a character, it gives back to log in window. I have opened portmap, I use the serverfile client(friends too) and the serverinfo.py is set properly. On the internet I saw that I should use launcher from surakopf to solve this problem, but it did not work, I think it works only on older clients. Can somebody help me ? (sorry for my english) PS: I'm beginner.
  13. Hi ! I made a server on VirtualBox with Maxmi 4.1 serverfile and I can connect to server and enter to game but my friends can't. I mean, they can log in but when they select a character, it gives back to log in window. I have opened portmap, I use the serverfile client(friends too) and the serverinfo.py is set properly. On the internet I saw that I should use launcher from surakopf to solve this problem, but it did not work, I think it works only on older clients. Can somebody help me ? (sorry for my english) PS: I'm beginner.
  14. Dash

    [BUY]Karma2 Login Interface

    Hi devs i am seraching for karma2 login,select,create,empire interface. https://www.youtube.com/watch?v=R4BPluHOPf0 Skype:-EDIT- Payment method PayPal
  15. Hey guys, I am currently trying to add on my Client the Sash System... but i am having some errors. I compiled the GAME+ DB+ BINARY with no errors, add everything to the server and client... but i get this: My Character Does not have hair... and the second one does not exist... My syserr.txt: 0118 15:39:05700 :: Phase Select does not handle this header (header: 14, last: 32, 14) 0118 15:39:08862 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x80000015, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0118 15:39:08881 :: Hair number 58 is not exist.
  16. John456

    Login from launcher

    Hello, how i can load login information to game from launcher? Thx for help
  17. Hey all! I am trying to implement the 5th class (wolfman / lycan) to my client but when I press ENTER after i put login credentials , the metin window closes. Here's the syserr of the client. Any help would be appreciated.
  18. Bituse

    Website Login Error

    Hello Folks i have a error from my website i dont know what to do about it PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home4/bitusealokin/public_html/inc/loginbar.inc.php on line 30 <?PHP if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) { ?> <table style="margin:20px auto;" id="loginnav"> <tr> <td><?PHP echo ''.$_SESSION['user_coins'].''; ?> Coins</td> </tr> <tr><td><a href="?s=itemshop">Itemshop</a></td></tr> <tr><td><a href="?s=voten">Vote 4 Us</a></td></tr> <tr><td><a href="?s=spenden">Spenden</a></td></tr> <tr><td><a href="?s=passwort">Daten</a></td></tr> <tr><td><a href="?s=charaktere">Charaktere</a></td></tr> <tr><td> <a href="?s=logout">Ausloggen</a></td></tr> </table> <?PHP } else { if((isset($_POST['loginbtn']) && ($_POST['loginbtn']=="Login" || $_POST['loginbtn']=="login") )) { if(!empty($_POST['userid']) && !empty($_POST['userpass']) && checkAnum($_POST['userid']) && checkAnum($_POST['userpass'])) { $password = mysql_real_escape_string($_POST['userpass'])."fdmaklehg2l34"; $sqlCmd = "SELECT id,login,coins,web_admin,email FROM account.account WHERE login LIKE '".mysql_real_escape_string($_POST['userid'])."' AND password=PASSWORD('".$password."') LIMIT 1"; $sqlQry = mysql_query($sqlCmd,$sqlServ); if(mysql_num_rows($sqlQry)>0) { $getAdmin = mysql_fetch_object($sqlQry); $_SESSION['user_id'] = $getAdmin->id; $_SESSION['user_name'] = $getAdmin->login; $_SESSION['user_admin'] = $getAdmin->web_admin; $_SESSION['user_coins'] = $getAdmin->coins; $_SESSION['user_email'] = $getAdmin->email; $updateIP = mysql_query("UPDATE account.account SET web_ip='".mysql_real_escape_string($_SERVER['REMOTE_ADDR'])."' WHERE id='".mysql_real_escape_string($getAdmin->id)."'",$sqlServ); //echo SuccessMessage("Sie haben sich erfolgreich eingeloggt und werden nun weitergeleitet."); echo'<meta http-equiv="refresh" content="0; URL=index.php?s=login"> '; } } } ?> <form action="?s=login" method="POST"> <input placeholder="Benutzername" class="input" name="userid" type="text" size="30" maxlength="30" /> <input placeholder="Passwort" class="input" name="userpass" type="password" size="30" maxlength="40" /> <input type="submit" value="Login" class="button" name="loginbtn"> <input value="Reset" type="reset"/> <br/><br/> <a href="?s=lostpw">Passwort vergessen?</a><br/> <a href="?s=register">Du hast noch keinen Account?</a> </form> <?PHP } ?>Thats the Login script .
  19. fsoldierpt

    In-Game Login

    I have a desktop computer with Virtual Box and connected to the Internet directly to the router and I intend to create there a local server. I already have the serverfiles in the computer and set up the DHCP server and got the IP (192.168.1.70) makes it more a computer connected to your home network. So far so good, I can call the Navicat and Filezilla, even using the putty through the laptop I can connect to the server but when I want to login in the game he always gives me error. I have the client configuration file, with the IP of the machine (192.168.1.70), just do not understand why it does not make login. I also have portmap configured with IP (192.168.1.70). Who will help me? : /
  20. Hello.Im trying to connect my server (40k source-allwip).I removed Ymir license and time ticks - Internal IP problem fixed also I log in succesfully from local client. I cant connect from another computer or remote client. Its shows logging in but when I select character.It drops main login screen.My log is: :: SYSTEM: new connection from [88.25x.xxx.xxx] fd: 15 handshake 1820652733 output input_len 0, ptr 0x29110000 :: Handshake: client_time 0 server_time 137712 :: AUTH_PHASE 0x29110000 :: InputAuth::Login : ninja(5) desc 0x29110000 :: SetLoginKey 358692903 :: InputAuth::Login : key 358692903:0x1fd17db login ninja :: QID_AUTH_LOGIN: START 358692903 0x29110000 :: Create_Time 0 19700101 :: Block Time -2 :: WRONGPWD :: SYSTEM: new connection from [88.25x.xxx.xxx] fd: 21 handshake 3478335047 output input_len 0, ptr 0x29110400 :: SYSTEM: closing socket. DESC #15 :: Handshake: lower than zero -20 :: Handshake: client_time 0 server_time 149553 :: AUTH_PHASE 0x29110400 :: InputAuth::Login : ninja(5) desc 0x29110400 :: SetLoginKey 2016660112 :: InputAuth::Login : key 2016660112:0x5318d7c6 login ninja :: QID_AUTH_LOGIN: START 2016660112 0x29110400 :: Create_Time 0 19700101 :: Block Time -2 :: SetRemainSecs ninja 0 type 2 :: SendAuthLogin ninja key 11906 :: AuthLogin result 1 key 2016660112 :: SYSTEM: closing socket. DESC #21
  21. MORTE

    help login area error

    http://i.imgur.com/kQEoAeP.png after [spoiler] <?PHP ERROR_REPORTING(0); if(!file_exists('./inc/config.inc.php')) { header('Location: install.php'); } session_name("m2hp"); session_start(); require("./inc/config.inc.php"); require("./inc/rights.inc.php"); require("./inc/functions.inc.php"); $sqlHp = mysql_connect(SQL_HP_HOST, SQL_HP_USER, SQL_HP_PASS); $sqlServ = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS); if(!is_resource($sqlServ) OR !is_resource($sqlHp)) { exit("Verbindung zur Datenbank fehlgeschlagen: Abbruch"); } require("./inc/head.inc.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" /> <script type="text/javascript" src="jsp/jquery.core.js"></script> <script type="text/javascript" src="jsp/effects.core.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#reload").click(function(){ $(".display").slideUp(1500,"",function(){ $(".display").load("inc/status.php",function(){ $(".display").slideDown(1500); }); }); }); }); </script> <title>Guerra2 | MMORPG | M2Guerra.org</title> </head> <body> <!--- MENU -----------------------------------------------------> <div id="menu"> <ul> <li><a href="index.php">Home</a></li> <li><a href="index.php?s=cadastro">Cadastrar</a></li> <li><a href="index.php?s=downloads-jogo">Downloads</a></li> <li><a href="index.php?s=rankings">Rankings</a></li> <li><a href="/board">Forums</a></li> <li><a href="index.php?s=loja">Loja</a></li> </ul> </div> <div id="head"> <div class="clear-b"></div> <a><div class="logo hover"></div></a></div> <div id="main_top"></div> <div id="main_main"> <div style="margin-top:-30px;"> <div id="side_top">LOGIN</div> <div id="side_main"> <?php include('inc/loginbar.inc.php'); ?> </div> <div id="side_foot"></div> </div><br> <div id="side_top">TOP 10</div> <div id="side_main"> <?php include('inc/rank.inc.php'); ?><br> <a href="index.php?s=rankings">>> Komplette Rangliste</a> </div> <div id="side_foot"></div> </div><br> <div id="side_top">SERVER INFO</div> <div id="side_main"> <?PHP include 'inc/statusbar.inc.php';?> <center> <div id="reload"><input type="submit" class="btn" value="Reload" name="submit"></div></center> </div> <div id="side_foot"></div> <div style="margin-top:-675px;"> <?PHP $includeDir = ".".DIRECTORY_SEPARATOR."pages".DIRECTORY_SEPARATOR; $includeDefault = $includeDir."home.php"; if(isset($_GET['s']) && !empty($_GET['s'])) { $_GET['s'] = str_replace("0", '', $_GET['s']); $includeFile = basename(realpath($includeDir.$_GET['s'].".php")); $includePath = $includeDir.$includeFile; if(!empty($includeFile) && file_exists($includePath)) { include($includePath); } else { include($includeDefault); } } else { include($includeDefault); } ?> <br><br><br> <br><br><br> <br><br><br> <br><br><br><br><br><br> <br><br><br><br><br><br> <br><br><br><br> </div></div> <div id="main_foot"></div> <div id="footer"> <p>Copyright © by <a href="./">Omega3</a>.<br> All Rights Reserved.<br> Website Design created by <a href="./">MrAiiRmaaX</a>. </p> </div> </body> </html> http://prntscr.com/5rl83a help ?
  22. Hello again, At the moment we are working on 40k files from speedi with vanilla core 2.4.1 Hotfix 2 and we found an error occurre in our syserr which looks like this: SYSERR: Nov 23 21:20:37 :: pid_init: Start of pid: 958 SYSERR: Nov 23 21:20:37 :: ChildLoop: AsyncSQL: query failed: Out of range value for column 'time' at row 1 (query: INSERT INTO bootlog (time, hostname, channel) VALUES(NOW(), 'auth_test', 1) errno: 1264) SYSERR: Nov 23 21:22:40 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down. SYSERR: Nov 23 21:22:40 :: pid_deinit: End of pid MySQL 5.6 with no special changes. - .Domii
  23. Pepineitor

    OX Event - Login Bug Fix

    Hi guys, I'd like to share with you a little bug fix to the ox event. When an OX event is active, and you go to the event, if you press 'esc' you can logout, and after, you login on the question phase that you want. To solve this, you can put this in the ox event quest, in th when login begin end if it does not exist, you put it, and in middle put this code local x,y,evento,mapa = pc.get_x(), pc.get_y(), game.get_event_flag("oxevent_status"),113 if pc.get_map_index() == mapa and evento != 1 and y >= 228 and y <= 264 and x >= 8925 and x <= 9003 then warp_to_village() return end I hope you find it useful, greetings.
  24. Hi I am from Turkey and i have no good English. I installed 34083 untouched files to my vds. But i dont know how can i log in to game. I have 2 problems. The first one navicat mysql problem. 1130 - Host 'xxxxx (an ip)' is not allowed to connect to this MYSQL server. And the second one login pack or file vs. My Skype: finishedversion I dont know anything about ports or create login pack. I hope somebody will help me. Thank you all. Kind regards.
×