Jump to content
  • 0

L2 Site Script


Question

Posted

Paidia mpori kapios na me boh8isei me ena mono script gia n  mporw meta na ta kanw monos m?

 

p.x

Auto to script ti 8a alla3w k pou 8a to anebasw gia na douleuh??

Einai gia ta top 10 player..To brika apo ena site p ekana download.

 

 

 

14 answers to this question

Recommended Posts

  • 0
Posted

Exo kanei ena guide pou sou leei to pos na kaneis add + edit ta arxeia gia to website sou.

 

An psakseis , tha to breis . ' how to edit your website using ftp client '

 

Sto meros pou lew pos na baleis ta arxeia sto website sou , esy bazeis auta ta php scripts.

 

PS : Prepei na kaneis edit ta configs , gia na mporei na sindethi me ton server sou. Mysql ktlp.

  • 0
Posted

Exo kanei ena guide pou sou leei to pos na kaneis add + edit ta arxeia gia to website sou.

 

An psakseis , tha to breis . ' how to edit your website using ftp client '

 

Sto meros pou lew pos na baleis ta arxeia sto website sou , esy bazeis auta ta php scripts.

 

PS : Prepei na kaneis edit ta configs , gia na mporei na sindethi me ton server sou. Mysql ktlp.

Wraia file 8a to psa3w..

Pirazei p o server einai se allo pc k to script se allo?

dld prepei n einai k ta 2 se ena?

  • 0
Posted

Wraia file 8a to psa3w..

Pirazei p o server einai se allo pc k to script se allo?

dld prepei n einai k ta 2 se ena?

 

Einai kalitero na exeis kai to site + ton server se ena pc.

 

Allios an exeis ton server kai to site se diaforetika pc , tha xriasteis ena allo php script to opoio tha sindeei to site me ton server sou. ( bazontas ip's etc. )

  • 0
Posted

Ok file..

Exw auto to code...

<?php

//first you need to define db info

 define('mySQL_hostname', '127.0.0.1'); pws 8a dw to hostname apo to mysql?  //database IP

 define('mySQL_database', 'Database');pws 8a dw to onoma apo tin database?? //database name

 define('mySQL_username', 'User')To user einai root?;  //database user

 define('mySQL_password', 'Pass') ean dn exw kodiko ti bazw??;  //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 $ia

   }

  print 'Online players:<em>'.$x.'<em>'; //prints out the $x number of players online

?>

Auto to code pws 8a to fria3w dld 8a ani3w ena notepad k 8a to kanw c/p??

Pws mporo na brw script..?Search---> Site script??

  • 0
Posted

To mySQL hostname eine localhost.

 

To onoma tis database sou tha to breis apo navicat.

 

To username tis db eine sinithos root.

 

An den exeis password , den bazeis tipota.

  • 0
Posted

File akoma kt pws to ftiaxno anige notepad k c/p?

To onoma tis database dld l2jdb?

 

Notepad i wordpad . Oti se boleuei.

 

An exeis auto to onoma gia database , nai.

  • 0
Posted

:S:S mesa sto guide s ta leei auta?

 

Einai to idio . Kai ta arxeia enos template .php einai.Min agxonesai kai tha ta katafereis.

 

Request to lock.

Guest
This topic is now closed to further replies.


  • Posts

    • Only 3 days left and we'll start with some events, you can check our Discord for more info!
    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before! Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.
    • I agree, l2damage crap to compare to l2java which was the father of pvp servers and till this days people playing there for good time.
    • 📝 Registration — Account Registration Creating a new player account. Usually includes: login password password confirmation email Result: a new record is created in the accounts table (loginserver). 🔑 Change Password — Password Change The player changes the password knowing the current one. Required: current password new password new password confirmation Result: the password field is updated in the accounts table. ♻️ Password Recovery — Password Reset If the player forgot the password. Implementation only via email: the player enters their login, email the system sends an email with a link or code the player opens the link / enters the code sets a new password Result: the password is updated in the accounts table.   All fields are validated (required, format, length, uniqueness, security checks).   Price: 80$   and i can rewrite script for PTS server.   Contacts:   Telegram Discord
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..