Results 1 to 3 of 3

Thread: Example scripts crash

  1. #1

    Example scripts crash

    Now that the bot can actually pick a hero I decided to try and pick one of the ones that are actually overridden in the example, resulting in an instant crash when entering the game (with the dota logo intro).

    I tried to attach a coredump, but it uploaded for a while, and then didn't let me pick the file. If you need it, then let me know.

    EDIT: It seems to happen as soon as I have any mode implemented for any specific hero, for example a file as simple as this crashes the game:

    Code:
    function GetDesire()
    	return 1.0
    end
    
    function OnStart()
    end
    
    function OnEnd()
    end
    
    function Think()
    	print("Antimage is thinking")
    end
    Last edited by Delusional Logic; 12-12-2016 at 03:59 PM.

  2. #2
    Valve Developer
    Join Date
    Sep 2011
    Posts
    1,704
    That script doesn't crash for me -- what's the filename called, and how are you starting your game?

  3. #3
    Quote Originally Posted by ChrisC View Post
    That script doesn't crash for me -- what's the filename called, and how are you starting your game?
    In the release version of Dota it now works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •