How to join internet matches with self compiled WZ?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

How to join internet matches with self compiled WZ?

Post by smallfly »

Hi together! I have a very bad internet connection, so it takes long time to download the wz installer. i also have the source code and use svn to keep it updated. my thought: can i just compile the game myself and join internet matches with the self compiled version? so i dont have to download the full install package every time? i tried to, but when i compile it myself it says different version.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: How to join internet matches with self compiled WZ?

Post by Per »

Yes you can. Note that if you build trunk, you can only play against other people who also have trunk, and the same goes for 2.2.
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

But I assume there are quite less players playing the trunk version online, correct? Why can't you connect to normal games?

What about modifying the game and joining multiplayer games? I would like to use some helper scripts for controlling units, some overlays for radar etc. that i programmed myself? That would count as "cheat", does it? I dont want to do anything unfair, but i really want to make the game more comfortable to play, i.e. with menu extensions etc.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: How to join internet matches with self compiled WZ?

Post by Per »

Warzone uses a peer to peer model for networking, and differences in game rules and code will make the game go out of sync if not played with the same generation client.

The best place to find people who want to play with the trunk version is the development irc channel, probably.
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

Per wrote:Warzone uses a peer to peer model for networking, and differences in game rules and code will make the game go out of sync if not played with the same generation client.
But the game will not desync if I just modify things like the menus, does it?
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: How to join internet matches with self compiled WZ?

Post by Per »

smallfly wrote:But the game will not desync if I just modify things like the menus, does it?
Well, obviously not.
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

So how do I join a (not-self-compiled) multiplayer match (using the official wz installer) with a self compiled game with modified menus (that will not crash the game as well isnt a cheat) ?!
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: How to join internet matches with self compiled WZ?

Post by Per »

smallfly wrote:So how do I join a (not-self-compiled) multiplayer match (using the official wz installer) with a self compiled game with modified menus (that will not crash the game as well isnt a cheat) ?!
Are you asking because you have tried it and it did not work? Because it should.
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

Per wrote:Are you asking because you have tried it and it did not work? Because it should.
To be honest, i didnt try it. (There wasnt a match online to test if it works). But if I compile wz myself the version is something like "release trunk ..." and NOT "Version 2.2.2" like it should be. I think this string has to be the same to connect (?)
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

i updated my repository to revision 8043 (that equals 2.2.2) and compiled it successfully. but i cannot join online multiplayer games. it says "wrong game version..." (there is a cross next to the game title)

i expected that. but you said it would function (?) what do i have to change in source code, so that i can join?
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

2.2.3 -> equals which revision?!

Post by smallfly »

in the meantime 2.2.3 was published. under the menu point "tags" i can find 2.2.2 and some release candidates but not 2.2.3
the source code explorer doesnt help me. who knows which revision (4-digit-number) equals to 2.2.3? and what about the question of my prior posting? thanks so far
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: How to join internet matches with self compiled WZ?

Post by Zarel »

Versions aren't revisions at all. Just use /tags/2.2.3/... the revision number doesn't matter (and you should always use the latest revision).
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

thats what i want to do:
tags223.jpg
but it doenst work like that. what do i have to do to update my repository to the source code of version 2.2.3?! please help me. im getting frustrated.

ps: i also tried to update my repository to 8044 (trunk). that doesnt work, too. with "doesnt work" i mean, that i can successfully compile the game but cannot join other multiplayer games (version conflict!)
You do not have the required permissions to view the files attached to this post.
smallfly
Trained
Trained
Posts: 85
Joined: 21 Aug 2009, 10:26

Re: How to join internet matches with self compiled WZ?

Post by smallfly »

I tried something new:

Windows Context Menu -> TortoiseSVN -> Relocate and then:
relocate.jpg
(I replaced "/trunk" with "/tags/2.2.3")

Dont know if it functions. (There is only one game online and that one is 2.2.2 xD )
You do not have the required permissions to view the files attached to this post.
-Kosh-
Trained
Trained
Posts: 203
Joined: 16 Sep 2009, 23:34

Re: How to join internet matches with self compiled WZ?

Post by -Kosh- »

You must be new to VCS.
All you have to do is checkout trunk to have that, then checkout /tags/2.2.3 to have that.
Relocate is when the url of the project changes.
This is a waste of space. Something important should be here.