Lunia Repack ~ RageLunia

Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    Valued Member pushedx is offline
    MemberRank
    Oct 2008 Join Date
    100Posts

    config Lunia Repack ~ RageLunia

    This is my first repack! I have put a lot of time and effort into these guides, so please leave any feedback if you follow them or have any comments on how things could be done differently. While I have tried to eliminate all mistakes in my long editing process, some may remain. If you come across any, feel free to point them out and I will make an addendum.

    Please read everything before asking for help! If you read carefully and follow along, you should not run into any serious issues unless I have made an editing mistake in my guides. I have redone a few guides due to errors, but most of them should be fine as-is now.

    The password to any .7z file is "ragezone" (without quotes). For other Lunia references, please take a look at the following two threads:
    http://forum.ragezone.com/f111/lunia-cn-727325/
    http://forum.ragezone.com/f111/lunia-files-767911/

    NOTE: This guide only covers setup, install, and basic configuration. No actual editing or development topics are in this thread as that is for another thread!

    The purpose of this guide and repack is to help people from start to finish to get the Lunia files working and to understand the process of setting up a VM environment to work in. If you do not want to use a VM or need to use another OS or database, then this repack is not for you. Feel free to use anything you need from it, but I cannot help you if you are not using the same setup I am. I have not made too many changes to files, but I do not have a list of every little thing.

    To start things out, you will first want to download and read over the first 6 pages of my guide: RageLunia.pdf. You may skip page 4 because it was written for when you are actually following the guide. In doing so, you will know if you wish to actually use this repack or not. If you think there will be a conflict between how my repack is setup and your intended setup, then you do not need this thread! If you think this repack is what you need, then please continue.

    If you are new to setting up private servers, then this section was made especially for you. If you feel that you are experienced in using VirtualBox, setting up and using Windows Server 2003 as well as MS SQL Server 2008 R2, and know how to configure IIS 6, then you can skim over this section as it will contain a lot of information you already know, but some of it you might need still.
    Spoiler:

    The Beginners Guide to setting up Windows Server 2003, MS SQL Server 2008 R2, and IIS on a VirtualBox VM.

    Rather than write a length detailed step-by-step guide that you could probably find elsewhere on the net, I have made a series of videos that go through everything. This process should come at no surprise if you have ever installed an operating system or updated your PC. However, they are made to give you confidence in the process of setting up your VM if you are new to this type of work.

    To get started, you will need to download and install VirtualBox. You will most likely need to restart your PC afterwards, so bookmark this thread for easy return!

    Now that you have VirtualBox installed, you have some decisions to make. You can either download everything you need on your own or you can use a package I have put together to get you quick started. Everything included has been tried and tested as shown in the videos, but you must still exercise caution when using the third party utilities. I had no issues with them though. Everything provided is for educational, non-commercial uses only!

    If you wish to download the core programs yourself:
    Spoiler:

    Windows Server 2003 (not actually a download link)
    Windows Server 2003

    Windows Server 2003 Service Pack 2 (for older installs)
    Download Confirmation - Microsoft Download Center

    SQL Server 2008 R2 Express: 32-bit Database and Management Tools
    https://www.microsoft.com/betaexperi...XPDBMT32/enus/

    Hex Workshop Professional Hex Editor (Please support good software!)
    Downloads from BreakPoint Software, Inc.

    TweakUi (Optional, but handy)
    Windows XP downloads - Microsoft Windows

    Firefox (Required)
    Mozilla Firefox 3.6

    Sysinternals Suite (Very useful)
    Sysinternals Suite

    7zip (Required)
    Download

    Notepad++ (Very useful)
    Notepad++ v5.9.3 - Current Version
    If you would rather download everything you need in one set of files, I have put together a complete package suitable for VMs: RageLuniaTools

    Once you have the files needed, you can begin installing everything. To summarize what you will do (for people that know their way around the software):
    - Create a Windows Server 2003 VirtualBox VM
    - Fully update the VM and add Guest Additions
    - Install any extra necessary tools (software)
    - Install and update MS SQL Server 2008 R2 (Named Instance: RL1)
    - Install and update IIS 6, add ASP support, and configure Windows Firewall (if enabled)

    For most people, the following guides are overkill, but they were made for beginners! You do not have to download or watch them all if you do not wish, but they can be helpful if you are looking for something to follow. Note: I have only 7z'ed the videos to save a lot of space. Trying to actually upload the videos to YouTube or something will not work because of their size and possibly due to their content. With that said, here are the video guides:
    Spoiler:

    p1 - Setting up VirtualBox image and starting the Windows Server 2003 install process.
    p2 - Installing Windows Server 2003
    p3 - Installing VirtualBox Guest Additions
    p4 - Installing some useful tools
    p5 - Updating Windows Server 2003 to SP2 (offline)
    p6 - "Activating" WIndows Server 2003 and full updates via Windows Update
    p7 - Installing MSSQL Server 2008 R2 + more updates
    p8 - Installing IIS and allowing ASP + Windows Firewall configuration
    Once you have everything installed, updated, and configured, you may procede on with the rest of the guide. It is advisible to take a VM snapshot of your base configuration in case you need to return to it or you can clone the VM if you want to use it for other games to save yourself time. You can read more about these topics in the VirtualBox manual.
    If you are reading this, you should have a fully setup VM now to install Lunia onto. Be sure you have already downloaded my guide in PDF format at the top so you can refer to it as you go along. If you would rather use a HTML or Word document, the guide has been included in the "0 - Guides" folder of the server files repack.

    When you are ready, you can first download and extract the RageLunia (repack) server files: RageLuniaServer

    Next, you can download and extract the RageLunia client files (99Lunia, unmodified): RageLuniaClient

    It is recommended you extract the server files to C:\RageLunia on your VM. The files are double-packed (195mb max to allow more mirror options), so you will need to be sure to extract them with that in mind. Note: in my guides, I show how to use Shared Folders with VirtualBox. Take a look at that topic for an easy way to get files to your VM from your host PC! In my guides, it is shown in p1.

    Once the server files are done, you may wait to download the client files later if you wish, we can begin installing and configuring the server. The following video guides have been made to assist the installation process. They follow what my guide says, but are for people who would rather see than just read.

    Stage 1 – Setting up the Database
    Text Summary (please read the guide for more information!):
    Spoiler:

    1. Start “SQL Server Management Studio”. This can be found under the “Start->Microsoft SQL Server 2008 R2” menu item.
    2. Connect using the default settings to your database. The default settings will use Windows Authentication.
    3. Right click on “Databases” and choose “Attach” from the menu pop-up.
    4. A new dialog will appear. This is the interface we can use to attach existing databases to our SQL instance.
    5. Click “Add…”. A new dialog will appear. We can choose our files from here.
    6. Navigate to your “C:\RageLunia\1 - Database” folder. You should see the MDF files for Lunia listed.
    7. For each of the MDF files you see, double click on the file name to select it. Once you add a MDF file, click on the “Add…” button again and repeat this step until all MDF files have been selected.
    8. Once all MDF files have been added to the GUI, you can now start the attach process. Simply click on the “OK” button to start the process. If all goes well, the dialog will close after it is finished. Expand the “Databases” tree view item and you should see the databases listed.

    Stage 2 – Setting up the WebServer
    Text Summary (please read the guide for more information!):
    Spoiler:

    0a. The first thing we will do is open the “_readme_first.txt” file and read it.
    0b. The second thing we will do is open the “_readme_second.txt” file and read it.
    0c. The third thing we will do is open the “_readme_third.txt” file and read it. (if you are not reading my guide)
    1. Now, we can add “Administrative Tools” to the start menu. Right click on the task bar->properties->Start Menu->Classic Start menu->Customize->”Display Administrative Tools”.
    2. Start “Internet Information Service (IIS) Manager”. This can be found under the “Start->Programs->Administrative Tools” menu item.
    3. The IIS manager should start and it should look something like this (notice the Web Service Extensions has focus on the left incase yours does not). The important thing is “Active Server Pages” being “Allowed”.
    4. We will first change the Default Web Site settings to be compatible with the Lunia files. Right click on the “Default Web Site” icon under the “Web Sites” tree view item and choose “Properties”.
    5. A new dialog will appear. From here, we can change settings for this particular site.
    6. Change the tab at the top to “Home Directory”.
    7. Click the “Browse…” button to the left of the ‘Local path:” field. Navigate to your “C:\RageLunia\2 – WebServer\” folder and select the IIS folder. If you do it right, the path will say “C:\RageLunia\2 – WebServer\IIS”.
    8. Click on the “Configuration…” button to the right of the “Starting point:” field. In the new dialog that appears, change the Tab to “Options” and place a checkmark on “Enable parent paths”. Click “OK”. This allows us to have “../” in script paths like Lunia uses.
    9. Save the changes by clicking “Apply” and then “Ok” on the “Default Web Site Properties” dialog. Highlight the “Default Web Site” tree view item and hit F5 to refresh the list of files. You should now see the Lunia files.
    10a. The first thing we will try is creating an account. Navigate to the registration page: http://localhost/reg/reg.asp. If all goes well, the page should load and you should be able to register an account.
    10b. We now need to test the same page remotely. Access the same URL, but using the servers address instead from another PC.
    11. The next test we will perform is checking the Web Shop admin panel. Access the “/admin” folder via web browser, such as http://localhost/admin, and login using credentials username: “admin” password: “123456” (without quotes).
    12. If all goes well, you should see the Web Shop admin interface! Logout after you are done.

    Stage 3 – Setting up the GameServer
    Text Summary (please read the guide for more information!):
    Spoiler:

    1. We will use the included configuration files as-is, but you may wish to take a look through the different XML files later on. For now, don’t change anything as we just care about getting everything working at first.
    2. Now we will launch all the game server executables. Run “_start.bat”. Click “Unblock” on any Windows Firewall prompts!
    3. At this point we will need to wait until all servers load. You will know the servers have loaded when:
    * Both “Stage” executables end with “ enter >”
    * The main “Master” executable lists the 4 other servers as being “authorized”.
    Congratulations! Your new Lunia server has been setup.

    Now we can test it. Wherever you extracted the 99Lunia client, there will be a "client_readme.txt" file.
    Spoiler:
    1. Add "_play.bat" from the current folder to the root directory. This will be used to start the client.

    2. Backup the Lunia "Locales\ChineseT.zip" file and copy over the "ChineseT.zip" file from the current directory. The password is: JuhaniHonkala

    3. Run "LuniaOption.exe" and remove the checkbox from the top right corner. This makes Lunia run in windowed mode. Click the middle button at the bottom to save and exit.

    4. Delete the "ConnectInfo.b" from the Lunia folder and copy over the "ConnectInfo.b.txt" file from the current folder. Replace all "127.0.0.1" instances with the IP of your server.
    Follow those steps and then run "_play.bat" to start Lunia. If all goes well, you should be able to login with an account you made and create a new character. From there, the game should just work! The web shop has been modified a little to allow easier dev work to be done on it. The following guide has been made to show a quick example of using it:
    p12 - Quick example for setting cash shop gold and buying via the web site (rather than in game)

    From here, further development on the Lunia server files can begin. As you should have read from my guide, there are still quite a few things that need to be addressed with the files. I cannot recommend running these files on a live server until you understand all of the security implications and can afford to have a high end server to actually run the files on. In other words, the resources needed to get a real server up and running far eclipse the possibilities of breaking even from donations with these server files as-is. A lot more work is needed first, so I advise caution before rushing to try and use them.

    I hope someone can find this useful, thanks for reading!

    Addendum:

    - I forgot to say rename "ConnectInfo.b.txt" to "ConnectInfo.b" after you are done editing it for testing the client. Sorry!
    Last edited by pushedx; 16-08-11 at 12:02 AM. Reason: Added addendum


  2. #2
    Valued Member Omikron is offline
    MemberRank
    Sep 2008 Join Date
    My Moms BasementLocation
    142Posts

    Re: Lunia Repack ~ RageLunia

    Dear lord. Very well done.
    I would've liked it twice for all the effort and time you put in it. ;)
    I'm gonna give this a try when I have the time.
    Thanks again.

  3. #3
    Sharing is caring KillerStefan is offline
    MemberRank
    Feb 2007 Join Date
    NetherlandsLocation
    2,554Posts

    Re: Lunia Repack ~ RageLunia

    You are a busy man good sir!

  4. #4
    Valued Member abenz is offline
    MemberRank
    Jan 2009 Join Date
    115Posts

    Re: Lunia Repack ~ RageLunia

    Thanks bro, i will try it.

  5. #5
    Enthusiast UncleWill is offline
    MemberRank
    Feb 2011 Join Date
    BrazilLocation
    28Posts

    Re: Lunia Repack ~ RageLunia

    Thank you pushedx, I followed your tutorial and finally got to run the server!
    Would anyone tell me if there is a way to put cash in your account and some command to get items?

  6. #6
    Valued Member pushedx is offline
    MemberRank
    Oct 2008 Join Date
    100Posts

    Re: Lunia Repack ~ RageLunia

    Quote Originally Posted by UncleWill View Post
    Thank you pushedx, I followed your tutorial and finally got to run the server!
    Would anyone tell me if there is a way to put cash in your account and some command to get items?
    Glad to hear you got it working! Thanks for the feedback!

    To add cash to an account, you can use the "CashPoints" table inside the "Billing" database and directly set the nCash value for the user. You can then write your own ASP page or custom system for working with this either using the table directly or working with the SP "Public_Add_Money" (kind of tricky to follow their SP code though).

    As for GM commands or anything else to add items and whatnot, I do not know. I'm not familiar enough with the game, so maybe someone else knows or there is another thread with that information.

  7. #7
    Account Upgraded | Title Enabled! sagedonald is offline
    MemberRank
    May 2008 Join Date
    305Posts

    Re: Lunia Repack ~ RageLunia

    Quote Originally Posted by pushedx View Post
    Glad to hear you got it working! Thanks for the feedback!

    To add cash to an account, you can use the "CashPoints" table inside the "Billing" database and directly set the nCash value for the user. You can then write your own ASP page or custom system for working with this either using the table directly or working with the SP "Public_Add_Money" (kind of tricky to follow their SP code though).

    As for GM commands or anything else to add items and whatnot, I do not know. I'm not familiar enough with the game, so maybe someone else knows or there is another thread with that information.
    The commands are in the server bats[?]. So in the .exe for SQUARE SERVER you can type HELP or ? or something to show all the commands.

  8. #8
    Enthusiast UncleWill is offline
    MemberRank
    Feb 2011 Join Date
    BrazilLocation
    28Posts

    Re: Lunia Repack ~ RageLunia

    Thanks for the replies!

    The commands are in the server bats[?]. So in the .exe for SQUARE SERVER you can type HELP or ? or something to show all the commands.
    sagedonald by typing "help" or "?" in the Square Server, a list of commands appears, but I think there is no way to add items there.
    Is there another way? xD

  9. #9
    Account Upgraded | Title Enabled! sagedonald is offline
    MemberRank
    May 2008 Join Date
    305Posts

    Re: Lunia Repack ~ RageLunia

    Quote Originally Posted by UncleWill View Post
    Thanks for the replies!



    sagedonald by typing "help" or "?" in the Square Server, a list of commands appears, but I think there is no way to add items there.
    Is there another way? xD
    Unless you can edit the .exe or you have the source code, I don't believe so.

  10. #10
    Apprentice vini3006 is offline
    MemberRank
    Apr 2008 Join Date
    8Posts

    Re: Lunia Repack ~ RageLunia

    Follow those steps and then run "_play.bat" to start Lunia. If all goes well, you should be able to login with an account you made and create a new character. From there, the game should just work! The web shop has been modified a little to allow easier dev work to be done on it. The following guide has been made to show a quick example of using it:
    p12 - Quick example for setting cash shop gold and buying via the web site (rather than in game)


    Could you say-me what is the password to extract ? =] thnx

  11. #11
    Enthusiast UncleWill is offline
    MemberRank
    Feb 2011 Join Date
    BrazilLocation
    28Posts

    Re: Lunia Repack ~ RageLunia

    Could you say-me what is the password to extract ? =] thnx
    It's "ragezone":

    The password to any .7z file is "ragezone" (without quotes).
    Woooow, I forgot to see the p12 of tutorial, now it's easy to know how to buy cash, thanks again pushedx and sorry for the redundant question before xD

    Pity that the system of party is not working .... I could not do two players play the same "stage" = /

  12. #12
    Novice shanaou is offline
    MemberRank
    Aug 2011 Join Date
    2Posts

    Re: Lunia Repack ~ RageLunia

    Thank you pushedx for server files and best tutorial.

    I followed your tutorial until getting stuck at this step.

    Any suggestion? Please tell me.
    Thank you!.

    Last edited by shanaou; 25-08-11 at 03:23 PM. Reason: check picture link

  13. #13
    Alpha Member john007 is offline
    MemberRank
    Dec 2005 Join Date
    In MarsLocation
    2,342Posts

    Re: Lunia Repack ~ RageLunia

    cool i just did a search on youtube and found some game plays for it.. awesome 2D graphic games, so many characters to choose from. how much Memory(RAM) do we need to host and play on the same PC?

  14. #14
    Enthusiast UncleWill is offline
    MemberRank
    Feb 2011 Join Date
    BrazilLocation
    28Posts

    Re: Lunia Repack ~ RageLunia

    cool i just did a search on youtube and found some game plays for it.. awesome 2D graphic games, so many characters to choose from. how much Memory(RAM) do we need to host and play on the same PC?
    I managed to run the server and play on the same PC with 4GB of ram, but the OS will be extremely slow.

    Would anyone tell me if the method of adding items from the database (itemHash) work?

    I tried to add manually through the database of Lunia Bible, but the database of the server reports that the item is not registered, and I selected an item very old to add...

    ____________

    I was able to add items from the database normally.

    Problem Fixed :D
    Last edited by UncleWill; 25-08-11 at 10:48 PM. Reason: Problem Fixed

  15. #15
    Valued Member pushedx is offline
    MemberRank
    Oct 2008 Join Date
    100Posts

    Re: Lunia Repack ~ RageLunia

    Quote Originally Posted by shanaou View Post
    I followed your tutorial until getting stuck at this step.
    Any suggestion? Please tell me.
    Thank you!.
    Usually, when you get those warnings, it's related to IIS settings. Double check to make sure that you updated all the necessary configs with database settings. If you used my tool to set the configs, it should all be fine, as long as you didn't try to run it more than once. IIS setting wise:
    - it's not related to the parent paths, since that stops scripts from loading
    - it won't be related to 32bit errors since it looks like you are on 32bit server
    - ".asp" is enabled since you can actually access the page
    - I don't think it's related to firewall since it's local access (unless you accidently hit Block on an exe)
    - Double check your cookie domain that's set inside "IIS\lib\include\session.asp".

    * If you go through and make any more changes, you might want to try restarting IIS or restarting the server to make sure the settings apply (or if you get internal server error 500).

    Can you access your Cash Shop via the web? If you can login to Admin panel or the cash shop itself fine, then you should be good. If you can't though, there's a step you need to go back and fix and that should also take care of those warnings.

    Also, do the readme guides look all weird in Server 2k3 with East Asian support inside the WebServer folder? Not sure what happened to the quotes, but I followed my repack on a new VM just now and it's all messed up. It's not a huge deal, but if you copy pasted anything, you might want to double check that.

    Anyways, try to continue on and ignore those warnings if everything looks fine. It might be related to servers not yet starting on your PC whereas they might have started a lot sooner and faster on mine so I didn't get them. I just ran through the tutorial again on a new VM and didn't have any issues other than needing to restart IIS at one point where I forgot to attach the databases then tried to log the web page.

    If you still can't get it, send me a PM and we can work it out. :)

    Quote Originally Posted by john007 View Post
    cool i just did a search on youtube and found some game plays for it.. awesome 2D graphic games, so many characters to choose from. how much Memory(RAM) do we need to host and play on the same PC?
    You would ideally want a 12GB+ PC to play and host from. At least 6-8 GB for the VM or server depending on how you wanted it setup, then as much as possible for Windows and Lunia (6GB+). You'd also want at least a quad core, probably higher 2.X ghz. I can't say how the game would play with a lot of people though, since I never tested that, but in single player, I was using quite a bit of ram between the VM and the game itself. I have lots of ram to spare on my PC though, so it worked pretty smoothly for me (and it was pretty fun).

    It is a cute little game though, I hope to do some more stuff with it in the future after I'm done working on some other stuff. There's a lot of development work that needs to be done with the files still. I think it's a viable dev project, but before actually dedicating to it, I'd like to look around at other games myself to see what'd I'd like the most.



Page 1 of 3 123 LastLast

Advertisement