PDA

View Full Version : problems with UU 111


Militaristic{NtHz}
21st March, 2010, 07:47 PM
I have been trying to set up UUv111 for a few days now. our group has 5 servers atm between 3 admins. the B2K servers all are able too boot and run UU, my MM server will not boot with UU enabled in server actors, and neither will URH server. i will post the contents of the .php file here as well as the UU ini section. maybe someone can help out. I built up a fresh server with nothing except nextgen 111 and UU111 and it runs but will not conect to the database. i'll post the log file as well. i know there is a mutator or something conflicting on my server, i'm running a very heavily modded server so i'm kinda used to this with new mods, but i really want to get the database running for the other servers. here are the lines and logs...

from constants.php
<?php
/**
* Database Constants - these constants are required
* in order for there to be a successful connection
* to the MySQL database. Make sure the information is
* correct.
*/
define("DB_SERVER", "localhost");
define("DB_USER", "");
define("DB_PASS", "");
define("DB_NAME", "l");

/**
* The universe name and password; you must give this
* to participating servers before they can connect to this installation.
* Be descriptive with the Universe ID. For example, if your community
* is called "Sniper Alliance", this would also be a good Universe ID.
* DO NOT USE SIMPLE NAMES LIKE 'universe', 'unreal', 'ut', 'server',
* etc etc - you need to be specific!!!
*/
define("UNIVERSE_ID", "");
define("UNIVERSE_PASS", "");

/**
* The primary admin of this installation, the name and e-mail
* address will be displayed to users
*/
define("UNIVERSE_ADMIN_NAME", "Militaristic");
define("UNIVERSE_ADMIN_EMAIL", "militaristic@<hidden>");

// you must correctly enter the world-viewable URL to this installation, and it *MUST END IN A FORWARD SLASH!*
define("UNIVERSE_URL", "http://militaristic.org/universalunreal/index.php/");

// welcome message on the front page, change to define("PORTAL_MSG", ""); to disable
define("PORTAL_MSG", "Welcome to {MM} UT99 Universal Unreal!");

/**
* Log Player Data - if you wish to have Universal Unreal
* save data from participating servers about player
* joins, administrative actions, etc, set this True
*/
define("LOG_PLAYER_DATA",True);

/**
* Email Constants - these specify what goes in
* the from field in the emails that Universal Unreal
* sends to users
*/
define("EMAIL_FROM_NAME", "Miliraristic");
define("EMAIL_FROM_ADDR", "militaristic@<hidden>");

/**
* SMTP Constants - by default, Universal Unreal
* uses PHP's built-in mail() function for sending e-mail.
* Should you need to use SMTP for sending mail,
* set SMTP_USE to True and and fill in
* the appropriate information.
*/
define("SMTP_USE",False);
define("SMTP_HOST", "mail.myhost.com");
define("SMTP_PORT", 25);
define("SMTP_USERNAME","someu");
define("STMP_PASSWORD","somep");

/**
* Some web server hosting companies don't allow
* what is called 'url fopen' for their own security.
* However, this is the primary way that Universal Unreal
* transmits data. If your host has the cURL libraries
* installed, Universal Unreal can use these instead.
* Set QUERY_METHOD to 0 to use url fopen,
* and if you have issues try setting QUERY_METHOD
* to 1 to use cURL instead (if installed)
*/
define("QUERY_METHOD",0);

// =========================================================================
// Do not edit below this line unless you know exactly what you are doing!
// =========================================================================





/**
* Timeout Constants - these constants refer to
* the maximum amount of time (in minutes) after
* their last page fresh that a user and guest
* are still considered active visitors. We
*/
define("USER_TIMEOUT", 5);
define("GUEST_TIMEOUT", 5);

/**
* Cookie Constants - these are the parameters
* to the setcookie function call, change them
* if necessary to fit your website. If you need
* help, visit www.php.net for more info.
* <http://www.php.net/manual/en/function.setcookie.php>
*/
define("COOKIE_EXPIRE", 60*60*24*180); //180 days by default
define("COOKIE_PATH", "/"); //Avaible in whole domain

// Version 111, Build 01
define("BUILD","11101");
?>


from the UT.ini...


[UniversalUnreal111-Build1.UniversalUnreal]
UniverseID=
UniversePass=
UniverseHost=
UniverseFilePath=/universalunreal/utinterface.php
UniversePort=80
ServerURL=
TCPServerPort=7777
ShortServerName=
bDisableDuringMatchMode=False
bHideHUDForGuests=True
ServerListYOffset=0
UniverseAboutURL=http:///universalunreal/index.php?p=about
CollectPlayerData=True
MaxTimeout=20
ErrorLimit=10
bNeverPurgeAddress=False
bDebug=False
resolvedAddress=

test server log file...

Log: Log file open, 03/21/10 14:32:59
Init: Name subsystem initialized
Init: Detected: Microsoft Windows NT 5.1 (Build: 2600)
Init: Version: 451
Init: Compiled: Mar 11 2004 10:43:53
Init: Command line: -log=server.log
Init: Base directory: D:\UT\System\
Init: Character set: Unicode
Log: Bound to Core.dll
Init: Object subsystem initialized
Init: Computer:
Init: User:
Init: Memory total: Phys=2097151K Pagef=4194303K Virt=2097024K
Init: Working set: 32000 / 159000
Init: CPU Speed=3217.019715 MHz
Init: CPU Page size=4096, Processors=2
Init: CPU Detected: Unknown processor (AuhenicAD)
Init: CPU Features: CMov FPU RDTSC PAE MMX KNI 3DNow!
Log: Bound to Engine.dll
Log: Executing Class Engine.ServerCommandlet
Init: Unreal engine initialized
Log: Browse: CityIntro.unr?Name={MM}Militaristic?Class=Botpack.TMale2?team=255?skin=SoldierSkins.blkt?Face=SoldierSkins.Othello
Log: LoadMap: CityIntro.unr?Name={MM}Militaristic?Class=Botpack.TMale2?team=255?skin=SoldierSkins.blkt?Face=SoldierSkins.Othello
Log: Bound to Fire.dll
Log: Bound to IpDrv.dll
Log: Collecting garbage
Log: Purging garbage
Log: Garbage: objects: 16493->16492; refs: 224859
Log: Game class is 'UTIntro'
Init: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
Init: WinSock: Socket queue size left as default.
Init: WinSock: I am Two ()
DevNet: TcpNetDriver on port 7777
Log: Server Package: SoldierSkins
Log: Server Package: CommandoSkins
Log: Server Package: FCommandoSkins
Log: Server Package: SGirlSkins
Log: Server Package: BossSkins
Log: Server Package: Botpack
Log: Server Package: MultiMesh
Log: Server Package: Relics
Log: Server Package: EpicCustomModels
Log: Server Package: TCowMeshSkins
Log: Server Package: TNaliMeshSkins
Log: Server Package: TSkMSkins
Log: Server Package: De
Log: Server Package: NexgenCC
Log: Server Package: Nexgen111
Log: Server Package: UniversalUnreal111-Build1
Log: Bound to UWeb.dll
Log: Server Package: UniversalUnreal_CredManager
Log: Spawning: IpDrv.UdpBeacon
Log: Spawning: IpServer.UdpServerQuery
Log: Spawning: IpServer.UdpServerUplink
Log: Spawning: IpServer.UdpServerUplink
Log: Spawning: IpServer.UdpServerUplink
Log: Spawning: UWeb.WebServer
Log: Spawning: Nexgen111.NexgenActor
Log: Spawning: UniversalUnreal111-Build1.UniversalUnreal
Log: Level is Level CityIntro.MyLevel
Log: Bringing Level CityIntro.MyLevel up for play (20)...
ScriptLog: InitGame: ?Name=?Class=Botpack.TMale2?team=255?skin=SoldierSkins.blkt?Face=SoldierSkins.Othello
ScriptLog: Base Mutator is CityIntro.Mutator0
ScriptLog: UdpServerQuery(crt): Port 7778 successfully bound.
ScriptLog: DoUplink is not set. Not connecting to Master Server.
ScriptLog: DoUplink is not set. Not connecting to Master Server.
ScriptLog: DoUplink is not set. Not connecting to Master Server.
NSC: [NSC-SYS] Starting Nexgen Server Controller...
NSC: [NSC-SYS] ServerID =
ScriptWarning: NexgenController CityIntro.NexgenController0 (Function Nexgen111.NexgenController.PreBeginPlay:045A) Accessed None
NSC: [NSC-SYS] Loading Nexgen core controller 1.11 build 1133...
NSC: [NSC-SYS] Loading Universal Unreal 1.11...
ScriptLog: ##############################
ScriptLog: # Universal Unreal #
ScriptLog: # Version 1.11 #
ScriptLog: # Final Build 1 #
ScriptLog: # By MSuLL #
ScriptLog: ##############################
ScriptLog: [Universal Unreal][Sunday 21 Mar 2010, 14:33] Universal Unreal HTTP server is listening on TCP 7777
ScriptLog: [Universal Unreal][Sunday 21 Mar 2010, 14:33] Initialization Complete
ScriptLog: Unknown Mutator in use: Engine.Mutator
Init: Game engine initialized
NSC: [NSC-SYS] Nexgen Server Controller is active.
ScriptLog: [Universal Unreal][Sunday 21 Mar 2010, 14:33] universe has denied this server's login. Universal Unreal will now unload.
Exit: Preparing to exit.
Log: Purging garbage
Log: Unbound to Core.dll
Log: Unbound to Engine.dll
Log: 0.0ms Unloading: Package Engine
Log: 0.0ms Unloading: Package Core
Exit: Game engine shut down
Log: 0.0ms Unloading: Package CityIntro
Log: 0.0ms Unloading: Package city
Log: 0.0ms Unloading: Package Detail
Log: Unbound to Fire.dll
Log: 0.0ms Unloading: Package Fire
Log: 0.0ms Unloading: Package ArenaTex
Log: 0.0ms Unloading: Package GenFX
Log: 0.0ms Unloading: Package NaliCast
Log: 0.0ms Unloading: Package Botpack
Log: 0.0ms Unloading: Package UnrealShare
Log: 0.0ms Unloading: Package UnrealI
Log: 0.0ms Unloading: Package Female2Voice
Log: 0.0ms Unloading: Package Male2Voice
Log: 0.0ms Unloading: Package Female1Voice
Log: 0.0ms Unloading: Package BossVoice
Log: 0.0ms Unloading: Package Male1Voice
Log: 0.0ms Unloading: Package UMenu
Log: 0.0ms Unloading: Package UWindow
Log: 0.0ms Unloading: Package UBrowser
Log: Unbound to IpDrv.dll
Log: 0.0ms Unloading: Package IpDrv
Log: 0.0ms Unloading: Package Announcer
Log: 0.0ms Unloading: Package RainFX
Log: 0.0ms Unloading: Package DecayedS
Log: 0.0ms Unloading: Package Logo
Log: 0.0ms Unloading: Package GenIn
Log: 0.0ms Unloading: Package NaliFX
Log: 0.0ms Unloading: Package genfluid
Log: 0.0ms Unloading: Package ShaneSky
Log: 0.0ms Unloading: Package AmbModern
Log: 0.0ms Unloading: Package AmbAncient
Log: 0.0ms Unloading: Package AmbOutside
Log: 0.0ms Unloading: Package Uttitle
Log: 0.0ms Unloading: Package openingwave
Exit: WinSock shut down
Log: 0.0ms Unloading: Package SoldierSkins
Log: 0.0ms Unloading: Package CommandoSkins
Log: 0.0ms Unloading: Package FCommandoSkins
Log: 0.0ms Unloading: Package SGirlSkins
Log: 0.0ms Unloading: Package BossSkins
Log: 0.0ms Unloading: Package MultiMesh
Log: 0.0ms Unloading: Package EpicCustomModels
Log: 0.0ms Unloading: Package Relics
Log: 0.0ms Unloading: Package TCowMeshSkins
Log: 0.0ms Unloading: Package TNaliMeshSkins
Log: 0.0ms Unloading: Package TSkMSkins
Log: 0.0ms Unloading: Package de
Log: 0.0ms Unloading: Package NexgenCC
Log: 0.0ms Unloading: Package Nexgen111
Log: 0.0ms Unloading: Package UniversalUnreal111-Build1
Log: 0.0ms Unloading: Package UniversalUnreal_CredManager
Log: 0.0ms Unloading: Package UTMenu
Log: 0.0ms Unloading: Package LadderSounds
Log: Unbound to UWeb.dll
Log: 0.0ms Unloading: Package UWeb
Log: 0.0ms Unloading: Package UTServerAdmin
Log: 0.0ms Unloading: Package IpServer
Log: 0.0ms Unloading: Package LadrArrow
Log: Garbage: objects: 27001->0; refs: 224859
Exit: Object subsystem successfully closed.
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Allocation checking disabled
Uninitialized: Log file closed, 03/21/10 14:33:09


