Creating a Custom Launcher

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Creating a Custom Launcher

Postby stephenxpimentel » Wed Nov 25, 2009 1:29 am

Hey Guys, i was wondering if u could explain to me how to make my launcher load my server.. of course this wouldn't replace daocportal but in the rare occasion that portal is down, i'd like there to be a way for players to connect :) Thanks any help is greatly appreciated!
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: Creating a Custom Launcher

Postby Kakuri » Wed Nov 25, 2009 1:41 am

A custom launcher would be nice, but if you can't manage that then you can always tell players how to add an entry for your server in the Custom Shards tab of daocportal, or provide a simple batch file that uses dolloader.exe.
User avatar
Kakuri
Developer
 
Posts: 803
Joined: Tue Oct 28, 2008 10:40 pm
Website: http://enlight.hostrator.com/

Re: Creating a Custom Launcher

Postby stephenxpimentel » Wed Nov 25, 2009 1:56 am

here is my code so far for the launcher, atm the IP is hardcoded, that will prob be changed to be updateable incase of a change, but here is what it is so far. let me know if u think it will work =]
Code: Select all
private void LogInButton_Click(object sender, EventArgs e)
{
if (AccountBox.Text != "" && PasswordBox.Text != "")
{
Process dolloader = new Process();
dolloader.StartInfo.FileName = "dolloader.exe";
dolloader.StartInfo.Arguments = DAoCDirectory + " 71.232.198.160 10300 "+ AccountBox.Text+" "+ PasswordBox.Text;
dolloader.Start();
}
}
i think the names are kinda self explanatory =] Thanks for ur comments!
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: Creating a Custom Launcher

Postby Etaew » Wed Nov 25, 2009 2:10 am

If you set a favourite server on the portal can't you connect to that even if the list is unavailable?
Retired DOL Enthusiast | Blog
User avatar
Etaew
Inactive Staff Member
 
Posts: 7602
Joined: Mon Oct 13, 2003 5:04 pm
Website: http://etaew.net
Location: England

Re: Creating a Custom Launcher

Postby DOLBot » Wed Nov 25, 2009 2:26 am

I'm pretty sure that when the DOL site is down and the portal, you can still connect through custom shards.
User avatar
DOLBot
DOL Bot
 
Posts: 1933
Joined: Sat Jan 08, 2011 1:23 pm

Re: Creating a Custom Launcher

Postby stephenxpimentel » Wed Nov 25, 2009 2:34 am

I'm pretty sure that when the DOL site is down and the portal, you can still connect through custom shards.
u can. lol im just trying to do something i've never done before =]. trying to learn from it and what not, but its hard because i got it to try and load dolloader.exe, but now its saying "Game file not found, please check the first parameter". could anyone with the source code to dolloader tell me the order things need to be in? daoc path, ip, port, account name, password, am i missing some? :)
Lets have some fun.
stephenxpimentel
Contributor
 
Posts: 1300
Joined: Wed Sep 19, 2007 5:09 pm

Re: Creating a Custom Launcher

Postby Deniska » Wed Nov 25, 2009 4:18 am

DOLLoader.exe <path_to_game.dll> <ip> <port> 1 <username> <password>
Afaik 1 was introduced in some version of the client. Try add this "1" after port and launch again.
Sorry for my english ]:
Deniska
DOL Acolyte
 
Posts: 109
Joined: Tue Oct 31, 2006 4:32 pm
Location: Russia, Tomsk


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 0 guests