Jump to content
  • 0

L2 Site Script


Ma3x*

Question

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.

 

 

 

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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. )

Link to comment
Share on other sites

  • 0

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??

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

Kai meta anigw smartftp k to bazw mesa ekei?

 

Nai . Kserontas omos prota pos na ta kaneis install . Den ta bazeis opou thes.

Link to comment
Share on other sites

  • 0

: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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • I can use this folder system for High Five offline server?   The folder does not have a l2.exe file.   Thank you very much if anyone can help me.   https://drive.google.com/file/d/13kU-g_4JJ-sP-kg2F7pqkUOVKmQdubFm/view
    • I know, but...every time I have problem with IP address setup 😞
    • ENGLISH As you know, we have always profiled in the development of Java emulators, we continue to do our favorite thing, and now we have the opportunity to provide you with services in the field of private development of L2 assemblies Essence, Classic and High Five, which we have been doing in recent years, we have not been working on basic builds for a long time and work only on contracts for the world's best projects. These are the best builds we can offer, we have test servers and we can show them to you on the test, and if you are very good at gameplay, you will see a big difference in the quality and detail of the official content compared to the basic builds. These are the best top solutions in the world, which are currently used to implement the largest projects in the world. We guarantee 100% implementation of all official content. If you have any questions about testing, discussions, etc., please contact our studio and we will discuss everything. At the moment, you can get acquainted with the preliminary information and prices for Private L2 contracts here: Private Server packs L2 Essence 464, 447, 388, 362, 286 protocols Private server packs L2Classic Private server pack High Five РУССКИЙ --------------------------------------------- Как вы знаете мы всегда профилировались на разработке в сфере Java эмуляторов, мы продолжаем заниматься своим любимым делом, и сейчас у нас появилась возможность предоставлять вам услуги в сфере приватных разработок L2 сборок Essence, Classic и High Five, которыми мы занимаемся последние годы, мы уже давно не работаем над базовыми сборками и работаем только на контрактах для лучших мировых проектов. Это лучшие сборки, которые мы можем предложить, у нас есть тестовые сервера, и мы можем показать их вам на тесте, и если вы очень хорошо разбираетесь в игровом процессе, вы увидите большую разницу в качестве и детализации официального контента по сравнению с базовыми сборками. Это лучшие топовые решения в мире, которые на данный момент используются для реализации крупнейших проектов в мире. Мы даем гарантии - 100% реализации всего официального контента. По вопросам тестирования, обсуждений и тд - пишите по контактам нашей студии и мы все обсудим. На данный момент вы можете ознакомиться с предварительной информацией и ценами на Приватные контракты L2 тут: Приватные Сборки L2 Essence 464, 447, 388, 362, 286 protocols Приватные Сборки L2Classic Приватная Сборка High Five -------------------------------------------------------------- Contacts: Telegram: https://t.me/L2scripts Whatsapp, Viber: +1 (916) 226 1910 С уважением, Администрация !
    • I can sell it. If you are interested just pm.
  • Topics

×
×
  • Create New...