Any C++ programmers here familiar with Etrunker 3.8.3 code ?

Status
Not open for further replies.

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
I am looking for a little assistance with the old Etrunker 3.8.3 code.

What I want to do is change the 'BEEP' sound that is used for the emergency declare. (Rather than a normal beep .. I want somewhat of a longer 'sound', rather than just a beep. I can make sounds using the i86.h file.)

I also wouldnt mind also being able to change the beep for 'one particular' talkgroup.

Just want to know a good place to change the code for doing these 2 tasks.

(I can compile the code ... just need someone more familiar with the code to help me out with how to play 'a sound' when the 'E' first shows on the screen so I can be aware of the emergency. )

All help is appreciated ....

I am so looking forward to the new UNITRUNKER ... though there are no Motorola systems around here.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
The source files trunkSys.h/.cpp define the "beginBeep" function.

The beginBeep function is called in three different places inside the FreqDisp.cpp source file around line 983 or so. Beep durations used are 600, 1500, and 4000. I think these are milliseconds (1000 = 1 second).

-rick
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
Rick ... thanks for the reply, but I havent had any luck so far.

EDIT:

I tried to make some changes but have been unable to get it to work the way I want. It will go off and make a sound when the emergency declare is set .. but I cannot get it to shut off. It just keeps going until the dispatcher kills the declare. (really until the control channel indicates the emergency is over and the E doesnt appear any more. ) Sometimes this can be a long time ....

Any idea how I can make it make noise once then quit ... but still be ready for another emergency should one happen ?

Kevin
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
Question re the 'Display of active groups in Etrunker'

I have been looking for 'the code' that does the actual display of the information on the screen for etrunker. For example .. when a particular thing happens (an emergency declare) or a particular group becomes 'active' I want to have some code run at that point.

Specifically ..


1. when an 'E' emergency declare happens I want to do something ... (when it first appears on the top of the screen) Preferably I would like it to only happen the first time the E appears and not all the time for that instance of the emergency as sometimes the dispatchers dont shut it off for some time.

2. when a particular group is used (and displayed on the top of the screen) I want to do something ...

Note .. these are both on the top of the screen and NOT in the detail log area.

Maybe Rick if you are around can you let me know which cpp file and general area does this ... ?

Thanks
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
115
Location
Virginia
Re: Question re the 'Display of active groups in Etrunker'

edmscan said:
Maybe Rick if you are around can you let me know which cpp file and general area does this ... ?

I'll take a look this weekend.

-rick
 
Status
Not open for further replies.
Top