 |

02-27-2005, 12:39 AM
|
|
A Coastal Crab
|
|
Join Date: Feb 2005
Server: Antonia Bayle
Posts: 1
|
|
Quote:
|
Originally Posted by taco-man
sounds good to me  i always like less work
by the way, you dont happen to know how to check if a file exists or not on a webserver do you? i tried using IO.File.Exists(url) but it didnt work, which is not suprising.
|
I am not sure if .NET would support this, but if it does use an xmlhttp request(this was done in JavaScript):
Quote:
xmlhttp.open("HEAD", "URL_TO_CHECK",true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
if (xmlhttp.status==200) alert("URL Exists!")
else if (xmlhttp.status==404) alert("URL doesn't exist!")
else alert("Status is "+xmlhttp.status)
}
}
xmlhttp.send(null)
|
more information can be found here: http://jibbering.com/2002/4/httprequest.html
|

02-27-2005, 12:53 AM
|
 |
A Griffon
|
|
Join Date: Oct 2004
Server: Blackburrow
Posts: 352
|
|
Can the Autoupdater be controled by a user customizable INI file. So if the person put the map mod into their own custom folder, they can edit the INI file for the Locatoin of the Maps folder.
__________________
[Guild Leader] Tiggler is my Main, Humudce is my Alt on Blackburrow.
|

02-27-2005, 01:50 AM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
Quote:
|
Originally Posted by Humudce
Can the Autoupdater be controled by a user customizable INI file. So if the person put the map mod into their own custom folder, they can edit the INI file for the Locatoin of the Maps folder.
|
the updater is run from wherever your custom directory is so that the files will always be in the right place. and then once it finishes downloading it launches EQ2.exe from 2 directory levels lower.
|

02-27-2005, 01:55 AM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
More updates, i couldnt get it to look exactly how i wanted because visual studio doesnt let you change the style of the scrollbar, and for some reason text boxes can't have a background image (but of course almost everything else can, like labels, buttons, ect.)  so it just made a frame to go around the text box and set the text box's background to a better color.
Last edited by taco-man : 02-27-2005 at 03:02 AM.
|

02-27-2005, 02:30 AM
|
|
A Griffon
|
|
Join Date: Jan 2005
Posts: 720
|
|
Quote:
|
Originally Posted by taco-man
More updates, i couldnt get it to look exactly how i wanted because visual studio doesnt let you change...
|
Still, it's SO beautiful. I might suggest moving the main EQ2MAP logo down about 7 or 8 pixels so there's the same space from elft edge to logo as there is from top to logo and so the space between the logo and progress bar is about the same distance as from progress bar to the "New or Updated Zones" label; but that's just me nitpicking.
I rethought it over, and how you have it set up now is probably best. Throw it in custom UI folder, it downloads stuff to an eq2map subfolder, launches EQ2 sounds perfect.
Quib
|

02-27-2005, 03:02 AM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
Is that better?
I also added the border thing around the scrollbar and it makes the scrollbar look like it actually belongs there

|

02-27-2005, 03:31 AM
|
|
A Griffon
|
|
Join Date: Jan 2005
Posts: 720
|
|
I think that looks much nicer (the scrollbar change). Don't hurt me, but I found a graphical oddity; circled it really clearly.

Quib
|

02-27-2005, 04:25 AM
|
 |
A Griffon
|
|
Join Date: Oct 2004
Server: Blackburrow
Posts: 352
|
|
Looks awesome, and eliminates the need for any INI modificaiton putting it in the users Custom Mod folder. This is going to be awesome. 
__________________
[Guild Leader] Tiggler is my Main, Humudce is my Alt on Blackburrow.
|

02-28-2005, 12:42 AM
|
 |
A Berserk Golem
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 55
|
|
Quote:
|
Originally Posted by taco-man
More updates, i couldnt get it to look exactly how i wanted because visual studio doesnt let you change the style of the scrollbar, and for some reason text boxes can't have a background image (but of course almost everything else can, like labels, buttons, ect.)  so it just made a frame to go around the text box and set the text box's background to a better color.
|
Great News for you Taco Visual Basic .Net 2005 does! I use Stardock WindowBlinds and use the new Visual Basic .Net 2005 and all the new scrollbars and textboxes use what ever Skin Style my Windowblinds is using.
Send me an e-mail and perhaps we can talk about 2005 a bit.
[email protected]
Remember though VB.Net 2005 is still in beta and My installshield 10 Express doesn't recognise it as valid.
Also Taco, you could make the window borderless and add a graphical command button for the exit, making it even prettier. 
Last edited by Corren Silverfir : 02-28-2005 at 12:45 AM.
|

02-28-2005, 01:05 AM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
Quote:
|
Originally Posted by Corren Silverfir
Great News for you Taco Visual Basic .Net 2005 does! I use Stardock WindowBlinds and use the new Visual Basic .Net 2005 and all the new scrollbars and textboxes use what ever Skin Style my Windowblinds is using.
Send me an e-mail and perhaps we can talk about 2005 a bit.
[email protected]
Remember though VB.Net 2005 is still in beta and My installshield 10 Express doesn't recognise it as valid.
Also Taco, you could make the window borderless and add a graphical command button for the exit, making it even prettier. 
|
eventually i will do that, i tried to not spend too much time on the graphics part yet, and focused more on functionality because i was trying to have something that could be tested by this weekend, and i barely managed to do it. its worked fine for the most part luckily, all the fixes that have been needed are for the generation done with php by the webserver.
thanks for the info, i will have to talk to you about it, but i am going to be extremely busy until at least wednesday (but it could be even longer)
|

