[v1.2] Complete Pangya Setup Guide

Page 1 of 5 12345 LastLast
Results 1 to 15 of 67
  1. #1

    [v1.2] Complete Pangya Setup Guide

    Hello there. Did you know my favorite characters are Kooh and Kaz? That my favorite caddies are Quma and Tiki? You do now. xD

    The Complete Pangya Setup Guide

    [v1.2] The Complete Pangya Setup Guide (4.8 MB)

    [v1] The Complete Pangya Setup Guide (4.3 MB)


    Server Files

    Pangya Season 4.9 Server Repack v.2 (Arranged by MrNickname)


    Terror's Other Files

    ProjectG_LAN.exe (Configured for using IP "192.168.1.9". Place in your client folder.)

    Server Start-up Batch File (Start all the server components from one file. Must edit it before use.)




    The following is a copy of the guide from the pdf. It lacks images for the moment so, if you need visual aids, use the pdf instead.
    Big thanks to Tsukasa for formatting the majority of this version.


    Complete Pangya Setup Guide [v1] by terrorofdeath



    This guide is meant to grant people a step-by-step walk-through of setting up and playing their own Personal Server of Pangya 4.9.
    As such, this covers the basics in setting up the server, adjusting it for LAN play, and some of the more common things people do first in their personal server.
    It does not cover more complex topics such as WAN setup, .pak editing, etc.

    This guide was written when I was using a Windows XP SP3 desktop.
    Vista and Windows 7 users may have some trouble when this guide references system locations, but it's nothing a quick internet search can't help you figure out.


    Table of Contents
    1. Getting What's Needed
    2. The Database
      • The SQL Server
      • Installing the Pangya Database Files

    3. ODBC
    4. The Pangya Server
    5. The Client
      • Preparing the Client
      • Creating an Account
      • Starting up and Logging in!

    6. Setting up for LAN Play
      • Obtaining a Static LAN IP
      • Adjusting Pangya Server Files and Hexing the Client

    7. Stuff you Likely Want to Do First
      • Adding Pang and Points/Cookies
      • Adjusting Player Rank
      • Give an Account a Single Item
      • Give an Account "Everything"

    8. Additional Topics
      • Accessing the Database on Another Computer
      • Configuring the Client for WAN Play

    9. Credits
    10. Legal, Disclaimer, etc.
    11. Gallery





    I. Getting What's Needed
    • A SQL Server and SQL Management Program
    • The Pangya 4.9 Server, Database, and Client Files
      • Can be found at this Ragezone Forum Release by mrNickname.
        Files:
        • Py S4.9 Server + Database Repack v.2-R1 (PyServer Repack.v2.rar)
        • Custom TH Pangya S4.9 English UI Edition - 582.05-R1 (PyClient_582.05-R1EN.rar)





    II. The Database

    2a. The SQL Server

    First, we need to prepare a server instance to place the database files into. If you're using the SQL Server 2008 I referenced earlier, run the SQLEXPRWT... program. If you're using another version, run the executable which sets up the server.

    (Note: The steps will be for SQL 2008; other versions may be slightly different.)

    Installer Steps:
    • Choose the "New Installation..." option and wait for a window to appear.
    • Mark that you "accept the license terms" and click "Next >"
    • Allow the installer time to prepare files for installation.
    • The installer will make sure your system can host the SQL server.
    • If everything checks out green, click "Next >".
      • If not, make an attempt to resolve the issues and try again.
      • If you, like me, need PowerShell, you can download it here.
    • All features will be set to install. You may change the installation directory to what you wish. Click "Next >".
    • Use the "Default instance" and click "Next >".
    • You can use a named instance if you wish, but this guide will proceed with a default instance.
    • Click "Next >" until you arrive at the "Database Engine Configuration" and "Authentication Mode" screen. Choose Mixed Mode and enter a password for the "sa" (System Administrator) user of your
      server. Remember this password. Click "Next >".
    • Up to you whether you want Microsoft snooping on your stuffs. Click "Next >".
    • The SQL server will now install. When it finishes, click "Close".




    2b. Installing the Pangya Database Files

    Now that the database server has been made, we must now install the Pangya databases into it.

    Is the server running?
    • Go to Start → Programs → Microsoft SQL Server 2008 R2 → Configuration Tools → SQL Server Configuration Manager.
    • Click on the "SQL Server Services" on the left column. Make sure "SQL Server (server_name)" has a green symbol next to it. If not, click on it and hit the play button on the top of the window.
      • If you're not using your server, it's good practice to turn it off and save resources.


    Creating the Databases:
    • Go to Start → Programs → Microsoft SQL Server 2008 R2 → SQL Server Management Studio. (I will refer
      to this program as SMS from now on.)
    • A screen will prompt you to "Connect to Server". Generally the inserted information is correct so you can just
      hit "Connect" and things should work.
      • Server Type: Database Engine
      • Server Name: Should be automatic and will likely be your computer's name. If you're using the default instance, inserting "(local)" should work as well.
      • Authentication: Windows Authentication
    • Once connected, open the PyServer Repack.v2.rar and open the Database Repack.v2 folder.
    • Open the 1 - Bootstrap - Edit SQL PW.sql file. This will open a query window in SMS.
    • Find this line: SET @DBUSER_PASSWORD = N'EDIT YOUR PW HERE!'
      • Change [COLOR="Red]EDIT YOUR PW HERE![/COLOR] to the password you entered at the "Authentication Mode" screen
        in the SQL installer.
    • Hit "! Execute" at the top of the SMS window. A message should appear saying something like "Pangya_S4_TH database resides at...".
    • Return to the Database Repack.v2 folder, open the 2 - INI3BIll_DB.sql file.
    • Hit "! Execute" in the SMS window. (Ignore the various "module" messages.)
    • Repeat the last 2 steps for the remaining files in the Database Repack.v2 folder.
      • Go in numerical order!
      • Ignore the "module" messages for the 4 - Pangya_S4_TH.sql file.




    III. ODBC

    In order for the Pangya server to communicate with the database server, we need to set up Open Database Connectivity (ODBC) for each of the three databases.

    • Open Control Panel → Administrative Tools → Data Sources (ODBC).
    • Click the "System DSN" tab and then the "Add..." button.
    • In the new window, scroll down to "SQL Server Native Client 10.0" and select it. Click "Finish".
    • Complete the information in the new window:
      • Name: A database name; use "ini3_py_account".
      • Description: Not needed.
      • Server: Find the name of your server from the dropdown menu.
    • Hit "Next >" twice.
    • Change the default database to the same name as the ODBC connection; "ini3_py_account". Click "Next >".
    • Mark the checkbox next to "Change the language of SQL server messages to..." and choose English from the dropdown menu. Click "Finish".
    • Click the "Test Data Source..." button on the window which appears. You should receive a message saying "TESTS COMPLETED SUCCESSFULLY!". Click "OK" twice.
    • Hit the "Add..." button again and follow the previous steps to set up ODBC for 'INI3Bill_DB' and 'Pangya_S4_TH'.
      • Don't forget to choose the correct default database for each connection!




    IV. The Pangya Server

    Now we can install and configure the Pangya server files for single computer play.

    • Begin by opening the PyServer Repack.v2.rar again and extracting the PANGYA_SRV Repack.v2 folder somewhere on your computer.
      • Important Note: authserver_th_578.01_rel.exe and gameserver_th_581.06_rel.exe may set off your Anti-Virus.
        These are false positives; add both of these server components to your Anti-Virus' exception list.
    • The server files are separated into six parts; of these six, only the "Auth", "Login", and "Py_GameServer" folders are absolutely necessary to play the game.
      • "MSG SERVER" and "BINDSERVER" are required for messaging apparently. While optional, you can use these as well.
      • (I don't use "Ranking" and neither do most people. Feel free to do the same.)
    • Enter the folders whose server component you will be using and look for the .ini files in each of them:
      • AuthAuth.ini
      • LoginLogin.ini
      • Py_GameServerServer.ini
      • MSG SERVERmessenger.ini
      • BINDSERVRbindmsgsserver.ini
      • Rankingrankserver.ini
    • Open each of these .ini files; look for and edit the following:
      • "EDIT YOUR PW HERE!" - Insert the password you entered for the "sa" user.
      • "LOGROOTDIR=" - Change this if you want log files going somewhere specific.




    V. The Client

    5a. Preparing the Client

    Just one last thing to set up- the client- before we can start things up and get to playing!

    • Open PyClient_582.05-R1EN.rar.
    • Extract the included folder - Pangya_PrivateClient - somewhere on your computer. (Easy no?)


    5b. Creating an Account

    Can't exactly tell if it works without making an account to log in with first, no?

    • Open the SMS and connect to your database server.
    • On the left hand side is the "Object Explorer". This is where the databases and their tables and procedures are listed.
    • Expand: Databases → ini3_py_account → Programability → System Stored Procedures.
    • Right Click on "dbo.SP_PANGYA_REGIST" and choose "Execute Stored Procedure..."
    • Fill out the form which appears:
      • @idcard: Internal reference; can just be a number.
      • @sex: 0 for male account, 1 for female account.
      • @birthday: In the format YYYYMMDD.
      • @zipcode: A 5 digit number. Can be anything.
      • @id: The account's User ID used to log in.
      • @pswd: The account's password used to log in.
    • Once complete, hit the "OK" button. It should go ahead and make the new account.
    • Right Click on "dbo.SP_PANGYA_ACTIVATE" and choose "Execute Stored Procedure..."
    • Insert the User ID for the account you just made and click "OK".


    5c. Starting up and Logging in!

    Now, to put it all together!

    • Navigate to your Server Files folder.
    • Start the .exe files in the "Auth", "Login", and "Py_GameServer" (and any additional components you wish).
    • Locate the Login Server command prompt. Type in "alluseropen" to allow players to log in.
    • Navigate to the Pangya_PrivateClient folder on your computer. Run the ProjectG.exe.
    • At the login screen, type in the User ID and password you used in making the account and hit enter. With any luck, you should go through and you'll see the windows to make your nickname and adjust your first character.
    • Congrats! You have a working Pangya Personal Server!




    VI. Setting up for LAN Play

    Pangya isn't exactly a game you can play alone (unless you just wanted a dress up game, ha!). Setting up the server and client to work across a local area network (LAN for short; a network which is within a small area) is easily done so you and your friends can play together without stacking clients on a single computer.

    This guide assumes you use a single router to connect 2 or more computers and that your router works like mine (an old Linksys). If these steps don't work, everything is easily reversible to the single machine setup and should give enough insight for you to try and figure it out on your own.

    6a. Obtaining a Static LAN IP

    Most routers assign machines a LAN IP on a "first come, first serve basis" and in the range of 192.168.1.xxx. This generally means that whichever computer in your network connects to the router first will be given the IP address 192.168.1.2 , the second to access 192.168.1.3, and so on.

    This doesn't work for us when we want the IP of the computer hosting the server to remain static (or, to have the same IP each time) so the client- when edited- will always communicate with the correct computer all the time. So, to start, we must set a static IP for the server hosting computer.

    • Click Start → Run
    • Type in "cmd" and click the "Ok" button.
    • In the DOS window that appears, type in "ipconfig /all" and hit enter.
    • Search the list for the computer's connection to the router.
    • Write down the Subnet Mask, Default Gateway, and DNS server IP(s) somewhere and close the command prompt.
    • Click Start → Settings → Network Connections
    • Right click the connection under the "LAN or High-Speed Internet" header which represents the computer's connection with the router and open "Properties".
    • Scroll to the bottom of the list in the properties window, left click on "Internet Protocol (TCP/IP)" to highlight it. Hit the "Properties"button.
    • Set both "Use the following..." radio buttons and fill in the test boxes:
      • IP Address: The static IP the computer should be assigned. If your router uses the 192.168.1.xxx IP system, you most likely want to set this IP to "192.168.1.9".
      • Set the Subnet Mask, Default Gateway, and DNS servers as you found them in the command prompt.
    • Click "Ok" twice and close the Network Connections window.
      • Try using your internet browser to access the internet. If you still can connect, then everything should have worked out. If not, double check these steps. If you continue to have trouble, set the IP/DNS back to automatic.


    6b. Adjusting Pangya Server Files and Hexing the Client

    Now that your server hosting computer has a static LAN IP, we can continue on to adjusting the server files and client to use this new IP.

    • Open the Server Files folder.
    • Open all the .ini files for the various components and change all the instances of "127.0.0.1" to the static IP you just assigned to the server computer.
    • If you are using "192.168.1.9", you can download a usable client executable here.
    • If not, you have to do it manually. Download a HEX Editor program such as XVI32.
    • Make a copy of your ProjectG.exe and name it something like ProjectG_LAN.exe.
    • Start up XVI32.exe. File → Open the copied executable.
    • Search → Find. Look for the text string 127.0.0.1.
    • Replace it with your computer's static IP.
    • Save the executable and run it with the server running.
    • This client will work on the server computer and any other computer on the network. So long as the server is configured with the computer's static IP, the original client (127.0.0.1) will not work.




    VII. Stuff you Likely Want to Do First

    Once you have your Personal Server set up, you no doubt want to play around a bit first. I suggest you make an account (or two or three or four) strictly for playing around with first so you can keep serious work/play separate from the fun stuff. (Be sure to log in at least once with the account you will be playing with before doing any of the following.)

    7a. Adding Pang and Points/Cookies
    • Pang
      • Open SMS and log into the database.
      • Databases → Pangya_S4_TH → Programability → Stored Procedures
      • Right Click on "dbo.Ini3sp_AddPang" and choose "Execute Stored Procedure..."
        • @pang: The amount of pang you wish to add (or remove) from the account.
        • @id: The user ID used to log into the game of the account you wish to add pang to.
        • Hit OK to execute the procedure
    • Cookies
      • Open SMS and log into the database.
      • Copy the query in found within the spoiler box of Tsukasa's post here. (dbo.TSU_ADD_COOKIES)
      • Click "New Query" on the top left of the SMS window. Paste the query into the query window.
      • Execute the query to enter into your database.
      • Databases → Pangya_S4_TH → INI3Bill_DB → Stored Procedures
      • Right Click on "dbo.TSU_ADD_COOKIES" and choose "Execute Stored Procedure..."
        • @CookiesToAdd: The amount of cookie points you wish to add (or remove) from the account.
        • @Usrid: The user ID used to log into the game of the account you wish to add pang to.
        • Hit OK to execute the procedure.
    • Both
      • Open the PyServer Repack.v2.rar and open the folder Admin Procedures in it.
      • Double click the Add Pangs & Points Procedure.sql file. This opens a query in SMS.
      • Follow the directions in the query (found in green) and hit Execute.


    7b. Adjusting Player Rank

    • Open the PyServer Repack.v2.rar and open the folder Admin Procedures in it.
    • Double click the Set Player Level.sql file. This opens a query in SMS.
    • Change the UID='X' for the account you want and the game_level='X' (max 70) for the rank you want
    • Hit Execute. Confirm the changes in the table which appears int he Results window.


    7c. Give an Account a Single Item

    • Open the PyServer Repack.v2.rar and open the folder Admin Procedures in it.
    • Double click the Add Item Procedure.sql file. This opens a query in SMS.
    • Execute the querry.
    • Databases → Pangya_S4_TH → INI3Bill_DB → Stored Procedures
    • Right Click on "dbo.TSU_AddItemToUser" and choose "Execute Stored Procedure..."
      • @user_id: The user ID used to log into the game of the account you wish to add the item to.
      • @item_id: The item ID of the item you wish to add.
        • You can find a list of most items in your database.
        • Pangya_S4_TH → Tables
        • Right Click on "dbo.PANGYA_ITEM_TYPELIST" and choose "Select Top 100 Rows".
        • A query will appear and execute. Change it to say "SELECT TOP 5000 [TYPEID]".
        • Execute the procedure. A table will appear with item IDs and item descriptions you can use for reference.
      • Hit OK to execute the procedure.


    7d. Give an Account "Everything" (Equipment: Clothing)

    WARNING! This query will result in your account becoming unable to purchase items equipment items (clothes and clubs) in-game. Make sure you purchase the club sets you want before using this procedure as it does not include club sets, only character clothing.

    • Open the PyServer Repack.v2.rar and open the folder Admin Procedures in it.
    • Double click the Add ALL Items Procedure.sql file. This opens a query in SMS.
    • Edit the UID line (surrounded in green comments) to match the account you wish to use.
    • Execute the querry. It may take some time, so be patient.




    IX. Credits

    • terrorofdeath
      • Rawr, I'm a narcissist and am a Kooh lover よ. :3
      • Tiki too. xD
      • I also just had “Deja vu” typing this up...neat.
    • Members of the Ragezone Forums
      • mrNickname: For the repack used in this guide as well as for his own very simple guide which made sure I didn't forget anything.
      • Tsukasa: For pieces of information used in the guide, some additional topic ideas, formatting most of it for the forum, as well as a number of the procedures included in the repack.
      • Everyone else who came before and contributed in some way to the Repack. Pray you'll forgive me just coming into things and not knowing all of your contributions.
      • To those who will, in the future, begin or continue their work in improving the server files. ;3

    • Ntreev: For the game of course. <3




    X. Legal, Disclaimer, etc.

    This guide was written by terrorofdeath (terror for short) for the Pangya Server Development section of http://forum.ragezone.com/ in order to assist people in the creation of their own Personal Servers. Please do not copy this text or redistribute the pdf file; instead, link to it's thread on the RageZone forums in the event of future updates.

    While I've done my best to be detailed and complete, there's still a chance something will get messed up and possibly do harm to your computer. I (terrorofdeath) am not liable in the event of damage to your computer, network, or other property resulting from the use of this guide. Your use of this guide signifies your acceptance and forfeit of prosecution in any such event.

    (Also, why the hell would you bring a case to court which would incriminate you anyways? lol)
    Last edited by terrorofdeath; 19-01-11 at 04:09 PM.


  2. #2
    Account Upgraded | Title Enabled! mrNickname is offline
    MemberRank
    May 2005 Join Date
    Isolated TowerLocation
    270Posts

    Re: Complete Pangya Setup Guide [v1]

    Very detailed guide and creative added. That will ensure any newbie out there won't run off the track. I like it! xD

    I'll add this topic link to my thread too ;)

  3. #3

    Re: Complete Pangya Setup Guide [v1]

    Quote Originally Posted by mrNickname View Post
    Very detailed guide and creative added. That will ensure any newbie out there won't run off the track. I like it! xD

    I'll add this topic link to my thread too ;)
    Yes, I did my best to make it "idiot-proof". ._.'

    Okay, perhaps I lied in the first post. I'm going to add an "Additional Topics" section when I re-post this. If anyone has a detailed, step by step guide for WAN setup, I'd like to include it.

    (Cause I don't have time to try and figure it out right now as I'm off to college in 3 days.)

  4. #4
    Apprentice Analezey is offline
    MemberRank
    Dec 2008 Join Date
    9Posts

    Re: Complete Pangya Setup Guide [v1]

    Thank all mrNickname , Tsukasa , Terrorofdeath

    And all people make Server Repack and Guide

  5. #5
    The Prodigal Explorer Thamodz is offline
    MemberRank
    Apr 2009 Join Date
    Summoners RiftLocation
    1,164Posts

    Re: Complete Pangya Setup Guide [v1]

    Thanks for this very useful guide and files.

  6. #6

    Re: Complete Pangya Setup Guide [v1]

    Alright, I'm about to get to work on the edits, additions, and new forum topic for this guide. There's little changes to the guide itself so there's no need to wait for the new version.

    In the mean time however, LOVE MY SKIRT! ;3



    (Perhaps I'll make a Gallery section since I'm a SS spammer... hmmm.)


    EDIT:

    Version 1.2 is up. :3 Will work on the thread version when I find time again...it's college time.
    Last edited by terrorofdeath; 15-01-11 at 10:16 PM.

  7. #7
    Apprentice suparlck is offline
    MemberRank
    Aug 2010 Join Date
    12Posts

    Re: [v1.2] Complete Pangya Setup Guide

    Help Me

    Client:Pangya_PrivateClient

    Error >>> An error occurred while receiving the file list from the Server

    Help Me T^T

  8. #8
    i liek pie iceblade112 is offline
    MemberRank
    Aug 2009 Join Date
    1,192Posts

    Re: [v1.2] Complete Pangya Setup Guide

    Same as suparlck! I need help with it!

  9. #9

    Re: [v1.2] Complete Pangya Setup Guide

    In putting the server on another computer, I get the same. Try your firewall. I'll post if I get it working.

    EDIT: I don't feel exactly up to explain this in full but:

    What worked for me (on Win7, 64bit), is to allow complete communication from "127.0.0.1" to "127.0.0.1" in the Window's Firewall. The error arises from the client not being able to initially communicate with the server because of the WinFirewall.
    Last edited by terrorofdeath; 18-01-11 at 07:55 AM.

  10. #10
    i liek pie iceblade112 is offline
    MemberRank
    Aug 2009 Join Date
    1,192Posts

    Re: [v1.2] Complete Pangya Setup Guide

    Haha, I fixed that, I configured the Server.ini files wrong. :P But, I have "Log-in server is down.", and is there a Auto-Patcher for servers?

  11. #11

    Re: [v1.2] Complete Pangya Setup Guide

    Down means your client can not communicate with the login server. Make sure the IPs in the client and server configs are what you want (127.0.0.1 for single computer play, your static LAN IP for LAN).

    If it happens to mentions maintenance, did you miss this step?

    * Locate the Login Server command prompt. Type in "alluseropen" to allow players to log in.

  12. #12
    Novice sazuke91 is offline
    MemberRank
    Aug 2008 Join Date
    1Posts

    Re: [v1.2] Complete Pangya Setup Guide

    cant use pangya season 4.5 client from ntreev eh?

  13. #13

    Re: [v1.2] Complete Pangya Setup Guide

    Quote Originally Posted by sazuke91 View Post
    cant use pangya season 4.5 client from ntreev eh?
    It's ill advised to do so; I doubt that client has all the items the 4.9 one does.

    Nickname should still have it in parts- in addition to the full download- in case your internet connection isn't the greatest.

  14. #14
    Novice LamFung is offline
    MemberRank
    Jun 2009 Join Date
    1Posts

    Re: [v1.2] Complete Pangya Setup Guide

    is there any working server already where people can play on it? and do I have to portforward or sometihing(if so, how xD)? cuz i remember someone did for my maplestory server
    people sill get " login server down" if they're trying to log in the server
    can someone help me please by using teamviewer or something T_T

  15. #15
    All CHAOS! X_Sarah_X is offline
    MemberRank
    Jul 2009 Join Date
    BeachLocation
    630Posts

    Re: [v1.2] Complete Pangya Setup Guide

    Quote Originally Posted by LamFung View Post
    is there any working server already where people can play on it? and do I have to portforward or sometihing(if so, how xD)? cuz i remember someone did for my maplestory server
    people sill get " login server down" if they're trying to log in the server
    can someone help me please by using teamviewer or something T_T
    I have a server running in Open Beta which is used slightly (~60 accounts).



Page 1 of 5 12345 LastLast

Advertisement