EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   EQ2MAP (https://www.eq2interface.com/forums/forumdisplay.php?f=34)
-   -   [Official]BETA EQ2MAP Updater (https://www.eq2interface.com/forums/showthread.php?t=1792)

tonyis3l33t 03-21-2005 01:57 AM

ive been asked by a few people about how to update only map/poi files. They use mods of the eq2map and want to be able to update.

Best way to do this is to add an extra checkbox that says check map files or just change that one to check only poi's AND map files

taco-man 03-21-2005 02:09 AM

could you please explain this further, any mods for eq2map should work properly with eq2map using the updater.

tonyis3l33t 03-21-2005 02:13 AM

ok i was under the impression that it would overwrite their xml files. Guess not:)

taco-man 03-21-2005 02:14 AM

it shouldn't if it is i need to know what files they are using that it is overwriting that it shouldnt be.

tonyis3l33t 03-21-2005 02:17 AM

k ill have em try and see if their files get overwritten. later today :) i gotta go to work now hehe

Laenny 03-21-2005 04:42 PM

My crash
 
As I stated before, on my computer, the eq2map updater crashes since version 0.95e (b or c did work). Perhaps I can give some more clues on what is going on now.

I just downloaded the most recent version and started it. It asked for confirmation of my EQ2 main directory, which it guessed correctly, tried to access drive A: (my floppy drive, whyever) and then crashed. I attached my Visual Studio .NET 2003 Debugger and this is what I got (w/o having the sources):

Eine nicht behandelte Ausnahme des Typs 'System.InvalidOperationException' ist in system.dll aufgetreten.
Zusätzliche Informationen: Die Anforderung kann nicht ausgeführt werden, da der Prozessleistungsindikator deaktiviert ist.

(I can try to translate that to english, if needed, but I guess the most important things are written more or less clearly.)

The stack trace shows:

> system.dll!System.Diagnostics.NtProcessManager.GetProcessInfos(System.Diagnostic s.PerformanceCounterLib library) + 0x1a5 Bytes
system.dll!System.Diagnostics.NtProcessManager.GetProcessInfos(string machineName, bool isRemoteMachine) + 0xa4 Bytes
system.dll!System.Diagnostics.ProcessManager.GetProcessInfos(string machineName) + 0x29 Bytes
system.dll!System.Diagnostics.Process.EnsureState(System.Diagnostics.Process.Sta te state) + 0x116 Bytes
system.dll!System.Diagnostics.Process.get_ProcessName() + 0x11 Bytes
EQ2MAP_Updater.exe!WindowsApplication7.Form1.Form1_Load(System.Object sender = {WindowsApplication7.Form1}, System.EventArgs e = {System.EventArgs}) + 0x8e Bytes
system.windows.forms.dll!System.Windows.Forms.Form.OnLoad(System.EventArgs e) + 0x117 Bytes
system.windows.forms.dll!System.Windows.Forms.Form.SetVisibleCore(bool value) + 0xaa Bytes
system.windows.forms.dll!System.Windows.Forms.Control.set_Visible(bool value) + 0xe Bytes
system.windows.forms.dll!ThreadContext.RunMessageLoopInner(int reason, System.Windows.Forms.ApplicationContext context) + 0xc2 Bytes
system.windows.forms.dll!ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x45 Bytes
system.windows.forms.dll!System.Windows.Forms.Application.Run(System.Windows.For ms.Form mainForm) + 0x34 Bytes
EQ2MAP_Updater.exe!WindowsApplication7.Form1.Main() + 0x21 Bytes


Maybe this gives you any clue on what might be going on. If not, feel free to contact me or ask for more help - I would really like using the eq2map updater :-)

Best regards and thanks for your work,
Laenny

Verba 03-21-2005 05:05 PM

I am also experiencing crashes from the later versions of the EQ2Map Updater. I attached a .NET debugger to it, and recieved this information:

Code:

[thread 0x2cc] Thread created.
[thread 0xd20] Unhandled exception generated: (0x01198fa4) <System.InvalidOperat
ionException>
  _className=<null>
  _exceptionMethod=<null>
  _exceptionMethodString=<null>
  _message=(0x01198fe4) "Process performance counter is disabled, so the request
ed operation cannot be performed."
  _innerException=<null>
  _helpURL=<null>
  _stackTrace=(0x011990a8) array with dims=[156]
  _stackTraceString=<null>
  _remoteStackTraceString=<null>
  _remoteStackIndex=0x00000000
  _HResult=0x80131509
  _source=<null>
  _xptrs=0x00000000
  _xcode=0xe0434f4d

[01a5] int        3

This seems to be related to checking if either EQ2 or maybe the updater is running more than one instance (can't be sure since I don't have the source).

I would guess that either the exception would have to be handled or a different way of enumerating running processes without the Process class would fix this.

taco-man 03-21-2005 06:07 PM

i will release a new version today and *try* to attempt to fix this error. however i am not what you would call an experienced programmer (this is the first useful program i have ever written and i am self taught in vb .net) so you will have to bear with me, i promise i am doing my best!

taco-man 03-21-2005 10:00 PM

New version of the updater released (0.97)

UmbraNemo 03-21-2005 10:15 PM

I for one would like to say that your best is just incredible it has made using the most current maps more accessible to me.


so Thank you :nana:

Verba 03-21-2005 10:19 PM

The crashing bug is fixed :-) on my system. Thank you very much.

My last suggestion is add System.Windows.Forms.Application.DoEvents() in the loop for the updating operation. This will allow people to tab out to other windows and do other things while they wait for the update to finish, this is especially useful when people are doing the firsttime download and it takes awhile :-)

Thanks again.

taco-man 03-21-2005 10:27 PM

I'm glad to hear the crashing bug was fixed for you!
application.DoEvents() is already called every time the progress % changes (so that the progress bar shows the correct percentage)....

Verba 03-22-2005 12:33 AM

That's strange then, because if you try to do events like drag the updater window while its updating, it doesn't happen until the entire update is complete.

Regardless, great work, I'm sure this will only continue to get better with time.

taco-man 03-22-2005 12:42 AM

are you sure you cant move it while it is downloading updates? i just tried moving it/alt tabbing and it worked fine?

Verba 03-22-2005 01:11 AM

I can't reproduce this now. Must have been something screwy at the time. Please disregard :-)

taco-man 03-22-2005 01:41 AM

im just glad its working for you now :)

Laenny 03-22-2005 11:56 AM

Hi there!

The latest release also fixes my problem too :-)

Thanks a lot!

Eloa 03-22-2005 12:10 PM

Great! Thanks for letting us know!

aypapichulo 03-23-2005 12:21 AM

thxs for this tool its great. I just installed it and works ok but was wondering if im supposed to see my location on my map? when i open my map i have no arrow showing my location, did i do something wrong or is this normal?

Quib 03-23-2005 12:42 AM

No, that means something is wrong. Did you use the auto-updater or the zip file?

Quib

aypapichulo 03-23-2005 09:26 AM

the newest updater

Eloa 03-23-2005 10:01 AM

Quib, it seems we need to post the icons.dds file in the downloads section so people can fix this problem quickly. This makes more than a few. We also need to add into the download description of the updater and the zip, that if you install another UI other than this, DO NOT overwrite any files already in the dir.

taco-man 03-23-2005 10:44 AM

i will add an option on the updater to "redownload all default" files for when this happens (to make the updater download the files that it normally only checks to see if it exists)

Belin 03-23-2005 11:09 AM

Anyway way to have the Updater have the ability to check for new versions of the Updater and update itself? :)

Eloa 03-23-2005 11:16 AM

The theory was suggested and thought about, but do you really want an .exe updating itself? I doubt many people do, but if you dont mind, thanks for your trust :). But this is why the updater tells you the most up to date version, so that you will at least know when theres an update.


All times are GMT -5. The time now is 09:36 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI