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

Dont even know where to start... #25

Closed
mostfurious opened this issue Feb 9, 2021 · 6 comments
Closed

Dont even know where to start... #25

mostfurious opened this issue Feb 9, 2021 · 6 comments

Comments

@mostfurious
Copy link

mostfurious commented Feb 9, 2021

Hello.

Started to experience a lot of problems with your bots.
First of all it started spueing erros in the console:

Error: stack index 3, expected number, received nil: stack traceback:[C]: in method 'CreatePlayer'[string "BotManager.lua"]:272: in method 'createBot'[string "BotSpawner.lua"]:104: in method 'onLevelLoaded'[string "__init__.lua"]:90

And then bots sometimes dont spawn at all.
Changing settings in Config.lua doesnt work... fully.
When it started showing erros i re-downloaded this mod and uploaded it to server folder expecting to see that erros would be gone but no.. they are still here.

Another thing that i noticed is that once i moved Config.lua from old folder to a newly re-downloaded folder, the bot difficulty changed to what i set it to.

If i try to save changes while in-game with F12 some changes persist, some dont...

  • Am i doing something wrong?
  • Are there any temp files that i can remove for the changes to take effect on server reboot ?
  • And what about those erros?
@Bizarrus
Copy link
Collaborator

Bizarrus commented Feb 9, 2021

Had edited your issue for clean reading.

@Joe91
Copy link
Owner

Joe91 commented Feb 9, 2021

What version of the mod are you using? Did you replace all files from the mod-folder? What gamemode are you playing on?

@mostfurious
Copy link
Author

mostfurious commented Feb 9, 2021

Dont know what version im using, i downloaded it directly from here yesterday. Removed the whole folder and unzip the new one instead. In the newly downloaded folder i only replaced the config file from the old one.
Game mode is TDM
Another thing that i noticed is that it starts (not always) spueing erros when players (real people) join. Three bots are added on every new player.
https://i.postimg.cc/d1RvtVwf/players.jpg

@Joe91
Copy link
Owner

Joe91 commented Feb 9, 2021

Version is inside the main folder (mod.json). (V1.5.0.3 is the latest release)
I ran servers for several hours without any errors in the log at all. The Line the error refers to is when a new Player is created. Do you use some other mods retlated to Player-Creation or Squad modification? Aslo: Have you tried it without modifiying the Config at the beginning?
I really want to help you, but as I can't reproduce the error (thats what I want to start with) I need a little more help...

A thing to note: As soon as you cange the Config.lua the previosly saved values are overwritten.

@mostfurious
Copy link
Author

mostfurious commented Feb 9, 2021

The only other mod that i use is vu-mapvote
I also edited my previous comment.
I will try running the mod WITHOUT any changes, see if that will do anything.
And yes i just checked the version is V1.5.0.3 but that is to be expected as i updated the mod yesterday.

@mostfurious
Copy link
Author

Well... looks like it was all on me....
Fresly unziped the mod, didnt change a thing in the config file. 5 people joined the server, all bots spawn and no errors...
I guess it was my old config file that did something, didnt even check if newer version config was the same structure as the old one.
Really sorry about that...

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

3 participants