Merhaba, Ziyaretçi. Lütfen giriş yapın veya üye olun.
Aktivasyon mailiniz gelmediyse buraya tıklayın.
18, 2008, 01:33:43 pm
42873 Mesaj 8121 Konu Gönderen: 17991 Üye
Son üye: powerturkiye
Turk-Php.Com Forum  |  Yardım Forumları  |  Veritabanı Yardım Forumu  |  Şu yazıyı hakında açıklama yapabilecek olan var mı? « önceki sonraki »
Sayfa: [1] Yazdır
Yazan Konu: Şu yazıyı hakında açıklama yapabilecek olan var mı?  (Okunma Sayısı 934 defa)
CyberLaz
Yeni Kullanıcılar
*
Offline Offline

Mesaj Sayısı: 6


Üyelik Bilgileri
Şu yazıyı hakında açıklama yapabilecek olan var mı?
« : 19, 2007, 06:57:26 pm »

Localde bir php oyun ama bir türlü database sorununu çözemedim, adımları az çok uyguluyorum ama sonuca varmaıyorum,
her defasında The game database is currently unavailable. Please try again later. diye yazıyla karşılaşıyorum


To install Promisance, you will need:

1. A webserver (Apache is preferred)
2. PHP4 version 4.0.5 or greater; you may use a module for your
   webserver, but the CGI binary is required for the turns script
3. PHP GD library 1.8 or greater for the '# players registered' image
   generator
4. MySQL version 3.23.36 or greater
5. Knowledge necessary to configure crontab jobs.

Installing Promisance can be done in nine easy steps:

1. Extract Promisance to its own path, one visible from your web
   server.

2. If you wish to add new races or eras, edit prom.sql to your liking.
   Note that if you wish to add additional eras, you must also edit:
   * funcs.php:      line 201, to define exploration multipliers
                     line 252, to define any era bonuses while taking
                               turns
   * magicfun.php:   line 87, to define the magic spell names
   * promisance.css: line 119, to define the era-specific colors

3. Create a MySQL database for Promisance.
   If you cannot create a database (e.g. you do not have permission),
   you may rename the SQL tables by editing prom.sql and const.php
   accordingly.

4. Create the MySQL tables:
   $ mysql -uusername -p[password] databasename <prom.sql

5. Edit const.php to your liking (taking care to set the database
   host/login/password variables)

6. Browse to the folder in which you have installed Promisance.
   Click the 'Signup' link and create your account.
   You will be given the following privileges:
   * 'Set User' to any other user in the game.
   * User Administration - check for multis, disable/delete accounts,
     etc.
   * Clan Administration - edit any clan as if you are the founder.
   * View Empire Communications - filter through all messages sent
     in-game; this is ideal for bringing attention to usage of
     profanity or any other violations of game rules.

7. Copy the following text into the public page from which you will
   allow users to create accounts and log into Promisance:

<img style="background-color:white;width:48px;height:16px" src="/promisance/promisance.php?action=count&amp;digits=3&amp;style=1" alt="[num]"> Players Registered

<form method="post" action="/promisance/promisance.php?action=login">
<div>
Username: <input type="text" name="login_username" size="8">

Password: <input type="password" name="login_password" size="8">

<input type="submit" name="do_login" value="Login">
</div>
</form>
<a href="/promisance/promisance.php?action=signup">- Create Empire -[/url]

<a href="/promisance/promisance.php?action=top10">- Top 10 Players -[/url]


8. Make a crontab entry to run the turns script:
   "/usr/local/bin/php turns.php"
   substituting the proper path to the PHP CGI binary.
   Schedule it according to the settings you chose in const.php.

9. If you wish to use the game's directory as a front page, you may
   edit index.php, removing the Header("...") command and replacing it
   with code to generate your own front page.

Notes:
    The first account created is given administrative privileges.
It is flagged such that other empires are not capable of attacking or
sending aid to you.  As such, you will also be unable to access the war
center and you will not be allowed to join clans.
    Through User Administration, you may appoint other users to be
administrators, giving them the same abilities and restrictions as
you.
« Son Düzenleme: 19, 2007, 07:00:43 pm Gönderen: CyberLaz » Logged
zombie
Global Moderatör
*
Offline Offline

Mesaj Sayısı: 940



Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #1 : 20, 2007, 09:05:33 am »

oyun veritabanına şu an ulaşılamıyor diyor. altta ise oyunu nasıl kuracağını anlatıyor.
Logged

pinar_m
PHP Memuru
***
Offline Offline

Mesaj Sayısı: 659


phplife


Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #2 : 20, 2007, 09:17:58 am »

sözlüğüm nerde benim  laugh laugh
Logged

başarının anahtarı beyinde şakak zorlamadan geçer.başlangıç çizgisinden geçmeyen hile yaptığını anlar ve finişe varamadan geri döner.
CyberLaz
Yeni Kullanıcılar
*
Offline Offline

Mesaj Sayısı: 6


Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #3 : 20, 2007, 12:06:41 pm »

oyun veritabanına şu an ulaşılamıyor diyor. altta ise oyunu nasıl kuracağını anlatıyor.

evet veri tabanına ulaşılamadığını tekrar denememi söylüyor, ama benim için önemli olan altta yazan oyunun kurulumundaki yazının açıklaması, ilgin için tşk
Logged
jetblack
PHP Stajyeri
**
Offline Offline

Mesaj Sayısı: 156


Üyelik Bilgileri WWW
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #4 : 20, 2007, 01:43:05 pm »

3. ve 4. adım = Veritabanı yaratıp prom.sql dosyasındaki tabloları import et
5. adım = const.php dosyasına veritabanı adı, sunucu, kullanıcı adı, şifre bilgilerini gir

Bu adımları uyguladın mı?

İyi çalışmalar.
Logged

CyberLaz
Yeni Kullanıcılar
*
Offline Offline

Mesaj Sayısı: 6


Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #5 : 22, 2007, 09:22:37 am »

Kod:
4. Create the MySQL tables:
   $ mysql -uusername -p[password] databasename <prom.sql

Bunun anlamı nedir, ne yapmam gerekiyor
Logged
Nazgul2
Nazgul
PHP Stajyeri
**
Offline Offline

Mesaj Sayısı: 159


Gentlemen, welcome to Fight Club


Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #6 : 25, 2007, 07:38:34 am »

Kod:
4. Create the MySQL tables:
 $ mysql -uusername -p[password] databasename <prom.sql

Bunun anlamı nedir, ne yapmam gerekiyor

Mysql tablonda kullanıcı adı ve parola oluşturmanı ve bunları prom.sql e girmeni istiyor
Logged

1st&2nd: You do not talk about Fight Club!
3rd: If someone says "stop" or goes limp, taps out the fight is over.
4th: Only two guys to a fight.
5th: One fight at a time.
6th: No shirts, no shoes.
7th: Fights will go on as long as they have to
8th: If this is your first night, you have to fight.
CyberLaz
Yeni Kullanıcılar
*
Offline Offline

Mesaj Sayısı: 6


Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #7 : 21, 2007, 07:37:30 pm »

Security Violation
We have determined that you are accessing the game the wrong way, or an error might have occurred.
You may NOT access in-game pages via bookmarks!
If this error persists take the following steps in the following order:
1) Return to http://cyberlaz.info/ and re-login.
2) Upgrade your internet browser.
3) Contact the game administrator at admin@yoursite.com
4) Contact your ISP.
 
Arkadaşlar bunu nasıl geçebilirim
Logged
mrtblt
Yeni Kullanıcılar
*
Offline Offline

Mesaj Sayısı: 21


Üyelik Bilgileri
Ynt: Şu yazıyı hakında açıklama yapabilecek olan var mı?
« Yanıtla #8 : 20, 2008, 04:02:49 pm »

Vazgec abi bu sevdadan Smiley
Logged
Sayfa: [1] Yazdır 
« önceki sonraki »
Gitmek istediğiniz yer:  


Turk-Php.Com Forum | SMF Forum Software © 2005, Simple Machines LLC. All Rights Reserved.