Can I get help with this ..

fierce

New Member
Messages
222
Reaction score
0
Points
0
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:

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
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...
 

fierce

New Member
Messages
222
Reaction score
0
Points
0
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..:mad: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:

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
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.
 

rima123

New Member
Messages
9
Reaction score
0
Points
0
oh! this discussion board is intresting im learning alot as newbie... thanks guys
 

fierce

New Member
Messages
222
Reaction score
0
Points
0
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:
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:
Top