Need help joining current game!

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
TehPwner89
New user
Posts: 1
Joined: 18 Feb 2011, 10:40

Need help joining current game!

Post by TehPwner89 »

Hey there, so I'm not very computer savy when it comes to programming or understanding how a computer really works.

I read the thread where flybyray wrote a guide but I don't even know how to start.

=================================================================

Hi,

write this in a batch file (e.g. wz2100.bat) remember its location:

set str=%1
set str=%str:~10%
for /f "tokens=1,2 delims=/ " %%a in ("%str%") do set ip=%%a&set name=%%b
"C:\Program Files (x86)\Warzone 2100\warzone2100.exe" --join %ip%

change that path to your warzone2100.exe binary

edit your registry to specify the warzone:// as a new URL Protocol
create a regedit file (e.g. wz2100.reg) and write this in it:

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\warzone]
"URL Protocol"=""
@="URL:Warzone Online Game"
[HKEY_CLASSES_ROOT\warzone\shell]
[HKEY_CLASSES_ROOT\warzone\shell\open]
[HKEY_CLASSES_ROOT\warzone\shell\open\command]
@="\"C:\\Program Files (x86)\\Warzone 2100\\wz2100.bat\" %1"


change this to this location of your batch file.
run the created reg file once or do this manually in your regedit.

now you can click on a game link from http://wz2100.net/lobbyserver

========================================


Whats a batch file? Where do I put it?

What is my warzone2100.exe binary?
:)
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Need help joining current game!

Post by Iluvalar »

I think if this is too confusing for you, you better simply enter the game => multiplay => join => lobby and choose a game.

I won't recommend you to edit your registery if you ask what a "batch file (e.g. wz2100.bat)" is . :P
Heretic 2.3 improver and proud of it.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: Need help joining current game!

Post by milo christiansen »

Also the way he registered the bat file is not recommended and may not work on windows versions newer than XP.

I could add that capability to my mod/map installer, I need to fix some problems with that anyway.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual