AuthorTopic: New server source code and binary available: 0.33d SP1  (Read 10316 times)

0 Members and 1 Guest are viewing this topic.

Offline pricorde

New server source code and binary available: 0.33d SP1
« on: November 18, 2007, 09:21:42 PM »
I just posted the new version :

This is the new version of the server (0.33d SP1):
-Big stability improvements
-Security fixes (thanks to Luigi Auriemma)
-Support of the new user mapping

The archive contains:
-Source code (for Linux and others)
-Windows binaries (in replacement of those included in the game install)

Go get it if you want to host a server!

 RoRserver-0.33d-SP1.zip

Offline Master Driver

  • Normal Member
  • Posts: 746
  • Helpfulness: 0
    • My weather
Re: New server source code and binary available: 0.33d SP1
« Reply #1 on: November 18, 2007, 09:52:28 PM »
i want to host servers, but what are the exact insructions?

Offline Boosted

  • Normal Member
  • Posts: 235
  • Helpfulness: 0
    • My Website :)
Re: New server source code and binary available: 0.33d SP1
« Reply #2 on: November 18, 2007, 10:24:47 PM »
i just compiled it and i have to say its stable now.
only tried under linux tho, will try with windows later on.
only problem i have atm is when i join the server (to test) it works, but when i leave "ghosts" of me stay, filling up the server.
im unsure if that is only a problem cuz of the same ip or a real problem.
ill see when somebody joins the server (running an unusual map - flat_map) then ill report back.

@master open the inetserver.bat file with notepad and change the options to ur likings.
then simply double click it and the server goes online.
Visit my Website! :P (German)
Click Me

Offline muris

  • Normal Member
  • Posts: 61
  • Helpfulness: 0
Re: New server source code and binary available: 0.33d SP1
« Reply #3 on: November 19, 2007, 04:16:13 AM »
Now with that new patch, my server is stable too. Thank you so much.
Sorry my English, but English is not my main language

Offline Boosted

  • Normal Member
  • Posts: 235
  • Helpfulness: 0
    • My Website :)
Re: New server source code and binary available: 0.33d SP1
« Reply #4 on: November 19, 2007, 03:15:52 PM »
i think there IS a problem with players "ghosts" staying on the server after disconnect.
one guy came onto my server...all good.
he left then some time, and later on he joined again.
yes, now hes twice on, and the ghost wont leave.

Code: [Select]
Slot Status   UID IP              Nickname, Vehicle
--------------------------------------------------
   0 Used     1 88.113.176.244   Miura,
   1 Free
   2 Free
   3 Free
Server occupancy:
Slot Status   UID IP              Nickname, Vehicle
--------------------------------------------------
   0 Busy     1 -                Miura, Rock-Racer1_isc-d.truck
   1 Used     2 88.113.176.244   Miura,
   2 Free
   3 Free
as u can see hes on twice, the first one has no ip and says busy... its in that state for like 30 minutes.
im unsure what to do, except restarting the server  ::)

in the serverlist i have seen that it also happens on other (official) servers.
there are quite a lot ppl on 2-4 times.

edit...

problem persists, so im sure its a serious bug.
Code: [Select]
Server occupancy:
Slot Status   UID IP              Nickname, Vehicle
--------------------------------------------------
   0 Busy     1 -                Miura, Rock-Racer1_isc-d.truck
   1 Used     2                  Miura, theturtle.truck
   2 Used     3                  Freddy (GER), agoras.truck
   3 Used     4 84.250.158.115   Ladee [FIN],
none of the first 3 do move - ghosts

suggestion: make it possible for an server admin to send messages to the server while not being in game.
« Last Edit: November 19, 2007, 04:49:03 PM by Boosted »
Visit my Website! :P (German)
Click Me

Offline muris

  • Normal Member
  • Posts: 61
  • Helpfulness: 0
Re: New server source code and binary available: 0.33d SP1
« Reply #5 on: November 19, 2007, 05:05:12 PM »
Yeah, that ghost thing is problem.
I like that your suggestion.
Sorry my English, but English is not my main language

Offline tdev

  • Administrator
  • Posts: 8999
  • Helpfulness: 4
Re: New server source code and binary available: 0.33d SP1
« Reply #6 on: November 19, 2007, 05:26:11 PM »
thanks for reporting

Offline zachtank

  • Normal Member
  • Posts: 1080
  • Helpfulness: 5
Re: New server source code and binary available: 0.33d SP1
« Reply #7 on: November 19, 2007, 07:21:16 PM »
It usually occurs with the cement truck. :-\ Its annoying. :P

Offline Master Driver

  • Normal Member
  • Posts: 746
  • Helpfulness: 0
    • My weather
Re: New server source code and binary available: 0.33d SP1
« Reply #8 on: November 19, 2007, 09:15:39 PM »
yes ghost are annoying and i've seen them too

Offline Sweetman

  • Normal Member
  • Posts: 1402
  • Helpfulness: 10
Re: New server source code and binary available: 0.33d SP1
« Reply #9 on: November 19, 2007, 09:30:02 PM »
It usually occurs with the cement truck. :-\ Its annoying. :P

