• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Afs-cms

Status
Not open for further replies.
First of all, thanks for releasing.
I wanted to tell you that I might found a bug and its if I login in any of my characters, and I check status on the website it says that all the characters of same account are online at once.
 
2 questions:

1. - How do I set up a forum?

2. - The page is up and running for me, I can go to it on http://localhost and on 127.0.0.1 and on 192.168.X.XX but when I try to get on with 80.203.123.64(this is shown to be my global IP when I go to whatsmyip.com) I only get to my modem setting page...

So other people cant join on the page, I have open all the ports,for tibia,mysql,appache and OTserv. I have portforwarded both my Ruter and my Modem.. People can join my server but not the homepage...

please help

-AnDy

The built in forum isn't complete yet, you'll have to either get forum software and host it off your computer or use a free forum website.

If people can login to your server using your global IP then they should also be able to visit the website. If your using a firewall then try adding an exception, then add port 80.

First of all, thanks for releasing.
I wanted to tell you that I might found a bug and its if I login in any of my characters, and I check status on the website it says that all the characters of same account are online at once.

First, your welcome :) and thanks for the rep.

Second, If you login with one character, it's showing that all characters of that account are logged on? If so that doesn't really make since, each player has a field called `online` and my aac simply checks to see if it's a 1(online) or 0(offline)
 
I just checked localhost and it said that CM Jester is online and I havent put the OT online for 2h now..
Forgot to say that when the server is online on localhost, on the Status it says it is online but it doesnt say for how long and the only thing that appear is

Online: /
Online

Another issue is the power gamers, it doesn't work. I hunted a while and it didnt load it. Was 2h ago and I setted to refresh each 20 minutes. Or it is each 24 h?
 
Last edited:
Jester, replace in config.lua this
Code:
statusTimeout = 5 * 60 * 1000
with this
Code:
statusTimeout = 0
 
If people can login to your server using your global IP then they should also be able to visit the website. If your using a firewall then try adding an exception, then add port 80.

I dont use any firewall on my modem,ruter og my computer. Still non can connect... port 80 is open and port 443, its wierd since people can join my server on my global IP.

hope there is some1 that can help with this..

-AnDy

EDIT :
I have got the homepage to work in some weird way. people can join on the website https://amigo.game-host.org/

but what does it mean that people got to join on https:// ?
 
Last edited:
Thanks kofel, now the uptime status is working fine.
But power gamers still now working properly :(

There are currently no players with an experience increase.
 
Server status: Offline

Says its offline, even when its online, how to fix this?
 
Thanks kofel, now the uptime status is working fine.
But power gamers still now working properly :(

There are currently no players with an experience increase.

I'm not really sure why the power gamers script doesn't work 100%, I didn't make it but i've looked it over several times and everything appears correct, and if you edit players in the table afscms_powergamers then they show up on the list.. I'll talk to wrzasq and see if he can figure it out.

Online list show CM ;[

Online list shows everyone who is online. If you or someone else requests it then I can make some options to not show certain group ID's.

Server status: Offline

Says its offline, even when its online, how to fix this?

Make sure you have the correct port set in aac_cms_cfg.php, if you do then try editing your server config and change the statusTimeout to 1000

I dont use any firewall on my modem,ruter og my computer. Still non can connect... port 80 is open and port 443, its wierd since people can join my server on my global IP.

hope there is some1 that can help with this..

-AnDy

EDIT :
I have got the homepage to work in some weird way. people can join on the website https://amigo.game-host.org/

but what does it mean that people got to join on https:// ?

I tried to visit your website and I get issues with your Server certificate being expired, try re-installing xampp or download a new version. (Your certificate expired back in 2006)

I don't know if this will fix any issues or not but hopefully it will.
 
I have tried to set the statustimeout to 1000 but still it says its offline? should t it show right away that its online?...

further help?
 
I have tried to set the statustimeout to 1000 but still it says its offline? should t it show right away that its online?...

further help?
Change "statusTimeout" (in config.lua - server config) to 0. Its time in miliseconds (1 second = 1000 miliseconds). It mean you can check "server status" 1 time per second (if you set 1000). If you or other users open page > 1/second it return "offline". When you set it to "0" you and open page without limit and it should always show status offline/online.
Maybe it's problem with acc. maker configuration. Check IP and PORT set in your acc. maker config file.
 
Change "statusTimeout" (in config.lua - server config) to 0. Its time in miliseconds (1 second = 1000 miliseconds). It mean you can check "server status" 1 time per second (if you set 1000). If you or other users open page > 1/second it return "offline". When you set it to "0" you and open page without limit and it should always show status offline/online.
Maybe it's problem with acc. maker configuration. Check IP and PORT set in your acc. maker config file.

Then you will have DoS attacks on the status protocol :thumbup:
 
Then you will have DoS attacks on the status protocol :thumbup:
Hmm.. statusTimeout is from hmmm.. 7.92 or 8.0 version? Before people created many OTSes with 100+ players online and none post anything about problem with DoS. I think, if you want to attack server better attack server website (use lot of CPU and RAM, block access for new player/other users). If server doesn't have website (small ots) none want to attack..
 
Ive watched the ACC now, and It says the server is offline, and when one character log on the server. its says that alle the characters are online..

My question now is I want to make a Info page, how can I do it? also how do I edit the news?:.

--AnDy
 
Last edited:
over phpmyadmin or adminpanel

can you like tell me how? :thumbup:

like over adminpanel where do I go etc.?

and if I make a new database, how do I get it in sync with the afs?

-Andy
 
Ive watched the ACC now, and It says the server is offline, and when one character log on the server. its says that alle the characters are online..

My question now is I want to make a Info page, how can I do it? also how do I edit the news?:.

--AnDy

Please read TUTORIALS.txt and FAQ.txt

What kind of info page? what will be on it?
 
After fixing about 100 errors to do with the file names (.phps and .PHPs). I finaly come over some errors that I do not know how to fix, here they are:

Warning: fopen(online.dat) [function.fopen]: failed to open stream: Permission denied in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 167

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 168

Warning: file_get_contents(online.dat) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 172
Current Visitors: 1
Most visitors at Once: 1

Warning: fopen(online.dat) [function.fopen]: failed to open stream: Permission denied in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 206

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 207

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 208

Warning: fopen(counter.log) [function.fopen]: failed to open stream: Permission denied in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 225

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 227

Warning: fclose(): supplied argument is not a valid stream resource in /var/www/kiwi/CMS/Layouts/dragonflames/PHP Files/df_footer.inc.PHP on line 228

Help would be appreciated :)

~Kiwi Dan~
 
Status
Not open for further replies.
Back
Top