any help getting the test server to conect to the database would be great.

thanks
Militaristic

Matthew
22nd March, 2010, 01:24 AM
Change the UNIVERSE_URL line to:
define("UNIVERSE_URL", "http://militaristic.org/universalunreal/");

You have the following line:
ServerURL=24.45.220.14

But your installation doesn't seem to have this server configured in your server list? From the web you need to add this server and give it a unique short name, then set "ShortServerName=" to whatever the new short name is for the new entry.

Also the ServerURL field must contain a UT port. You probably mean to have it:
ServerURL=24.45.220.14:7777

Here's an example to help you, from one of my servers. The server's IP is "208.71.112.193" and it is running on port 7777:

[UniversalUnreal111-Build1.UniversalUnreal]
UniverseID=UT-SLV
UniversePass=xxxxxxxxxxxxx
UniverseHost=www.ut-slv.com
UniverseFilePath=/universalunreal/utinterface.php
UniversePort=80
ServerURL=208.71.112.193:7777
TCPServerPort=7777
shortServerName=KOA
bDisableDuringMatchMode=False
UniverseAboutURL=http://www.ut-slv.com/universalunreal/index.php?p=about
MaxTimeout=20
ErrorLimit=10
bDebug=False
resolvedAddress=
CollectPlayerData=True
bHideHUDForGuests=False
ServerListYOffset=0
bNeverPurgeAddress=False


http://img202.imageshack.us/img202/7060/tempya.png

And my constants.php file:

define("DB_SERVER", "localhost");
define("DB_USER", "xxxxxxx");
define("DB_PASS", "xxxxxxx");
define("DB_NAME", "xxxxxxxx");

define("UNIVERSE_ID", "UT-SLV");
define("UNIVERSE_PASS", "xxxxxxxxxxxxxxx");

define("UNIVERSE_ADMIN_NAME", "MSuLL");
define("UNIVERSE_ADMIN_EMAIL", "msull@<hidden>");

// you must correctly enter the world-viewable URL to this installation, and it *MUST END IN A FORWARD SLASH!*
define("UNIVERSE_URL", "http://www.ut-slv.com/universalunreal/");

// welcome message on the front page, change to define("PORTAL_MSG", ""); to disable
define("PORTAL_MSG", "Welcome to the UT-SLV installation of Universal Unreal! Report all bugs / concerns / suggestions to MSuLL via the Universal Unreal forum thread at:<br><a href=\"http://www.ut-slv.com/forum/viewtopic.php?f=11&t=2719\">http://www.ut-slv.com/forum/viewtopic.php?f=11&t=2719</a>");

define("LOG_PLAYER_DATA",True);

define("EMAIL_FROM_NAME", "UT-SLV Universe");
define("EMAIL_FROM_ADDR", "support@<hidden>");

define("SMTP_USE",False);
define("SMTP_HOST", "mail.myhost.com");
define("SMTP_PORT", 25);
define("SMTP_USERNAME","someuser");
define("STMP_PASSWORD","somepass");

define("QUERY_METHOD",0);

If you still have trouble, the UT config set bDebug=true and post the log again. Hope this helps.

Militaristic{NtHz}
22nd March, 2010, 03:46 AM
thanks, i had removed my test server from the website after posting. i'll edit and try again.

thanks again
Militaristic

kawaii
23rd March, 2010, 02:45 PM
Lol do you seriously use ALL those packages on your server? :)