News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

New feature: "-easyserver" switch to make hosting easier

Started by prissi, May 12, 2018, 03:29:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

Quote from: prissi on May 31, 2018, 12:14:24 AMNo, it means it should work with the latest nightly. I had just to move the logic. Please continue to test.
Unfortunately the nightly does not generate the executable for linux, I compiled from Github, but the button to start the game in server mode does not appear.
It works.  ;D

Yona-TYT

I got this error when trying to connect 2 clients on the same pc.  :o
(gdb) where
#0  0xb7fd5d21 in __kernel_vsyscall ()
#1  0xb7eeef28 in send () from /usr/lib/libpthread.so.0
#2  0x08188b4e in network_send_data (dest=14, buf=0x9c8708d "\016", size=14,
    count=@0xbfffc56e: 0, timeout_ms=250) at network/network.cc:669
#3  0x0819476f in packet_t::send (this=0x9c87080, s=14, complete=true)
    at network/network_packet.cc:118
#4  0x0818a908 in network_command_t::send (this=0xbfffc5c4, s=14)
    at network/network_cmd.cc:70
#5  0x0818ea49 in nwc_gameinfo_t::execute (this=0x9cb9bd0, welt=0x89db200)
    at network/network_cmd_ingame.cc:97
#6  0x082caad4 in karte_t::process_network_commands (this=0x89db200,
    ms_difference=0xbfffcc94) at simworld.cc:6503
#7  0x082cd0d3 in karte_t::interactive (this=0x89db200, quit_month=2147483647)
    at simworld.cc:6676
#8  0x08286e39 in simu_main (argc=1, argv=0xbfffe7a4) at simmain.cc:1360
#9  0x082969b3 in sysmain (argc=1, argv=0xbfffe7a4) at simsys.cc:1038
#10 0x0804f9f2 in main (argc=1, argv=0xbfffe7a4) at simsys_s.cc:729
(gdb)

Edit.
Update some debug libraries. ;)
(gdb) where
#0  0xb7fd5d21 in __kernel_vsyscall ()
#1  0xb7eeef28 in send () from /usr/lib/libpthread.so.0
#2  0x08188b4e in network_send_data (dest=14,
    buf=0xbfffc6f0 "BZh91AY&SY\270z", size=1024, count=@0xbfffc5c2: 0,
    timeout_ms=250) at network/network.cc:669
#3  0x0818ea89 in nwc_gameinfo_t::execute (this=0x9cc3a10, welt=0x89db250)
    at network/network_cmd_ingame.cc:103
#4  0x082caad4 in karte_t::process_network_commands (this=0x89db250,
    ms_difference=0xbfffcc94) at simworld.cc:6503
#5  0x082cd0d3 in karte_t::interactive (this=0x89db250, quit_month=2147483647)
    at simworld.cc:6676
#6  0x08286e39 in simu_main (argc=1, argv=0xbfffe7a4) at simmain.cc:1360
#7  0x082969b3 in sysmain (argc=1, argv=0xbfffe7a4) at simsys.cc:1038
#8  0x0804f9f2 in main (argc=1, argv=0xbfffe7a4) at simsys_s.cc:729
(gdb)

prissi



prissi