Monday, August 16, 2010

How To Edit Price Product

Edit Price Product

Go to your admin panel => settings => selling => products


Register your Rohan Registry

This Step is one of the most important so your DBServer.exe, Logserver.exe, MapID.exe and AIServer.exe will run.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet]
"Nation"="US"
"ServerDir"="C:\\RoHan\\RoHan"
"LogDir"="C:\\RoHan\\RoHan\\Log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\AI]
"ConnMap"="1-0|1-1|1-2|1-3|1-4|5-0|5-1|5-3|5-4|5-5|3-0|3-1"
"DBServer"="127.0.0.1:22100"
"LogServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"ServerClass"="FAIRY.ROHAN_4.AI.ROHAN_4_1"
"ServerClassMap"="FAIRY.ROHAN_4.MAP_AI.ROHAN_4"
"ThreadSleep"=dword:0000005f
"Module"="C:\\RoHan\\RoHan\\Fairy\\AIServer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\DB]
"ServerClass"="FAIRY.ROHAN_4.DB.ROHAN_4"
"Module"="C:\\RoHan\\RoHan\\Fairy\\DBServer\\DBServerT.exe"
"LoginDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=RohanUser"
"GameDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=RohanGame"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\Interrupt]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\LOG]
"DBServer"="127.0.0.1:22100"
"ServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"Module"="C:\\RoHan\\RoHan\\Fairy\\LogServer\\LogServer.exe"
"LogDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=rohanstat"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\LogCopy]
"LogFTP_IP"="127.0.0.1"
"LogFTP_ID"="rohan-dev"
"LogFTP_PW"="dlsehvotm!@#$"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\MAP]
"Title"="Map TH"
"LogServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"ServerClassAI"="FAIRY.ROHAN_4.MAP_AI.ROHAN_4"
"ServerClass"="FAIRY.ROHAN_4.MAP.ROHAN_4"
"DBServer"="127.0.0.1:22100"
"Module"="C:\\RoHan\\RoHan\\Fairy\\MapID\\MapID.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\Monitor]
"CodeDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=RohanCode;"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom]
"ConfigPath"="D:\\Fairy\\RelayCom\\RelayCom.config"
"LogPath"="d:\\Log\\RelayCom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom\Consign]
"config"="D:\\Fairy\\RelayCom\\Consign.config"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom\Login]
"ip"="127.0.0.1"
"port"=dword:000071ac
"poolsize"=dword:0000001e

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RohanCom]
"ConfigPath"="C:\\sslcer\\Fairy\\RohanCom\\RohanCom.config"
"LogPath"="C:\\sslcer\\Fairy\\Log\\RohanCom"
"LanguageID"="KRKSC"

If you have not use localhost / 127.0.0.1, you must change all the IP into your IP





How To Setting Cheat Check

Setting Cheat Check

Go to Admin panel => Tools => Anti Cheating => Cheat Settings

Make Cheat Check : 25 %
Cheat Interval : 0 Minutes
Loads 'till Fail : 2.5 Minutes

Setting Your Nation & IP

After you have install the SQL EXPRESS 2008 R2 then you have to restore the database.

First you have to do is go to Database => RohanUser
- dbo.TCompanyIP then find ip field and set your IP to localhost / 127.0.0.1
- dbo.TDownFlag then find nation field and change your nation form TH / CH to US there
- dbo.TServer then find server_ip and set all the IP to localhost / 127.0.0.1
- dbo.TServerGroup find nation field and change the nation to US to

Check again all the table that you have change before you do to the next step.

TCompanyIP <= This must be match with your IP if you don't use a localhost / 127.0.0.1, so you can enter the game and wont be error disconect.

TDownFlag <= This is for the language of the game and the rohanclient.exe version that you have use.

TServer <= This is also must be match with your IP if you don't use a localhost / 127.0.0.1, so you can enter the game and wont be error disconect.

TServerGroup <= This is also for the language of the game and the rohanclient.exe version that you have use.





Sunday, August 15, 2010

How To Fix Target Country

Fix Target Country

Open your php-myadmin and delete target_co like bellow :



After you delete target_co, upload new target_co here

Add Link Credits For New Member SignUp

Link Credits For New Member SignUp

Go to your root/
yourdomain.com/htdocs/members
Find join.php and edit like bellow :



You Also can add Email, PTRA, PTSU, Featured Banner And Featured Ads Credits

How To Fix Featured Link

Fix Featured Link

Go to yourdomain.com/htdocs/templates
If you use cash4clickin templates you can edit at layout.php & panel.php

First Steps :
Go to layout.php and find :

After you find, Cut and Move to panel.php :


Go to panel.php and edit like below :

{echo "

Featured Links

$flinks";}?>

Last Steps :
Go to layout_header.php, find and edit like below :

How To Fix Featured Link Expiration Date

Fix Featured Link Expiration Date

Find edit_flink.php in yourdomain/htdocs/admin2 and edit like below :

Monday, August 9, 2010

How To Make Register With Ajax

To Make Join With Ajax go to yourdomain.com/htdocs/members

Find & Edit join.php Like Below :

if($action == "join") { $requestVars = isset($_REQUEST) ? $_REQUEST : array(); $uName = trim($_POST['uName']);


Find & Edit Like Below :
else if($uTerms != "yes") {
$error="You must agree to the terms.";
}
else if (substr($requestVars['captcha'], 10) != $_SESSION['captchaCodes'][$_SESSION['captchaAnswer']]) { $error="Choose right caphtcha ansver !"; }


Find & Edit Like Below :


After Finish Will Be Look Like This :


Sunday, August 8, 2010

How To Make Login With Ajax

To Make Login With Ajax go to yourdomain.com/htdocs/members

Find & Edit login.php Like Below :
$userid=$userinfo[userid];
$username=$userinfo[username];
$permission=$userinfo[permission];
session_start();
$requestVars = isset($_REQUEST) ? $_REQUEST : array(); if (substr($requestVars['captcha'], 10) == $_SESSION['captchaCodes'][$_SESSION['captchaAnswer']]) {
$sessids = new_session($userid,"3600",$ipvoid);

Find & Edit Like Below :
$Db1->sql_close();
header("Location: setcookies.php?".iif(isset($returnTo),"view=$returnTo","view=account&ac=main")."
".iif("$id","&id=$id").iif($ptype,"&ptype=$ptype").iif($step,"&step=$step")."
".iif(isset($ac),"&ac=$ac")."&sid=$sessid&sid2=$sessid2&siduid=$userid");
exit;
}else {
$msg = "Give right captcha answer";
}


}
}
else {
$LOGGED_IN=false;
$msg = "
Login Error!

There was a problem signing in..";
}

}


Find & Edit Like Below :



Then Go to yourdomain.com/htdocs/templates/yourdefaulttemplates
Find :



in layout.php

Add
like below :



download
sexy-captcha to yourdomain.com/htdocs
Open yourdomain.com/htdocs/sexy-captcha and move captcha.process.php to yourdomain.com/htdocs

Last Steps :
Go to your sites => Admin Panel => Settings => Site Settings => Site Settings => Disable Login Route Code

After Finish Will Be Look Like This :

How To Fix Running Time

To Fix Running Time you must go to yourdomain.com/htdocs/source/clicking

Find and Edit timer.php & timer.js

timer.php
delete timer.php on yourdomain.com/htdocs/source/clicking upload with this
Download timer.php

