KalSiteX

Newbie Spellweaver
Joined
Sep 27, 2006
Messages
49
Reaction score
2
Well in my stay of over a year here, I've pulled a lot from this forum community, and i feel its time to give back.

Now I'm a fan of sharing my Discoveries and ideas, what I've done is created a package containing

Registration and login system with capatcha
EB Adder (Meaning they can add their EB all in one shot, for a price of course)
Users Online.
Advanced Stats for players
Advanced Stats for Guilds.
Server Stats Page


This is designed for servers Running Aylens KOSP with the stats server ON

Because windows scheduled tasks are gay, and to reduce MSSQL server load, there will be a program release with it to emulate Linux Cron Tasks.
This way all the data will not be loaded from the MSSQL database every time someone loads a page, there fore making it more "CPU / Memory Friendly"
This also makes the load times for the Ranking, guild and server status almost instant.

REQUIREMENTS:
.NET Framework 2.0 or higher
PHP4(For the Emulator)
Those of you using XAMPP you can find PHP 4 in your xampp/php/php4 directory.

Installation:
Extract the file.
Copy all files except the EXE to your desired folder on your website.
Open config.php with notepad
Read through there i have comments explaining all options, set those options accordingly.
after that is done, save it and open the EXE.
The root directory is going to be the folder you just copied the web files to.
The php path is going to be your path to PHP 4.
After setting those, set your Timer intervals for the Emulator to update the pages.
Click Force Update.
After 3 black windows have popped up and disappeared, click Start.

Now visit your newly installed site :)

To Edit Template:
if you open template.php.
You'll see thats where the look of the site is located.
You can change that to your hearts desire, just make sure you add....
PHP:
<?php echo $content; ?>
on that page where you want the main content to be displayed.


To Edit Text on Main Page:
In the site root folder you will see a file called main_text.txt
In this file you can put the HTML code you want displayed on the main page.


Soon to Come:
Password Changer.
ODBC Support
3rd Party Host Support (if the site is hosted on a webserver outside of the kal server)
Admin Panel:
Account Editor
Account Remove

This update will contain fixes to a few bugs.
The expected release date is 12/15/2007
[ ]
Any questions or suggestions add me to msn @ [email protected]

-Smoke
 

Attachments

Last edited:
Re: Giving Back to the Community

u still think about releasing it ? ;) waiting for change pw script :?
 
Re: Giving Back to the Community

Almost done, just gotta make the admin panel and PW changer.

The only issue is, is some kal servers dont have a mail server installed, there fore emails cannot be sent from them, there fore lowering the security for the PW changer.
 
Re: Giving Back to the Community

Here it is minus a few things.
Admin Panel (Will be added in next update).
Password Changer (Researching for a free SMTP server to use to send mail from, may take a while lol)

Just read the readme.

Edit added to top post
 
Last edited:
Re: Giving Back to the Community

Warning: file_get_contents(characters/list.txt) [function.file-get-contents]: failed to open stream: No such file or directory in F:\xampp\htdocs\smoke\includes\ranking.php on line 3


Warning: file_get_contents(guilds/list.txt) [function.file-get-contents]: failed to open stream: No such file or directory in F:\xampp\htdocs\smoke\includes\guild.php on line 5


u forget some folders :D
 
Re: Giving Back to the Community

ah ok :D sorry

I get many errors while running the emu.

it gets f**** up with / and \
 
Re: Giving Back to the Community

@Bushido718 ty for this nice release,but maybe 1 idea: to put captcha image checking on login too? I tried to edit account.php for login captcha adding. Also i made it (easiest part xD),but when i try to login i allways get "Image Verfication Failed!"
 
Re: Giving Back to the Community

Warning: file_get_contents() [function.file-get-contents]: Unable to access characters/list.txt in \SmokesKalSite\includes\ranking.php on line 3

Warning: file_get_contents(characters/list.txt) [function.file-get-contents]: failed to open stream: No error in \SmokesKalSite\includes\ranking.php on line 3

PHP:
<?php
define("KALSITE", "1", true);
$content = file_get_contents("characters/list.txt");
?>

if im reading this right, i think it says "get file contents" for "list.txt" wich is in "characters" folder. and theres no folder named that, beter yet no file called "list.txt"
 
Re: Giving Back to the Community

@Bushido718 ty for this nice release,but maybe 1 idea: to put captcha image checking on login too? I tried to edit account.php for login captcha adding. Also i made it (easiest part xD),but when i try to login i allways get "Image Verfication Failed!"

thats a good idea, Ace, PHP 4 Bro.

I will be comming out with an update here in the next day or so, let me know your ideas ppl :)
 
Re: Giving Back to the Community

Keep the suggestions comming ppl.
If anyone has any questions about the logic or code feel free to ask.
 
Re: Giving Back to the Community

Looks rly NICE, but i think all waiting for secured change pw script :)

thanks ;)
 
Re: Giving Back to the Community

ThX nice work :)
but I think I found out some 'bugs' (or just we can't get it run right :P)
1) Account creation get always error (wrong code->Image Verfication Failed.)
(error by Firefox too. Can't make any accounts)
2) if you click on guild-->the guild name (here NoName f.e.) and now you see all chars ass knights..not special (look at attachment pic)

btw can you login into account only with Firefox? not InternetExplorer?
 

Attachments

  • Guild - KalSiteX - RaGEZONE Forums
    Guild.webp
    22.2 KB · Views: 156
Re: Giving Back to the Community

ThX nice work :)
but I think I found out some 'bugs' (or just we can't get it run right :P)
1) Account creation get always error (wrong code->Image Verfication Failed.)
(error by Firefox too. Can't make any accounts)
2) if you click on guild-->the guild name (here NoName f.e.) and now you see all chars ass knights..not special (look at attachment pic)

btw can you login into account only with Firefox? not InternetExplorer?

yeah mate i spotted that and fixed it, im gonna try to get this pushed out by morning
 
Re: [In Development] KalSiteX

Would anyone here have a major objection in having to make a few extra tables on your database? i can only make so much in flat-file before it gets rediclous.

Nvm, im gonna do it flat file, and just .htacces it so its not accessable from the web, i wanna try to keep the querys to the database down to a minimum
 
Re: [In Development] KalSiteX

Almost ready to release, anyone wanna beta test?

Add me to msn [email protected]


EDIT:
Just wanna keep you all up to date.
Almost done PW changer workz fine.
Just gotta do the Reg system, Admin Panel, Installer, and Make a few changes to the emulator. since i've spent over the last 12 hours on this, im gonna take a nap.
I'll finish it when i get back up.
 
Last edited:
Back