Hi,
We have been using UltraVNC SC for a couple of years now in our university.
All worked fine until now.
Apparently there is a limit on the number of [HOST] sections you can add to helpdesk.txt. I currently have 24 sections. If I add another host-section I get strange text in the list of our helpdesk.exe file. Text like "o listening VNC viewer" appears after the name of the person I added.
Is there a way I can get passed the host sections limit without breaking up my exe file into seperate ones?
Any help would be greatly appreciated.
Stijn
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
maximum number of host sections in helpdesk.txt
- Rudi De Vos
- Admin & Developer
- Posts: 6862
- Joined: 2004-04-23 10:21
- Contact:
Re: maximum number of host sections in helpdesk.txt
Indeed, list is limited.
Not possible without code change ( limit is hardcoded)
Not possible without code change ( limit is hardcoded)
Re: maximum number of host sections in helpdesk.txt
Not sure if this will apply to the updated SC (I don't have current sources) but this should raise the limit to 50 and adds a check to prevent the array overflow if there are too many host entries.Rudi De Vos wrote:Indeed, list is limited.
Not possible without code change ( limit is hardcoded)
winvnc.cpp:
Code: Select all
//PGM g_var[25][150];
//PGM g_var_20[25][50];
char g_var[50][150]; //PGM
char g_var_20[50][50]; //PGM
Code: Select all
while( fgets( myline, sizeof(myline), fid ))
{
int j=0;
if (strncmp(myline, "[END]", strlen("[END]")) == 0) {
break;
}
if (strncmp(myline, "[BEGIN HOSTLIST]", strlen("[BEGIN HOSTLIST]")) == 0) {
continue;
}
//PGM if (strncmp(myline, "[HOST]", strlen("[HOST]")) == 0) {
if (i < 50 && strncmp(myline, "[HOST]", strlen("[HOST]")) == 0) { //PGM
Advantig, LLC
http://www.Advantig.com
http://www.VncHelpdesk.com
http://www.RemoteZilla.com
http://www.DualDesk.com
Phone: +1 (813) 419-3547
http://www.Advantig.com
http://www.VncHelpdesk.com
http://www.RemoteZilla.com
http://www.DualDesk.com
Phone: +1 (813) 419-3547
- Rudi De Vos
- Admin & Developer
- Posts: 6862
- Joined: 2004-04-23 10:21
- Contact:
Re: maximum number of host sections in helpdesk.txt
When i made sc i expected no small support company's to have more then 24 engineers...
I will update it to 50 next build.
I will update it to 50 next build.
Re: maximum number of host sections in helpdesk.txt
I have the same problem, but we need about 100 host sections. We need all this host sections because each operators sometimes connect to more than one customer at time.
Is this possible? If possible, how long you take to build it?
Thank you very much
Is this possible? If possible, how long you take to build it?
Thank you very much
Last edited by m.gerardi on 2009-09-21 20:08, edited 1 time in total.
Re: maximum number of host sections in helpdesk.txt
Each operator can recieve multiple connections on the one "HOST" setting ... otherwise if each operator uses multiple connections, then they will need multiple copies of the viewer running to recieve each connection on the different ports ... kind of defeats the purpose of it all i thought.m.gerardi wrote:I have the same problem, but we need about 100 host sections. We need all this host sections because each operators sometimes connect to more than one customer at time.
why not just run the tabbed viewer in listen mode, then you have tabs showing with all your connections on the one window ...
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution
SecureTech.com.au
Re: maximum number of host sections in helpdesk.txt
This still is not working?
I need 50 hosts.
I need 50 hosts.
Re: maximum number of host sections in helpdesk.txt
Hi all!
Is there any way to create a host list with more than 50 entries?
We are preparing a community support project and have about 100 people to help with support.
I have read the forum, but all replies, even for offline creators, have limitations in host entries.
can I change and compile the source code of a generator to do this? How to could I do it?
I'm not a very experiencied programmer (only in php language).
Thanks a lot!
Is there any way to create a host list with more than 50 entries?
We are preparing a community support project and have about 100 people to help with support.
I have read the forum, but all replies, even for offline creators, have limitations in host entries.
can I change and compile the source code of a generator to do this? How to could I do it?
I'm not a very experiencied programmer (only in php language).
Thanks a lot!
Re: maximum number of host sections in helpdesk.txt
You could probably follow pgmoney's example above if you want to modify it yourself, replacing the "50" with "100".
But why not use a repeater instead? You can have thousands of hardcoded "session IDs" with one repeater. If neither SC nor SCPrompt nor ChunkVNC will support that many listings in their interfaces, just create multiple packages, or one per session ID.
Even easier, just provide a list of session IDs (much like a telephone directory) on a web page or splash screen, and have the user type the ID. This is more or less how ChunkVNC works now. And Join.me for that matter. Users enter the numeric code the connection they wish to use.
But why not use a repeater instead? You can have thousands of hardcoded "session IDs" with one repeater. If neither SC nor SCPrompt nor ChunkVNC will support that many listings in their interfaces, just create multiple packages, or one per session ID.
Even easier, just provide a list of session IDs (much like a telephone directory) on a web page or splash screen, and have the user type the ID. This is more or less how ChunkVNC works now. And Join.me for that matter. Users enter the numeric code the connection they wish to use.