ManiaPlanet Server 2014-09-10

Moderator: NADEO

User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: ManiaPlanet Server 2014-09-10

Post by Eole »

fng_thatoneguy wrote:The mode scripts did have some updates;
The changes on the script are listed here. ;)
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
TheBigG.
Posts: 404
Joined: 11 Jun 2011, 16:11

Re: ManiaPlanet Server 2014-09-10

Post by TheBigG. »

Hi,

does somebody know what the max value for <clientinputs_maxlatency> is?
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: ManiaPlanet Server 2014-09-10

Post by steeffeen »

TheBigG. wrote:does somebody know what the max value for <clientinputs_maxlatency> is?
a quick forum search found the following post by me :P
http://forum.maniaplanet.com/viewtopic. ... cy#p182102
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    undef.de
    Posts: 2095
    Joined: 06 Apr 2011, 21:57
    Location: Germany, North Sea Coast
    Contact:

    Re: ManiaPlanet Server 2014-09-10

    Post by undef.de »

    I have just edited an own old posting from the " [MP3] REPORTS AND BUGS" forum and wanted to point to, because there was no response on it, but i think there are "important" things in it to make the handling in TM² of the UI better: http://forum.maniaplanet.com/viewtopic. ... 47#p223847 :thumbsup:
    Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
    Visit the official website for more: UASECO.org


    Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

    You like what I do? Then award a ManiaStar.
    TheBigG.
    Posts: 404
    Joined: 11 Jun 2011, 16:11

    Re: ManiaPlanet Server 2014-09-10

    Post by TheBigG. »

    Hi,
    after FB's weekly race the Server did crash with this in Syslog

    Code: Select all

    Sep 20 20:08:05 ca241 kernel: [6177666.377945] ManiaPlanetServ[10158]: segfault at 15b56f00 ip 0000000015b56f00 sp 00000000ff8fee0c error 15
    in the server log is no error
    Client:
    OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

    Server:
    OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
    User avatar
    undef.de
    Posts: 2095
    Joined: 06 Apr 2011, 21:57
    Location: Germany, North Sea Coast
    Contact:

    Re: ManiaPlanet Server 2014-09-10

    Post by undef.de »

    Let's say i build a own Title (example name "Jump-N-Run@undeflabs") based upon TMStadium. If i run a dedicated server with this settings (shorted):

    Dedicated config

    Code: Select all

    <dedicated>
    	<system_config>
    		<title>Jump-N-Run@undeflabs</title>
    	</system_config>
    </dedicated>
    
    MatchSettings

    Code: Select all

    <playlist>
    	<gameinfos>
    		<game_mode>0</game_mode>
    		<script_name>TimeAttack.Script.txt</script_name>
    		<title>Jump-N-Run@undeflabs</title>
    	</gameinfos>
    </playlist>
    
    Is there somewhere a possibilities for a server controller to figure out which base Title is used, in this example "TMStadium"?
    Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
    Visit the official website for more: UASECO.org


    Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

    You like what I do? Then award a ManiaStar.
    oliverde8
    Posts: 1345
    Joined: 16 Jun 2010, 07:33
    Location: in a Blue Box

    Re: ManiaPlanet Server 2014-09-10

    Post by oliverde8 »

    I had the same problem while coding eXpansion, :D Steffen helped me figure it out, just get the environment of the map.
    Image
    Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
    User avatar
    undef.de
    Posts: 2095
    Joined: 06 Apr 2011, 21:57
    Location: Germany, North Sea Coast
    Contact:

    Re: ManiaPlanet Server 2014-09-10

    Post by undef.de »

    oliverde8 wrote:...just get the environment of the map.
    Ahm... a too simple solution, i want a much more complicated one. :lol: :thx:

    EDIT: Your solution doesn't work for what i wanted to do: I wanted to use it as the "packmask" parameter for dedimania, but the environment can be changed for each map in e.g. the Title "Trackmania_2@nadeolabs".
    Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
    Visit the official website for more: UASECO.org


    Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

    You like what I do? Then award a ManiaStar.
    User avatar
    undef.de
    Posts: 2095
    Joined: 06 Apr 2011, 21:57
    Location: Germany, North Sea Coast
    Contact:

    Re: ManiaPlanet Server 2014-09-10

    Post by undef.de »

    May i give a short reminder to those problems:

    Important: ListMethods SetScriptName and GetScriptName
    On change the Modescript with the ListMethod SetScriptName, then after a map change the old Modescript is still running, but the ListMethod GetScriptName returns the changed script name.
    E.g. from 'Rounds.Script.txt' to ' 'TimeAttack.Script.txt'. Only a dedicated server restart helps, which is not really advantageous. ;)

    Reported at:
    http://forum.maniaplanet.com/viewtopic. ... 45#p223445
    http://forum.maniaplanet.com/viewtopic. ... 38#p218038
    http://forum.maniaplanet.com/viewtopic. ... 97#p209097


    Not Important: Buggy LibXmlRpc_OnRespawn response:
    A detailed report see: http://forum.maniaplanet.com/viewtopic. ... 66#p220566
    Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
    Visit the official website for more: UASECO.org


    Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

    You like what I do? Then award a ManiaStar.
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: ManiaPlanet Server 2014-09-10

    Post by steeffeen »

    undef.de wrote:Important: ListMethods SetScriptName and GetScriptName
    looking at http://forum.maniaplanet.com/viewtopic.php?t=27338 i still think that it's Nadeos intended behaviour
    SetScriptName only changes the name of the game mode and not the actual script
    that way Nadeo thinks everything is working fine and they don't get the issue you're referring to?

    so i still believe that we need to point out that we want the server to load the new script file by itself, after giving its name via SetScriptName

    could we please have some confirmation by Nadeo? am i wrong?

    // Edit: ha, by reading all the posts of the thread i linked (would have been a good idea to do that earlier instead of only the first post) i found that:
    Gugli wrote:When you want to switch to another mode, you call

    Code: Select all

    SetScriptName("RoyalV2.Script.txt");
    
    so it seems i was wrong, a confirmation by Nadeo would still be good i guess
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      Post Reply

      Return to “Dedicated Server”

      Who is online

      Users browsing this forum: No registered users and 2 guests