Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Kalonline Website Thread

Your omega
Loyal Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
24
Ok since they keeps being more and more website release I decided to make one central topic for them :)

Changing password script

Code:
<?php

function encode($password)
{
    $EncTable = array('!'=>'95', '"'=>'88', '#'=>'9D', '$'=>'4C', '%'=>'F2', '&'=>'3E', '\''=>'BB', '('=>'C0', ')'=>'7F', '*'=>'18', '+'=>'70', ','=>'A6', '-'=>'E2', '.'=>'EC', '/'=>'77',
                        '0'=>'2C', '1'=>'3A', '2'=>'4A', '3'=>'91', '4'=>'5D', '5'=>'7A', '6'=>'29', '7'=>'BC', '8'=>'6E', '9'=>'D4', ':'=>'40', ';'=>'17', '<'=>'2E', '='=>'CB', '>'=>'72', '?'=>'9C',
                        '@'=>'A1', 'A'=>'FF', 'B'=>'F3', 'C'=>'F8', 'D'=>'9B', 'E'=>'50', 'F'=>'51', 'G'=>'6D', 'H'=>'E9', 'I'=>'9A', 'J'=>'B8', 'K'=>'84', 'L'=>'A8', 'M'=>'14', 'N'=>'38', 'O'=>'CE',
                        'P'=>'92', 'Q'=>'5C', 'R'=>'F5', 'S'=>'EE', 'T'=>'B3', 'U'=>'89', 'V'=>'7B', 'W'=>'A2', 'X'=>'AD', 'Y'=>'71', 'Z'=>'E3', '['=>'D5', '\\'=>'BF', ']'=>'53', '^'=>'28', '_'=>'44',
                        '`'=>'33', 'a'=>'48', 'b'=>'DB', 'c'=>'FC', 'd'=>'09', 'e'=>'1F', 'f'=>'94', 'g'=>'12', 'h'=>'73', 'i'=>'37', 'j'=>'82', 'k'=>'81', 'l'=>'39', 'm'=>'C2', 'n'=>'8D', 'o'=>'7D',
                        'p'=>'08', 'q'=>'4F', 'r'=>'B0', 's'=>'FE', 't'=>'79', 'u'=>'0B', 'v'=>'D6', 'w'=>'23', 'x'=>'7C', 'y'=>'4B', 'z'=>'8E', '{'=>'06', '|'=>'5A', '}'=>'CC', '~'=>'62');

    $Encode = "0x";
                                  
    for ($i = 0; $i < strlen($password); $i++)
        $Encode .= $EncTable[$password[$i]];                 
    
    return $Encode;  
}

function decode($password)
{
    $DecTable = array('95'=>'!', '88'=>'"', '9D'=>'#', '4C'=>'$', 'F2'=>'%', '3E'=>'&', 'BB'=>'\'', 'C0'=>'(', '7F'=>')', '18'=>'*', '70'=>'+', 'A6'=>',', 'E2'=>'-', 'EC'=>'.', '77'=>'/',
                        '2C'=>'0', '3A'=>'1', '4A'=>'2', '91'=>'3', '5D'=>'4', '7A'=>'5', '29'=>'6', 'BC'=>'7', '6E'=>'8', 'D4'=>'9', '40'=>':', '17'=>';', '2E'=>'<', 'CB'=>'=', '72'=>'>', '9C'=>'?',
                        'A1'=>'@', 'FF'=>'A', 'F3'=>'B', 'F8'=>'C', '9B'=>'D', '50'=>'E', '51'=>'F', '6D'=>'G', 'E9'=>'H', '9A'=>'I', 'B8'=>'J', '84'=>'K', 'A8'=>'L', '14'=>'M', '38'=>'N', 'CE'=>'O',
                        '92'=>'P', '5C'=>'Q', 'F5'=>'R', 'EE'=>'S', 'B3'=>'T', '89'=>'U', '7B'=>'V', 'A2'=>'W', 'AD'=>'X', '71'=>'Y', 'E3'=>'Z', 'D5'=>'[', 'BF'=>'\\', '53'=>']', '28'=>'^', '44'=>'_',
                        '33'=>'`', '48'=>'a', 'DB'=>'b', 'FC'=>'c', '09'=>'d', '1F'=>'e', '94'=>'f', '12'=>'g', '73'=>'h', '37'=>'i', '82'=>'j', '81'=>'k', '39'=>'l', 'C2'=>'m', '8D'=>'n', '7D'=>'o',
                        '08'=>'p', '4F'=>'q', 'B0'=>'r', 'FE'=>'s', '79'=>'t', '0B'=>'u', 'D6'=>'v', '23'=>'w', '7C'=>'x', '4B'=>'y', '8E'=>'z', '06'=>'{', '5A'=>'|', 'CC'=>'}', '62'=>'~');

                                 
    for ($i = 0; $i < strlen($password); $i++)
    {
        $Hex = sprintf("%02x", ord($password[$i]));
        $Decode .= $DecTable[strtoupper($Hex)];
    }
    
    return $Decode;  
}
function auth($ID, $PWD)
{
    $connect = mssql_connect('127.0.0.1', 'SA', 'pass');
    $db = mssql_select_db('kal_auth', $connect);
    
    $q = mssql_query("SELECT [PWD] FROM Login WHERE [ID] = '$ID'", $connect);    
    $r = mssql_fetch_array($q);
    $pwd = decode($r['PWD']);
    
    if($pwd == $PWD)
        return true;
    else
        return false;
}

