={FMJ}=Smiley

Help Needed With HTTP Plugin

Recommended Posts

Hi All,

I have compiled http plugin and it is loaded and running. I am missing a trick here because I am not sure about how to get things working with it, scripts etc. 

Is anyone willing to help out and explain 'exactly' what I need to do. Github explains a bit but even if i have these scripts where they go etc. (noobness)

Normally scripts would go main_shared/maps/mp/gametypes ? I have some scripts that I used for spawnprotection countdown and servermessages. Putting those scripts in main_shared/maps/mp/gametypes did nothing.

I am using OW MoD and found that the scripts only worked when I made another directory 'openwarfare' in the main_shared folder like this main_shared/openwarfare/servermessages.gsc 

Also I have got geowelcome scripts and tried them in both directories. Does not work. I have Geoip.dat in main root folder. Of course there is always B3 but I dont want B3 🙂 

With the http plugin I would like to get julia stats for example top 3 players. (I am using Neho's webadmin) To get the julia stats and a geowelcome working is a starting point for me and then I can build on that. 

If anyone can point me in the right direction that would be great.  Extra question what is the difference between gsx and gsc files.

Thanks as always.

Smiley.

 

 

Share this post


Link to post
Share on other sites

This works only with cod4xwebadmin, it also requires a working http plugin + plugin julia.

It is not fully tested and I am bad in gsc scripts so it can be improved any help is welcome. If you find an error, bug please share it so that we can fix them

If you upload this to a raw server it should work, you will have to tweak your server if you want to add this scripts.

Server messages and rules don't require http plugin I was just to lazy to remove them

Small description for available commands can be found in julia.cfg

 

 

cod4xwebadmin_cmds.rar

  • Like 1

Share this post


Link to post
Share on other sites
47 minutes ago, NeHo said:

This works only with cod4xwebadmin, it also requires a working http plugin + plugin julia.

It is not fully tested and I am bad in gsc scripts so it can be improved any help is welcome. If you find an error, bug please share it so that we can fix them

If you upload this to a raw server it should work, you will have to tweak your server if you want to add this scripts.

Server messages and rules don't require http plugin I was just to lazy to remove them

Small description for available commands can be found in julia.cfg

 

 

cod4xwebadmin_cmds.rar 41.86 kB · 0 downloads

That looks great NeHo. thanks a lot 🙂 

I will have a little play with this and see how I get on. Very much appreciated. 

Share this post


Link to post
Share on other sites

I had a little play around but with no joy. Maybe it is because i am using OW MoD.

First problem is as soon as i put callback and globallogic files into main_shared/maps/mp/gametypes the server does not even start!

I tried putting them in the openwarfare directory I created for my other scripts (they work there and nowhere else) and server started and I then altered julia.cfg etc but nothing was working at all. 😞

Will have to keep trying.

Edited by ={FMJ}=Smiley

Share this post


Link to post
Share on other sites

Your mod already have  callback and globallogic files, you cant just copy paste everything that will not work.

You have to add the new lines to your existing  callback and globallogic files, find all lines which contain "neho" compare them with yours, read try to understand how it works. If your server doesn't start check the log files there will be an error, if I remember it there should be even a system error file every time there is a bug/error

There are many server owners and each 1 has different files so I can not write for everyone all the lines and maintain their servers, this is an example how I use it on my servers, you can read it and implement it to your own server.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.