jump.tf Forums
Welcome B)

JumpServerEssentials Setup

jump4829

  • Newbie
  • *
    • Posts: 3
    • Frags: +0/-0
    • View Profile
Hello, I am trying to setup a jump server and wanted to ask for help on some issues.
I have so far installed everything located at: https://github.com/Jump-Academy/jse with the exception of:
-autoexecconfig
-multi colors
-smlib
-tf2items

I have posted an attachment of the plugins active list and error log.

AI Has been kind enough to answer some of my questions. I figure I would post here so anyone else with the same issue can reference this thread.

1) My first issue was:
The jse_tracker.smx plugin would say:
Could not find database config "jse"

In order to fix this issue, I made a MySQL server and then edited my ../sourcemod/configs/databases.cfg as shown in the attachment.

AI explained that: "The plugins were designed and tested with MySQL, so it assumes you have access to a separate server running database software."

2) The next issue I had was jse_tracker reporting:
Cannot connect to database: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock'

In order to fix this issue, I edited my ../sourcemod/configs/databases.cfg from 'localhost' to '127.0.0.1'
This makes the OS use the TCP/IP instead of socket and fixed the issue for me.

After that autosave is working properly. However /save, /s (manual save) still don't work. Is there something else that needs to be done to get those to work?

Additionally, how can I go about fixing the error being reported by JumpBot:
"Cannot open file for writing: addons/sourcemod/data/jse/jumpbot/.cache/index.cfg"

In Game testing on jump_academy_easy_e:
JumpBot reports:
"[jb] No Recordings Were Found For this map"

/mi reports:
"[jse] No map info was found"
I have attached a screenshot of the error reported from jse_api.smx in the server log.
It lists a Windows path, whereas I'm running a Linux Server.

I would very much appreciate your help!

Attachments:
https://imgur.com/2CE2q1V [First Edit which Solved Issue 1, Created Issue 2]
https://imgur.com/reFWKdf [Second Edit which Solved Issue 2]
https://imgur.com/n3T2rc8 [Server Log / Plugin Errors]
https://imgur.com/U9nnjz0 [Error from jse_api.smx]
« Last Edit: July 10, 2022, 08:52:53 PM by jump4829 »


AI

  • Administrator
  • Proficient
  • *****
    • Posts: 419
    • Frags: +0/-0
  • Plugins Developer
    • View Profile
    • Jump Academy
Check to see if the account running the server process has access to create the directories leading up to addons/sourcemod/data/jse/jumpbot/.cache/.  You can also try to manually create them.

The same may be the case for the current mapinfo plugin, since it uses the jse directory as a temporary folder.  However, that plugin is old and will soon be replaced with one using the same JSON extension as the tracker plugin from the GitHub repository, so it will not need to store a temporary file.  Keep an eye out on the repository for it's release.


jump4829

  • Newbie
  • *
    • Posts: 3
    • Frags: +0/-0
    • View Profile
As per AI's suggestion I changed the permission on the directory and the jump bot is fully functional!

Thanks a lot for your help and for developing these plugins. Definitely some of the most innovate additions!

For anyone else having the same issue where JumpBot says: "Cannot open file for writing: addons/sourcemod/data/jse/jumpbot/.cache/index.cfg"

Navigate to your server's addons directory

Make sure that the pathway addons/sourcemod/data/jse/jumpbot/.cache/index.cfg has read/write permissions for the user the tf2 server is running under.

Command to change permission would be:
sudo chmod xxx jse/
Replace xxx with the numbers (I used 700)
Replace jse/ with whatever path you need to give permission to

Make sure the permissions exist for the preceding directories as well (all the way down to ../addons/sourcemod/data/jse/jumpbot/.cache/index.cfg)

« Last Edit: July 12, 2022, 10:11:07 PM by jump4829 »