function change($ID, $PWD)
{
    $connect = mssql_connect('127.0.0.1', 'SA', 'pass');
    $db = mssql_select_db('kal_auth', $connect);
    
    $EPWD = encode($PWD);
    
    mssql_query("UPDATE [Login] SET [PWD] = ".$EPWD." WHERE [ID] = '{$ID}'", $connect);
}

if( isset($_POST['change']) )
{
    $id = $_POST['id'];
    $oldpwd = $_POST['oldpwd'];
    $pwd1 = $_POST['pwd1'];
    $pwd2 = $_POST['pwd2'];

    if($id == "")
    {
        echo "Please type in your id!";
        return;
    }

    if($oldpwd == "")
    {
        echo "Please type in your password!";
        return;
    }

    if($pwd1 == "")
    {
        echo "Please type in your new password!";
        return;
    }
        
    if(auth($id, $oldpwd))
    {
        if($pwd1 != $pwd2)
        {
            echo "Passwords do not match...";
        }
        else
        {
            change($id, $pwd2);
            echo "<font color=\"Red\"> Password changed successfully.. </font>";
        }
    }
    else
    {
        echo "Wrong password...";
    }
    
    
    return; 
}

?>

<p><font color="Red"></font>
</p>
<form method="POST" action="">

<label></label>
<p>
<label></label>

<table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2"> </td>
  </tr>
  <tr>
    <td>ID:</td>
    <td><div align="center">
      <input name="id" type="text" id="id" />
    </div></td>
  </tr>
  <tr>
    <td><label>Old Password:</label></td>
    <td><div align="center">
      <input name="oldpwd" type="password" id="oldpwd" />
    </div></td>
  </tr>
  <tr>
    <td>New Password: </td>
    <td><div align="center">
      <input name="pwd1" type="password" id="pwd1" />
    </div></td>
  </tr>
  <tr>
    <td> </td>
    <td><div align="center">
      <input name="pwd2" type="password" id="pwd2" />
    </div></td>
  </tr>
  <tr>
    <td height="50" colspan="2"><div align="center">
      <input type="submit" name="change" value="Change Pass..." />
    </div></td>
  </tr>
</table>
<p> </p>
</form>
Credits go to AyleN for making this script.


Originally posted by jake I thought
 
Last edited:
Newbie Spellweaver
Joined
Jan 27, 2007
Messages
34
Reaction score
1
Hi,

i have made a new phpwebsite with the help of Curium.

Information :

  • Member Panel
  • Admin Panel
  • GM Panel
  • Top 50 List
  • Rules Pages
  • News Block
  • Sitemap ( New, Have to made your own with the link gived)
  • Register ( Give many think, listed under)
Member Panel :

The member panel have the follwing things ,

- Password Reset,
- Profile View,
- Store View.

Soon, i'll add a special option which allow you to add your points but the website, more easier then in game :p

Admin Panel :

The admin panel have the follwing things ,

- Config
Management
- User Management
- News Management
- Rules Management
- About Management
- Downloads Management
- Ban
Management
- Store
Management

Top 50 :

This ranking list give you an acces on the member stats, his ranking, CU Points and many thing that you can't imagine :p

The SiteMap :

You'll have to edit the sitemap.xml by the following way , just go , create your sitemap and edit the first by adding your own.

The Register Form :

The register form was made by bakabug , and it give you all of this following thing :

  1. Start at level 50,
  2. Free 800 Points
  3. G50 Set
  4. G1 Weapons
  5. 1KK Geons
  6. Eggs Lvl 19
  7. Speedup Medicine
  8. HP Medicine
  9. Mana Medicine
  10. Stone of XP
Then, hope that you'll be happy to get it :)
 

Attachments

You must be registered for see attachments list
Arrogant Wizard
Loyal Member
Joined
Mar 30, 2007
Messages
745
Reaction score
34
[PHP] Project HOAX - Website Source

Dopestar - Kalonline Website Thread - RaGEZONE Forums

So I finaly desided to release a copy of the Project HOAX website.
The Website is, as some might know, build on the Zend Framework, which you can find at

I will give NO support on this code, but releasing it merely as a inspiration to people who wish to learn in dept php coding, and perhaps use some of the parts along with their kalonline project.

Most likely the code is way to advanced for 9/10 who downloads it :)

There is a few requirement for the code to run:
  • PHP 5.2
  • PDO ODBC, and PDO MSSQL enabled
  • GDLIB enabled
  • XSL enabled for the profile system
  • Apache with mod_rewrite enabled
  • MSSQL 2005

Also you have to create the tables from the SQL dumps. The SQL dumps is only compatible with MSSQL 2005 by default, so a modifications (search&replace) can be required.

Download :



Hope someone will enjoy cracking their heads on the code. Feel free to ask questions , aslong as it's not direct support related.

Bonus Project - XUL Item Viewer
Oh yeah.. figured I could post the source for this too here.

Image:
Source:


It contains a php script that parses the InitItem.txt and transform in into a json array.
Then XUL connects to it and uses it.

A good tutorial to XUL is , if someone would want to build further on it.
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Oct 25, 2006
Messages
66
Reaction score
2
[website]Conan WebSite

well some ppl liked it and i dont care if ppl use it so i release it^^

Dopestar - Kalonline Website Thread - RaGEZONE Forums


Dopestar - Kalonline Website Thread - RaGEZONE Forums


Dopestar - Kalonline Website Thread - RaGEZONE Forums


HOW THE PAGE IS NOW ---
PSD ---
 
Joined
Sep 10, 2006
Messages
2,817
Reaction score
1,417
mmm including .psd & used fonts.. just edit it as you want

kalxtreme unused template ->


Dopestar - Kalonline Website Thread - RaGEZONE Forums




old unused template lil edited


Dopestar - Kalonline Website Thread - RaGEZONE Forums


im pretty sure none wont use 'em since its just image without code nad 99% ppl here have no clue about html & php so enjoy.. :zippy:

I'll add my version of fox's layout, with php code etc.

View:
Source:

mmm and i'll add .psd of header from that site :p
 
Last edited by a moderator:
Joined
Sep 10, 2006
Messages
2,817
Reaction score
1,417
[release] website

Well another website i made.. this time with nice html&css, but WITHOUT SCRIPTS( I was too lazy too search for them :d )
review:
screen:
Dopestar - Kalonline Website Thread - RaGEZONE Forums

Download
(including header.psd):

would be nice if you write some credit there.. (in case you'll use it for sure)

note: I'll update it a lil later, too lazy to change something atm.. like "navigation" etc texts looks gay when they are bold..
 
Last edited:
A.K.A /v\aX /--/ PHP Guru
Joined
Aug 29, 2007
Messages
822
Reaction score
211
[Release] Shakra Modded Site

Website enjoy ^^ orgianlly by rak3hunt ty for your release!
I have fully modded the site from the red to blue made new logo and matching banner with PSDs in the zip!

Live Demo.. Temp
 

Attachments

You must be registered for see attachments list
Last edited:
Initiate Mage
Joined
Nov 30, 2006
Messages
4
Reaction score
0
[Release] My nice serverpage

This was an free Template

I changed it from html to php and added some scripts.
There is NO kind of a Login script like a clanpage.

It is a very easy concept but i hope you like the design.

Live-Preview(no working scripts):

>>> DOWNLOAD:




Dopestar - Kalonline Website Thread - RaGEZONE Forums



Scripts:

- Ranking [With all JobChanges]

- Register [Step 1 and Step 2 (accept rules and register ID) ]

- Log Website visitors [IP and ISP]

- Server Status

- Guildlist

- Castleowner





HowTo:

Edit the Database logins in the scrips

Edit The Header:

==>> images/interface_01.gif use the interface_01.psd

==>> Fonts in images/Banner Fonts



change on all site the site title :) still old name


