Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25

Thread: [Help] Some scripts will slow my game down.

  1. #21

  2. #22
    This has actually happened to me today with Pub Simulator and Nos full Overwrite, since the new update.

  3. #23
    Basic Member
    Join Date
    Mar 2012
    Posts
    1,777
    I get that too 90% of the time in my ItemPurchaseThink()

    I am starting to wonder if the bottleneck isn't the item purchase function itself. Something along the lines of "the time it takes the bot to buy something occurs over X frames instead of one" type of thing.

    Of course I could be wrong but from my tests, the only time it doesn't show it is when I use direct purchase calls (without tables, conditions and such) - basically, a very empty function.

    Nostrademous, I am curious, do you ever get ItemPurchaseThink() warnings?
    Explanations on the normal, high and very high brackets in replays: here, here & here
    Why maphacks won't work in D2: here

  4. #24
    Basic Member
    Join Date
    Dec 2016
    Posts
    644
    Quote Originally Posted by The Nomad View Post
    Nostrademous, I am curious, do you ever get ItemPurchaseThink() warnings?
    Nope.

    With my latest addition of Sniper (who has some crazy ranges on abilities) I do get:
    Code:
    Bot (npc_dota_hero_sniper) querying nearby creeps with a distance greater than cached (1800)!
    Cached distance is 1600 apparently... I wish I could turn of these warnings. Or better yet.. @ChrisC, it would be nice if the system upped it's cached range (to maximum 2500) using a lazy-loading mechanism. For example, it starts at 1600, but then first time I ask for 1800, now it caches at that value. Then when I ask for 2200 it start to use that. With a cap of 2500 (random number I picked that seems good).

    Also, that warning is missing a end-line character at the end of string (or Valve uses a concatenation system that appends all warnings to the end of the string never clearing the warning string throughout the game).

    I am beginning to think that the hardware capability of your PC has a lot to do with bot performance. Some people that observe my bots against default unfair bots tell me that my bots lose 80% of the time. When I do the same thing my bots win 90% of the matches. People report slow down (as per this thread), yet I cannot experience this issue (although I play from Local Dev and not Workshop... perhaps something in there is causing it.

  5. #25
    Basic Member
    Join Date
    Oct 2016
    Posts
    212
    Yes, i also get that on some people, even though it seems they arent actually even querying for creeps (if they are, the query is either "castrange" or below 1600).

    not workshop based, all my scripts are run local and i get low FPS, but as said, my housemate with same PC setup doesnt get low FPS with my scripts.
    Last edited by Yavimaya; 05-05-2017 at 06:03 PM.

Posting Permissions

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