Setjob2 disabled

Hi everyone, so I have a pretty weird problem, I had the “/setjob2” on my server which was working perfectly, and that command disappeared overnight, no idea how to get it back. Also, I still have the “job 2” category in my database.
If anyone is able to help me, I would be delighted! Thanks!

Hey, is it maybe possible that you accidentally deleted the file or folder that contains this piece of code? Try looking for “setjob2” in your resources folder, so for example you can try opening the resource folder with Visual Studio Code and hit CTRL + Shift + F to start searching for “words” in that specific folder. If you type “setjob2” does it pop ut somewhere? For example, this:

image

Let me know if you need any more help. Would love to assist you further!

Hey, first of all, thank you for your quick answer. After this research, I noticed that all of my “setjob2” fuctions were deleted from some fils (like es_extended) :sob: :sob: . I don’t know how I did that and how to solve it. Please tell me that there is a quick solution to solve this !

This must have been done by hand, if you’ve closed your code editor after making any changes then reverting back to “older” code is not possible, else you would be able to hit “CTRL + Z” as many times as needed to get your “old” code back. If that’s not the case then I’m afraid there’s no way to get it back so you’ll have to rewrite it again then…

So I need to write it back…Where can I find this code and where do I need to put it (es_extended, every jobs ??). Again, thank you for helping me !

I dont know where you can find this code, I assumed you had written it yourself? It that’s not the case then you should ask the person who wrote it for you or check the place where you got it from or whatever. It wont magically appear back in your code. You have to put it in there manually.

It was included in my es_extended. I am going to try to add my old es_extended in my server to see if the secondary job come back.
EDIT : IT WORKEDDD !!! Thank you so much !

Glad to hear you fixed your issue!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.