comments are welcome (bad and good)


If you need help with a bug or so, send me a message, but i dont tell you how to edit all !



greetz kess
 
Your omega
Loyal Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
24
Merged all website release to one and once again dont post thank you or other comments only releases

If you want to thank them just pm them or what ever
 
Skilled Illusionist
Loyal Member
Joined
Nov 16, 2006
Messages
308
Reaction score
76
Guild Declare time reset script:

PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  </head>
  <body>
    <div>
    <?php
    
      $conn = mssql_connect('NEZOIA\SQLEXPRESS','sa','foobar');
      mssql_select_db('KAL_DB',$conn);

      $sql = "DELETE FROM GuildMember WHERE GID = 0";
      $res = mssql_query($sql);
      $aff = mssql_rows_affected($res);

      printf('<span style="color=blue;">Resetting Guild Time</span><br>');
      printf('<span style="color=green;">Done (%d rows affected)</span>',$aff);

    ?>
    </div>
  </body>
</html>

Thanks to Windcape
 
Last edited:
Initiate Mage
Joined
Sep 10, 2006
Messages
3
Reaction score
1
[Release] darknessoffight

WORKING FEATURES AT TIME:

- Join
- Serverstatus (Online/Ofline)
- Castleowner
- Lightbox 2 Gallery
- Top20
- Passwordchange
- AdminCP with: - Usermanager
- Itemeditor
- Charactereditor (only GM rights)

-- DOWNLOAD IT ! -- :

Dopestar - Kalonline Website Thread - RaGEZONE Forums



I AM WORKING AT THIS TIME ON :

- A LOGGIN SESSION
- A MEMBERPANNEL WITH: - Changepassword
- Itemviewer
- Profileviewer
- Online Store
- GUILDADMINISTRATION for LEADER of GUILDS

- MSSQL DATABASE for ALL INFORMATIONS
- CONTENT MANAGEMENT SYSTEM

and much MORE .....

I WILL WE HAPPY ABOUT HELP from SOME DEVOLPERS :

- HTML SCRIPTER
- PHP & MSSQL PROGRAMMER
- MSSQL Specialists
- GRAFIK DESIGNER
- FLASH DESIGNER
- TRANSLATORS

and all poeple they have some experience in programming or scripting



You have to DO:

- EDIT config/config.php with your DATABASE LOGIN DATA
- EDIT config/config.php with your adminpassword


HOW TO:

1. ---------------------------- SITES -----------------------------------
1.1 ------------------------- ADD SITES ---------------------------------

To add a new Site you have to add a new Line in Index.php
where you can find the other Links. Add a new line like :
<li><a href="index.php?seite=nameofnewsite">→ HOME</a></li> this.
Then you have to create a new file in the directory sites.
The filename have to be like the seite=nameofwebseite ^^ in the link.
Also for example:

If you want to create a new Site in your Sidebar:

1. Create a file in the sites directory: filename.txt (sites/filename.txt)
2. Open the filename.txt and edit with Syntax: $ueberschrift='yourheaderinhtml'; $text='yourtextinhtml';
3. Go into the Index PHP and look for:

<li><a href="index.php?seite=home#">→ HOME</a></li>
<li><a href="index.php?seite=ranking&function=ranking#">→ RANKING</a></li>
<li><a href="index.php?seite=download#">→ DOWNLOAD</a></li>
<li><a href="index.php?seite=join&function=join#">→ JOIN</a></li>
<li><a href="index.php?seite=changepw&function=changepw#">→ PWC</a></li>
<li><a href="index.php?seite=gallery&function=gallery#">→ GALLERY</a></li>

4. Add a new Line with the same Syntax: <li><a href="index.php?seite=filename">→ The Name of the Site you want Show</a></li>

1.2 ------------------------- Modify SITES ------------------------------

To modify sites like News or Home go into the sites directory and change
the text. the variable for the header is $ueberschrift=''; and the
variable to safe the text is $text='';
For Example:

If you want to change the News text:

1. Go into sites directory and open the news.txt
2. Change the text behind the characters $text = " and before ";
3. You must be carefully because if the Syntax of the variable is like: $text=""; you have to use this character: ' for html tags else if the syntax is like $text=''; you have to use " in html tags
4. Safe the File and finished

!IMPORTANT! :

1. Look for the characters behind the "=" - character. - If it is ' use " in Html Tags else if is it " use '

For example :

$text="<a href='link'></a>";

or

$text='<a href="link"></a>';

2. $ueberschrift is for the headertext
3. $text is for the text in the site

2. ------------------------- Change downloads ------------------------------

To change downloads open the follow file: sites/downloads.txt
Use following Syntax for a new Line: <tr><td></td><td></td><td></td></tr>

For Example:

If you want to add a new Link:

1. Open the file sites/downloads.txt
2. Look for the <!-- Downloadlinks --> XXXXX <!-- Downloadlinks -->
3. Add between the <!-- Downloadlinks --><!-- Downloadlinks --> following line: <tr><td>Name of the LINK</td><td> Size of the Link </td><td><a href="LINK TO FILE">Mirror 1 <img src="style/DL.gif" width="10" height="10"></a></td></tr>

To delete or change Lines is the same way, if youre a lil bit intellegent you will understand

3. ------------------------- Add Functions ----------------------------------

If you want to Add functions you have to be a devolper also you know what
you have to do. so i havent to write a tutorial for this. Only to things to
say:

Look for scripts/functions.php and write all scripts there

also $function = $_GET["function"];

all scripts are in a "else if ($function == "nameoffunction")" routine safed and they will all be run,

if you tell them with the post function
 
Last edited:
Kal Craker
Joined
Apr 29, 2006
Messages
173
Reaction score
6
this is curicum (or how its spelled) site and it have bugs in it,use at your own risk,btw can you give a source of that header? its nice :D
 
Your omega
Loyal Member
Joined
Aug 22, 2006
Messages
1,495
Reaction score
24
if someone has mirrors of the dead links please post them here

thanks
 
Initiate Mage
Joined
Aug 6, 2008
Messages
1
Reaction score
0
Hello this is the HellFire KalOnline server website.It is html
Download:
ScreenShots
Dopestar - Kalonline Website Thread - RaGEZONE Forums


Dopestar - Kalonline Website Thread - RaGEZONE Forums
 
Junior Spellweaver
Joined
Oct 19, 2007
Messages
198
Reaction score
2
if someone has mirrors of the dead links please post them here

thanks

i got some mirrors from NarutaruTR's repository :-



















for more of tools :)



Credits : NarutaruTR
 
Experienced Elementalist
Joined
Nov 10, 2007
Messages
260
Reaction score
2
Hi all, well i think its time to stop maybe pause my kalonline server things... i think i was bad in all... maybe i was good in design and making website layouts... well here is my website.. i mean my website layout ;)
Its on KalsiteX.

I would learn more if i would have money for good root server, but it happens im a poor guy in real world and have to attend school =)

I want to say thanks to Bjorn Flohle and RuleZ, these guys helped me always when i asked something =)
and for sure ty for ragezone :D

ok ok... here is the website:
 
Junior Spellweaver
Joined
Nov 5, 2008
Messages
177
Reaction score
1
Dopestar - Kalonline Website Thread - RaGEZONE Forums



More coming ;)

Here server Blog::

Dopestar - Kalonline Website Thread - RaGEZONE Forums




Another one:

Dopestar - Kalonline Website Thread - RaGEZONE Forums



PM Me for it and mybe u get itć
 
Last edited:
Junior Spellweaver
Joined
Nov 5, 2008
Messages
177
Reaction score
1
Dopestar - Kalonline Website Thread - RaGEZONE Forums


Mybe u get it if you contact me

:thumbup::lol:
 
Last edited:
Back
Top