[ManiaScript] List of known bugs and Suggestions

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

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:Also, if I were you, I would keep track of bugs I announced I solved until you confirm it's OK in you use cases. Just in case they're not solved completely or that introduced another bug or something.
hm yeah, you're right ^.^
    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 »

    steeffeen wrote:
    Gugli wrote:Also, if I were you, I would keep track of bugs I announced I solved until you confirm it's OK in you use cases. Just in case they're not solved completely or that introduced another bug or something.
    hm yeah, you're right ^.^
    Héhé, ok ;) :)

    Edit: just opened ManiaPlanet, thx a lot for update :thumbsup: :thx:
    User avatar
    m4rcel
    Posts: 653
    Joined: 15 Jun 2010, 11:12
    Contact:

    Re: [ManiaScript] Living list of known bugs

    Post by m4rcel »

    Gugli wrote:- HttpRequest should work for ML scripts too
    Nope. I tested it with the code from my bug report, and it still hangs in an infinite loop of "Status 0", as it was from the beginning.
    Gugli wrote:- Overloading of functions will raise an error
    And it immediately crashed my Tetris Manialink. Why? Because I had by mistake a wrongly named function, with the same signature like another one. So with your bugfix, you forced me to fix my bug in Tetris which must have been there for months :D
    Gugli wrote:The error wrongly raised when using "declare for as" should not appear any more
    Confirmed, there is no compiler error anymore.



    @ steeffen:

    I can confirm that the following bugs have been fixed:
    • Wrong compiler error on Key-Value-Coding - Link
    • [ML] CMlScript::OpenLink() uses wrong encoding - Link, Link
    • Overloading of functions with identical signature - Link
    ImageImage
    Image
    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 »

    m4rcel wrote:And it immediately crashed my Tetris Manialink. Why? Because I had by mistake a wrongly named function, with the same signature like another one. So with your bugfix, you forced me to fix my bug in Tetris which must have been there for months :D
    :lol:
    m4rcel wrote:@ steeffen:
    I can confirm that the following bugs have been fixed:
    • Wrong compiler error on Key-Value-Coding - Link
    • [ML] CMlScript::OpenLink() uses wrong encoding - Link, Link
    • Overloading of functions with identical signature - Link
    thanks for the message, i've updated the thread! :thumbsup:
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      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 »

      The Http request issue should *really* be fixed in next update. Don't know when it'll be though.
      Sorry about that...

      EDIT : Also, "[SM] Bots cause CrashToDesktop when using ForcedTarget " should be ok now, but I think Kak0 is working on other bot related crashes.
      --
      (>~_~)> ═╦═ ╔╦╗ <(~_~<)
      User avatar
      TMarc
      Posts: 15441
      Joined: 05 Apr 2011, 19:10
      Location: Europe
      Contact:

      Re: [ManiaScript] Living list of known bugs

      Post by TMarc »

      just for info, one seems to be this here: http://forum.maniaplanet.com/viewtopic. ... 63#p167411
      User avatar
      m4rcel
      Posts: 653
      Joined: 15 Jun 2010, 11:12
      Contact:

      Re: [ManiaScript] Living list of known bugs

      Post by m4rcel »

      I have a suggestion for ManiaScript in ManiaLinks: Make <audio> and <video> controllable through ManiaScript, i.e. be able to start/stop the music/video. There already is a CMlMediaplayer (or so) class, but it does not add new features to the basic CMlControl class, making this class currently useless. Would be nice to have the CMlMediaPlayer with some nic efeatures ^^
      ImageImage
      Image
      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 »

      oh you're right, that would be great! :)
      for example currently i have to pass a manialink with a timestamp each time i want to play a specific sound
      => added to the list :D
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        User avatar
        Kyb
        Posts: 383
        Joined: 18 Aug 2011, 20:50

        Re: [ManiaScript] List of known bugs and Suggestions

        Post by Kyb »

        Suggestion 1 : [SM] Alowed to set different AmmoGain for each Weapon when using SetPlayerReloadAllWeapons(Player, True).

        I'm actually working on a mode with weapon switch, and would be much easier to balance with different AmmoGain for each weapon.

        Suggestion 2 : [SM] Implemente Events when players regenerate their armor (with 1-8-3 and 1-8-4 blocks).

        Still on my mode, I implemented a limit for heal but is not optimized (this funcion is call every Play Loop) :

        Code: Select all

        Void HealMangement(){
        	foreach (Player in Players) {
        		if(Player.Armor > 0 && G_OldArmor.existskey(Player.Id)){
        			declare playerid = Player.Id;
        			if(Player.Armor > G_OldArmor[playerid]){
        				if (G_PlayerNbHealUse[playerid] >= C_NbHealMax){
        					Player.Armor = G_OldArmor[playerid];
        					Message::SendBigMessage(Player, "You can't regain more armor.", 3000, 1);
        				}
        				else {
        					G_PlayerNbHealUse[playerid] += 1;
        					if(G_PlayerNbHealUse[playerid] >= C_NbHealMax){
        						Message::SendBigMessage(Player, "You can't regain more armor.", 3000, 1);
        					}
        				}
        			}
        			G_OldArmor[playerid] = Player.Armor;
        		}
        	}
        }
        
        User avatar
        Kyb
        Posts: 383
        Joined: 18 Aug 2011, 20:50

        Re: [ManiaScript] List of known bugs and Suggestions

        Post by Kyb »

        If we can forbid the Armor regain with the attribute"Player.ArmorReplenishGain", it would be nice too.
        Post Reply

        Return to “ManiaScript”

        Who is online

        Users browsing this forum: No registered users and 1 guest