Official Rigs of Rods Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
*
Official Rigs of Rods Forums  |  General Rigs of Rods Chat  |  General Multiplayer Chat  |  Topic: New server source code and binary available: 0.33d SP1 Advanced search
Benefits from registering an account
  • As a registered user, the forum will be nearly Ad-free
  • Contribute to threads and discussions
  • Get "ranked" status (green) in multiplayer on our official servers
  • exchange personal messages with our members
  • get announcements about the latest version updates
Register now
  0 Members and 1 Guest are viewing this topic. « previous next »
Pages 1
Author
Topic: New server source code and binary available: 0.33d SP1  (Read 8681 times)
Post #0
November 18, 2007, 03:21:42 PM
Offline pricorde
Developer
 
Posts: 360

Joined: Apr 2007


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
 
Reply #1
November 18, 2007, 03:52:28 PM
Offline Master Driver
Normal Member
 
Posts: 742

Joined: Oct 2007


i want to host servers, but what are the exact insructions?
 
Reply #2
November 18, 2007, 04:24:47 PM
Offline Boosted
Normal Member
 
Posts: 229

Joined: Apr 2007


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! Tongue (German)
Click Me
 
Reply #3
November 18, 2007, 10:16:13 PM
Offline muris
Normal Member
 
Posts: 58

Joined: Nov 2007


Now with that new patch, my server is stable too. Thank you so much.
Sorry my English, but English is not my main language
Reply #3_ad
November 18, 2007, 10:16:13 PM
AdBot
Offline
Member
Posts: 839

 
 
Reply #4
November 19, 2007, 09:15:52 AM
Offline Boosted
Normal Member
 
Posts: 229

Joined: Apr 2007


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:
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  Roll Eyes

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:
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, 10:49:03 AM by Boosted »
Visit my Website! Tongue (German)
Click Me
 
Reply #5
November 19, 2007, 11:05:12 AM
Offline muris
Normal Member
 
Posts: 58

Joined: Nov 2007


Yeah, that ghost thing is problem.
I like that your suggestion.
Sorry my English, but English is not my main language
 
Reply #6
November 19, 2007, 11:26:11 AM
Offline tdev
Developer
 
Posts: 7980

Joined: Apr 2007


thanks for reporting
 
Reply #7
November 19, 2007, 01:21:16 PM
Offline zachtank
Normal Member
Posts: 1070

Joined: Sep 2007


It usually occurs with the cement truck. Undecided Its annoying. Tongue
 
Reply #8
November 19, 2007, 03:15:39 PM
Offline Master Driver
Normal Member
 
Posts: 742

Joined: Oct 2007


yes ghost are annoying and i've seen them too
 
Reply #9
November 19, 2007, 03:30:02 PM
Offline Sweetman
Normal Member
Posts: 1402

Joined: Apr 2007


It usually occurs with the cement truck. Undecided Its annoying. Tongue
i get that When the people are still in the server, their vehicle just sits there Cry
 
Reply #10
November 20, 2007, 05:47:39 AM
Offline pricorde
Developer
 
Posts: 360

Joined: Apr 2007


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:
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).


 
Reply #11
November 20, 2007, 06:06:34 AM
Offline tdev
Developer
 
Posts: 7980

Joined: Apr 2007


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
Reply #11_ad
November 20, 2007, 06:06:34 AM
AdBot
Offline
Member
Posts: 839

 
 
Reply #12
November 20, 2007, 07:57:36 AM
Offline Boosted
Normal Member
 
Posts: 229

Joined: Apr 2007


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, 07:59:12 AM by Boosted »
Visit my Website! Tongue (German)
Click Me
 
Reply #13
November 24, 2007, 06:57:02 AM
Offline Ladee
Invited Member
 
Posts: 1683

Joined: Jul 2007


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.
Guess who I found?
 
Reply #14
December 06, 2007, 11:29:26 PM
Offline sano
Global Moderator
 
Posts: 1010

Joined: Jun 2007


My code suffers from the "server crashes when someone leaves" syndrome

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

Sad


Nevermind, my mistake Smiley
« Last Edit: December 06, 2007, 11:32:23 PM by sano »
 
Reply #15
December 09, 2007, 04:24:11 PM
Offline Conroy
Normal Member
 
Posts: 8

Joined: Dec 2007


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
Print  Pages 1

Official Rigs of Rods Forums  |  General Rigs of Rods Chat  |  General Multiplayer Chat  |  Topic: New server source code and binary available: 0.33d SP1 « previous next »
Jump to:  

    
Get Rigs of Rods at SourceForge.net. Fast, secure and Free Open Source software downloads