Skip to content

CoraTO-Server/g_95_gm_tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trickster GM Web Panel v2

This is the Trickster GM Web Panel (v2), an administrative dashboard for the Trickster game server, built using Classic ASP.

A Korean-language compatible collaboration between Mewsie and G_95!

Preview

Note: Images have been omitted for this demonstration but may be placed in the assets/images folders respectively.

Configuration Instructions

Before hosting, you must configure the database connection settings to point to your SQL Server.

All main configurations are centralized in the following file: inc/config.asp

  1. Open inc/config.asp in your preferred text editor.
  2. Locate the DB 설정 (Database Settings) section.
  3. Replace the placeholder values with your actual database server credentials:
'================ DB 설정 ================
Dim CFG_DB_SERVER, CFG_DB_ACCOUNT, CFG_DB_GAME, CFG_DB_GM
Dim CFG_DB_USER, CFG_DB_PASS

CFG_DB_SERVER   = "YOUR_DB_SERVER"    ' e.g., "localhost" or "127.0.0.1"
CFG_DB_ACCOUNT  = "YOUR_ACCOUNT_DB"   ' Account Database Name
CFG_DB_GAME     = "YOUR_GAME_DB"      ' Game Database Name
CFG_DB_GM       = "YOUR_GM_DB"        ' GM/Web Database Name
CFG_DB_USER     = "YOUR_DB_USER"      ' SQL Server Login User (e.g., "sa")
CFG_DB_PASS     = "YOUR_DB_PASSWORD"  ' SQL Server Login Password
  1. You may also want to verify or update the image directory paths under the 이미지 경로 설정 section if your item/skill image assets are stored in a different location.

Default Fallback Login Settings

Before the gm_accounts table is fully set up, the panel relies on fallback login credentials located in: inc/auth.asp

Please update the fallback passwords found in ValidateLoginFallback(userId, userPw) to ensure your panel is secure during initial setup:

Function ValidateLoginFallback(userId, userPw)
    ValidateLoginFallback = ""
    If LCase(userId) = "admin" And userPw = "YOUR_ADMIN_PASSWORD" Then
        ValidateLoginFallback = "admin"
    ...

Hosting Instructions

This application is built with Classic ASP and requires Microsoft Internet Information Services (IIS) on Windows.

Prerequisites (IIS Installation)

  1. Open the Windows Start Menu, search for Turn Windows features on or off, and open it.
  2. Expand Internet Information Services (IIS).
  3. Expand World Wide Web Services -> Application Development Features.
  4. Important: Check the box next to ASP (this enables Classic ASP support).
  5. Ensure that basic features like Static Content and Default Document are also installed.
  6. Click OK to install these features.

Setting up the Application in IIS

  1. Open the Internet Information Services (IIS) Manager.
  2. In the Connections pane on the left, right-click on Sites and choose Add Website.
  3. Fill in the details:
    • Site name: Trickster_GM_Panel
    • Physical path: Browse and select the main folder of this application (the folder containing web.config and this README.md).
    • Binding: Set an appropriate Port (e.g., 80 or 8080).
  4. Click OK.

Important IIS Settings

The included web.config file handles several essential settings automatically:

  • Sets login.html as the default document.
  • Blocks direct web requests to the inc/ directory to secure your configuration and ASP includes.
  • Sets appropriate MIME types for .json and .woff2 files.
  • Enables enableParentPaths="true", which is required for Classic ASP relative paths.

Verify Parent Paths (If encountering path errors): If you see errors related to ../, you may need to explicitly enable Parent Paths for the site in IIS Manager:

  1. Select your site in IIS Manager.
  2. Double-click on the ASP icon in the center pane.
  3. Under the Behavior category, find Enable Parent Paths and ensure it is set to True.
  4. Click Apply in the right pane.

Folder Permissions: Make sure that the IIS_IUSRS group (or the identity your Application Pool runs as) has Read permissions to the website's physical directory. If your web panel saves logs or uploads files, it will also need Write permissions to those specific directories (e.g., logs/).

Architecture Details

  • Core: Classic ASP (VBScript), HTML, CSS, JavaScript
  • Configuration: web.config (for IIS routing/security) and inc/config.asp (for application settings).
  • Database: Microsoft SQL Server (SQLOLEDB provider).

About

A fresh new Web GM Tool with Korean Language Support--a collab with G_95!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors