Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

offline mode no steam problem #123

Open
Jcpogi7 opened this issue Aug 2, 2023 · 1 comment
Open

offline mode no steam problem #123

Jcpogi7 opened this issue Aug 2, 2023 · 1 comment

Comments

@Jcpogi7
Copy link

Jcpogi7 commented Aug 2, 2023

i have mod dota2 into offline, i use ur bot script but it is not loading..

LoadScript: J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots\hero_selection.lua, scope name HeroSelectionScriptScope
[VScript] Script Runtime Error: ... beta\game\dota\scripts\vscripts\bots\hero_selection.lua:7: module 'J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots/util/RoleUtility' not found:
no field package.preload['J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots/util/RoleUtility']Failed to find J:\Games\DotaOflline7/33e\dota 2 beta\game\dota\scripts\vscripts\bots\util\RoleUtility.lua
stack traceback:
[C]: in function 'require'
... beta\game\dota\scripts\vscripts\bots\hero_selection.lua:7: in main chunk
Failed to run script 'J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots\hero_selection.lua'!
LoadScript: J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots\team_desires.lua, scope name TeamDesiresScriptScope
[VScript] Script Runtime Error: attempt to index a nil value
Dire bot scripting using script path J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots
LoadScript: J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots\hero_selection.lua, scope name HeroSelectionScriptScope
[VScript] Script Runtime Error: ... beta\game\dota\scripts\vscripts\bots\hero_selection.lua:7: module 'J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots/util/RoleUtility' not found:
no field package.preload['J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots/util/RoleUtility']Failed to find J:\Games\DotaOflline7/33e\dota 2 beta\game\dota\scripts\vscripts\bots\util\RoleUtility.lua
stack traceback:
[C]: in function 'require'
... beta\game\dota\scripts\vscripts\bots\hero_selection.lua:7: in main chunk
Failed to run script 'J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots\hero_selection.lua'!
LoadScript: J:\Games\DotaOflline7.33e\dota 2 beta\game\dota\scripts\vscripts\bots\team_desires.lua, scope name TeamDesiresScriptScope
[VScript] Script Runtime Error: attempt to index a nil value

this is the error i have. i says the location of roleuitility failed to find.. but the file is there

@JoshdanG
Copy link
Collaborator

JoshdanG commented Aug 5, 2023

Not sure why, but it seems like it doesn't like the period in the path. Looks like it is replacing it with a slash. Please try moving everything to a path that does not have a period in it.

Failed to find J:\Games\DotaOflline7/33e\dota 2 beta\game\dota\scripts\vscripts\bots\util\RoleUtility.lua

Note: not familiar with "Dota Offline" and whether the bots should work with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants