[Guide] Make Your Own Tantra Server Files Opener

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    note [Guide] Make Your Own Tantra Server Files Opener

    Hiya Ragezoners,

    I have been wondering in the forum for quite some time now. In fact I successfully setup/install my own server (currently at testing phase) and I thought maybe I should contribute in the community in a small way.

    So to start, at the end of this guide my main objective is to allow and let everyone to have a quick Tantra server files opener (e.g. DBSRV.EXE, MSGSRV.EXE, etc.) without browsing through the different folders of your server file directory.


    Requirement(s):

    Visual Basic 2008 Express Edition - Microsoft or later

    Steps:

    1. First download the above requirement(s).
    2. Install the said software.
      (You can skip Step 1 & 2 if you already have it in your system)
    3. Go to start and search for Microsoft Visual Basic 2008 Express Edition and open it.
    4. Once Microsoft Visual Basic 2008 Express Edition is opened, look for Create "Project" (see image below)

    5. New Project menu will pop-out. Click on Windows Form Application and type in your desired Project Name (e.g. Tantra Server Files Opener) (see image below) and click OK.

    6. Change the name of your software form as desired (e.g. Tantra SFO) (see image below) and hit Enter.

    7. Now we add a clickable button that will execute the first file to be open which is the DBSRV.EXE. To do this hover your mouse pointer on "Toolbox" (upper left corner) and look for "Button" and double-click or drag it inside the Form1 (e.g. Tantra SFO) box. You might want to adjust the location of this button and change the button name inside the form to suffice your needs (see images below)

      Result: To quickly rename the button just click on it and change its Text Properties (e.g. DBSRV)

    8. Now that we have already created the button we need to specifically call on its target inside our system. To do this just simply right-click on it and select View Code (see image below) and it will take you to new tab where you will insert the correct code.

    9. Once the new tab appears place this code accordingly (see image below)
      Code:
      System.Diagnostics.Process.Start("D:\Server\DBSRV\DBSRV.exe")


    10. Once done we need to test the button if it works by clicking on "Start Debugging" button (see image below)

    11. Click on your first button (e.g. DBSRV) and if the DBSRV menu pops out it means it works if not check your code again.
    12. To add the rest of the buttons (e.g. MSGSRV, ITMSRV, SQLDAEMON, ZONE 1, etc,) Please repeat Step 7 to 9
    13. Once you are done creating all the necessary buttons, we need to publish our project in order for us to get the executable (.exe) file for the said project. To do this click Build (top) and select Publish Tantra SFO or whatever the name of your project is.
    14. A new window will appear and follow the prompts in this manner.
      1. Specify the location to publish this application (click Browse to do so)
      2. Select "From a CD-ROM or DVD-ROM
      3. Select "The application will not check for updates"
      4. Read the message and click Finish

    15. Alternatively you can acquire the executable (.exe) file of your project @ C:\Users\%Computer Name%\Documents\Visual Studio 2008\Projects\%Project Name%\%Project Name%\bin\Release\%Project Name%.exe


    For questions and violent reaction please do not hesitate to leave your post here. Thank you!
    Last edited by A v a r a; 15-05-14 at 12:42 AM.


  2. #2
    تانترا اون لاين Lunatic is offline
    MemberRank
    Jan 2014 Join Date
    KoreaLocation
    420Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Thank you for this
    :D

  3. #3
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Quote Originally Posted by noesis123 View Post
    Thank you for this
    :D
    No worries. Please post your output here so everyone can see your work :)

    Glad to help.

  4. #4
    تانترا اون لاين Lunatic is offline
    MemberRank
    Jan 2014 Join Date
    KoreaLocation
    420Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    btw bro , you know to how to fix party exp ??

  5. #5
    Novice Don Pedro is offline
    MemberRank
    Jul 2014 Join Date
    Bacolod City, PLocation
    1Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Hi guys. Can anyone give me a full tantra server files? been playing tantra since 2006 and i want to create one for a change. Please anyone? help me.
    Email me here leadstrat.rodney@gmail.com thanks a lot!

  6. #6
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    why not something simple?:

    Code:
    on cmd:
    
    start DBSRV\DBSRV.exe
    something like:
    Attached Files Attached Files

  7. #7
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Quote Originally Posted by John View Post
    why not something simple?:

    Code:
    on cmd:
    
    start DBSRV\DBSRV.exe
    something like:
    This can be helpful too but this guide of mine is a way of showing that you can open each zone without compromising your computer's memory because as we all know it takes upto 16GB memory in opening all zones. So I am thinking why not easily open each zone one by one.

  8. #8
    Ronin Dev John is offline
    MemberRank
    Mar 2011 Join Date
    /dev/nullLocation
    382Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Quote Originally Posted by A v a r a View Post
    This can be helpful too but this guide of mine is a way of showing that you can open each zone without compromising your computer's memory because as we all know it takes upto 16GB memory in opening all zones. So I am thinking why not easily open each zone one by one.
    But, the Server or PC need visual installed, you can add "pause" in the cmd code for open files manual one by one. Well it's other alternative more. :)

  9. #9
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    you can add menus to a batch file and also color or if you want to get creative you can also convert a batch file to an exe file with ease as well. Visual Studio Basic is more ideal than a batch file but, a batch file will not fail and can be edited for location of the files. Hey avara you are doing a great job so far. Next step is looking into creating hex strings and you will be on your way to creating a new launcher lol.

  10. #10
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Quote Originally Posted by John View Post
    But, the Server or PC need visual installed, you can add "pause" in the cmd code for open files manual one by one. Well it's other alternative more. :)
    Yeah I agree. Its an alternative to this.

    Quote Originally Posted by jbeitz107 View Post
    you can add menus to a batch file and also color or if you want to get creative you can also convert a batch file to an exe file with ease as well. Visual Studio Basic is more ideal than a batch file but, a batch file will not fail and can be edited for location of the files. Hey avara you are doing a great job so far. Next step is looking into creating hex strings and you will be on your way to creating a new launcher lol.
    Thanks for the compliment and I am not after with the launcher for now. What I am after is the GUI of Extreme or Tantra.PH I will do whatever it takes to get their GUI so far its really hard getting those I can't even play their server and I don't know why. Its maybe my country's IP is ban or what so ever.

  11. #11
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    GUIs are a dime a dozen. Why don't you simply create your own?

  12. #12
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Quote Originally Posted by jbeitz107 View Post
    GUIs are a dime a dozen. Why don't you simply create your own?
    I am a fan of lazyness :D and I am quite confuse what part of the GUI in the client appear in-game there are so many files that have squares on it and I don't know which is which. I am planning to play in Extreme and screenshot everything in there and copy and paste it to my client.

  13. #13
    www.m.me/ExcelsiorSoftLLC master_unknown is offline
    MemberRank
    Oct 2004 Join Date
    HellLocation
    1,242Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    a batch file will not fail and can be edited for location of the files.
    pff. You dont need hex strings to launch or create another form of Tantra Launcher. Why the fuck will I do such a hassle way where theres an easier way? Programming is used to make your life easier not the other way around.

    And in fact, if your goal is to create another launcher, its WAY BETTER to create another file structure (Like Extreme does). Its easier to update & maintain. And its Copy-Paste proof as well.

    In short, creating a new Update.exe (The launcher) is not worth the time.


    As for the Thread starter, try this method.
    Dim x as string = "File directory\filename.exe"
    Process.start(x)

    And use FolderDialog to setup your directory, store the directory to a text box.
    Load the directory from the Textbox & add the "exes".
    Then, save the "String" from textbox to an INI so everytime your launcher starts, it loads the directory.
    (You dont have to reopen/relocate the directory again & again).

    Example: Textbox1.text = "c:\server\"

    for the button:

    Code:
            Try
                Dim x = txtDir.Text
                Process.Start(x & "\file.exe")
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
    Extra Tip:
    Try launching the Server binaries inside the MDI Form.
    So you have a cleaner desktop. lol
    Last edited by master_unknown; 23-07-14 at 08:12 PM.

  14. #14
    Tantra Freelancer A v a r a is offline
    MemberRank
    Apr 2014 Join Date
    In Your HeadLocation
    554Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Quote Originally Posted by master_unknown View Post
    pff. You dont need hex strings to launch or create another form of Tantra Launcher. Why the fuck will I do such a hassle way where theres an easier way? Programming is used to make your life easier not the other way around.

    And in fact, if your goal is to create another launcher, its WAY BETTER to create another file structure (Like Extreme does). Its easier to update & maintain. And its Copy-Paste proof as well.

    In short, creating a new Update.exe (The launcher) is not worth the time.


    As for the Thread starter, try this method.
    Dim x as string = "File directory\filename.exe"
    Process.start(x)

    And use FolderDialog to setup your directory, store the directory to a text box.
    Load the directory from the Textbox & add the "exes".
    Then, save the "String" from textbox to an INI so everytime your launcher starts, it loads the directory.
    (You dont have to reopen/relocate the directory again & again).

    Example: Textbox1.text = "c:\server\"

    for the button:

    Code:
            Try
                Dim x = txtDir.Text
                Process.Start(x & "\file.exe")
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
    Extra Tip:
    Try launching the Server binaries inside the MDI Form.
    So you have a cleaner desktop. lol
    Damn your good. You really got me about the "cleaner desktop" lol and thanks for the input. Will definitely try and experiment this. I am not a pro but I can definitely learn in no time.

  15. #15
    Tantra/Web Development jbeitz107 is offline
    MemberRank
    Mar 2012 Join Date
    USALocation
    1,471Posts

    Re: [Guide] Make Your Own Tantra Server Files Opener

    Don't know if this has been said either but, it is best to load the files minimized to keep your desktop clean. Simple suggestion of course. I saved myself a lot of trouble and encoded it into my website admin tool to open the server instead. Much easier and I don't have to physically be on the server to achieve this.

    BTW My way is truly the lazy way. LOL
    Last edited by jbeitz107; 24-07-14 at 09:36 AM.



Page 1 of 2 12 LastLast

Advertisement