Where to download julia plugin and screenshot sender
-
Maybe you miss something on your system, you can always check for console errors in pm2 with command
pm2 log all
The link works https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/config/config.json#L54
-
But if you already have the cod4 files you can copy them manually for the main server files
I will name my linux user in this case cod4, this user cod4 is in sudo group
It is important that you do it as cod4 user, otherwise it will not work because the permissions
Copy all the files to this folder
/home/cod4/main-server-files
-
I will try that link. But its still confusing.
You say in tutorial Download and install CoD4 server files (only once) after first Application install
I have four servers. What am I doing?
This is one of my directories. Should i copy all of that? to ? Why do i need another folder main-server-files?
@NeHo said in Where to download julia plugin and screenshot sender:
@FMJ-Smiley You have probably 4 times uploaded 4gb files for every server, I use symlinks, I only upload once the cod4 server files to main-server-files folder and then symlink every new server what I create with those files
Thats fine I have the space and no problem for me.
-
@FMJ-Smiley You have probably 4 times uploaded 4gb files for every server, I use symlinks, I only upload once the cod4 server files to main-server-files folder and then symlink every new server what I create with those files
-
@NeHo Hello if I have already installed COD4 server, How to add that to web admin application.? how to give path for the cod4 server files. because my cod4 installed path is /var/www/html/cod4/
-
@FMJ-Smiley If you would like to use my application then you have to use my logic, I like to save space and time when I work. So lets say I want to update my plugins, or my main cod4x bin file, I have to update it only once in my main-server-files folder and thats it, since all my servers are symlinked with that main-server-files folder they are also all updated.
my application works only if you use my logic because that's how I wrote it and that's how it will work
-
@NeHo said in Where to download julia plugin and screenshot sender:
@FMJ-Smiley If you would like to use my application then you have to use my logic, I like to save space and time when I work. So lets say I want to update my plugins, or my main cod4x bin file, I have to update it only once in my main-server-files folder and thats it, since all my servers are symlinked with that main-server-files folder they are also all updated.
my application works only if you use my logic because that's how I wrote it and that's how it will work
I totally understand that and in time i would use that same logic of saving space. But for now I just want to add at least one server to your application. I cant. My question about can your application point/see my already installed directories has got hidden in this thread.
So shall i create that main-server-files folder and put my 4 installations in there? How will webadmin see that
-
@ravindu2500 said in Where to download julia plugin and screenshot sender:
@NeHo Hello if I have already installed COD4 server, How to add that to web admin application.? how to give path for the cod4 server files. because my cod4 installed path is /var/www/html/cod4/
Lets make this your main-server-files (make sure that this belongs to your linux user)
/var/www/html/cod4/
To make it main-server files you would need to rename cod4 to main-server-files
So now that we know where your main server files will be we can change the config.json file to fit it
Change this line to https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/config/config.json#L55
"servers_root" : "/var/www/html"
This line to (Later on if you want to compile cod4x bin file you can do it with 1 click) https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/config/config.json#L59
"dir_root" : "/var/www/html/CoD4x_Server-master",
make sure that this var/www/html folder belongs to this sudo user
https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/config/config.json#L48
If you made all this changes navigate on the website to the admin panel and create a new local server. if it works as it should then you will have a new cod4 server here /var/www/html/cod4-your_port_for_this_server
-
@NeHo Thanks i i will try that
-
If it doesn't work let me know, you can always see the errors with runing command
pm2 log all
When that server is created, you have to manually change the server.cfg file with yours, change server_name add plugin julia 3 lines etc ...
If you have main_shared folder with some gsc scripts for the new server what you have just created upload it there.
If you use mod, then upload the mod to main-server-files folder
But I can help you with that part when you manage to add and start the newly created server
-
Ok, In my public html folder i have directory main-server-files. Inside there I have cod_28970. Inside there i have full cod4x installation copied form my other installs. What am I doing wrong. Whilst i FULLY appreciate all the help I am not getting anywhere. Its as clear as mud to me
Servers root is changed to reflect the change. I went to add local server and see nothing when i attempt to add one. Going crazy
-
@FMJ-Smiley
- delete cod_28970
- copy required cod4 files to run the game server to main-server-files
- create a new server via website (when doing this run on putty pm2 log all to see if there is any error)
- if there is no error you should have the new server in public html folder
-
@NeHo 404 error for download files
I don't know how to create a cod server using the panel. I tried this button. Am I right?
-
@NeHo and another issue are how to add an external server correctly. when I typed fake Julia identity key and try to add but results are
-
- 404 error for download files
This will compile a cod4x binary file, before you start please make sure you install everything what you need to do it
Make sure that you activate plugin "Download cod4x files from Github". Go to settings and read the instructions for plugin configuration. You can find the plugins on Admin page.
404 error for download files happens when something went wrong in the background.
First make sure that you have the cod4x server files downloaded on your machine (the above mentioned plugin do it every day at x time), same place where you have folder "main-server-files" there should be also a new folder "CoD4x_Server-master", if you don't have "CoD4x_Server-master" then wait 24 hours until plugin "Download cod4x files from Github" do it for you.
For the button Get Latest Server files make sure that you have GitHub installed (we use command "git pull" here) and that you have folder "CoD4x_Server-master"
- how to add an external server correctly
You can not add non-existing servers, the IP and port need to be real, you can see the error SS what you have sent, it dont know the country for that server, that server probably doesn't exist
-
And please start a new topic when you have issues, this way others will also find answers on the forum if they have similar issues. Create some god title, how to compile binary files or similar, thnx
-
@NeHo yeah that's great I will create new topic now