The International Simutrans Forum

 

Author Topic: New feature: "-easyserver" switch to make hosting easier  (Read 5396 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1173
    • Simutrans-BLOG
  • Languages: ES
Re: New feature: "-easyserver" switch to make hosting easier
« Reply #35 on: May 31, 2018, 12:57:25 AM »
No, 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
« Last Edit: May 31, 2018, 01:08:39 AM by Yona-TYT »

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1173
    • Simutrans-BLOG
  • Languages: ES
Re: New feature: "-easyserver" switch to make hosting easier
« Reply #36 on: May 31, 2018, 01:45:35 AM »
I got this error when trying to connect 2 clients on the same pc.  :o
Code: [Select]
(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. ;)
Code: [Select]
(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)
« Last Edit: May 31, 2018, 01:59:59 AM by Yona-TYT »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9383
  • Languages: De,EN,JP
Re: New feature: "-easyserver" switch to make hosting easier
« Reply #37 on: May 31, 2018, 02:14:40 AM »
It works for me, but I am on windows.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1173
    • Simutrans-BLOG
  • Languages: ES
Re: New feature: "-easyserver" switch to make hosting easier
« Reply #38 on: May 31, 2018, 02:20:05 AM »
try using my script.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9383
  • Languages: De,EN,JP
Re: New feature: "-easyserver" switch to make hosting easier
« Reply #39 on: May 31, 2018, 03:00:14 AM »
I did and it worked.