View previous topic :: View next topic |
Author |
Message |
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Wed May 28, 2003 12:16 pm Post subject: Multiple Clients |
|
|
I'm looking for a way to trick HL into allowing multiple instances of
a client to run on the same machine. (Assuming that the client is
not written in such a way that any resources could not be
properly shared. Of course, in theory the OS is supposed to handle
that, but we all know that theory and reality are not the same thing.)
Anyone know anything about getting multiple clients running on
the same box? _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Wed May 28, 2003 12:20 pm Post subject: |
|
|
Oh, BTW, this would assume that the clients were running in
windowed mode.
(Yes I am perverse) _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Fri May 30, 2003 12:01 am Post subject: |
|
|
I'll take that as a no. _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
Bright Red Nipples Registered User
Joined: 26 Mar 2002 Location: at work :s Posts: 7684
|
Posted: Fri May 30, 2003 12:04 am Post subject: |
|
|
I would have posted something informative if I knew what the hell you were saying. Unfortunately I am not computer literate enough to even attempt to give you advice. Sorry. _________________
God Bless You Blue Ruler |
|
Back to top |
|
|
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Fri May 30, 2003 12:07 am Post subject: |
|
|
Bright Red Nipples wrote: | I would have posted something informative if I knew what the hell you were saying. Unfortunately I am not computer literate enough to even attempt to give you advice. Sorry. |
Ah well, I'm sure there's a reason why Valve programmed HL
not to do it in the first place anyhow. _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
Stevo Ville Supporter
Joined: 08 Dec 2002 Location: Orange County Guild: TVR Posts: 9514
|
|
Back to top |
|
|
Usually Dead Registered User
Joined: 14 Jan 2003 Location: Salt Lake City, Utah Posts: 680
|
Posted: Mon Jun 02, 2003 9:02 pm Post subject: |
|
|
I tried doing the same thing with Diablo II, but Blizzard dosen't seem to like it any more than Valve does. It would have been cool too, becuase I could have easily exchanged items between characters in single player mode.
Wait a second MPI... why do you want to do this in the first place?? _________________
|
|
Back to top |
|
|
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Mon Jun 02, 2003 9:15 pm Post subject: |
|
|
Usually Dead wrote: | I tried doing the same thing with Diablo II, but Blizzard dosen't seem to like it any more than Valve does. It would have been cool too, becuase I could have easily exchanged items between characters in single player mode.
Wait a second MPI... why do you want to do this in the first place?? |
'Cause using sv_cheats 1 in Natural Selection isn't the same
as having two clients connected, and I want to abuse the game,
err I mean experiment with the game. Also, if you write a console
script that has an infinite loop, there's no way that I've found to stop
the script except to terminate HL from the outside (with task manager
or any program that provides a kill process feature).
I'm trying currently to figure out what sort of mechanism HL uses to
detect if it's already running. It's not the image name, since I've
already tried the experiment with a renamed client, and even
changed the one instance of 'hl.exe' inside the renamed client for
the heck of it. (Yay for hex editors!)
Now I'm wondering if it uses a registry key, or makes some sort of
"magic" handle, or if the client checks for locks or open handles on
the rest of the client files, etc... _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
Stevo Ville Supporter
Joined: 08 Dec 2002 Location: Orange County Guild: TVR Posts: 9514
|
Posted: Mon Jun 02, 2003 9:56 pm Post subject: |
|
|
Have you tried copying the entire Half-Life directory to another location outside of the SIERRA file? Then change the cd key to it or something? _________________
The Official TVR Website
Fopp
Song of the Week |
|
Back to top |
|
|
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Mon Jun 02, 2003 10:01 pm Post subject: |
|
|
Stevo wrote: | Have you tried copying the entire Half-Life directory to another location outside of the SIERRA file? Then change the cd key to it or something? |
So far I haven't tried anything yet except messing with the executable,
haven't had time. Right now I shouldn't even be on the forums,
with all the various things I ought to be doing that I'm not _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
Usually Dead Registered User
Joined: 14 Jan 2003 Location: Salt Lake City, Utah Posts: 680
|
Posted: Tue Jun 03, 2003 6:19 am Post subject: |
|
|
My Personal Insanity wrote: | I'm trying currently to figure out what sort of mechanism HL uses to
detect if it's already running. It's not the image name, since I've
already tried the experiment with a renamed client, and even
changed the one instance of 'hl.exe' inside the renamed client for
the heck of it. (Yay for hex editors!)
Now I'm wondering if it uses a registry key, or makes some sort of
"magic" handle, or if the client checks for locks or open handles on
the rest of the client files, etc... |
Well, it seems to me that HL probably just uses some variable in the RAM to determine weather it's running or not. Every time the HL executable is run, it checks for that specific peice of data in the memory to see if it should start up or not.
I could be wrong... it just seems the most obvious way Valve would keep their game from running two copies at once. If not that, then maybe the HL.exe checks its .dlls to see if they're already in use. _________________
Last edited by Usually Dead on Tue Jun 03, 2003 12:06 pm; edited 1 time in total |
|
Back to top |
|
|
ROOFCUTTER Server Admin
Joined: 12 Aug 2001 Location: =USV= Posts: 9271
|
Posted: Tue Jun 03, 2003 6:28 am Post subject: |
|
|
Why do you want to do this? _________________ Only in America......do they have drive-up ATM machines with Braille lettering. |
|
Back to top |
|
|
My Personal Insanity Registered User
Joined: 03 Mar 2002 Location: Salt Lake City GUILD: US-V Posts: 2627
|
Posted: Tue Jun 03, 2003 8:22 pm Post subject: |
|
|
ROOFCUTTER wrote: | Why do you want to do this? |
My Personal Insanity wrote: |
'Cause using sv_cheats 1 in Natural Selection isn't the same
as having two clients connected, and I want to abuse the game,
err I mean experiment with the game. Also, if you write a console
script that has an infinite loop, there's no way that I've found to stop
the script except to terminate HL from the outside (with task manager
or any program that provides a kill process feature).
|
The scripts especially. HL scripting really lacks conditionals or real
loops, so automating repetitive things (like my attempt to have -1337
deaths on a LAN game) is not easy, and scripts also leave you unable
to control the client, and thus unable to manipulate the enviroment,
until the script terminates.
Finally, I want to see some things from the outside, not 1st or even 3rd
person... _________________ [url=http://www.surfacezero.net/BottleFairy-Sensei-san(J).mp3][/url]
aaa, oshiete sensei-san... |
|
Back to top |
|
|
Stevo Ville Supporter
Joined: 08 Dec 2002 Location: Orange County Guild: TVR Posts: 9514
|
Posted: Tue Jun 03, 2003 9:41 pm Post subject: |
|
|
My Personal Insanity wrote: | Finally, I want to see some things from the outside, not 1st or even 3rd
person... |
You could do that. Just make a dedicated server and then use the HLTV and connect it to localhost and start a demo while you play. Or you could just use two computers.... _________________
The Official TVR Website
Fopp
Song of the Week |
|
Back to top |
|
|
DJ George Server Admin
Joined: 25 Mar 2003 Location: Where the music is loudest Posts: 1677
|
Posted: Tue Jun 03, 2003 10:51 pm Post subject: |
|
|
He is trying to cheat thet is what he is really up to! _________________ http://www.barbertonrhps.com - The offical Website for Barberton's West Theater Rocky Horror Picture Show in Ohio
http://russellsoundlab.com - Disk Jockeys
|
|
Back to top |
|
|
|