[ManiaScript] List of known bugs and Suggestions

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

[ManiaScript] List of known bugs and Suggestions

Post by steeffeen »

This post is not being reviewed anymore and might be outdated.

About the thread
This list is intended to serve as a help for Nadeo developers searching for open things and as source of information for community developers wondering why their features don't work.
The topics covered in this thread are only about ManiaScript directly or indirectly (ManiaPlanet only, they will have [SM/TM] tags if they are related to a specific game or [ML] if they are about manialink script.)
Please continue opening dedicated threads for new bugs and refrain on discussing the things in this thread, each point has a link to its own topic where the bugs can be discussed.
The bugs are sorted by their importance (of course all of them are kind of important and should be fixed).
Don't expect any bugs to be fixed within only 1 week or in the given order.
Please send missing topics as PM to me or as a reply to this thread, this thread will be updated constantly (fixed bugs will be removed). Please also post updates to the topics mentioned here so that they may be removed or modified. Any feedback is appreciated.
I apologize for any mistakes (especially regarding TM topics as my expertise is SM).


Very important
  • [TM] 'wait' calls cause time incoherences if finishing - Link
  • [SM] Integer running out of bounds ("Now") - Link
  • Including Scripts (Libs) in Manialinks - Link
  • ObjectId Marker Bug - Link
Medium important
  • Undefined variable in included scripts - Link
  • [TM] Hud3dMarkers not working correctly in TrackMania - Link
  • [SM] CSmPlayer::UseAlternateWeaponVisual not working in tunnel - Link
  • Wrong built translatable label text cause crash - Link
  • [ML] KeyPress & Key... Booleans not working CMlScript - Link
  • [SM] Can't access more than 64 poles on a map - Link
Less important
  • [ML] LoadedTitle does not reset - Link
  • Naming Incosisency CMlScriptIngame::PlayUiSound() - Link
  • CSmModeEvent::ShooterWeaponNum vs. ::WeaponNum - Link
  • CSmModeEvent::BlockPole not deprecated - Link
  • CSmModeEvent::Action_Slot - Link
  • CSmBlockSpawn::DirFront - Link
  • [SM] Bugged Markers on Ctrl-Ping (X) - Link
  • [TM] Net-Coding for TrackMania Player Objects - Link
  • [TM] Persistent data for TrackMania User Objects - Link
  • [SM] Displaying negative ShooterPoints correctly - Link
  • Included Scripts not correctly validated - Link
  • [SM] Opening up restrictions by StartTime & EndTime - Link
  • [SM] Displaying team logo on CSmBlockPole when .Captured = True - Link
  • TextLib::TimeToText() showing only 2 decimal places - Link
  • [TM] Naming inconsistency of ETMRespawnBehaviour - Link
  • Compiler fails on "-->" Texts - Link
  • Pressing Enter clicks the link under the mouse cursor - Link
  • Improve behavior of Hud3dMarkers with ManialinkPages - Link, Link
  • Local file as NeutralEmblemUrl - Link
  • Localized SendChat() - Link
  • Objects/Items PlaceMode (Editor) - Link
  • [SM] Spectator screen highlighting - Link
Suggestions
These points are not bugs but ideas or suggestions which may be considered to be implemented.
  • [ML] Show/Hide/Suppress the bar
  • [ML] Access to read from the query and the address bar - Link, Link
  • [ML] Custom events in CMlScript - Link
  • Console logged to file - Link
  • MapTypeBase - Link
  • Label Syntax Improvement - Link
  • Proper JSON-Library - Link
  • MathLib/TextLib Requests - Link
  • [ML] Opacity for CMlControl - Link
  • [ML] Proper access to media elements through CMlMediaPlayer class - Link
  • Access to Screen Blocks through ManiaScript - Link, Link
  • [SM] Storm center point by coordinates instead of block id - Link
  • Making script settings non-constant - Link
  • [SM] Opening up value range of player attributes - Link, Link
  • [TM] Current speed of players - Link
  • Remove dependence on order of function declarations to call them - Link
  • [TM] Anchors in TrackMania maps - Link
  • Possibility of creating custom classes with the help of ManiaScript - Link
  • In-Line-If-Statements
  • [SM] Possibility of modifying the appearance of the beacon from script (ctrl)
  • Further access to the content of the event feed - Link, Link
  • [SM] Fix/Improve behaviour of CSmPlayer::ArmorGain - Link
  • [SM] Possibility to set different (special) AmmoGain for each weapon - Link
  • [SM] Events when players got armor regenerated by healing blocks - Link
  • Read chat with ManiaScript - Link
  • Possibility to disable ladder ranking during Podium sequence - Link
