Jump to content

Wolominiarz

Members
  • Posts

    3
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Wolominiarz's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Hi, I would love to pitch in to the MaNGOS project. I am currently working on a home project that is nearly completed. It is a MaNGOS gameserver realm encouraging people to report bugs and help developing. Whether you think this is a good idea I don't know and that's why it is not online yet. I unfortunarley do not have any experience with C++ but on the other hand I am interested in PHP, MYSQL, Javascript, Python<-(not much experience). A long time ago when I ran my first MaNGOS standard WoW server one was able to contibute by scripting bosses or adding items to the database. That is what I had in mind and what I believe that I can help you with if that is still something relevant. Please do PM me and let me know how I could pitch in. Basically what I would need is some more links to more detailed info on how things work. Is everything in MaNGOS now basically located in the core? Best Regards
  2. Hi there everyone, I'm attempting to create a registration form in php for my mangos server. I have partially succeeded, I've managed to input the data into my accounts table but I cannot login. I think that there is something wrong with my sha_pass_hash string. What I do is to let the person registering type in his username, pass and email. The mangos wiki says that the format of the hash is a sha1 encrypted string and looks like "username:password". So what I do in my php script is this: $hash = sha1($username.":".addslashes($_POST['password'])); however that does not seem to work because i cannot login. The full code goes like this: <?php include '../cfg.php'; $usr = addslashes($_POST['usr']); $pss = addslashes(sha1($_POST['pss'])); $rep = addslashes(sha1($_POST['rep'])); $mail = addslashes($_POST['mail']); $exp = addslashes(2); $err = false; $hash = sha1($usr.":".addslashes($_POST['pss'])); if(strlen($usr) < 4){ $err = true; } if($pss != $rep){ $err = true; } if($err == true){ header('Location: reg_fail.php'); }else{ $con = mysql_connect($host,$user,$pass)or die("Could not connect"); mysql_select_db('realmd',$con)or die("Could not select"); mysql_query("INSERT INTO account (username,sha_pass_hash,email,joindate,expansion) VALUES ('$usr','$hash','$mail',NOW(),'$exp')")or die(mysql_error()); mysql_close($con); header('Location: reg_success.php'); } ?> Any suggestions? I could also replace the $hash with SHA1(CONCAT(UPPER('$usr'), ':', UPPER('$_POST['pss']'))), would that make a difference? Best regards Wolominiarz EDIT : Problem solved! Thanks anyway
  3. Hi, I have successfully compiled and configured mangos on linux. The only thing missing now is me extracting the vmaps, dbc and maps. When I try to do this I dont get any errorlogs and an empty dbc and vmaps folder ? the files i'm using are: ad.exe makevmaps_SIMPLE.bat make_vmaps.bat splitConfig.txt<-----------(MISSING! Could this be the problem?) vmap_assembler.exe vmap_extractorv3.exe Those are the files i get on both my windows and linux system. In the from the simple vmap maker I managed to catch some errors however they do not transfer to a log. The program says no errors and yet it fails to open all .MPQ directories, and yes they are there.... every single one needed wich it claims it cannot fint. Any ideas of what might be wrong. I want to run a WoW:WotLK 3.3.5a server and I have installed WoW, WoW:BC and WoW:WotLK and patched up to 3.3.5a enGB, AND played on other private servers with this patch. Best regards Wolominiarz
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use