Dota 2
VULFT Bot Script
 This topic has been pinned, so it's probably important
flog  [developer] Oct 12, 2022 @ 8:34am
!@#$%^&*( PASTE LUA ERRORS HERE )*&^%$#@!
If you have any Lua errors displayed in console (pink console text), please post them here, as well as the previous 10 lines of the console.

Please post the earliest console error that you can find, it will help a lot!
< >
Showing 1-15 of 16 comments
Red Productions Oct 12, 2022 @ 7:13pm 
Hey, I am currently testing out your bots and have received potential Lua Errors. I have followed the instructions from the local workshop files option, and have loaded up a session. The lobby was set up correctly to my knowledge (Local Host, Hard Difficulty, both teams use the Local Dev Script). Upon entering a game the bots on my team refuse to move, and the enemy bots adopt a similar behavior to Valve's default bots. I have gathered the code as per requested, and found the earliest pink code since booting up the session (after hero picks) and the lines up until the next Client line (which I believe is to determine world visibility to the client).

[Client] PregameHud - SetPreGameVisible 1 [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] ERROR: RESOURCE_TYPE_MATERIAL resource 'materials/vgui/hud/heroportraits/portraitbackground_coolinterior.vmat' (A8E46E034AC89E75) requested is still pending and is not loaded. [ResourceSystem] Error loading resource file "particles/ui/ui_aghs_pregamebg_ambient_mist.vpcf_c" (Error: ERROR_FILEOPEN: File not found) [Particles] WARNING: Particle system 'particles/ui/ui_aghs_pregamebg_ambient_mist.vpcf' was not precached correctly. Performing blocking load.... [WorldRenderer] CWorldRendererMgr::ServiceWorldRequests long frame: 64.679480ms [WorldRenderer] CWorldRendererMgr::ServiceWorldRequests long frame: 58.014008ms [VScript] /VUL-FT/ [#] Calling Game State Interface init [VScript] Script Runtime Error: ...\game\dota\scripts\vscripts\bots\lib_gsi\unit\player.lua:488: attempt to index local 'hUnit' (a nil value) stack traceback: ...\game\dota\scripts\vscripts\bots\lib_gsi\unit\player.lua:488: in function 'insert_player_data' ...\game\dota\scripts\vscripts\bots\lib_gsi\unit\player.lua:572: in function 'pUnit_LoadTeamPlayer' ...me/dota/scripts/vscripts/bots/lib_gsi/gsi_planar_gsi.lua:75: in function 'GSI_Initialize' ...\dota 2 beta\game\dota\scripts\vscripts\bots\captain.lua:48: in function 'Captain_InitializeCaptain' ...\dota 2 beta\game\dota\scripts\vscripts\bots\captain.lua:32: in function 'func' ...\game\dota\scripts\vscripts\bots\lib_job\job_manager.lua:36: in function 'DoAllJobs' ...\dota 2 beta\game\dota\scripts\vscripts\bots\captain.lua:162: in function <...\dota 2 beta\game\dota\scripts\vscripts\bots\captain.lua:103> [VScript] /VUL-FT/ [#] Calling Game State Interface init

Please tell me if anything appears missing, or if you want me to do anything to potentially resolve the errors.
flog  [developer] Oct 12, 2022 @ 8:07pm 
@Red Productions Was the game mode set to All Pick? Did the game have 5 players on each team?
Red Productions Oct 12, 2022 @ 8:23pm 
Originally posted by do do do do do do do do do (dont:
@Red Productions Was the game mode set to All Pick? Did the game have 5 players on each team?

Yes to All Pick. Yes to 5 players on both teams, all of who (except me) were bots
flog  [developer] Oct 12, 2022 @ 9:20pm 
opened an error report for you https://github.com/Yewchi/vulft/issues/2
Red Productions Oct 12, 2022 @ 9:49pm 
Originally posted by do do do do do do do do do (dont:
opened an error report for you https://github.com/Yewchi/vulft/issues/2
Thank you! Do you want me to give you any more game information (screenshots of the console, accurate game time, etc.)? I don't have a Github account, so I will need to figure out a different method of sending screenshots to you. I also need to start a new session of Dota 2 to get them as well, as I forgot to get them originally.
Last edited by Red Productions; Oct 12, 2022 @ 9:50pm
flog  [developer] Oct 12, 2022 @ 10:41pm 
A screenshot of the game and console would help. Once the next update is pushed through (change log greater than 2), there is a diagnostic print for when this failure occurs.
flog  [developer] Oct 14, 2022 @ 9:53pm 
Originally posted by Red Productions:
Originally posted by do do do do do do do do do (dont:
opened an error report for you https://github.com/Yewchi/vulft/issues/2
Thank you! Do you want me to give you any more game information (screenshots of the console, accurate game time, etc.)? I don't have a Github account, so I will need to figure out a different method of sending screenshots to you. I also need to start a new session of Dota 2 to get them as well, as I forgot to get them originally.
Found a race condition in the init code. Should be fixed within a day.
RealPizdec Oct 15, 2022 @ 12:12am 
LOL
flog  [developer] Mar 20, 2023 @ 11:43am 
Crash dump from games which crashed in the last week or so:
pastebin [pastebin.com]
arizona warior Mar 25, 2023 @ 6:36am 
two games i played and i didnt finished . Just crashed . Basically like i shut game just turned out in windows.
flog  [developer] Mar 25, 2023 @ 5:45pm 
about 1/4 matches in 0.5-230311 will crash. Investigating and reducing this over time I hope, apologies.
flog  [developer] Mar 28, 2023 @ 12:07am 
The majority of remaining crashes seem to be due to jungle creeps and/or jungle camp spawner data. Confirmed with video footage. Just ironing it out and update will use copies of spawner data rather than the data itself as a protection. Cannot guarantee this is the only cause, but things should be much better once it is resolved--hopefully without having to lose functionality, which I guess it will not.
flog  [developer] Mar 28, 2023 @ 5:30am 
Found it. The crash happens 1/4 times that a hero tried to kill themselves on neutral creeps, if they decide to kill themselves within 600 range of a neutral camp spawn. "1/4 games crash" was something I found from searching game logs for games that crashed. It was just a coincidence statistic.

die_chats = { [1] = "Calculated.", [2] = "worth, I guess", [3] = "brb.. -.-" } ... Bot.Say(die_chats[RandomInt(1,4)])

Fixed in the upcoming patch.
DoodieCoin Mar 31, 2023 @ 4:21pm 
Originally posted by does stuff:
@Red Productions Was the game mode set to All Pick? Did the game have 5 players on each team?
HI, can you make a video how to download manually please...
flog  [developer] Apr 1, 2023 @ 5:15am 
Sorry, I am a bit of a f idiot and it kinda is wholesome to allow every one the same opportunity to play well... bots which cause less bot-brain damage.. Pretty sure most bot developers do it in their /spare/ time.

So I did this as well Chinese VULFT workshop page.

Going to do Russian too and automate the release process. Might as well start now so that localization isn't a nightmare later. All other guides will be on the discussion page, but I'm just going to leave external links off the page.. I really don't want to mess this project up after all this.

Run 5 v 5 VULFT vs RMMAI in a bot match. Then imagine if I went and finished off our last hitting code and made a director for leech / avoid / farm tasks so that they can measure gold income and make sure they are getting something out of the lane. Could be allright.
Last edited by flog; Apr 8, 2023 @ 8:18am
< >
Showing 1-15 of 16 comments
Per page: 1530 50