+ Reply to Thread
Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: Can I get help with this ..

  1. #21
    fierce's Avatar
    fierce is offline x10 Sophmore fierce is an unknown quantity at this point
    Join Date
    Jul 2008
    Location
    Macedonia
    Posts
    222

    Re: Can I get help with this ..

    Can some1 tell me how to do this
    4. Create the MySQL tables:
    $ mysql -uusername -p[password] databasename <prom.sql
    Edit:
    Better said.. the person that will help me to complete these 9 steps and launch this game will get all my credits..I rly need help..this is what it takes..

    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<br>
    <form method="post" action="/promisance/promisance.php?action=login">
    <div>
    Username: <input type="text" name="login_username" size="8"><br>
    Password: <input type="password" name="login_password" size="8"><br>
    <input type="submit" name="do_login" value="Login">
    </div>
    </form>
    <a href="/promisance/promisance.php?action=signup"><b>- Create Empire -</b></a><br>
    <a href="/promisance/promisance.php?action=top10"><b>- Top 10 Players -</b></a><br>

    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.
    I have problems with step 1,4,6 and 8
    Last edited by fierce; 09-07-2008 at 09:28 AM. Reason: Automerged Doublepost

  2. #22
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Can I get help with this ..

    for the step number 4 :- setting up a database, That command is to be executed in a mysql prompt.. you can also do the same thing by the below way...

    go to the phpmyadmin in control , Select MySql database icon.

    Complete database setting like database creation, user creation, previlages assignment can be done in this page...

    Type in the database name ie prom
    and click ok
    click go back to create a new user

    next create a user if a db user does not exist.

    to do this, just specify a username and password and submit it...


    click go back to assign previlages...

    at the bottom, you can select the database name "prom" from the drop down list, and select the username from the next drop down list...

    click the button..
    in the next screen, you can select what previlages need to be given to the user... and click ok...
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  3. #23
    fierce's Avatar
    fierce is offline x10 Sophmore fierce is an unknown quantity at this point
    Join Date
    Jul 2008
    Location
    Macedonia
    Posts
    222

    Re: Can I get help with this ..

    Quote Originally Posted by sunils View Post
    for the step number 4 :- setting up a database, That command is to be executed in a mysql prompt.. you can also do the same thing by the below way...

    go to the phpmyadmin in control , Select MySql database icon.

    Complete database setting like database creation, user creation, previlages assignment can be done in this page...

    Type in the database name ie prom
    and click ok
    click go back to create a new user

    next create a user if a db user does not exist.

    to do this, just specify a username and password and submit it...


    click go back to assign previlages...

    at the bottom, you can select the database name "prom" from the drop down list, and select the username from the next drop down list...

    click the button..
    in the next screen, you can select what previlages need to be given to the user... and click ok...
    i know how to make a database but you can't make database like prom.sql coz you can't use . and why when i hit the create empire button on the homepage promisance.exofire.net the error 404 appears.. and i have the promisance.exofire.net/promisance directory..i think the directory in which the game is it is not visible from the web server.. i don't know why :S
    Last edited by fierce; 09-08-2008 at 07:33 AM.

  4. #24
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: Can I get help with this ..

    But when i hit the create empire button, without signing in, i get the following..

    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://www.promisance.exofire.net and re-login.
    2) Upgrade your internet browser.
    3) Contact the game administrator at admin@promisance.exofire.net
    4) Contact your ISP.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  5. #25
    rima123 is offline x10Hosting Member rima123 is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    9

    Re: Can I get help with this ..

    oh! this discussion board is intresting im learning alot as newbie... thanks guys

  6. #26
    fierce's Avatar
    fierce is offline x10 Sophmore fierce is an unknown quantity at this point
    Join Date
    Jul 2008
    Location
    Macedonia
    Posts
    222

    Re: Can I get help with this ..

    Quote Originally Posted by sunils View Post
    But when i hit the create empire button, without signing in, i get the following..
    yes becoz i changed the directory as i uploaded the game in home/fierce/public_html..now i don't know why that window appears..
    I REPEAT...I GIVE ALL MY CREDITS TO THE MAN THAT WILL HELP ME LAUNCH MY PROJECT..you can download it @ promisance.sourceforge.net ..look @ it and tell me how to launch it ..
    Thx in advance...
    fierce
    Edit:
    Quote Originally Posted by fierce View Post
    yes becoz i changed the directory as i uploaded the game in home/fierce/public_html..now i don't know why that window appears..
    I REPEAT...I GIVE ALL MY CREDITS TO THE MAN THAT WILL HELP ME LAUNCH MY PROJECT..you can download it @ promisance.sourceforge.net ..look @ it and tell me how to launch it ..
    Thx in advance...
    fierce
    Warning: mysql_query() [function.mysql-query]: Access denied for user 'fierce'@'localhost' (using password: NO) in /home/fierce/public_html/funcs.php on line 107

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/fierce/public_html/funcs.php on line 107

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fierce/public_html/funcs.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/fierce/public_html/funcs.php:107) in /home/fierce/public_html/html.php on line 62

    Warning: Cannot modify header information - headers already sent by (output started at /home/fierce/public_html/funcs.php:107) in /home/fierce/public_html/html.php on line 63

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'fierce'@'localhost' (using password: NO) in /home/fierce/public_html/gameranks.php on line 8

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/fierce/public_html/gameranks.php on line 8

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/fierce/public_html/gameranks.php on line 10
    :dunno:
    Last edited by fierce; 09-08-2008 at 03:39 PM. Reason: Automerged Doublepost

+ Reply to Thread
Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers