EOSERV Forum > EO Server Building > Need one last piece of help... - adding my 'client download'
Page: << 1 >>
Need one last piece of help... - adding my 'client download'
Author Message
Post #201650 Need one last piece of help... - adding my 'client download'

I can't find in my EOServ files where to place my Mediafire link for my servers download. I have a sort of 'beta' release I want people to be able to play and test out, but I haven't any clue how to set it up for people to download. When I head over to the SLN list it shows I'm using the base client (which I am.. just edited gfx/gui, etc..) - How do I add it?

7 years, 21 weeks ago
Post #201651 Re: Need one last piece of help... - adding my 'client download'

The client listing is there because one day I thought it probably wasn't cool for people to be viewing the SLN on their mobile phone and then click on a server's URL link and begin downloading some 32mb file on their phone. It basically is a cheap file detection that will prevent client hyperlinks in place of your actual web page. If you want to list your client you will need to modify EOSERV's sln.cpp to send the parameter "clienturl" which should be a straight forward copy of the line where "url" is sent. You will probably want to make that a config value in sln.ini as well.

An alternative would be to simply enter your file link as the URL and let the SLN force it to the right place.

7 years, 21 weeks ago
Post #201653 Re: Need one last piece of help... - adding my 'client download'
Apollo posted: (4th Dec 2016, 03:07 am)

The client listing is there because one day I thought it probably wasn't cool for people to be viewing the SLN on their mobile phone and then click on a server's URL link and begin downloading some 32mb file on their phone. It basically is a cheap file detection that will prevent client hyperlinks in place of your actual web page. If you want to list your client you will need to modify EOSERV's sln.cpp to send the parameter "clienturl" which should be a straight forward copy of the line where "url" is sent. You will probably want to make that a config value in sln.ini as well.

An alternative would be to simply enter your file link as the URL and let the SLN force it to the right place.


The second option would prevent me from having my website listed, wouldn't it?


How can I find the .cpp?

7 years, 21 weeks ago
Post #201654 Re: Need one last piece of help... - adding my 'client download'
damis posted: (4th Dec 2016, 03:53 am)

Apollo posted: (4th Dec 2016, 03:07 am)

The client listing is there because one day I thought it probably wasn't cool for people to be viewing the SLN on their mobile phone and then click on a server's URL link and begin downloading some 32mb file on their phone. It basically is a cheap file detection that will prevent client hyperlinks in place of your actual web page. If you want to list your client you will need to modify EOSERV's sln.cpp to send the parameter "clienturl" which should be a straight forward copy of the line where "url" is sent. You will probably want to make that a config value in sln.ini as well.

An alternative would be to simply enter your file link as the URL and let the SLN force it to the right place.


The second option would prevent me from having my website listed, wouldn't it?


How can I find the .cpp?


Are you compiling your own source because if your not this option is not available to you. If you are its in  src/sln.cpp and you can add this snippet of code

if (this->server->world->config["ClientURL"])
{
    request->url += std::string("&clienturl=") + HTTP::URLEncode(this->server->world->config["ClientURL"]);
}

Then in config/sln.ini add

## ClientURL (string)
# Client download url
ClientURL = https://yourdl.com
7 years, 21 weeks ago
Post #201655 Re: Need one last piece of help... - adding my 'client download'
insomniac posted: (4th Dec 2016, 02:58 pm)

damis posted: (4th Dec 2016, 03:53 am)

Apollo posted: (4th Dec 2016, 03:07 am)

The client listing is there because one day I thought it probably wasn't cool for people to be viewing the SLN on their mobile phone and then click on a server's URL link and begin downloading some 32mb file on their phone. It basically is a cheap file detection that will prevent client hyperlinks in place of your actual web page. If you want to list your client you will need to modify EOSERV's sln.cpp to send the parameter "clienturl" which should be a straight forward copy of the line where "url" is sent. You will probably want to make that a config value in sln.ini as well.

An alternative would be to simply enter your file link as the URL and let the SLN force it to the right place.


The second option would prevent me from having my website listed, wouldn't it?


How can I find the .cpp?


Are you compiling your own source because if your not this option is not available to you. If you are its in  src/sln.cpp and you can add this snippet of code

if (this->server->world->config["ClientURL"])
{
    request->url += std::string("&clienturl=") + HTTP::URLEncode(this->server->world->config["ClientURL"]);
}

Then in config/sln.ini add

## ClientURL (string)
# Client download url
ClientURL = https://yourdl.com

I tried adding the first bit, being if (this->server->world->config["ClientURL"])
{
    request->url += std::string("&clienturl=") + HTTP::URLEncode(this->server->world->config["ClientURL"]);
}


I end up seeing: 

c:\users\****\desktop\loc\trunk\src\sln.cpp|278|error: 'this' is unavailable for static member functions|

c:\users\****\desktop\loc\trunk\src\sln.cpp|278|error: 'this' is unavailable for static member functions|


7 years, 21 weeks ago
Post #201656 Re: Need one last piece of help... - adding my 'client download'

To let the SLN force the change, enter your URL as the direct file link. It should end in .zip, .rar, or .exe. Once the SLN grabs it you can change your URL back to your home page. 

You shouldn't list your server name as download here or anything related to what made up version you call your server. Your website URL is for giving people information about your server. As I said previously, the only reason I created the client listing was to stop people from giving mobile device users 32mb of wifi data spent. You should depend on your own site and social platforms primarily rather than using the SLN for this. I may begin supporting links to social platforms in the future as Facebook and YouTube generally give a better understanding of server themes than the main homepage. This is all concept talk though, don't look for anything overnight.

7 years, 21 weeks ago
Post #201657 Re: Need one last piece of help... - adding my 'client download'
Apollo posted: (4th Dec 2016, 07:51 pm)

To let the SLN force the change, enter your URL as the direct file link. It should end in .zip, .rar, or .exe. Once the SLN grabs it you can change your URL back to your home page. 

You shouldn't list your server name as download here or anything related to what made up version you call your server. Your website URL is for giving people information about your server. As I said previously, the only reason I created the client listing was to stop people from giving mobile device users 32mb of wifi data spent. You should depend on your own site and social platforms primarily rather than using the SLN for this. I may begin supporting links to social platforms in the future as Facebook and YouTube generally give a better understanding of server themes than the main homepage. This is all concept talk though, don't look for anything overnight.



Will do. And another thing. -- I know this isn't EOServ related -- But I have a secondary server, being EOSource, and I'm trying to disable the EOSbot but it doesn't work by changing it to 'no' in the extras/eosbot.ini file, and nobody on the EOSource forum responds.

7 years, 21 weeks ago
Post #201658 Re: Need one last piece of help... - adding my 'client download'

I am not sure if EOSource has any ongoing support as it seems updates have ceased. We can't offer assistance with closed source custom revisions.

7 years, 21 weeks ago
Post #201659 Re: Need one last piece of help... - adding my 'client download'
damis posted: (4th Dec 2016, 08:03 pm)

Apollo posted: (4th Dec 2016, 07:51 pm)

To let the SLN force the change, enter your URL as the direct file link. It should end in .zip, .rar, or .exe. Once the SLN grabs it you can change your URL back to your home page. 

You shouldn't list your server name as download here or anything related to what made up version you call your server. Your website URL is for giving people information about your server. As I said previously, the only reason I created the client listing was to stop people from giving mobile device users 32mb of wifi data spent. You should depend on your own site and social platforms primarily rather than using the SLN for this. I may begin supporting links to social platforms in the future as Facebook and YouTube generally give a better understanding of server themes than the main homepage. This is all concept talk though, don't look for anything overnight.



Will do. And another thing. -- I know this isn't EOServ related -- But I have a secondary server, being EOSource, and I'm trying to disable the EOSbot but it doesn't work by changing it to 'no' in the extras/eosbot.ini file, and nobody on the EOSource forum responds.


In EOSbot.ini add one line, works last I checked.

bot.enabled = no

Make sure it isn't #'d out like # bot.enabled = no

Looking at the SLN.cpp and what has been posted here, you can likely add a server / client to the SLN via http / browser with the following link, after you edit in your information.

http://www.apollo-games.com/SLN/sln.php/check?software=EOSERV&retry=900&host=YOUR.HOST.COM&port=8078&name=YOUR SERVER NAME&url=http://WEBSITEURL/&clienturl=http://CLIENTURL&zone=Public

Should do the trick.

---
Host of a blacklisted server...
7 years, 21 weeks ago
Post #201661 Re: Need one last piece of help... - adding my 'client download'
sob posted: (4th Dec 2016, 10:22 pm)

damis posted: (4th Dec 2016, 08:03 pm)

Apollo posted: (4th Dec 2016, 07:51 pm)

To let the SLN force the change, enter your URL as the direct file link. It should end in .zip, .rar, or .exe. Once the SLN grabs it you can change your URL back to your home page. 

You shouldn't list your server name as download here or anything related to what made up version you call your server. Your website URL is for giving people information about your server. As I said previously, the only reason I created the client listing was to stop people from giving mobile device users 32mb of wifi data spent. You should depend on your own site and social platforms primarily rather than using the SLN for this. I may begin supporting links to social platforms in the future as Facebook and YouTube generally give a better understanding of server themes than the main homepage. This is all concept talk though, don't look for anything overnight.



Will do. And another thing. -- I know this isn't EOServ related -- But I have a secondary server, being EOSource, and I'm trying to disable the EOSbot but it doesn't work by changing it to 'no' in the extras/eosbot.ini file, and nobody on the EOSource forum responds.


In EOSbot.ini add one line, works last I checked.

bot.enabled = no

Make sure it isn't #'d out like # bot.enabled = no

Looking at the SLN.cpp and what has been posted here, you can likely add a server / client to the SLN via http / browser with the following link, after you edit in your information.

http://www.apollo-games.com/SLN/sln.php/check?software=EOSERV&retry=900&host=YOUR.HOST.COM&port=8078&name=YOUR SERVER NAME&url=http://WEBSITEURL/&clienturl=http://CLIENTURL&zone=Public

Should do the trick.



How did you get your server to appear on both EOServ and Eosource? Lists you as using both softwares, so two servers?


And thank you so much, that worked!

7 years, 21 weeks ago
Post #201664 Re: Need one last piece of help... - adding my 'client download'
damis posted: (5th Dec 2016, 04:13 am)

sob posted: (4th Dec 2016, 10:22 pm)

damis posted: (4th Dec 2016, 08:03 pm)

Apollo posted: (4th Dec 2016, 07:51 pm)

To let the SLN force the change, enter your URL as the direct file link. It should end in .zip, .rar, or .exe. Once the SLN grabs it you can change your URL back to your home page. 

You shouldn't list your server name as download here or anything related to what made up version you call your server. Your website URL is for giving people information about your server. As I said previously, the only reason I created the client listing was to stop people from giving mobile device users 32mb of wifi data spent. You should depend on your own site and social platforms primarily rather than using the SLN for this. I may begin supporting links to social platforms in the future as Facebook and YouTube generally give a better understanding of server themes than the main homepage. This is all concept talk though, don't look for anything overnight.



Will do. And another thing. -- I know this isn't EOServ related -- But I have a secondary server, being EOSource, and I'm trying to disable the EOSbot but it doesn't work by changing it to 'no' in the extras/eosbot.ini file, and nobody on the EOSource forum responds.


In EOSbot.ini add one line, works last I checked.

bot.enabled = no

Make sure it isn't #'d out like # bot.enabled = no

Looking at the SLN.cpp and what has been posted here, you can likely add a server / client to the SLN via http / browser with the following link, after you edit in your information.

http://www.apollo-games.com/SLN/sln.php/check?software=EOSERV&retry=900&host=YOUR.HOST.COM&port=8078&name=YOUR SERVER NAME&url=http://WEBSITEURL/&clienturl=http://CLIENTURL&zone=Public

Should do the trick.



How did you get your server to appear on both EOServ and Eosource? Lists you as using both softwares, so two servers?


And thank you so much, that worked!


As EOSource is a closed source branch of EOSERV, it is still essentially EOSERV software, with alterations / additions. As far as I know, Apollo's SLN will only work with software type EOSERV, so just send the SLN that software type in your link, further the EOSource SLN works similarly to Apollo's, although I cannot see the SLN.cpp to know what variables it will accept, a simple http://eosource.net/check? reveals that you can likely send a similar set of information / link to it, to register a new server. 

Further, on EOSource the SLN connection is hard coded into the .exe, if you change the SLN options in config files, it will still attempt to connect to the EOSource SLN, and whichever SLN you have set up in config as well, the only way around this is to either turn SLN off in its config, or hex-edit out the connection information in the .exe, on a side note, you can also hex-edit the software and version from EOSource to something else, and it will show up on the EOS SLN like that! Though that may end up with your server being removed from listings...

