SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] RadioStationManager V1.0 (https://www.subsim.com/radioroom/showthread.php?t=120510)

panthercules 08-16-07 11:47 PM

Got a question - this sounds really cool, and I just D/L'ed it to try it out, as I've shied away so far from adding any more radio stations beyond the CBS one 'cause it seemed pretty complicated to manage them all. However, I fired this up and McAfee popped up a warning that it was trying to access the Internet. Why would this program need to access the Internet just to manage the radio stations in my SH4 install?

Digital_Trucker 08-17-07 09:21 AM

@panthercules There is no valid reason for the app to connect to the internet unless it is something in the .Net code that checks for updates (or some other vile Billyesque windows function). The only thing that comes to mind is that I did tell .Net what the requirements were for the app (.Net 2 being one of those) and it may be looking for the .Net framework if you don't have it installed already. Mine has never tried to access the internet, so this is a possibility.

Edit : Any way you could PM me the IP address that it was trying to connect with? That would give me an idea what it was doing. I'm thinking it probably is .Net or digital signature related.



@ Leo : Instructions and documentation are not my strong points, unfortunately. Sober's my boss, too. I'm more of a click this and see what happens kind of learner:rotfl:
@JScones 'preciate it.

@PULSEOX Glad you got it worked out. Thanks, Misfit, for helping out (and boosting your post count :rock: )

PULSEOXs problem caused me to think of something I should have added into the application to begin with. It would be very easy for my app to make sure that it is installed in the correct folder by checking for the existence of the game exe and tell the user that the program is installed incorrectly if it doesn't find it. I think I'll add that to the next version.

chopped50ford 08-17-07 08:44 PM

Okay, im frustrated.

what does the "out of date sequence mean?" The dates from the original files all are in order...but why does it keep causing an error?

I notice too that in the CBS folder, none of the events are played...how does the radio work and feed into the events folder? Do you take them out and place them w/ the commercials?

Thanks

Misfit138 08-17-07 08:59 PM

Quote:

Originally Posted by chopped50ford
Okay, im frustrated.

what does the "out of date sequence mean?" The dates from the original files all are in order...but why does it keep causing an error?

I'm pretty certain that if you get this kind of error then there are problems with the events.ini files date inputs

It could be duplicated input, two events set to happen on excatly same time and date or like this

Code:

[EVENT]
StartDate=08.12.1941
StartTime=14.00.00
MediaFile=1941-12-08-Roosevelt-BBC.mp3

[EVENT]
StartDate=01.12.1941
StartTime=17.00.00
MediaFile=1941-12-08-BBC_Wilfred_Pickles_News_on_the_Far_East.mp3

[EVENT]
StartDate=16.12.1941
StartTime=17.00.00
MediaFile=1941-12-xx-World_War_II_Shows_411111-ConvoyInAtlantic.mp3


Digital_Trucker 08-17-07 09:00 PM

Out of date sequence means that the date/time for the entry that is displayed is less than or equal to the date/time for the entry before it. When it gives you that error, scroll up 1 line and compare the dates in the start date column for the two records. One of them will be out of place and you can move them with the up and down buttons to put them in the right place.

Not sure what you mean by taking them out and putting them in with the commercials, but the stuff outside the events folder gets played randomly and the stuff inside the events folder gets played when a line in the events.ini file says to play it. If there is a line in the events.ini file that specifies a media file that isn't inside the Events folder then at that date and time your game will crash.

Edit: Misfit, how'd you know I was typing again? You psychic or something?:rotfl:

Misfit138 08-17-07 09:05 PM

Quote:

Originally Posted by Digital_Trucker
Edit: Misfit, how'd you know I was typing again? You psychic or something?:rotfl:

Actually I am :cool: I can predict the future so I predict now that I've sold my ATI card, the next Catalyst drivers are optimized completely for Silent Hunter 4 :lol:

Digital_Trucker 08-17-07 09:11 PM

[OT]

Quote:

Originally Posted by Misfit138
Actually I am :cool: I can predict the future so I predict now that I've sold my ATI card, the next Catalyst drivers are optimized completely for Silent Hunter 4 :lol:

If I had a dollar, I'd make ya a bet against that. I think the odds are with me:p

[/OT]

panthercules 08-17-07 11:27 PM

Quote:

Originally Posted by Digital_Trucker
@panthercules There is no valid reason for the app to connect to the internet unless it is something in the .Net code that checks for updates (or some other vile Billyesque windows function). The only thing that comes to mind is that I did tell .Net what the requirements were for the app (.Net 2 being one of those) and it may be looking for the .Net framework if you don't have it installed already. Mine has never tried to access the internet, so this is a possibility.

Edit : Any way you could PM me the IP address that it was trying to connect with? That would give me an idea what it was doing. I'm thinking it probably is .Net or digital signature related.

Wish I could, but I can't seem to get McAfee to tell me anything about what the program was trying to do or where it was trying to go, and now when I try to fire it up again it just throws off errors with huge reports that it wants to send to Microsoft. I can't figure out how to copy the error report, but you can see part of it here:

http://i3.photobucket.com/albums/y96...rormessage.jpg


Guess I'll have to wait for the next version and try again. I've got versions 1, 2 and 3 of the .NET stuff loaded up and fully updated for various other reasons, so it shouldn't need to go check for anything like that but maybe it's trying anyway.

Digital_Trucker 08-18-07 09:51 AM

I should have asked to begin with, but what operating system are you running?

If you've got all the .NETs installed, I can't understand why it would be attempting any internet communication (unless it's a digital signature thing). I'll rebuild it with no signature and send you a link to it via PM. If that solves the internet communication problem, then we'll know what it was doing.

JScones 08-18-07 10:46 AM

@D_T: The error message that panthercules posted is very helpful, especially P9.

A q: do you have your app set as 'Make single instance application' on the Project Designer Application page?

If so, that will be why. The first instance listens through a local network port with subsequent instances passing parameters to the first instance via this port (before exiting again). In this case McAfee is blocking teh access. BTW McAfee and .NET don't play well together. ;)

IIRC there should be an option to stop listening to the port. Try that.

If you don't have make single instance selected, I have some other thoughts, but this is usually the most common. ;)

Digital_Trucker 08-18-07 10:57 AM

Quote:

Originally Posted by JScones
A q: do you have your app set as 'Make single instance application' on the Project Designer Application page?

If so, that will be why. The first instance works through a local network port with subsequent instances passing parameters to the first instance via this port (before exiting again). In this case McAfee is blocking teh access. BTW McAfee and .NET don't play well together. ;)

:rock: It's nice to have a pro around! Yes, I do have it set up as a single instance (only because I didn't think it would be a good idea to be trying to change the same files with 2 different instances). The only thing I'm wondering about in that regard, though, is why it would trigger McAfee on panthercules machine and not trigger ZoneAlarm pro on mine? Of course, the answer to that may fall into the "Twilight Zone" category:damn:

JScones 08-18-07 11:04 AM

Quote:

Originally Posted by Digital_Trucker
:rock: It's nice to have a pro around! Yes, I do have it set up as a single instance (only because I didn't think it would be a good idea to be trying to change the same files with 2 different instances). The only thing I'm wondering about in that regard, though, is why it would trigger McAfee on panthercules machine and not trigger ZoneAlarm pro on mine? Of course, the answer to that may fall into the "Twilight Zone" category:damn:

It's simply down to McAfee and .NET not playing well together "out of the box".

The key connection was the P9 description and panthercules (fortunately) mentioning McAfee. I remember a user having a similar problem over a year ago (seems things haven't changed since then ;))! Unfortunately, short of disabling the firewall, I can't remember what changes the client can make in their firewall to get the two playing again (I use ZA as well).

McAfee Firewall is just more sensitive I guess. Much like Avasti! virus scanner is more sensitive than pretty much any other too.

Digital_Trucker 08-18-07 11:52 AM

@ JScones In thinking about it, it may be that ZA either recognizes the attempt for what it is or that it doesn't trigger an alarm until there is an actual communication attempt from outside the system. Or I may be giving it more credit for "intelligence" than it deserves :rotfl:

I may just see how hard it would be for the app to check to make sure that it is the only instance running and terminate if it is not.

@panthercules I sent ya 2 PMs both with links to slightly different modifications of the app. The first one is with no digital signature and the second is with no single instance specification. Based JScones experience, I would say that the second has a better chance of working.

JScones 08-18-07 12:06 PM

Quote:

Originally Posted by Digital_Trucker
@panthercules I sent ya 2 PMs both with links to slightly different modifications of the app. The first one is with no digital signature and the second is with no single instance specification. Based JScones experience, I would say that the second has a better chance of working.

You may want to also get him, for the purpose of testing, to turn off his firewall and see what happens. Just to rule out any other external problems that have yet to surface (for example, running under a limited account). ;)

leovampire 08-18-07 12:16 PM

I believe MacAfee has in the personal firewall
 
a setting to scan for programs that use the internet. Have him or anyone with that do a scan then give the programs a general use check mark that alwows internet use and it will not happen again until he installs something else.

JScones 08-18-07 12:21 PM

Quote:

Originally Posted by leovampire
a setting to scan for programs that use the internet. Have him or anyone with that do a scan then give the programs a general use check mark that alwows internet use and it will not happen again until he installs something else.

Cool. Sounds like all he needs to do is add the app to his trusted zone and he'll be away again. If so, not too dissimilar to ZA.

Digital_Trucker 08-18-07 12:38 PM

Thanks
 
@leovampire and JScones

Thanks for the help, y'all. Whatever the resolution ends up being, I guess I need to add something to the install instructions in the readme (if it ever gets read:p ) to cover the situation.

@The rest of the world

If you had any difficulties installing/using the app and had to use some kind of workaround, please let me know what the difficulty was and the workaround for it so I can try to address the problems in the documentation to help folks in the future.

panthercules 08-18-07 01:13 PM

Thanks for the help guys - I saw the PM from D_T before checking this thread - the second one (with JScones' suggestion) seems to have worked just fine (opened up the program without any error messages or McAfee alerts), so I didn't try the first one.

chopped50ford 08-18-07 01:14 PM

Any idea on why a sound file would be playing at 2x its speed? I got NBC station sounding like Chipmonks...and I didnt do any changes.

Digital_Trucker 08-18-07 02:11 PM

That sounds familiar
 
chopped50ford, that's one problem I don't think anyone has an answer to yet, unfortunately. I haven't experienced it yet, but many have and noone seems to be able to decipher where the problem is coming from. It's one of those :damn: things that there may never be an explanation for.


All times are GMT -5. The time now is 03:37 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.