Search found 845 matches

by Trilarion
Thu Jan 05, 2023 9:04 pm
Forum: General discussion
Topic: Metternich Engine
Replies: 4
Views: 3183

Re: Metternich Engine

That actually really looks good. Qt is a quite good option. I have no time for this project here but it's nice to see that someone else is doing something.
by Trilarion
Sat Jun 26, 2021 4:03 pm
Forum: Announcements
Topic: Website changes
Replies: 12
Views: 23811

Re: Website changes

I updated the forum software from phpbb 3.2.8 to 3.3.4 and could not yet update the style accordingly.
by Trilarion
Sun May 02, 2021 8:48 pm
Forum: Announcements
Topic: Progression ?
Replies: 6
Views: 12796

Re: Progression ?

At some point it will. I'm sure. In the near future it's unlikely though, unfortunately.
by Trilarion
Thu Oct 29, 2020 10:03 am
Forum: Programming
Topic: Dev Blog - Trilarion
Replies: 139
Views: 253030

Re: Dev Blog - Trilarion

Sorry, at the moment I cannot help. There are good tutorials for UI creation with Qt. It's not difficult, there are signals and slots in Qt and they enable event driven communication in a very decoupled way. UI elements are all derived from QWidget. Layouts are recommended to determine the position ...
by Trilarion
Sat Oct 03, 2020 10:20 am
Forum: Programming
Topic: Dev Blog - Trilarion
Replies: 139
Views: 253030

Re: Dev Blog - Trilarion

Sure. That's one way to do it, but you'll have to improvise things nevertheless because the Imp1 manual does not contain all the details of the game, especially not how it works internally. How are the prices for the produced stuff set? How is the influence on the minor nations sets? How does the al...
by Trilarion
Mon Sep 28, 2020 8:10 pm
Forum: Programming
Topic: Dev Blog - Trilarion
Replies: 139
Views: 253030

Re: Dev Blog - Trilarion

Not all internal things of Imperialism 1 are known. And some things I found not really optimal like the battles. But I understand what you mean. The question is how to get a description of all the features of Imperialism 1. The description needs to be quite detailed. So, how do you know what an engi...
by Trilarion
Thu Sep 24, 2020 1:06 pm
Forum: Programming
Topic: Minor issues / discussions
Replies: 6
Views: 11003

Re: Minor issues / discussions

The capital is a nation-property. base/constants/NationProperty/Capital-Province is the nation-property key and the value is the id of the province that is the capital province for that nation. The location of the town in a province is a province-property with key base/constants/ProvinceProperty/Tow...
by Trilarion
Thu Sep 24, 2020 1:00 pm
Forum: Programming
Topic: Dev Blog - Trilarion
Replies: 139
Views: 253030

Re: Dev Blog - Trilarion

These things make sense. They go in a good direction. Nevertheless, a more long term plan is also needed. What are the next big things that need to be finished in your eyes? Back then, I never really finished a description of the game and you seem to have some sort of long term plan. Do you want to ...
by Trilarion
Wed Sep 16, 2020 6:43 pm
Forum: Programming
Topic: Design of network communication
Replies: 2
Views: 4048

Re: Design of network communication

1. Turn. I was thinking that each player does not send any action in its turn rather than collects actions in a batch and after pressing 'End turn' button sends the batch to the server. Server waits until all players finish their turn and starts calculations. Server checks for allowed actions (not ...
by Trilarion
Tue Sep 15, 2020 8:30 pm
Forum: Programming
Topic: Design of network communication
Replies: 2
Views: 4048

Design of network communication

Here I will write down the current state of the network communication for a better understanding and for discussion and improvement. lib/network.py On the most basic level we wrap around QtNetwork.QTcpSocket , which can connect to and exchange bytes data remotely. In ExtendedTcPSocket we include suc...