When you open a white window appears.
The gameserver link inserted.
How to configure the connection to the server?
web.config:
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<!--
uploadDir -> Your Folder where the Icons got saved.
-->
<add key="uploadDir" value="C:\Users\Xijezu\Testfolder\"></add>
<!--
game001_db -> Just an example. If your website is on the same root/pc where
your databases are, its recommented to use Trusted_Connection=yes for connect.
uid = Database-Account (usually sa)
pwd = Database-password
-->
<add key="game001_db" value="server=(local);database=telecaster;Trusted_ Connection=yes" />
<add key="Behemoth_db" value="server=(local);database=Behemoth;uid=sa;pwd =JustAtestpwd" />
<add key="DarknessFight_db" value="server=(local);database=telecaster;Trusted_ Connection=yes" />
<!--
NOTE: YOU MUST ENABLE TELNET FOR THIS!
game001 -> IP-Adress of your gameserver
game001_port -> Port of your gameserver
game001_pass -> Password of your gameserver
if you dont know how to set up a port/pass:
S console.port: PortNo
S console._password: Your_Password
-->
<add key="game001" value= "127.0.0.1"></add>
<add key="game001_port" value= "4515"></add>
<add key="game001_pass" value="genius"></add>
<!--
Remember: key="" MUST be your servername
For example on DarknessFight-Server:
S app.name
arknessFight
-->
</appSettings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<customErrors mode="Off" />
<compilation debug="true" strict="false" explicit="true" />
<pages>
<namespaces>
<clear />
<add namespace="System" />
<add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" />
<add namespace="System.Configuration" />
<add namespace="System.Text" />
<add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" />
<add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" />
<add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.WebControls.WebParts" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings>
<!--
uploadDir -> Your Folder where the Icons got saved.
-->
<add key="uploadDir" value="C:\Users\Xijezu\Testfolder\"></add>
<!--
game001_db -> Just an example. If your website is on the same root/pc where
your databases are, its recommented to use Trusted_Connection=yes for connect.
uid = Database-Account (usually sa)
pwd = Database-password
-->
<add key="game001_db" value="server=(local);database=telecaster;Trusted_ Connection=yes" />
<add key="Behemoth_db" value="server=(local);database=Behemoth;uid=sa;pwd =JustAtestpwd" />
<add key="DarknessFight_db" value="server=(local);database=telecaster;Trusted_ Connection=yes" />
<!--
NOTE: YOU MUST ENABLE TELNET FOR THIS!
game001 -> IP-Adress of your gameserver
game001_port -> Port of your gameserver
game001_pass -> Password of your gameserver
if you dont know how to set up a port/pass:
S console.port: PortNo
S console._password: Your_Password
-->
<add key="game001" value= "127.0.0.1"></add>
<add key="game001_port" value= "4515"></add>
<add key="game001_pass" value="genius"></add>
<!--
Remember: key="" MUST be your servername
For example on DarknessFight-Server:
S app.name
-->
</appSettings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<customErrors mode="Off" />
<compilation debug="true" strict="false" explicit="true" />
<pages>
<namespaces>
<clear />
<add namespace="System" />
<add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" />
<add namespace="System.Configuration" />
<add namespace="System.Text" />
<add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" />
<add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" />
<add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.WebControls.WebParts" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>
sa = no password






