Next crash. I started the launcher, then the game, then new game, then single scenario. This made the server crash.
Trying connection to 127.0.0.1:3030(0)
Problem with connecting: Connection refused
Something went wrong... checking for error info
Server command line: /usr/games/vcmiserver --port=3030 --run-by-client --uuid=1ecdec74-8f82-41c0-8cc0-648226241442 --enable-shm > "/home/siegfried/.cache/vcmi/server_log.txt"
Unrecognized bonus name! (DAEMON_SUMMONING)
Trying connection to 127.0.0.1:3030(0)
Established connection with VCMI 1.2.0.GITDIR-NOTFOUND (server). UUID: 2c2dbd69-a937-437a-8b5f-1a8d0269080b
terminate called after throwing an instance of 'std::out_of_range'
Network error receiving a pack. Connection Connection with VCMI 1.2.0.GITDIR-NOTFOUND (server) (ID: 1 UUID: 1ecdec74-8f82-41c0-8cc0-648226241442) dies. What happened: read_some: Connection reset by peer
Only active and existing mod: vcmi-extras.
End of server log:
[2023-Feb-09 12:01:27.459648] INFO mod - Handlers post-load finalization: 6 ms
[2023-Feb-09 12:01:27.459662] INFO mod - All game content loaded in 253 ms
[2023-Feb-09 12:01:27.459859] TRACE network - CVCMIServer created! UUID: bf9430f5-9a27-403c-8deb-96b00303040a
[2023-Feb-09 12:01:27.459914] INFO network - Port 3030 will be used
[2023-Feb-09 12:01:27.459955] INFO network - Listening for connections at port 3030
[2023-Feb-09 12:01:27.510273] INFO network - We got a new connection! :)
[2023-Feb-09 12:01:27.511353] INFO network - Established connection with VCMI 1.2.0.GITDIR-NOTFOUND (client). UUID: b650bcb8-f7e0-4352-b2f2-7a735dccc773
[2023-Feb-09 12:01:27.511714] TRACE network - Received CPack of type 20LobbyClientConnected
[2023-Feb-09 12:01:27.511733] INFO network - Connection with client 1 established. UUID: bf9430f5-9a27-403c-8deb-96b00303040a
[2023-Feb-09 12:01:27.511758] INFO network - Client 1 player: Player
[2023-Feb-09 12:01:27.511780] INFO network - system says: Player (pid cid 1) joins the game
[2023-Feb-09 12:01:27.561590] TRACE network - Sending a pack of type 20LobbyClientConnected
[2023-Feb-09 12:01:27.561715] TRACE network - Sending a pack of type 16LobbyUpdateState
[2023-Feb-09 12:01:28.686245] ERROR network - Network error receiving a pack. Connection Connection with VCMI 1.2.0.GITDIR-NOTFOUND (server) (ID: 1 UUID: b650bcb8-f7e0-4352-b2f2-7a735dccc773) dies. What happened: read_some: Connection reset by peer
[2023-Feb-09 12:01:28.686341] INFO network - Thread listening for Connection with VCMI 1.2.0.GITDIR-NOTFOUND (server) (ID: 1 UUID: b650bcb8-f7e0-4352-b2f2-7a735dccc773) ended
[2023-Feb-09 12:01:28.713433] INFO network - Thread handling connections ended
I tried one of the campaigns. Finished the first scenario. Then, on advancing to the next scenario, i did a mouseclick during the intro. Now instead of starting that nexr scenario, i got the custom campaign selection dialogue. Tried 3 times.
I added ma mod and tried a test map. Visited a university with a cleric and with a knight. The university offered one of my new skills. But for the cleric as well as for the knight this skill was in red (disallowed).
Not sure, not enough info there. But seems to be plausible.
The bug is new. V0.99 did not have it, and as far as i remember, V1.0 and v1.1 did not have it either. This is a 1.2 issue, which currently is not stable.
Edit: I just tested again. I levelled a Ranger and he got one of my new resource skills offered. So this bug is limited to the Univertity.
As far as i remember, many of those decorative objects use this index. Mostly the Fred79 objects. These 3 ice objects where in my editor. Unfortunately i could not find all of them. So i added a line in the “generic.json” file:
Your code can be written better, for example "core:cactus" so game knows automatically what index cactus has and then you don’t need to copy “index” parameter or even handlers. You can compare code in ‘hota decorations’ submod.
Another crash. Same as i had a few days ago. The serv er crashed on visiting a lighthouse. Server log:
[2023-Feb-18 13:01:09.248080] DEBUG global - Hero hero.special.ariel.name visits Lighthouse (42:0)
[2023-Feb-18 13:01:09.248093] TRACE global - Created a new query with id 5009
[2023-Feb-18 13:01:09.248103] TRACE network - Sending to all clients: 9HeroVisit
[2023-Feb-18 13:01:09.248114] TRACE network - Sending a pack of type 9HeroVisit
[2023-Feb-18 13:01:09.248139] TRACE network - Applied on gs: 9HeroVisit
[2023-Feb-18 13:01:09.248144] TRACE network - Sending to all clients: 17SetObjectProperty
[2023-Feb-18 13:01:09.248148] TRACE network - Sending a pack of type 17SetObjectProperty
[2023-Feb-18 13:01:09.248167] TRACE network - Applied on gs: 17SetObjectProperty
[2023-Feb-18 13:01:09.248180] TRACE network - Sending to all clients: 10InfoWindow
[2023-Feb-18 13:01:09.248185] TRACE network - Sending a pack of type 10InfoWindow
[2023-Feb-18 13:01:09.248206] TRACE network - Applied on gs: 10InfoWindow
[2023-Feb-18 13:01:09.248211] TRACE network - Sending to all clients: 9GiveBonus
[2023-Feb-18 13:01:09.248215] TRACE network - Sending a pack of type 9GiveBonus
[2023-Feb-18 13:01:09.252089] ERROR global - Error: signal 11 :
[2023-Feb-18 13:01:09.256136] ERROR global - /usr/games/vcmiserver(+0xe9ea2) [0x55e19a858ea2]
[2023-Feb-18 13:01:09.256296] ERROR global - /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f813c4c4520]
[2023-Feb-18 13:01:09.256389] ERROR global - /usr/lib/
The lighthouse visited was this one:
Nothing special about this lighthouse. The few days ago i visited this lighthouse with another hero. Same crash.