02-27-2005, 11:45 AM
|
 |
A Griffon
|
|
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
|
|
Very Very impressive!
|

02-27-2005, 11:51 AM
|
|
A Crazed Gnoll
|
|
Join Date: Nov 2004
Server: Unrest
Posts: 22
|
|
When will this be available for download?
This looks great!
When will this be available for download?
|

02-27-2005, 12:28 PM
|
|
EQ2MAP Webmaster
|
|
Join Date: Dec 2004
Server: Unkown
Posts: 496
|
|
When it gets finished, tested, and proved to work.
Should be within a week.
|

02-27-2005, 01:26 PM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
eloa/quib, right now it only downloads the map icon files, should it be downloading anything else liek a eq2ui_mainhud_map.xml file or will that be seperate so that people can change it?
|

02-27-2005, 01:39 PM
|
|
A Griffon
|
|
Join Date: Dec 2004
Server: Neriak
Posts: 273
|
|
This tool looks great taco-man! The only suggestion I have right now is perhaps a checkbox to disable launching EQ2. I personally prefer to launch via the launchpad, and some people (such as us involved with the mod) might be updating quite a bit, without actually wanting to go play EQ2 right then.
__________________
|

02-27-2005, 01:53 PM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
Quote:
|
Originally Posted by Killarny
This tool looks great taco-man! The only suggestion I have right now is perhaps a checkbox to disable launching EQ2. I personally prefer to launch via the launchpad, and some people (such as us involved with the mod) might be updating quite a bit, without actually wanting to go play EQ2 right then.
|
i have already done this, i just havent posted a new picture of it yet  because i still need to change the background.
Last edited by taco-man : 02-27-2005 at 01:56 PM.
|

02-28-2005, 06:05 AM
|
|
EQ2MAP Webmaster
|
|
Join Date: Dec 2004
Server: Unkown
Posts: 496
|
|
How bout those default city icons quib. What did you have in mind for those. As it sits now, each freeport city will lose all icons but like 1 if we dont get those in here.
|

02-27-2005, 01:42 PM
|
|
A Griffon
|
|
Join Date: Jan 2005
Posts: 720
|
|
Quote:
|
Originally Posted by taco-man
eloa/quib, right now it only downloads the map icon files, should it be downloading anything else liek a eq2ui_mainhud_map.xml file or will that be seperate so that people can change it?
|
I've been debating this.
Whenever we add a new zone users will need to download a new map DDS and eq2ui_mainhud_map.xml, so I think having them NOT auto-update is best (if eq2ui_mainhud_map.xml auto-updated and they were missing the new DDS files when they entered the zone, it'd be a big ugly solid color block where the map should be).
What about this: If I add an entry to the eq2ui_mainhud_map.xml file that's a "version number" (just a plain number, incremented by 1 each time we update the file, with an upper limit of like 1000000) could we have the auto-updater check the eq2ui_mainhud_map.xml for this version number, then compare it to version number saved somewhere at maps.eq2interface.com and if they don't match, send them to a download page?
Quib
|

02-27-2005, 01:46 PM
|
|
A Griffon
|
|
Join Date: Dec 2004
Server: Neriak
Posts: 273
|
|
Quote:
|
Originally Posted by Quib
Whenever we add a new zone users will need to download a new map DDS and eq2ui_mainhud_map.xml, so I think having them NOT auto-update is best (if eq2ui_mainhud_map.xml auto-updated and they were missing the new DDS files when they entered the zone, it'd be a big ugly solid color block where the map should be).
|
Couldn't the auto-updater update the images directory as well?
__________________
|

02-27-2005, 01:55 PM
|
 |
EQ2MAP Updater Author
|
|
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
|
|
Quote:
|
Originally Posted by Quib
I've been debating this.
Whenever we add a new zone users will need to download a new map DDS and eq2ui_mainhud_map.xml, so I think having them NOT auto-update is best (if eq2ui_mainhud_map.xml auto-updated and they were missing the new DDS files when they entered the zone, it'd be a big ugly solid color block where the map should be).
What about this: If I add an entry to the eq2ui_mainhud_map.xml file that's a "version number" (just a plain number, incremented by 1 each time we update the file, with an upper limit of like 1000000) could we have the auto-updater check the eq2ui_mainhud_map.xml for this version number, then compare it to version number saved somewhere at maps.eq2interface.com and if they don't match, send them to a download page?
Quib
|
the easiest way is to just make a way for you to upload the file to the eq2map website and then just treat it like all the other files.
|

07-05-2005, 02:00 PM
|
|
A Coastal Crab
|
|
Join Date: Jul 2005
Server: Antonia Bayle
Posts: 1
|
|
Here's an even easier solution to check for 404's:
<IMG src="logo.gif"" border="0" width="127" height="78" onError="this.src='media/fpo.jpg';" >
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:21 PM.
|
 |