Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792

    Lightbulb How to make and edit your private server [BASIC & NOOB FRIENDLY]

    What you will need:

    1. SharpDevelop 4.3
    2. Private Server Files
    3. A Computer
    4. A Brain
    5. Optional: Knowledge of C#



    How make your private server:

    Making a private server takes will and effort to learn. If you are not willing to learn, and put in the effort to make and run a successful private server you shouldn't be making one in the first place. Basically, you will need more then 10 minutes to make one.
    There are many tutorials out on MPGH on how to make a private server, follow Owlupus's MMOEmpire Private Server Setup Tutorial


    How to edit your private server:

    Editing your private server can be frustrating and confusing. So I will teach you the basics of what to do to edit the most basic things.

    First of all you will need to have downloaded private server files and SharpDevelop 4.3, then you want to open up SharpDevelop 4.3 and click File > Open> File...
    Then go to your private server files and search for server.sln, once you have found the path copypaste it into the file select dialog on SharpDevelop 4.3 and then you have successfully setup SharpDevelop 4.3 with your private server.
    Now editing your private server is only a few clicks away, but you may be asking how do I edit such and such? In SharpDevelop 4.3 on the left side there is a bar called Projects, open Solution server and you will see a bunch of different folders.
    I will be explaining how to edit the DNS and realms of your private server in this tutorial, if you want to learn other things scroll down and I will have a list of tutorials.

    Navigate to 'server > char > list.cs and double click it, then list.cs should appear. Scroll down in the file and you should find this:
    Code:
    Servers = new List<ServerItem>()
                        {
                            new ServerItem()
                            {
    Below that will be your servers, delete all the rest except for the one at the top.
    Your one server should look like this:
    Code:
    new ServerItem()
                            {
                                Name = "Example Name",
                                Lat = 22.28,
                                Long = 114.16,
                                DNS = "Example DNS",
                                Usage = 0.2,
                                AdminOnly = false
                            }
    Now I will be explaining things very simply.
    Name = "" is the name of the server e.g. USWest
    Lat = and Long = are the latitude and longitude that the client will connect to if it is selecting Best Server, if you only have 1 server it wont matter and they will automatically connect to the one server you have.
    DNS = "" is the DNS, here you will insert your Hamachi IPv4 address if you are using Hamachi, or your routers IP address if you port forwarded
    Usage = should always be 0.2. If you set it to 1 the server will act as if it was full and you wont be able to connect.
    AdminOnly = is self explanatory, make sure to have at LEAST one AdminOnly = false server for your players!


    How to make yourself admin:

    In order to do this you need heidiSQL
    Open up heidiSQL and login to your MySQL.
    Expand the rotmg folder and then double click accounts
    Go on the Data tab
    There you will see the Username, Password, Name of Character, and much other stuff.
    Change admin to 1 on the accounts you want to have admin on!


    Other Tutorials:




    Credits:

    @ZBORNOX for always being unavailable when I needed help and replying 40 minutes later when I had already solved it
    @Owlupus for the amazing MySQL tutorial
    @Trapped for all his work on private servers
    @Drowlys for his MMOEmpire Private Server v2 Files
    @Botmaker for all his work on private servers
    @Hux for staying with us when our beloved Realm of the Mad God section needed approvals

    @Hux if this is in the wrong section I am sorry I thought it would get out to more noobs in this one and a sticky would also be appreciated
    Last edited by Trollaux; 05-11-2013 at 02:36 PM.
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

  2. The Following 5 Users Say Thank You to Trollaux For This Useful Post:

    aixprod (05-12-2013),Alde. (01-14-2014),ccadunha (05-11-2013),Norjajetu (11-18-2017),Trapped (05-11-2013)

  3. #2
    ccadunha's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Brazil
    Posts
    44
    Reputation
    10
    Thanks
    15
    My Mood
    Amazed
    Okay, I got a question, everything is working fine, but I don't have admin rights, I can't spawn/give things, any small tutorial to Add admins?

  4. The Following 2 Users Say Thank You to ccadunha For This Useful Post:

    aixprod (05-12-2013),Nulran (05-11-2013)

  5. #3
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792
    Quote Originally Posted by ccadunha View Post
    Okay, I got a question, everything is working fine, but I don't have admin rights, I can't spawn/give things, any small tutorial to Add admins?
    Added a tutorial on how to do that!
    Last edited by Trollaux; 05-11-2013 at 02:39 PM.
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

  6. The Following 2 Users Say Thank You to Trollaux For This Useful Post:

    aixprod (05-12-2013),Keskitalo (08-24-2014)

  7. #4
    Spaghetti Master's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    In a gangsta's paradise
    Posts
    2,889
    Reputation
    296
    Thanks
    1,751
    My Mood
    Happy
    Wrong section.
    This goes in Tutorials & Source Code. @Hux
    I constantly post OC on my tumblr: https://spaghetti-master.tumblr.com/



    Info
    About me: I am the best there is.
    Add me on Skype if you are into autistic humor.

    Previous name: Hax3rman

    Links
    MPGH for dummies
    The rules of conduct.
    A playlist of awesome shit I find on youtube.



    My current favorite song




  8. #5
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    Quote Originally Posted by Trollaux View Post
    replying 40 minutes later when I had already solved it


    ahahahh... :/ Sorry
    Alde is Alde is

  9. #6
    aixprod's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Not sure if this is still active, but I'm getting an error when I try to start "server.exe"

    Code:
    Unhandled Exception: System.Net.HttpListenerException: The process cannot access 
    the file because it is being used by another process
    	at System.Net.HttpListener.AddAllPrefixes()
    	at System.Net.HttpListener.Start()
    	at server.Program.Main(String[] args) in C:\rotmg\svr-master\server\Program.cs:line 26
    I see that it says it's already in use... but I don't know by what...
    Any suggestions? Or is there something else causing it?

    Thank you, ~Aixprod

  10. #7
    Trollaux's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    2,074
    Reputation
    137
    Thanks
    792
    Quote Originally Posted by aixprod View Post
    Not sure if this is still active, but I'm getting an error when I try to start "server.exe"

    Code:
    Unhandled Exception: System.Net.HttpListenerException: The process cannot access 
    the file because it is being used by another process
    	at System.Net.HttpListener.AddAllPrefixes()
    	at System.Net.HttpListener.Start()
    	at server.Program.Main(String[] args) in C:\rotmg\svr-master\server\Program.cs:line 26
    I see that it says it's already in use... but I don't know by what...
    Any suggestions? Or is there something else causing it?

    Thank you, ~Aixprod
    Close skype and run as a admin, I had this problem forever and couldn't fix it too!
    d e a d b o y s
    Quote Originally Posted by Dave84311 View Post
    What do you call a troll with shitty jokes?
    Trollaux
    Quote Originally Posted by Kyeran View Post
    Foot job with lots of oil.
    Quote Originally Posted by Kyeran View Post
    If she's 12, I'm 12.

  11. The Following User Says Thank You to Trollaux For This Useful Post:

    aixprod (05-12-2013)

  12. #8
    aixprod's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Oh, Thanks man!

    But anyone knows why it freezes when i tried to change my name?
    Also freezes when I try to go to my vault.

    ~Aixprod

    ---------- Post added at 02:32 PM ---------- Previous post was at 01:32 PM ----------

    Quote Originally Posted by aixprod View Post
    Oh, Thanks man!

    But anyone knows why it freezes when i tried to change my name?
    Also freezes when I try to go to my vault.

    ~Aixprod
    Just to be more clear... I'm getting this error in my console:
    Code:
    System.NullRefrenceException: Object Reference not set to an instance of an object.
    at server.account.purchaseCHarSlot.HandleRequest(HttpListenerContext context)
    in C:\rotmg_svr-master\server\account\purchaseCharSlot.cs:line 37
    at server.Program.ProcessRequest(HttpListenerContext context) 
    in C:\rotmg_svr-master\server\Program.cs:line 103
    Last edited by aixprod; 05-12-2013 at 01:48 PM. Reason: I'm a noob sry :D

  13. #9
    Lord_Nub's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Castle
    Posts
    91
    Reputation
    10
    Thanks
    2
    My Mood
    Angelic
    Since this was made i might as well say, When i swap the names of the servers/delete some they aren't the same as the client. I know most might have gotten this but i am just an idiot if its simple fix :P Help.
     
    https://www.youtube.com/user/MrEcoEpic
     
    Has been made and working on it
     
    NONE BECAUSE I DON'T GIVE A FUCK


    Lord Nub 2014

  14. #10
    aixprod's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    Quote Originally Posted by Lord_Nub View Post
    Since this was made i might as well say, When i swap the names of the servers/delete some they aren't the same as the client. I know most might have gotten this but i am just an idiot if its simple fix :P Help.
    Yeah, I had the same problem... But I just clicked compile (The green arrow button) in SharpDevelop...
    Not sure if the server has to be closed (mine was during that)
    Last edited by aixprod; 05-12-2013 at 10:36 PM. Reason: Just a quick edit

  15. #11
    marleen01's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by Trollaux View Post
    Credits:

    @ZBORNOX for always being unavailable when I needed help and replying 40 minutes later when I had already solved it
    @Owlupus for the amazing MySQL tutorial
    @Trapped for all his work on private servers
    @Drowlys for his MMOEmpire Private Server v2 Files
    @Botmaker for all his work on private servers
    @Hux for staying with us when our beloved Realm of the Mad God section needed approvals

    @Hux if this is in the wrong section I am sorry I thought it would get out to more noobs in this one and a sticky would also be appreciated
    This is totally wrong because all rights of the server goes to Nano.

  16. #12
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep
    Quote Originally Posted by marleen01 View Post
    This is totally wrong because all rights of the server goes to Nano.
    Nano stopped working on that 2 months ago. @Botmaker published the files. @Drowlys published his own release, @Owlupus does tutorials, @ZBORNOX is sexy and I am the actual main developer for the open source server code. Also there isn't any reference to Nano in the original files that were leaked, just to a guy called "K". We are assuming Nano did that as the files were leaked from MMOE and he was working on a pserver for MMOE.
    "The great merit of society is to make one appreciate solitude."
    Charles Chincholles, "Reflections on the Art of Life" (from fortune-mod)

  17. The Following 2 Users Say Thank You to Trapped For This Useful Post:

    Alde. (05-13-2013),Owlupus (05-13-2013)

  18. #13
    marleen01's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by Trapped View Post
    Nano stopped working on that 2 months ago. @Botmaker published the files. @Drowlys published his own release, @Owlupus does tutorials, @ZBORNOX is sexy and I am the actual main developer for the open source server code. Also there isn't any reference to Nano in the original files that were leaked, just to a guy called "K". We are assuming Nano did that as the files were leaked from MMOE and he was working on a pserver for MMOE.
    Then all credits goes to Kabam.But developer of this game is Wildshadow Studios.Then thanks for internet to giving us so much fun.More credits?
    Stop joke but thanks for working on all things Trapped.

  19. The Following User Says Thank You to marleen01 For This Useful Post:

    Trapped (05-13-2013)

  20. #14
    Trapped's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    Italy.
    Posts
    584
    Reputation
    10
    Thanks
    449
    My Mood
    Asleep
    Quote Originally Posted by marleen01 View Post
    Then all credits goes to Kabam.But developer of this game is Wildshadow Studios.Then thanks for internet to giving us so much fun.More credits?
    Stop joke but thanks for working on all things Trapped.
    Anyways this server and such code is pre-Kabèm.
    "The great merit of society is to make one appreciate solitude."
    Charles Chincholles, "Reflections on the Art of Life" (from fortune-mod)

  21. #15
    aixprod's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    0
    My Mood
    Aggressive
    I've changed the client IP to my hamachi IP and I have my server up and running... but still my friend couldn't connect...

    Is there any other place where the IP has to be changed.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Tutorial] Double Redstone Minecraft door: how to make and conceal your door!
    By [D]evliin in forum Minecraft Tutorials
    Replies: 2
    Last Post: 12-30-2011, 10:47 AM
  2. How to Build and Maintain a Good Server
    By Bubbles Kittys in forum Minecraft Discussions
    Replies: 5
    Last Post: 01-27-2011, 11:00 PM
  3. Replies: 55
    Last Post: 09-09-2009, 11:07 PM
  4. how do i hack on a private server?
    By You_The_Haxr in forum MapleStory Hacks, Cheats & Trainers
    Replies: 1
    Last Post: 08-15-2009, 09:20 AM