Webmaster Forum

Go Back   Webmaster Forum > The Webmaster Forums > Forum Lobby

Forum Lobby The off-topic forum.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 12-26-2016, 08:31 AM
gxnpt's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 09-10-16
Location: far west Florida near Destin
Posts: 100
iTrader: 0 / 0%
Are these instructions clear ?

Unable to figure out anywhere else to ask this - any comments/suggestions on improving these instructions?

Quote:

Generic Web Server installation of The Singularity Trap game:

Unzip and copy the "the-singularity-trap" folder (which contains a docs folder and a games folder) to your server.
You might need to give 777 permissions for the folder and files in it depending on the server.

Create a database and modify the dbinfo.php file settings to match as needed.
Use any text editor if you need to modify dbinfo.php

$servername = "localhost"; - your web host will give you the server - possibly something like "db61448377.db.RandR.com"
$username = "username"; - your web host will give you your database id or username - maybe something like "dbo61448377"
$password = "password"; - your web host will give you your database password - these vary all over the place
$dbname = "mydatabasename"; - your web host will give you the name of your database - maybe something like "db61448377"

Upload the modified file to the-singularity-trap folder and go to the index.html page in that folder on the internet.

Use the Sysop link there to come to this page and click the makegametables.php link.
This also renames that file to prevent further use.

Return to index page, click Mod link, and create your Mod password.

Installation is now complete. Create a war.

************************************************** *******************************

Installation - to run UwAmp (Apache/MySL/PHP) and The Singularity Trap game off a thumb drive with Windows.

Unzip the files onto a thumb drive.

WINDOWS 10 SPECIFIC INFO:
In Task Manager stop the W3SVC service.
(If needed select more details to see the tab for services
- this setting must be done every time computer reboots for Apache to run on Win10)

Open the UwAmp.exe file (in the main UwAmp folder on the thumb drive).

Both Windows 7 and Windows 10 like to pop up 2 permission boxes for you to click at this point.

Be sure Apache and MySQL both show as running.

Click the "www Site" button. This opens a browser window to localhost on the game index page.

Click the Mod link, and create your Mod password.

Installation is now complete. Create a war.

************************************************** *******************************

************************************************** *******************************

The UwAmp program console can set Apache as localhost only (offline) or as online for LAN server use.

In online mode it can be accessed by the LAN (router) assigned IP of the computer it is running on,
and if internet connected also by internet IP of the computer it is running on if distinctive.

Possible issues running a LAN or localhost server:

Port 80 - Skype and some others may use Port 80 - if so stop that service or program.

The location of the Apache program file, with the thumb drive as drive G: is
G:\UwAmp\bin\apache\bin\httpd.exe

Some firewalls may need to be told to allow Apache to run - especially as a LAN server.
The next info is for Windows 10 firewall but others are similar if they need to be told to allow it.
----------------------------------------------
To be able to access via LAN (actually by any other computers using same router):
control panel, windows firewall, allow an ap or feature through windows firewall,
change settings, allow another app, then browse to your apache/bin folder
and select the httpd.exe as program to allow.
----------------------------------------------
If specific firewall permissions are needed they do NOT need to be redone every time the computer reboots.



ROUTER NOTE for LAN

On my old Belkin router I looked at connected devices to see the local IP assigned to my computer by the router
(my router claims 192.168.2.1 for itself, my laptop is 192.168.2.2, other devices 192.168.2.3 and so forth)
--- so to any computer on my router 192.168.2.2 is always the same as localhost on mine
------ if I put the thumb drive in my wife's computer it is 192.168.2.3




Passwords for Mod and Players:
Passwords were added as a retrofit for players (for web use to prevent spying/cheating)
and for the Mod functions as those were linked from the index page.

They are a set once when join a game or first access mod page and no functions are built in to reset them.

Using PHPmyAdmin in the database the SQL query to clear Mod pasword is
UPDATE `logins` SET `pswd` = '' WHERE `gamename` = 'admin' AND `player` = 'mod'

And to change password for green player to "hoody" in the war named "hats-vs-cowls":
UPDATE `logins` SET `pswd` = 'hoody' WHERE `gamename` = 'hats-vs-cowls' AND `player` = 'green'


UwAmp includes PHPmyAdmin and most web hosts also supply it.
 
Reply With Quote

Advertisement

Advertisement

  #2 (permalink)  
Old 12-26-2016, 09:48 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 13,127
iTrader: 4 / 100%
It is actually better than many directions I've read.

That won't stop people who don't read from asking questions or blaming you.
__________________
I do not put ads or pop-ups in my posts and I have no control of what shows there. I do not endorse any product displayed in my post.
Scriptman's Playhouse || Ramblings from an old man
 
Reply With Quote
Go Back   Webmaster Forum > The Webmaster Forums > Forum Lobby

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clear Search? Leon Google Forum 5 02-04-2009 11:38 AM
clear up please Kron Dedicated Servers 6 03-04-2008 12:37 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 09:59 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2014 Escalate Media




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.