Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

PHW server running two times - Bug?

Post Reply
Nikk
Posts: 2
Joined: 2008-02-14 20:44

PHW server running two times - Bug?

Post by Nikk »

Hey Guys i must say PHW is one of the greatest things i have ever seen! keep up the good work!
I tried this with a friend in australia (germany here) and it was just great..
Although we had a little problem at one point..

I set up the server with
-direct -autoreconnect
My friend remembered other days when we used singleclick and she started the server again which resulted in lots of icons loading in the taskbar, the pc slowed down pretty ugly and she was just able to reboot it..

now my idea was to write a little script in autohotkey (www.autohotkey.com - scripting language to automate common stuff) that checks if the process already runs, if not, it starts the server, if it runs it just closes the script and does nothing.. heres the code for that:

Code: Select all

IniRead, runfile, default.ini, run, exefile, PcHelpWare_server.exe
Process, exist, %runfile%
If errorlevel = 0
run, %runfile%, %A_ScriptDir%
ExitApp
it reads an inifile called default.ini that says this (can be modified, of course):

Code: Select all

[run]
exefile=PcHelpWare_server.exe
When the key exefile doesnt exist, it claims PcHelpWare_server.exe as the standard value..

this surely isnt a real solution but it would be nice to have such a feature in setting up servers as i have to deliver 2 exe files now (the server and my compiled script)

anyways i hope this helps somebody.. this gets pretty serious when the server is run twice and both try to connect automatically..

Greets
Nikk
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: PHW server running two times - Bug?

Post by redge »

this could explain of many users report pchelpware slower than SC !
are you using pchelpware patched to 1.0.1 ?
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Nikk
Posts: 2
Joined: 2008-02-14 20:44

Re: PHW server running two times - Bug?

Post by Nikk »

Not that i know of.. i downloaded it about 3 days ago, the zipfile was PcHelpWare_rel10.zip and i didnt patch to another version manually

Do you think the lag is caused when people re-start the server like in singleclick (even when the server isnt supposed to automatically reconnect)?

By the way, of course i can serve my compiled script if u want me to.. just send me a message, in case you dont trust it, you can easily grab your own copy of autohotkey at the given address and compile the script on your own (install autohotkey, copy the script into a textfile named runme.ahk and compile it with a rightclick).
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: PHW server running two times - Bug?

Post by redge »

Do you think the lag is caused when people re-start the server like in singleclick
I don't know, I won't have the issue, I used pchelpware_1.0.0 + patch 1.0.1
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply