- Греша ли някъде в настройките на тоя скрипт?
WT форуми -> PHP MySQL ASP.NET -> Греша ли някъде в настройките на тоя скрипт?
Създайте нова тема Напишете отговор 
Автор Съобщение
Soul_Stealler
Tourist Defender

Регистриран на: 20/12/2005 5:52 pm

Support: 112
Bonus: 294
Мнения: 3557
Мнение 13/03/2006 2:18 pm     Греша ли някъде в настройките на тоя скрипт? Отговорете с цитат


Греша ли някъде в настройките на тоя скрипт, че не иска да тръгне една игра:


Оригиналния скрипт:

<?php

// Path on the filesystem where the blacknova files
// will reside:
$gameroot = "/usr/local/www/blacknova";

// The ADOdb db module is now required to run BNT. You
// can find it at http://php.weblogs.com/ADODB. Enter the
// path where it is installed here. I suggest simply putting
// every ADOdb file in a subdir of BNT.
$ADOdbpath = "ADOdb";

// Domain & path of the game on your webserver (used to validate login cookie)
// This is the domain name part of the URL people enter to access your game.
// So if your game is at www.blah.com you would have:
// $gamedomain = "www.blah.com";
// Do not enter slashes for $gamedomain or anything that would come after a slash
// if you get weird errors with cookies then make sure the game domain has TWO dots
// i.e. if you reside your game on http://www.blacknova.net put .blacknova.net as $gamedomain. If your game is on http://www.some.site.net put .some.site.net as your game domain. Do not put port numbers in $gamedomain.
$gamedomain = ".blacknova.net";

// This is the trailing part of the URL, that is not part of the domain.
// If you enter www.blah.com/blacknova to access the game, you would leave the line as it is.
// If you do not need to specify blacknova, just enter a single slash eg:
// $gamepath = "/";
$gamepath = "/blacknova/";

// Hostname and port of the database server:
// These are defaults, you normally won't have to change them
$dbhost = "localhost";

// Note : if you do not know the port, set this to "" for default. Ex, MySQL default is 3306
$dbport = "";

// Username and password to connect to the database:
$dbuname = "blacknova_user";
$dbpass = "blacknova_pass";

// Name of the SQL database:
$dbname = "blacknova_db";

// Type of the SQL database. This can be anything supported by ADOdb. Here are a few:
// "access" for MS Access databases. You need to create an ODBC DSN.
// "ado" for ADO databases
// "ibase" for Interbase 6 or earlier
// "borland_ibase" for Borland Interbase 6.5 or up
// "mssql" for Microsoft SQL
// "mysql" for MySQL
// "oci8" for Oracle8/9
// "odbc" for a generic ODBC database
// "postgres" for PostgreSQL ver < 7
// "postgres7" for PostgreSQL ver 7 and up
// "sybase" for a SyBase database
// NOTE: only mysql work as of right now, due to SQL compat code
$db_type = "mysql";

// Set this to 1 to use db persistent connections, 0 otherwise
$db_persistent = 1;

/* Table prefix for the database. If you want to run more than
one game of BNT on the same database, or if the current table
names conflict with tables you already have in your db, you will
need to change this */
$db_prefix = "bnt_";

// Administrator's password and email:
// Be sure to change these. Don't leave them as is.
$adminpass = "secret";
$admin_mail = "billg@microsoft.com";

// Address the forum link, link's to:
$link_forums = "http://forums.blacknova.net";
?>



с мойте настройки:
<?php

// Path on the filesystem where the blacknova files
// will reside:
$gameroot = "/projects/Black%20Nova%20Traders%20Tha%20Game/";

// The ADOdb db module is now required to run BNT. You
// can find it at http://php.weblogs.com/ADODB. Enter the
// path where it is installed here. I suggest simply putting
// every ADOdb file in a subdir of BNT.
$ADOdbpath = "ADOdb";

// Domain & path of the game on your webserver (used to validate login cookie)
// This is the domain name part of the URL people enter to access your game.
// So if your game is at www.blah.com you would have:
// $gamedomain = "www.blah.com";
// Do not enter slashes for $gamedomain or anything that would come after a slash
// if you get weird errors with cookies then make sure the game domain has TWO dots
// i.e. if you reside your game on http://www.blacknova.net put .blacknova.net as $gamedomain. If your game is on http://www.some.site.net put .some.site.net as your game domain. Do not put port numbers in $gamedomain.
$gamedomain = "http://84.21.199.82";

// This is the trailing part of the URL, that is not part of the domain.
// If you enter www.blah.com/blacknova to access the game, you would leave the line as it is.
// If you do not need to specify blacknova, just enter a single slash eg:
// $gamepath = "/";
$gamepath = "/projects/Black%20Nova%20Traders%20Tha%20Game/";

// Hostname and port of the database server:
// These are defaults, you normally won't have to change them
$dbhost = "localhost";

// Note : if you do not know the port, set this to "" for default. Ex, MySQL default is 3306
$dbport = "3306";

// Username and password to connect to the database:
$dbuname = "******";
$dbpass = "******";

// Name of the SQL database:
$dbname = "blacknova_db";

// Type of the SQL database. This can be anything supported by ADOdb. Here are a few:
// "access" for MS Access databases. You need to create an ODBC DSN.
// "ado" for ADO databases
// "ibase" for Interbase 6 or earlier
// "borland_ibase" for Borland Interbase 6.5 or up
// "mssql" for Microsoft SQL
// "mysql" for MySQL
// "oci8" for Oracle8/9
// "odbc" for a generic ODBC database
// "postgres" for PostgreSQL ver < 7
// "postgres7" for PostgreSQL ver 7 and up
// "sybase" for a SyBase database
// NOTE: only mysql work as of right now, due to SQL compat code
$db_type = "mysql";

// Set this to 1 to use db persistent connections, 0 otherwise
$db_persistent = 1;

/* Table prefix for the database. If you want to run more than
one game of BNT on the same database, or if the current table
names conflict with tables you already have in your db, you will
need to change this */
$db_prefix = "bnt_";

// Administrator's password and email:
// Be sure to change these. Don't leave them as is.
$adminpass = "******";
$admin_mail = "soul_stealler@abv.bg";

// Address the forum link, link's to:
$link_forums = "http://forums.blacknova.net";
?>



е, кажете Embarassed
Върнете се в началото
Вижте профила на потребителя Изпратете лично съобщение Посетете сайта на потребителя
Maricha
Нов
Нов

Регистриран на: 18/10/2005 1:35 pm

Support: 0
Bonus: 0
Мнения: 184
Мнение 14/03/2006 1:11 pm      Отговорете с цитат


Тоя Script за какво е?
Върнете се в началото
Вижте профила на потребителя Изпратете лично съобщение Посетете сайта на потребителя
Soul_Stealler
Tourist Defender

Регистриран на: 20/12/2005 5:52 pm

Support: 112
Bonus: 294
Мнения: 3557
Мнение 14/03/2006 8:43 pm      Отговорете с цитат


За една игра. Казва се Black Nova Traders Very Happy
Върнете се в началото
Вижте профила на потребителя Изпратете лично съобщение Посетете сайта на потребителя
Покажи мнения от преди:    
Създайте нова тема   Напишете отговор    web-tourist.net Форуми -> PHP MySQL ASP.NET Часовете са според зоната GMT + 2 Часа
Страница 1 от 1


 
Идете на:  
Не Можете да пускате нови теми
Не Можете да отговаряте на темите
Не Можете да променяте съобщенията си
Не Можете да изтривате съобщенията си
Не Можете да гласувате в анкети