i get that When the people are still in the server, their vehicle just sits there :'(

Official Rigs of Rods Forums

Re: New server source code and binary available: 0.33d SP1
« Reply #9 on: November 19, 2007, 09:30:02 PM »

Offline pricorde

Re: New server source code and binary available: 0.33d SP1
« Reply #10 on: November 20, 2007, 11:47:39 AM »
OK, fortunately (or not) I can't reproduce it on the main server! I did not had time to check on Windows.

So for those that host servers and have ghost people marked as: Busy

1) What operating system do you use?

2) In case the answer of 1) was "Linux": Which kernel version, and which libpThread version do you have?

Thanks.

FYI, it seems the issue is that depending on the system, the sequence:
Code: [Select]
cancel(thread);
join(thread);
can block on join(). On my server it does not blocks and works correctly.
When you see "Busy" that means that join blocked and the server is unable to delete players anymore.
Commenting out the join() (there are at two places IIRC) would fix it but beware there is a risk of resource exhaustion in case the cancel() did not work. So check how much threads you have in your process (in /proc) if you comment out the joins (the normal number is 2 threads per players plus 3 IIRC).



Offline tdev

  • Administrator
  • Posts: 8999
  • Helpfulness: 4
Re: New server source code and binary available: 0.33d SP1
« Reply #11 on: November 20, 2007, 12:06:34 PM »
OK, fortunately (or not) I can't reproduce it on the main server! I did not had time to check on Windows.

So for those that host servers and have ghost people marked as: Busy

1) What operating system do you use?

2) In case the answer of 1) was "Linux": Which kernel version, and which libpThread version do you have?

the official_small 7-12 are using that:
# uname -a
Linux game1 2.6.20-xen-r4 #1 SMP Thu Oct 4 23:28:27 UCT 2007 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux

# getconf GNU_LIBPTHREAD_VERSION
NPTL 2.5

Offline Boosted

  • Normal Member
  • Posts: 235
  • Helpfulness: 0
    • My Website :)
Re: New server source code and binary available: 0.33d SP1
« Reply #12 on: November 20, 2007, 01:57:36 PM »
Linux boosted-desktop 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

NPTL 2.6.1

thats mine...
« Last Edit: November 20, 2007, 01:59:12 PM by Boosted »
Visit my Website! :P (German)
Click Me

Offline Ladee

  • Invited Member
  • Posts: 1815
  • Helpfulness: 14
Re: New server source code and binary available: 0.33d SP1
« Reply #13 on: November 24, 2007, 12:57:02 PM »
Slot Status   UID IP              Nickname, Vehicle
--------------------------------------------------
   0 Busy     1 -                Miura, Rock-Racer1_isc-d.truck
   1 Used     2                  Miura, theturtle.truck
   2 Used     3                  Freddy (GER), agoras.truck
   3 Used     4 84.250.158.115   Ladee [FIN],


Is this my IP adress?!

Ghosts are very annoying, but they are VERY annoying when they are ghost and active -so I can crash to them. They slow down my game and makes MP uncomfortable to play.

Offline sano

  • Invited Member
  • Posts: 1013
  • Helpfulness: 0
Re: New server source code and binary available: 0.33d SP1
« Reply #14 on: December 07, 2007, 05:29:26 AM »
My code suffers from the "server crashes when someone leaves" syndrome

*** glibc detected *** ./rorserver: free(): invalid pointer: 0x08059639 ***

:(


Nevermind, my mistake :)
« Last Edit: December 07, 2007, 05:32:23 AM by sano »

Offline Conroy

  • Normal Member
  • Posts: 8
  • Helpfulness: 0
Re: New server source code and binary available: 0.33d SP1
« Reply #15 on: December 09, 2007, 10:24:11 PM »
I just posted the new version :

This is the new version of the server (0.33d SP1):
-Big stability improvements
-Security fixes (thanks to Luigi Auriemma)
-Support of the new user mapping

The archive contains:
-Source code (for Linux and others)
-Windows binaries (in replacement of those included in the game install)

Go get it if you want to host a server!

 RoRserver-0.33d-SP1.zip


Where Do I Extract This?
NO CURRENT SIGNATURE!
                      Rig of Rods Player

Offline grigori

  • Normal Member
  • Posts: 1
  • Helpfulness: 0
Re: New server source code and binary available: 0.33d SP1
« Reply #16 on: July 13, 2010, 07:49:59 PM »
« Last Edit: July 13, 2010, 07:55:06 PM by grigori »

Offline derek222

  • Normal Member
  • Posts: 3
  • Helpfulness: 0
Re: New server source code and binary available: 0.33d SP1
« Reply #17 on: July 13, 2010, 08:47:53 PM »
What does it mean if the Listener has a bad version?

Offline tdev

  • Administrator
  • Posts: 8999
  • Helpfulness: 4
Re: New server source code and binary available: 0.33d SP1
« Reply #18 on: July 13, 2010, 09:54:47 PM »
new server binary released: Forum Thread 35377