- Joined
- Jul 29, 2010
- Messages
- 8
- Reaction score
- 0
I redid all the steps and continue with the same problem, I wonder if the sql door of change to 61433 interfere in something in the emulator.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
rferr_log04/15/15 11:25:05: Create Log File
04/15/15 11:25:05: Config data URL :You must be registered to see links
04/15/15 11:25:05: Success download file : serverConfig.dat
04/15/15 11:25:05: Config data file name : NULL
04/15/15 11:25:05: [Not Use updatecfg.dat]Config data file URL :You must be registered to see links
04/15/15 11:25:05: Faile download file : serverConfig.dat
What Should I do?[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:20:12 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
[Wed Apr 15 11:25:05 2015] [error] [client 127.0.0.1] File does not exist: C:/AppServ/www/emulator/NULL
because you are not following it correctly -_-"I have just following your tutorial but why iam still getting error?
the logs:
configdata netlogs:
rferr_log
What Should I do?
So where is/are the error then?because you are not following it correctly -_-"
So where is/are the error then?
I simply following the procedure over 10 times but following the same error.is the problem that the client cannot be edited to ip 127.0.0.1??
[Update]
NewVersion=0
UpdateFileNumber=2
UpdateFile1=Update/ServerConfig.dat
UpdateFile2=Download/PatchInfo.z
ServerNumber=1
Server1=http://127.0.0.1/
[LoginServer]
ServerNumber = 1
Server0 = login server IP where LoginServerSD.exe running from (i usually used this config to bypass any annoying autoupdate from PS server)
[PatchServer]
ServerNumber = 1
Server0 = patch ip server where it's contain autoupdate info, i used this as 127.0.0.1 to bypass annoying autoupdate
[Notice]
Server = well, notice IP server, usually the website, i put 127.0.0.1 for me.lol
i've learn how the emulator work before,
but with your tutorial, it should prevent people from opening 127.0.0.1
since 127.0.0.1 web browser using port 80,
and in virtualhost, root dir is redirect to C:/AppServ/www/emulator/
which mean everyone who access 127.0.0.1 will be redirected to C:/AppServ/www/emulator/ instead C:/AppServ/www/
and that root dir is view protected :/:
and people can't open open their webpage, except they change the web port?
CMIIW
and i have one more question,
is it necessary to protect C:/AppServ/www/emulator/ dir?
is it dangerous to let people see what is C:/AppServ/www/emulator/ folder contain from web pages?
sticky granted
you could use gamecp as long as there's index.php in it..
it's just forbid people for viewing your webroot directory and files
So many people got an error for Setup Emulator, bcause...
- Never Understand and never learn how to setup Webserver Config
- Only begging to other members
now, ill explain about emulator for Launcher RF Online
for global setup, we use 3 Port for that
Port 80 for Launcher Update
Port 8080 for update Login Server IP
Port 10007 for update Patchinfo.z for Auto Update
here we Go for Setup Webserver for Emulator.
1. Download Appserv or anything else you know.
( In this case, ill use Appserv 2.5.9 )
You must be registered to see links
2. After Download Install Appserv on your machine.
- Up to you, you want to install in Drive C or D or E or whatever
( here, i install in Drive C )
- untick Mysql Database. no need that..!!!
- ServerName with ip or Localhost ( Be better is localhost )
- port 80
3. After Install
- Open C:AppServApache2.2conf
- Open File httpd.conf with Notepad ( Be better use Notepad++, i use that )
Now we need to setup DocumentRoot, ServerRooot and ServerName
- Find Text ServerName or go to Line 233. and change it with this :
- and Above you will see the DocumentRoot, and leave it. dont edit if you not understandCode:ServerName localhost
- Find Listen 80 or go to line 67. Delete that text ( Listen 80 )
- SAVE IT and DONT CLOSE ( continue for Step 4 )
4. Now We Need to make a vhost or Virtual Host. we need 3 Port for vhost launcher emulator
- Find text again in httpd.conf = Find httpd-vhosts.conf
- Delete the #, and will like this
- SAVE AND CLOSECode:# Virtual hosts Include conf/extra/httpd-vhosts.conf
this is the file config for setup virtualhost
5. Open Folder Extra and open httpd-vhosts.conf with notepad++
- Delete all Text theres
- and now we need to Listening Port and make an Virtualhost Directory
- write like this.
Code:Listen 80 Listen 8080 Listen 10007 NameVirtualHost *:80 NameVirtualHost *:8080 NameVirtualHost *:10007 #################################################################################### <VirtualHost *:80 *:8080 *:10007> ServerAdmin hidden ServerName hidden DocumentRoot "C:/AppServ/www/emulator/" CustomLog logs/rfpatch.log combined ErrorLog logs/rfpatch_err.log <Directory "C:/AppServ/www/emulator/"> Options -Indexes MultiViews FollowSymLinks IncludesNoExec AllowOverride None AddOutputFilter Includes html Order allow,deny Allow from all AddType application/zip .tmp AddType application/zip .cab AddType application/zip .z <Files update.dll> AddType application/x-httpd-php .dll </Files> </Directory> </VirtualHost> ####################################################################################
- SAVE IT AND CLOSE
Setup Webserver for Vhost emulator now DONE. and now, we need to create some directory for put the file for make this launcher work.
you can see the virtualhost directory in extra config. it mean
and now you need to go to folder C:/AppServ/www, and make new folder with the name is "emulator"Code:DocumentRoot "C:/AppServ/www/emulator/"
7. now Go inside Emulator Folder, Create new Document with extention .dll. not .txt
and Rename to update.dll
and open it with notepad++, write this text there.
Code:<pre> <?php ///////////////////////////////////////////////////////////////////////////////////// // // Update.dll For RF Online Emulator // // novanakal@RageZone // ///////////////////////////////////////////////////////////////////////////////////// $PatchInfo_ver = 10; $LPServerInfo_ver = 10; $main_launcher_ver = 10; $main_launcher_file_path = 'Launcher'; $LPServerInfo_file_path = 'Config'; $PatchInfo_path = 'Update'; $use_archive_three = true; $main_launcher_host = '127.0.0.1'; $LPServerInfo_host[0] = '127.0.0.1'; $PatchInfo_host[0] = '127.0.0.1'; function terminate_script() { header('Connection: close'); header('Content-Length: 0'); exit; } if (!isset($_SERVER['HTTP_USER_AGENT'])) { // terminate_script(); } elseif (!$_SERVER['HTTP_USER_AGENT']=='HTTP') { // terminate_script(); } else { // terminate_script(); } if (!isset($_SERVER['QUERY_STRING'])) { // terminate_script(); } $query_ver=$_SERVER['QUERY_STRING']; if (!is_numeric($_SERVER['QUERY_STRING'])) { // terminate_script(); } $user_launcher_ver = intval($_SERVER['QUERY_STRING']); if ($user_launcher_ver < $main_launcher_ver && $user_launcher_ver > 0) { $streamtxt = "[Update]\n"; $streamtxt .= "NewVersion=$main_launcher_ver\n"; $streamtxt .= "UpdateFileNumber=1\n"; if ($use_archive_three) { $streamtxt .= "UpdateFile1=$main_launcher_file_path$main_launcher_ver/newRF.cab\n"; } else { $streamtxt .= "UpdateFile1=$main_launcher_file_path/newRF.cab\n"; } $streamtxt .= "ServerNumber=1\n"; $streamtxt .= "Server1=http://$main_launcher_host/\n"; $streamtxt .= "[Launcher]\n"; $streamtxt .= "LauncherVersion=$main_launcher_ver"; echo $streamtxt; exit; } elseif ($user_launcher_ver >= $main_launcher_ver) { $streamtxt = "[Update]\n"; $streamtxt .= "UpdateFileNumber=0"; echo $streamtxt; exit; } elseif ($user_launcher_ver == 0) { if ($_SERVER['SERVER_PORT']==8080) { $streamtxt = "[Update]\n"; $streamtxt .= "NewVersion=$LPServerInfo_ver\n"; $streamtxt .= "UpdateFileNumber=1\n"; if ($use_archive_three) { $streamtxt .= "UpdateFile1=$LPServerInfo_file_path$LPServerInfo_ver/LPServerInfo.dat\n"; } else { $streamtxt .= "UpdateFile1=$LPServerInfo_file_path/LPServerInfo.dat\n"; } $streamtxt .= "ServerNumber=".sizeof($LPServerInfo_host); for ($i=0; $i<sizeof($LPServerInfo_host); $i++) { $streamtxt .= "\nServer".($i+1)."=http://".$LPServerInfo_host[$i]."/"; } echo $streamtxt; exit; } elseif ($_SERVER['SERVER_PORT']==10007) { $streamtxt = "[Update]\n"; $streamtxt .= "NewVersion=$PatchInfo_ver\n"; $streamtxt .= "UpdateFileNumber=1\n"; if ($use_archive_three) { $streamtxt .= "UpdateFile1=$PatchInfo_path$PatchInfo_ver/PatchInfo.z\n"; } else { $streamtxt .= "UpdateFile1=$PatchInfo_path/PatchInfo.z\n"; } $streamtxt .= "ServerNumber=".sizeof($PatchInfo_host); for ($i=0; $i<sizeof($LPServerInfo_host); $i++) { $streamtxt .= "\nServer".($i+1)."=http://".$PatchInfo_host[$i]."/"; } echo $streamtxt; exit; } else { terminate_script(); } } ?> </pre>
- SAVE But dont CLOSE...!!!!
and now, i want to explain about this file ( update.dll )
see here
Code:$PatchInfo_ver = 10; $LPServerInfo_ver = 10; $main_launcher_ver = 10; $main_launcher_file_path = 'Launcher'; $LPServerInfo_file_path = 'Config'; $PatchInfo_path = 'Update'; $use_archive_three = true; $main_launcher_host = '127.0.0.1'; $LPServerInfo_host[0] = '127.0.0.1'; $PatchInfo_host[0] = '127.0.0.1';
it mean
$main_launcher_file_path = 'Launcher'; <-- Need to create new Folder with Name "Launcher"
$LPServerInfo_file_path = 'Config'; <-- Need to create new Folder with Name "Config"
$PatchInfo_path = 'Update'; <-- Need to create new Folder with Name "Update"
and this
$main_launcher_ver = 10; <-- Need to rename "Launcher" Folder with Name "Launcher10"
$LPServerInfo_ver = 10; <-- Need to rename "Config" Folder with Name "Config10"
$PatchInfo_ver = 10; <-- Need to rename "Update" Folder with Name "Update10"
for 127.0.0.1 Replace with your IP, ( local or Public )
now we have done for this one. Next Step
8. Make Sure your have 3 Folder in "C:/AppServ/www/emulator/"
a. Config10
b. Update10
c. Launcher10
and then, First
- Open Folder Config10
- Make New File with Name "LPServerInfo.dat" ( use .dat extention )
- Open LPServerInfo.dat with notepad++, and write like this
replace 127.0.0.1 with your IP
Code:[LoginServer] ServerNumber = 1 Server0 = 127.0.0.1 [PatchServer] ServerNumber = 1 Server0 = 127.0.0.1 [Notice] Server = 127.0.0.1
- SAVE and CLOSE
- Open Folder Update10
- Download This Text
Download Here
- Zip text file with Password ( Remember, ZIP not Rar or 7Zip )
- Rename the Extention with .z not .zip or .rar or .7zCode:dhelsaktmxj
- now Open Folder Launcher10
Download This Launcher from Here, and Use this STRS for edit the Launcher IP
[Guide] Make 2 Different Server in 1 Machine (2232 Version) - RaGEZONE - MMO development community
If you have done with the launcher. Make a Copy Launcher with name RF with .lc Extention. Put RF.lc in Launcher10 Folder
9. now is Last Step.
- Make new File with .bat Extention
Example Run.bat, and Open with Notepad++ with this text
- SAVE it and CloseCode:makecab.exe RF.lc newRF.cab
- Make Sure your folder Launcher10 with 2 files there
a. RF.lc
b. Run.bat
Double Click "Run.bat". and will shown the CMD window,.
and will automatic creating new File with name newRF.cab
and now RUN your appserv with Apache Monitor.exe from Start Menu -> AppServ -> Control Server By Services.
see the right bottom appserv is appeared. Right Click And Start.
Now, Run Your Launcher from your Client installer...
This for Video TUtorial
TUTORIAL is DONE
I think mod need to sticky this post.
Greeting - novanakal -
wait for it xDi just rented a dedicated server, i use this tut for emulator ,
i can open it in my dedicated server
but when i try to open the launcher at my home pc , it just waiting for server response .. why is it ?