How to build non "+dev" version from source?
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
-
- Posts: 488
- Joined: August 4th, 2019, 5:27 pm
- Contact:
How to build non "+dev" version from source?
Hi! Wanted to test MP in the newest versions, but when I build and open Wesnoth, I get 1.17.26+dev and when I enter the MP lobby, it's empty. As far as I remember, 1.17.* + dev and just 1.17.* from user sources have different MP lobbies. How do I build non "+dev" to get an actual lobby with players?
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
- Lord-Knightmare
- Discord Moderator
- Posts: 2370
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: How to build non "+dev" version from source?
You can try detaching HEAD from the commits to end it on the commit that tagged "1.17.26"dwarftough wrote: ↑February 24th, 2024, 3:52 pm Hi! Wanted to test MP in the newest versions, but when I build and open Wesnoth, I get 1.17.26+dev and when I enter the MP lobby, it's empty. As far as I remember, 1.17.* + dev and just 1.17.* from user sources have different MP lobbies. How do I build non "+dev" to get an actual lobby with players?
In Git, the detached HEAD state occurs when the HEAD does not point to a branch, but instead points to a specific commit or the remote repository. In both of the diagrams in the previous section, HEAD points to the most recent commit in the currently checked out branch, which is its normal state.
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: How to build non "+dev" version from source?
It doesn't matter whether it's a detached HEAD or not - what matters is just that it's built from the commit that's been tagged "1.17.26". Technically, it's just a file in the source tree that gets changed when creating that version, and then immediately changed again in the next commit.
Re: How to build non "+dev" version from source?
Practically you just need to ask which port is used for 1.18 server, and connect to it directly.
-
- Posts: 488
- Joined: August 4th, 2019, 5:27 pm
- Contact:
Re: How to build non "+dev" version from source?
Alright, I build from the latest commit on the branch of the target version, instead should've used the tag, got it, I'll try.octalot wrote: ↑February 24th, 2024, 4:49 pm It doesn't matter whether it's a detached HEAD or not - what matters is just that it's built from the commit that's been tagged "1.17.26". Technically, it's just a file in the source tree that gets changed when creating that version, and then immediately changed again in the next commit.
So... which port does the 1.18 server use?
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Re: How to build non "+dev" version from source?
1.18 server is not up yet. You can connect to port 14997 to get to the 1.17 server.
"If gameplay requires it, they can be made to live on Venus." -- scott
-
- Posts: 488
- Joined: August 4th, 2019, 5:27 pm
- Contact:
Re: How to build non "+dev" version from source?
Alright, it works, thanks
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II