Edit* after a review of the .exe, I think a link something like this should work -

http://eosource.net/sln.php?software=EOSource&version=6.9&retry=900&hostname=SERVER HOST OR IP&port=8078&name=SERVER NAME&website=http://WEBSITE URL/&zone=Public&pk=GLOBAL PK 1 or 0?&deadly=DEADLY MODE 1 or 0?&youtube=http://YOUTUBE VIDEO URL/&facebook=http://FACEBOOK URL/&twitter=http://TWITTER URL/&googleplus=http://GOOGLE URL/

---
Host of a blacklisted server...
7 years, 21 weeks ago
Post #201666 Re: Need one last piece of help... - adding my 'client download'
sob posted: (5th Dec 2016, 03:19 pm)

damis posted: (5th Dec 2016, 04:13 am)

sob posted: (4th Dec 2016, 10:22 pm)

damis posted: (4th Dec 2016, 08:03 pm)

Apollo posted: (4th Dec 2016, 07:51 pm)

To let the SLN force the change, enter your URL as the direct file link. It should end in .zip, .rar, or .exe. Once the SLN grabs it you can change your URL back to your home page. 

You shouldn't list your server name as download here or anything related to what made up version you call your server. Your website URL is for giving people information about your server. As I said previously, the only reason I created the client listing was to stop people from giving mobile device users 32mb of wifi data spent. You should depend on your own site and social platforms primarily rather than using the SLN for this. I may begin supporting links to social platforms in the future as Facebook and YouTube generally give a better understanding of server themes than the main homepage. This is all concept talk though, don't look for anything overnight.



Will do. And another thing. -- I know this isn't EOServ related -- But I have a secondary server, being EOSource, and I'm trying to disable the EOSbot but it doesn't work by changing it to 'no' in the extras/eosbot.ini file, and nobody on the EOSource forum responds.


In EOSbot.ini add one line, works last I checked.

bot.enabled = no

Make sure it isn't #'d out like # bot.enabled = no

Looking at the SLN.cpp and what has been posted here, you can likely add a server / client to the SLN via http / browser with the following link, after you edit in your information.

http://www.apollo-games.com/SLN/sln.php/check?software=EOSERV&retry=900&host=YOUR.HOST.COM&port=8078&name=YOUR SERVER NAME&url=http://WEBSITEURL/&clienturl=http://CLIENTURL&zone=Public

Should do the trick.



How did you get your server to appear on both EOServ and Eosource? Lists you as using both softwares, so two servers?


And thank you so much, that worked!


As EOSource is a closed source branch of EOSERV, it is still essentially EOSERV software, with alterations / additions. As far as I know, Apollo's SLN will only work with software type EOSERV, so just send the SLN that software type in your link, further the EOSource SLN works similarly to Apollo's, although I cannot see the SLN.cpp to know what variables it will accept, a simple http://eosource.net/check? reveals that you can likely send a similar set of information / link to it, to register a new server. 

Further, on EOSource the SLN connection is hard coded into the .exe, if you change the SLN options in config files, it will still attempt to connect to the EOSource SLN, and whichever SLN you have set up in config as well, the only way around this is to either turn SLN off in its config, or hex-edit out the connection information in the .exe, on a side note, you can also hex-edit the software and version from EOSource to something else, and it will show up on the EOS SLN like that! Though that may end up with your server being removed from listings...

Edit* after a review of the .exe, I think a link something like this should work -

http://eosource.net/sln.php?software=EOSource&version=6.9&retry=900&hostname=SERVER HOST OR IP&port=8078&name=SERVER NAME&website=http://WEBSITE URL/&zone=Public&pk=GLOBAL PK 1 or 0?&deadly=DEADLY MODE 1 or 0?&youtube=http://YOUTUBE VIDEO URL/&facebook=http://FACEBOOK URL/&twitter=http://TWITTER URL/&googleplus=http://GOOGLE URL/



Can I discuss this further with you via Twitter DMs?

7 years, 21 weeks ago
Page: << 1 >>

EOSERV Forum > EO Server Building > Need one last piece of help... - adding my 'client download'