Jump to content

WANTED13

Members
  • Posts

    172
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by WANTED13

  1. Ive decided to make this thread cuz theres allot of good servers out there with pages looking like something frontpage would spit out.. besides it was time to give something back to the rz community =) I could post all scripts from castle sieges to clan hall owners lol.. but i will just post this 3 for example.. and ofcourse learning purposes.. Server Status: anyway status script is the easyest thing to do with php.. and i wont even try to explain it since its mostly obvious.. <?php print'<table width="150">'; $server = "127.0.0.1"; $portg = "7777"; $portl = "9014"; $timeout = "5"; if ($server and $port and $timeout) { $game = @fsockopen("$server", $portg, $errno, $errstr, $timeout); $login = @fsockopen("$server", $portl, $errno, $errstr, $timeout); } print'<tr><td align="center"><strong>Server Status</strong></td></tr>'; if($login) { print'<tr><td>Login:</td><td><font color="#00FF00"><strong> Online</strong></font><br><br></td></tr>'; } else { print'<tr><td>Login:</td><td><font color="#FF0000"><strong> Offline</strong></font><br><br></td></tr>'; } if($game) { print'<tr><td>Game:</td><td><font color="#00FF00"><strong> Online</strong></font></td></tr>'; } else { print'<tr><td>Game:</td><td"><font color="#FF0000"><strong> Offline</strong></td></tr>'; } print'</table>'; ?> Acc creation: I wasted allot of time to get to know what encryption l2 uses for passwords.. anyway i wanted to spare you some time.. First create acc.php file in same directory as index.. and add this script to it <?php define('mySQL_hostname', '127.0.0.1'); //database IP define('mySQL_database', 'Database'); //database name define('mySQL_username', 'User'); //database user define('mySQL_password', 'Pass'); //database password function l2j_encrypt($password) { return base64_encode(pack("H*", sha1(utf8_encode($password)))); } $str = l2j_encrypt($_POST['pass']); $user = $_POST["name"]; $db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password ) or die( 'Error connecting to mysql<br><br>'.mysql_error() ); $db_select = mysql_select_db( mySQL_database, $db_link ) or die( 'Error connecting to Database<br><br>'.mysql_error() ); if ($user == '') { print'Incorrect UserID'; mysql_close(); } else { $db_add = mysql_query( "INSERT INTO `accounts` VALUES ('$user', '$str', '0', '0', '')" ) or die( 'Error: '.mysql_error() ); } print 'Account Created<br><br>Enjoy youre gameplay.'; mysql_close(); ?> after that add this to index <form action="acc.php" method=post> UserID:<input type="text" name="name" size 20><br><br> Password:<input type="password" name="pass" size 20><br><br> <input type=submit name="submit" value="Login"> </form> Online Players: This script connects to the database(that means you need to have php connected to sql.. if you need any help with it try searching with google for apache php mysql install guides and i bet first link will work). Ive explained some of the code.. so learning from it should be easy.. <?php //first you need to define db info define('mySQL_hostname', '127.0.0.1'); //database IP define('mySQL_database', 'Database'); //database name define('mySQL_username', 'User'); //database user define('mySQL_password', 'Pass'); //database password //connects to mysql $db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password ) or die( 'Error connecting to mysql<br><br>'.mysql_error() ); //connects to Database $db_select = mysql_select_db( mySQL_database, $db_link ) or die( 'Error connecting to Database<br><br>'.mysql_error() ); //selects desired table $chars=mysql_query("SELECT * FROM characters"); //tells how much rows are there (will come helpfull with while loops) $rows =mysql_numrows($characters); $i=0; $x=0; //while $i is smaller than number of rows repeat the code while ($i < $rows) { $online=mysql_result($chars,$i,"online"); //looks into characters table, under column online(if player is online its "0" else "1"), at row $i if ($online == 1) { $x++; } // if column online at row $i is "1", increase $x $i++; //increase $i } print 'Online players:<em>'.$x.'<em>'; //prints out the $x number of players online ?> sometimes you will only get for example clan id.. not the name of it.. and in that case i suggest you use 2 whiles (one inside the other) to check other tables for names... hope it was helpful.. enjoy :) -WANTED13
  2. pedia eleos ego den exo kolisi io alla prospa8o na egatastiso ena game kai den ginete patao setup kai den mou kani tpt kai meta apo 5 lepta mou bgazi ena error me kani tetia 00x00x00 kati tetia gtttttttt???
  3. akou pigene se enan texniko kai pestou na sou kratisi ta files pou 8es se ena cd kai meta kanto format! p.s to exo pa8i alla me ena restart mou ksanaanikse!
  4. ena format den blapti den einai kai diskolo misi ora doulia! p.s: den xero an isxih alla ego eixa kolisi enan io kai to eixe bri to AVG Anti virus kai brika to name tou iou kai ekana search se olo to pc kai molis to brika to esbisa kai meta ksanaekana scan kai den to ebriske opote sbistike gia dokimaseto an 8es! Gia tous fakelous 8a fteei o ios malon!!! Poli ts@nt.. blepis :P :P
  5. file prosexo an kai den nomizw na gini kapio leaching an gini kapio leaching 8a kano delete auto to leaching lipon Welcome kai esi kai elpizo na aneboume eidi exo kati atoma mesa kai 8a mpoun kiali
  6. o skopos tou einai na mazepsi kosmo kai na sizitame gia afta ta pexnidia na boi8ame o enas ton alon pistebo pos ta Top games tou MxC einai Lineage2 Kai World Of Warcraft kai CS sto diko mou Forum 8a i8ela nane kati diaforetiko oxi sinexia ta idia kai ta idia ok to checara to domain
  7. pedia eftiaksa to forum to magkaki13 me boi8ise para poli kai telika eftiaxa to forum pou ithela ! prosorina einai Smffree dld! Link: Sorry la8os link http://www.smffree.com/forums/GamingSpot/index.php se ligo kero 8a agorasoume domain! p.s ama einai Leaching plz mi brisete pitetomou na to dior8oso an einai kati antigrameno pou den nomizo gt einai entelos diaforetiko forum! tyyyyyy -WANTED13
  8. Angelina Jolie re pedia afou exi to esthima na trabaei tous antres :P Den lew pos i ales einai asximes alla ego pistebo i jolie einai i pio omorfi
  9. pedia sxediazo na kano ena forum gia games ektos lineage2 world of warcraft kai lipa den 8a kano leach :P 8elo kapies odigies omos 8a balo Smffree 1.1.7 alla 8elo na matho pos energopiounte ta Recent Posts kai pos ginete na fenonte ta xromata ton names mesa sto topic kai apexo! ty molis to ftiaxo 8a sas to po edo gia na mi nomizete oti 8a kano leaching :P
  10. Good Job alla nomizo pos auto einai odigos dior8oseto se [Guide] apo oti 8imame gt exo na mpo poli kero!
  11. 8es na pis oti i ATI einai moufa karta grafikwn? 0xa0x0a0
  12. den lew oti einai axristo pc tou anni alla axizoun pio poli auta a 2
  13. exo kani sex kai na einai i gonis m sto diplano domatio alla den exi tixi na krifakoune! :D exis paei se mpourdelo?
  14. http://www.e-shop.gr/show_per.phtml?id=PER.910031 paromios me 800 euro :S episis oso gia ta 1000 euro pou poulages axizi pio poli auto: http://www.e-shop.gr/show_per.phtml?id=PER.912170
  15. pite to agapimeno faei sas!!!!! emena prosopika einai: pastitsio Goodys: Green Special gOLDEN mCdONALTS: Chiken!!!
  16. 8elo na anikso enan pvp server 8a mporouse kanis na mou pi ti 8a xriazomouna gia na exo arketa atoma? Episis eixa ena server kai bgike apo hopzone tora pou pao na to xanabalo sinexia aporiptome to exo on sinexia alla tpt Help Fast!
  17. Pedia auto to guide to kano gia merika atoma pou zitane help opote 8a tous doso ta antistixa topic me to idio 8ema pou exoun li8i omos oste na min postaroun tsampa!!! pedia merika guide pou den einai psilolimena epidi einai merika newbies pou den ta polikatalabenoun alla members mpori na ta katalabeni Oriste: http://www.maxcheaters.com/forum/index.php?topic=42277.0 http://www.maxcheaters.com/forum/index.php?topic=42010.0 http://www.maxcheaters.com/forum/index.php?topic=40699.0 http://www.maxcheaters.com/forum/index.php?topic=42268.0 http://www.maxcheaters.com/forum/index.php?topic=41703.0 http://www.maxcheaters.com/forum/index.php?topic=42089.0 http://www.maxcheaters.com/forum/index.php?topic=42064.0 http://www.maxcheaters.com/forum/index.php?topic=41956.0 http://www.maxcheaters.com/forum/index.php?topic=41919.0 http://www.maxcheaters.com/forum/index.php?topic=41793.0 http://www.maxcheaters.com/forum/index.php?topic=41881.0 http://www.maxcheaters.com/forum/index.php?topic=41792.0 den bazo giati einai to ka8e ti to newbie 8a psaxi mono tou!!! update:20/12/08 episis 8a ebaza kai pio pola alla den exo xrono!
  18. Welcome Man! 8a mporouses na kitaxis auto ton odigo http://www.maxcheaters.com/forum/index.php?topic=38846.0 8a se boi8isi gia oneo Diko m einai :P Prosexe ta port! kai eisai se la8os section otan 8es help 8a eisai edo http://www.maxcheaters.com/forum/index.php?board=67.0 Kita kai ta rules!
  19. Hi eftiaxa ena new trader pou poulaei Artherias Armors! Download Link: http://rapidshare.com/files/172651862/Artherias_Trader_By_WANTED13.zip.html 1 Screen http://img383.imageshack.us/img383/shot00000jr4.png/1/w800.png[/img] 2 Screen http://img211.imageshack.us/img211/791/shot00001ir6.png[/img] http://img211.imageshack.us/img211/shot00001ir6.png/1/w800.png[/img] Plz No Spam
  20. 1)an to pack den exi kala configs exi simasia to ti pack exi 2)ports sou leei exi aniksi 3)ego ipopsiazome to no-ip isos na exis dikio gia to update :)
  21. Welcome Lipon!!! katarxas eisai se la8os section edo na postaris oti problima exis http://www.maxcheaters.com/forum/index.php?board=67.0 kita kai ta Rules! katarxas ti pack exis? sto external exis bali tin no-ip? gt kai ego forthnet exo :P kai exo kanonika server
  22. oxi! exis pesi pano se anr8opo katala8os? (ego nai 0xa0x0a)
  23. pedia ola afta einai sosta pou lete alla an to pedi 8eli na exi ton server tou online gia tous Friend tou prepi na aniksi ports 2106/7777/9014/80 gia website kai 8a xriasti kai no-ip Ola ta alla search
×
×
  • 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