timer.js
Find :
function adTimer() {

Add Like Below :



Add timerb.js into yourdomain.com/htdocs/source/clicking
Download timerb.js

Download bar.gif & timer_bg.gif and upload to yourdomain.com/htdocs/source/clicking

Will look like :

Setting Your Nation & IP

After you have install the SQL EXPRESS 2008 R2 then you have to restore the database.

First you have to do is go to Database => RohanUser
- dbo.TCompanyIP then find ip field and set your IP to localhost / 127.0.0.1
- dbo.TDownFlag then find nation field and change your nation form TH / CH to US there
- dbo.TServer then find server_ip and set all the IP to localhost / 127.0.0.1
- dbo.TServerGroup find nation field and change the nation to US to

Check again all the table that you have change before you do to the next step.

TCompanyIP <= This must be match with your IP if you don't use a localhost / 127.0.0.1, so you can enter the game and wont be error disconect.

TDownFlag <= This is for the language of the game and the rohanclient.exe version that you have use.

TServer <= This is also must be match with your IP if you don't use a localhost / 127.0.0.1, so you can enter the game and wont be error disconect.

TServerGroup <= This is also for the language of the game and the rohanclient.exe version that you have use.





How To Add PTP Stats in your Account Pannel

To Add PTP Stats in your Account Pannel you must edit profile.php
Go to yourdomain.com/htdocs/members and find profile.php => click edit
Find div id=\"profileStats\" class=\"dropBoxCont\" and Insert at line 401




Will look like :


Register your Rohan Registry

This Step is one of the most important so your DBServer.exe, Logserver.exe, MapID.exe and AIServer.exe will run.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet]
"Nation"="US"
"ServerDir"="C:\\RoHan\\RoHan"
"LogDir"="C:\\RoHan\\RoHan\\Log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\AI]
"ConnMap"="1-0|1-1|1-2|1-3|1-4|5-0|5-1|5-3|5-4|5-5|3-0|3-1"
"DBServer"="127.0.0.1:22100"
"LogServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"ServerClass"="FAIRY.ROHAN_4.AI.ROHAN_4_1"
"ServerClassMap"="FAIRY.ROHAN_4.MAP_AI.ROHAN_4"
"ThreadSleep"=dword:0000005f
"Module"="C:\\RoHan\\RoHan\\Fairy\\AIServer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\DB]
"ServerClass"="FAIRY.ROHAN_4.DB.ROHAN_4"
"Module"="C:\\RoHan\\RoHan\\Fairy\\DBServer\\DBServerT.exe"
"LoginDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=RohanUser"
"GameDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=RohanGame"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\Interrupt]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\LOG]
"DBServer"="127.0.0.1:22100"
"ServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"Module"="C:\\RoHan\\RoHan\\Fairy\\LogServer\\LogServer.exe"
"LogDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=rohanstat"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\LogCopy]
"LogFTP_IP"="127.0.0.1"
"LogFTP_ID"="rohan-dev"
"LogFTP_PW"="dlsehvotm!@#$"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\MAP]
"Title"="Map TH"
"LogServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"ServerClassAI"="FAIRY.ROHAN_4.MAP_AI.ROHAN_4"
"ServerClass"="FAIRY.ROHAN_4.MAP.ROHAN_4"
"DBServer"="127.0.0.1:22100"
"Module"="C:\\RoHan\\RoHan\\Fairy\\MapID\\MapID.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\Monitor]
"CodeDB"="DRIVER={SQL Server};SERVER=localhost\SQLEXPRESS;UID=sa;PWD=ab123456;DATABASE=RohanCode;"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom]
"ConfigPath"="D:\\Fairy\\RelayCom\\RelayCom.config"
"LogPath"="d:\\Log\\RelayCom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom\Consign]
"config"="D:\\Fairy\\RelayCom\\Consign.config"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom\Login]
"ip"="127.0.0.1"
"port"=dword:000071ac
"poolsize"=dword:0000001e

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RohanCom]
"ConfigPath"="C:\\sslcer\\Fairy\\RohanCom\\RohanCom.config"
"LogPath"="C:\\sslcer\\Fairy\\Log\\RohanCom"
"LanguageID"="KRKSC"

If you have not use localhost / 127.0.0.1, you must change all the IP into your IP