ArcEmu: [Release] Client WoW Launcher - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

  • (7 Pages)
  • +
  • « First
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

[Release] Client WoW Launcher Customizable, Blizzlike, written in C#

#121 User is offline   GodLesZ 

  • Member
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 12-April 09

Posted 14 April 2009 - 06:07 PM

Hello Gachl, i've just made my own Launcher today for private usage and have 2 Suggestions for your's ^^

Firstly, not every Player has installed the enGB, enUS, ect... WoW Version, so i just iterate each Directory in the /Data/ Folder and looks for an realmlist.wtf - its safer i think ^^
Just simply like this (written form scratch, to lazy for openign my Project :rolleyes: )
			string[] dirs = Directory.GetDirectories( "path/to/wow/Data/" );

			bool found = false;
			foreach( string path in dirs ) {
				string realmlist = Path.Combine( path, "realmlist.wtf" );
				if( File.Exists( realmlist ) == false ) {
					continue;
				}

				PatchRealmList( realmlist ); // add the Entry
				found = true;
			}



Second thingy is the reamlist Patch...
I don't looked long over your Tool/Code, so correct me if i'm wrong ^^, but you are simple adding a new line to the realmlist, without checking for an existing one? ^^

I'm parsing each Line of the File, splitting them up on the Whitespace, checking the "set", "realmlist"/"patchlist" and the Server Addy...
After complete the run and no "reamlist" found, i add, same goes to patchlist, the other Entrys were commented out using the '#' symbol
So you were on the safer side i think, because no duplicates in the File, no deletes of other Entrys and so on =)


But anyways, naic work ^^
0

#122 User is offline   Gachl 

  • Occasional Poster
  • PipPip
  • Group: Members
  • Posts: 113
  • Joined: 08-June 08
  • Location:Basel // Switzerland
  • Interests:PHP and stuff

Posted 15 April 2009 - 03:11 AM

View PostGodLesZ, on Apr 15 2009, 01:07 AM, said:

Firstly, not every Player has installed the enGB, enUS, ect... WoW Version, so i just iterate each Directory in the /Data/ Folder and looks for an realmlist.wtf - its safer i think ^^

Well, actually my launcher gets the path of the realmlist from the registry, where WoW itself gets it too, so I don't have to create directories or try to find the realmlist.wtf. I just ask the registry and it says where to look.

View PostGodLesZ, on Apr 15 2009, 01:07 AM, said:

Second thingy is the reamlist Patch...
I don't looked long over your Tool/Code, so correct me if i'm wrong ^^, but you are simple adding a new line to the realmlist, without checking for an existing one? ^^

This is correct, I overwrite the whole realmlist. I don't know why I shouldn't do that. I also don't add a patchlist-line because the arcemu servers can't handle that (yet?).

View PostGodLesZ, on Apr 15 2009, 01:07 AM, said:

But anyways, naic work ^^

Thank you.
Sorry for my bad english.
ATTENTION:
I haven't been playing WoW (retrail or arc) for over a year. So I don't know all the new designs and database structures and tweaks and values and all that, so don't bother me with "OMG I goz err0R on uR sc1ipAZZ!!! liek TABLE arc_user NOT FOUND. OMZG Wat to do??? halp plz!!" because I will not reply to this.
Swiss quality and neutrality.
Ich spreche Deutsch als Muttersprache. I speak German as first language. Je parle l'allemand comme langue maternelle.
Ich spreche ein wenig englisch. I speak a little bit English. Je parle un peu d'anglais.
Ich spreche ein wenig franz÷sisch. I speak a little bit Frensh. Je parle un peu franšais.
0

Share this topic:


  • (7 Pages)
  • +
  • « First
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users