Please also see the corresponding list for Manialinks - Link

Thanks for any feedback and suggestions
Steff
Last edited by steeffeen on 10 Apr 2015, 02:13, edited 61 times in total.
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: [ManiaScript] Living list of known bugs

    Post by steeffeen »

    Addressed topics
    • CUIConfig::CountdownEndTime announcement of time reaching 0:00 - Link
    • CUser::FameStars shows a wrong and quite high number, for example '191463426'
    • [SM] GUIPlayer bug in CSmMlScriptIngame - Link
    • [ML] CMlPage::GetClassChildren_Result result bug - Link
    • [ML] CMlScript::OpenLink() uses wrong encoding - Link, Link
    • Wrong compiler error on Key-Value-Coding - Link
    • Overloading of functions with identical signature - Link
    • Access to information about the current server - Link
    • [ML] HttpRequests don't work in CMlScript - Link
    • [ML] Size of CMlControl/CMlQuad/CMlLabel/CMlEntry - Link
    • Current Map UUID/Filename - Link (use Map.Id)
    • [SM] Crashes with Bots - Link, Link
    • [ML] Close Manialink+Browser from ManiaScript - Link, Link
    • [ML] Color for CMlGauge - Link
    • [SM] Possibility of hiding the default HUD (armor, ammo, stamina bar) - Link
    • [TM] Current position of players - Link
    • [SM] OnPlayerRemoved Event wrong PlayerId - Link
    • [SM] CSmPlayer::UseAlternateWeaponVisual Bug - Link
    • change title of "manialink" in ctlr-g console - Link
    Last edited by steeffeen on 05 Aug 2014, 13:00, edited 16 times in total.
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      spaii
      Posts: 1100
      Joined: 19 Jun 2010, 00:04
      Location: Rémy - France
      Contact:

      Re: [ManiaScript] Living list of known bugs

      Post by spaii »

      Nice Steeffeen :thumbsup:

      I agree with all the TM parts. I didn't develop for SM for now, I can't help on this part.
      steeffeen wrote:KeyPress & Key... Booleans not working CMlScript
      MouseRightButton and MouseMiddleButton are allways True or False. I didn't find why they are always true or false since values are hazardous.
      If i make double click with left mouse button then MouseLeftButton is False on second click.


      This is what is very important on my side :
      steeffeen wrote:Access to information about the current server
      CGameNetServerInfo is an empty class.
      I already develop entire php and maniascript part of World records and achievement system. But i would like to know from what server login data are coming from. For local records and by server achievements.
      And let server owner clear some buggy scores. (when ping is big on player side, score going crazy : 12000 points on an aerial :) )
      steeffeen wrote:[TM] Persistent data for TrackMania User Objects
      For example @Stunters, i would like to store each windows position and style that player could choose by himself.
      I know this is already possible with netread and netwrite and HttpRequest class, then store all values in a SQL database.
      But this is not trivial. (and i'm so jalous of SM functions ;) )

      In addition :
      in CMlScript class, Http doesn't works.

      I agree with all your suggestions too Steeffeen :thumbsup:

      I hope this can help.


      Edit :
      - post from m4rcel concerning httprequest in ManiaLink : http://forum.maniaplanet.com/viewtopic. ... 26&t=15584
      User avatar
      m4rcel
      Posts: 653
      Joined: 15 Jun 2010, 11:12
      Contact:

      Re: [ManiaScript] Living list of known bugs

      Post by m4rcel »

      Nice list, and I want to add my reports for especially ManiaScripts in ManiaLinks ;)
      The last one is not a bug but can be considered as a feature, yet developers should be aware of the described behavior ;)

      Sadly, Nadeo removed access to the alpha forums. If I remember right, I posted a lot in there, too, but don't know the exact bugs anymore, nore if they have been fixed meanwhile.

      EDIT:
      Ah, and most important suggestion: Support user-defined classes in ManiaScript :D
      ImageImage
      Image
      User avatar
      TMarc
      Posts: 15441
      Joined: 05 Apr 2011, 19:10
      Location: Europe
      Contact:

      Re: [ManiaScript] Living list of known bugs

      Post by TMarc »

      The posts are still there, if you need I can search for some.
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2472
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: [ManiaScript] Living list of known bugs

      Post by steeffeen »

      Thanks for the feedback and additions so far! :)
      The thread has been edited.
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        User avatar
        spaii
        Posts: 1100
        Joined: 19 Jun 2010, 00:04
        Location: Rémy - France
        Contact:

        Re: [ManiaScript] Living list of known bugs

        Post by spaii »

        After this nice post from Eole : http://forum.maniaplanet.com/viewtopic. ... 10#p163721

        In TrackMania² - Canyon :

        Game mode script with netwrite for Player :

        Code: Select all

        declare netwrite Integer Player_Variable for Player;
        Player_Variable = 111;
        Result Screenshot :
        http://bugs.stunters.org/images/NetwriteForPlayer.jpg




        Player Ml (Client Side), with netread for GUIPlayer & InputPlayer :

        Code: Select all

        <frame posn="0 0" sizen="40 40">
        	<label id="FigureNameLabel" sizen="38 8" posn="0 0 6" style="TextRaceStaticBig" text="???"  />
        </frame>
        <script><!--
        	#Include "TextLib" as TextLib
        	
        	main ()
        	{			
        		declare FigureNameLabel <=> (Page.GetFirstChild("FigureNameLabel") as CMlLabel);
        			
        		declare netread Text CurrentFigureNameGUI for GUIPlayer;
        		declare netread Text CurrentFigureNameIP for InputPlayer;
        			
        		while(True)
        		{				
        			yield;
        					
        			FigureNameLabel.SetText("$000$w$o" ^ CurrentFigureNameGUI);
        		}
        	}
        --></script>
        Result Screenshot :
        http://bugs.stunters.org/images/Netread ... Player.jpg
        User avatar
        Gugli
        Nadeo
        Nadeo
        Posts: 536
        Joined: 14 Jun 2010, 17:35
        Location: Mon PC est à Paris, mais mon coeur rode dans les forêts de Lozère

        Re: [ManiaScript] Living list of known bugs

        Post by Gugli »

        Just so you know : this thread instantly became my favourite thread ever ;)
        Many thanks for the great summary of the issues. Really helps to deal with priorities.

        Currently I'm working on the buddy system (which deserved some attention too -_-'). But I'll see what I can do concerning those problems as soon as I get the time.

        EDIT : Also, I think I know what will be the syntax for classes declaration. But do not get your hopes up : I will need to optimize and clean some parts of the script engine first. And I have a bunch of work on other topics too. I would like to clone myself right now so very much -_-'.

        Keep up the great stuff ! Thanks again :)
        --
        (>~_~)> ═╦═ ╔╦╗ <(~_~<)
        User avatar
        steeffeen
        Translator
        Translator
        Posts: 2472
        Joined: 14 Oct 2012, 16:22
        Location: Germany

        Re: [ManiaScript] Living list of known bugs

        Post by steeffeen »

        Gugli wrote:EDIT : Also, I think I know what will be the syntax for classes declaration. But do not get your hopes up : I will need to optimize and clean some parts of the script engine first. And I have a bunch of work on other topics too. I would like to clone myself right now so very much -_-'.
        Image
        :clap: :lol:
          Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

          ManiaControl, FancyManiaLinks
          User avatar
          TMarc
          Posts: 15441
          Joined: 05 Apr 2011, 19:10
          Location: Europe
          Contact:

          Re: [ManiaScript] Living list of known bugs

          Post by TMarc »

          :lol:

          It would be great if you could indicate on which issue you are working [w] or heavily working (with high priority) [W],
          which a are fixed [F] and which are released [R] with actualy available updates or which are planned for the next update
          :mrgreen: :thumbsup:
          Post Reply

          Return to “ManiaScript”

          Who is online

          Users browsing this forum: No registered users and 2 guests