Patching Issue (launcher)

03/17/2013 13:48 stivenson2005#1
Hello all ^^

i have modified a launcher of the official rappelz, it works but I am having one problem which is whener i execute the launcher it will chec for updates if my client files are not arabic rappelz files it will update from patch.rappelz.gamepower7.com is there a way to make it function and work to open my game without havintg it to patch? I tried to remove the line for patching, well then it won't funcion the Start" game wont go on.


it would help if I can get an answer or get it to at least patch from my site or just disable the patching.


Kind regards,
03/17/2013 14:40 MrStubborn#2
by disable :

remove patch line :

HTML Code:
<!-- UPDATE_SERVER : patch.rappelz.gamepower7.com -->
add this :

HTML Code:
<div id="str-btn" style="position:absolute; overflow:hidden; left:590px; top:430px; width:123px; height:74px; z-index:1"><a href="action://LAUNCH/"><img src="img/btn_start.png"  border=0 width=123 height=74></a></div>

sample way


Or just waiting for Devs ...
03/17/2013 15:01 Xijezu#3
Quote:
Originally Posted by MrStubborn View Post
by disable :

remove patch line :

HTML Code:
<!-- UPDATE_SERVER : patch.rappelz.gamepower7.com -->
add this :

HTML Code:
<div id="str-btn" style="position:absolute; overflow:hidden; left:590px; top:430px; width:123px; height:74px; z-index:1"><a href="action://LAUNCH/"><img src="img/btn_start.png"  border=0 width=123 height=74></a></div>

sample way


Or just waiting for Devs ...
I'm not sure if the Launcher is packed, but if it is, it won't be possible to do this.
You basically have to redirect to a different page, but the URL is hardcoded.

Edit:
By the way, it's quite simple to code such a launcher at your own, I did it 2 times now.
The first time I made the same without having a patchengine, which I released [Only registered and activated users can see links. Click Here To Register...].
Now some days ago I did it again, but included a patch engine.
Visual Studio C++ MFC HTML-Dialog based application.
Navigate to your page, edit the _OnBeforeNavigate2-Event, that's all.
03/17/2013 15:12 stivenson2005#4
MrStubborn, thanks for the respond. I've tried that and still it won't connect to the Update Server. i've tried multiple ways as well, the only way for it to launch is, have the Arabic Sframe + updates which messes up the entire game text.

Thanks for your help again,

I'll be waiting for an advanced Dev to look into it and I'll be still trying to see what I can do.
03/17/2013 15:47 MrStubborn#5
Quote:
Originally Posted by Xijezu View Post
I'm not sure if the Launcher is packed, but if it is, it won't be possible to do this.
You basically have to redirect to a different page, but the URL is hardcoded.

Edit:
By the way, it's quite simple to code such a launcher at your own, I did it 2 times now.
The first time I made the same without having a patchengine, which I released [Only registered and activated users can see links. Click Here To Register...].
Now some days ago I did it again, but included a patch engine.
Visual Studio C++ MFC HTML-Dialog based application.
Navigate to your page, edit the _OnBeforeNavigate2-Event, that's all.
:confused: you dont want to have all this complexity


Quote:
Originally Posted by stivenson2005 View Post
MrStubborn, thanks for the respond. I've tried that and still it won't connect to the Update Server. i've tried multiple ways as well, the only way for it to launch is, have the Arabic Sframe + updates which messes up the entire game text.

Thanks for your help again,

I'll be waiting for an advanced Dev to look into it and I'll be still trying to see what I can do.
you are using html page ? or what ? --{If it Html page .. post it @@"
03/17/2013 16:50 stivenson2005#6
Quote:
Originally Posted by MrStubborn View Post
:confused: you dont want to have all this complexity




you are using html page ? or what ? --{If it Html page .. post it @@"

Yes I am using HTML page.

PHP Code:
<HTML>
<
HEAD>
<
title>Rappelz Launcher---</title
<!-- 
LAUNCH_ARGUMENT :  /auth_ip:XXXXXXX /locale:Windows-1256 /country:US /cash /commercial_shop /help_url_w:620 /help_url_h:633:631 -->
 <!-- 
UPDATE_SERVER patch.rappelz.gamepower7.com
 
<!-- UPDATE_COMPLETE_MESSAGE The update is complete. -->
 <!-- 
ALREADY_UPDATE_MESSAGE :  -->
 <!-- 
MOVE_BOX_RECT 0,0,798,31 -->
 <!-- 
LAUNCHER_UPDATE_MESSAGE Launcher has been updatedPlease run launcher again. -->
 <!-- 
START_BUTTON_DECO : <a href="action://LAUNCH/"><img src="files/start_btn.png" width="190" height="73"></a> -->
 <!-- 
LAUNCH_BUTTON_DECO : <a href="action://LAUNCH/"><img src="files/start_btn.png" width="190" height="73"></a> -->
 <!-- 
LAUNCHER_SIZE 800602 -->


<
meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<
META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<
META HTTP-EQUIV="Expires" CONTENT="-1">

<
style type="text/css">
    .
LAUNCH_BUTTON WIDTH132pxHEIGHT44px }
    .
START_BUTTON WIDTH132pxHEIGHT44px }
    .
PROGRESS_BAR BORDER-RIGHTblack 1px solidBORDER-TOPblack 
1px solid
BORDER-LEFTblack 1px solidWIDTH540pxBORDER-BOTTOM
black 1px solidBACKGROUND-COLORblack height 20}
    .
PROGRESS_BAR_PRIMARY BACKGROUND-COLOR#333333 }
    
.PROGRESS_BAR_SECONDARY BACKGROUND-COLOR#a2a2a2 }
    
.PRIMARY_FONT COLORwhite }
    .
SECONDARY_FONT COLORwhite }
    
#MESSAGE { FONT-SIZE: 9pt; LEFT: 125px; COLOR: #000000; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 370px; z-index:1 }
    #FILENAME { FONT-SIZE: 9pt; LEFT: 115px; COLOR: #00a6a1; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 370px; z-index:1 }
    #UPDATE_STATUS { FONT-SIZE: 9pt; LEFT: 115px; COLOR: #00a6a1; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 400px; z-index:1 }
    #PROGRESS_1 { position:absolute; left:115px; top:367px; width:540px; height:16px; BACKGROUND-COLOR: #a2a2a2}
    #PERCENTAGE_1 { FONT-SIZE: 9pt; COLOR: #00a6a1; LEFT: 658px; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 368px }
    #PROGRESS_2 { position:absolute; left:115px; top:395px; width:540px; height:16px; BACKGROUND-COLOR: #a2a2a2}
    #PERCENTAGE_2 { FONT-SIZE: 9pt; COLOR: #00a6a1; LEFT: 658px; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 398px }
    #LAUNCH_BUTTON { LEFT: 549px; POSITION: absolute; TOP: 188px; z-index:6}
    #START_BUTTON { LEFT: 549px; POSITION: absolute; TOP: 188px; z-index:2  }
    #LAUNCHER_VERSION { FONT-SIZE: 9pt; LEFT: 115px; COLOR: #00a6a1; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 420px; LEFT:140px; HEIGHT:20px; z-index:1 }
    #CLIENT_VERSION { FONT-SIZE: 9pt; LEFT: 115px; COLOR: #00a6a1; FONT-FAMILY: "Arial"; POSITION: absolute; TOP: 420px; LEFT:240px; HEIGHT:20px; z-index:1 }
    
Layer SCROLLBAR-FACE-COLOR#222222; SCROLLBAR-HIGHLIGHT-COLOR: #666666; SCROLLBAR-SHADOW-COLOR: #666666; SCROLLBAR-3DLIGHT-COLOR: #222222; SCROLLBAR-ARROW-COLOR: #666666; SCROLLBAR-TRACK-COLOR: #222222; SCROLLBAR-DARKSHADOW-COLOR: #000000 }
    
TEXTAREA SCROLLBAR-FACE-COLOR#222222; SCROLLBAR-HIGHLIGHT-COLOR: #666666; SCROLLBAR-SHADOW-COLOR: #666666; SCROLLBAR-3DLIGHT-COLOR: #222222; SCROLLBAR-ARROW-COLOR: #666666; SCROLLBAR-TRACK-COLOR: #222222; SCROLLBAR-DARKSHADOW-COLOR: #000000 }
    
DIV SCROLLBAR-FACE-COLOR#222222; SCROLLBAR-HIGHLIGHT-COLOR: #666666; SCROLLBAR-SHADOW-COLOR: #666666; SCROLLBAR-3DLIGHT-COLOR: #222222; SCROLLBAR-ARROW-COLOR: #666666; SCROLLBAR-TRACK-COLOR: #222222; SCROLLBAR-DARKSHADOW-COLOR: #000000 }
    
TD FONT-SIZE8ptCOLOR#cccccc; LINE-HEIGHT: 130%; FONT-FAMILY: "Arial"}
    
A:link FONT-SIZE8ptCOLOR#cccccc; LINE-HEIGHT: 130%; TEXT-DECORATION: none }
    
A:visited FONT-SIZE8ptCOLOR#cccccc; LINE-HEIGHT: 130%; TEXT-DECORATION: none }
    
A:active FONT-SIZE8ptCOLOR#cccccc; LINE-HEIGHT: 130% }
    
A:hover FONT-SIZE8ptCOLOR#999999; LINE-HEIGHT: 130% }
    
.style1 FONT-WEIGHTboldFONT-SIZE8ptCOLOR#ffffff; FONT-FAMILY: "Arial" }
    
.style2 FONT-SIZE9ptCOLOR#00a6a1 }
    #guide {
    
position:absolute;
    
left:9px;
    
top:315px;
    
width:335px;
    
height:36px;
    
z-index:3;
    }
    .
large_link a:link {font-weightboldfont-size12ptcolor#ff0000; }
    
.large_link a:visited {font-weightboldfont-size12ptcolor#ff0000; }
    
.large_link a:hover {font-weightboldfont-size12ptcolor#ffffff; }
    
.large_link a:active {font-weightboldfont-size12ptcolor#ffffff; }
</style>

<
script language="JavaScript">
<!--
function 
MM_reloadPage(init) {  //reloads the window if Nav4 resized
  
if (init==truewith (navigator) {if 
((
appName=="Netscape")&&(parseInt(appVersion)==4)) {
    
document.MM_pgW=innerWidthdocument.MM_pgH=innerHeight
onresize=MM_reloadPage; }}
  else if (
innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH
location.reload();
}
MM_reloadPage(true);
// -->

function MM_findObj(nd) { //v4.01
  
var p,i,x;  if(!dd=document
if((
p=n.indexOf("?"))>0&&parent.frames.length) {
    
d=parent.frames[n.substring(p+1)].documentn=n.substring(0,p);}
  if(!(
x=d[n])&&d.allx=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) 
x=d.forms[i][n];
  for(
i=0;!x&&d.layers&&i<d.layers.length;i++) 
x=MM_findObj(n,d.layers[i].document);
  if(!
&& d.getElementByIdx=d.getElementById(n); return x;
}

function 
MM_showHideLayers() { //v6.0
  
var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (
i=0i<(args.length-2); i+=3) if 
((
obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (
obj.style) { obj=obj.style
v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    
obj.visibility=v; }
}
function 
ViewNotice(no)
{
    
MM_showHideLayers('notice','','show','update','','hide')
    
notice1.location="read.aspx?code=notice&no="+no;
}
function 
ViewUpdate(no)
{
    
MM_showHideLayers('notice','','hide','update','','show')
    
update1.location="read.aspx?code=update&no="+no;
}

//-->
</script>
</HEAD>
<BODY bgColor="#ffffff" leftMargin="0" topMargin="0" 
rightMargin="0" scroll="no" >
<div id="list" style="overflow: auto; BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; Z-INDEX: 4; FILTER: alpha(opacity=90); LEFT: 10px; BORDER-LEFT: #000000 1px; BORDER-BOTTOM: #000000 1px; POSITION: absolute; TOP: 117px; BACKGROUND-COLOR: #000000; layer-background-color: #000000;">

<p><a href="http://www.rappelz-zesua.com" target="_blank"><img style="display: block; margin-left: auto; margin-right: auto;" src="http://rappelz.gpotato.com/images/m/sales/Launcherbanner_0504.png" alt="" width="340" height="211" /></a></p>
    
    </div>
        <div id="guide"><center><!-- <a 
href="http://rappelz.gpotato.com/gameguide/begin_guide_interface.php" 
title="Beginner's Guide" target="_blank"><img 
src="images/launch_img/beginguide_btn.gif" width="130" height="36" 
border="0"></a> --></center></div>
        
        <table cellSpacing="1" cellPadding="0" width="700" bgColor="#000000" border="0">

            <tr>
                <td vAlign="top" bgColor="#000000">
                    <table cellSpacing="0" cellPadding="0" width="698" border="0">
                        <tr>
                            <td><IMG height="15" src="images/launch_img/windowbar.gif" width="652"></td>
                            <td align="right" width="46"><A href="action://DESTROY/"><IMG height="15" src="images/launch_img/icon_close.gif" width="46" border="0"></A></td>
                        </tr>
                    </table>
                    <table cellSpacing="0" cellPadding="0" width="698" border="0">

                        <tr>
                            <td>
                                <table height="342" cellSpacing="0" cellPadding="0" width="698" border="0">
                                    
                                    <tr>

                                        
<td><IMG height="342" src="http://rappelz-launcher.gpotato.com/images/launch_img/launchers//rappz_launcher4.jpg" width="698"></td>
                                    
</tr>
                                </table>
                            </td>
                        </tr>

                    </table>
                    <br>
                    <table cellSpacing="0" cellPadding="1" width="675" align="center" border="0">
                        <tr>
                            <td width="100"><span class="style2"><b>Downloading </b></span></td>
                            <td align="center" width="540">
                                <table cellSpacing="0" cellPadding="0" width="540" bgColor="#666666" border="0">
                                    
<tr>

                                        
<td align="center" width="50%" bgColor="#a2a2a2">
                                            
<!--�ε���1 - ���Ϻ� �ε���Ȳ (bg color #a2a2a2 // bar color 
#333333)--></td>
                                    
</tr>
                                </table>
                            </td>
                            <td align="right" class="style2"></td>
                        </tr>
                    </table>
                    <br>

                    <table cellSpacing="0" cellPadding="1" width="675" align="center" border="0">
                        <tr>
                            <td width="100"><span class="style2"><b>Complete </b></span></td>
                            <td align="center" width="540">
                                <table cellSpacing="0" cellPadding="0" width="540" bgColor="#666666" border="0">
                                    
<tr>
                                        
<td align="center" width="50%" bgColor="#a2a2a2">
                                            
<!--�ε���1 - ���Ϻ� �ε���Ȳ (bg color #a2a2a2 // bar color 
#333333)--></td>

                                    
</tr>
                                </table>
                            </td>
                            <td align="right"  class="style2"></td>
                        </tr>
                    </table>
                    <table cellSpacing="3" cellPadding="5" width="690" align="center" border="0">
                        <tr>
                            <td>
                            <a href="http://www.rappelz-zesua.com/register" target="_blank" title="Register"><img height="20" src="images/launch_img/register_btn.gif" width="62" border="0"></a>
                            <a href="http://www.rappelz-zesua.com" title="Rappelz Homepage" target="_blank"><img height="20" src="images/launch_img/home_btn.gif" width="62" border="0"></a></td>
                            <td align="right"><a href="http://dark-souls.tk/" title="gPotato Homepage" target="_blank"><img src="images/launch_img/gpotato_logo.jpg" border="0"></a>&nbsp;&nbsp;<img src="images/launch_img/galanet_logo.jpg" border="0">&nbsp;&nbsp;<img src="images/launch_img/galalab_logo.jpg" border="0"/></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <div id="notice" align="center" style="BORDER-RIGHT:#000000 1px; BORDER-TOP:#000000 1px; Z-INDEX:8; FILTER:alpha(opacity=90); LEFT:10px; VISIBILITY:hidden; BORDER-LEFT:#000000 1px; WIDTH:680px; BORDER-BOTTOM:#000000 1px; POSITION:absolute; TOP:34px; HEIGHT:300px; BACKGROUND-COLOR:#ffffff; layer-background-color:#000000">
            <div align="right"><a href="javascript:;" onClick="MM_showHideLayers('notice','','hide','update','','hide')"><img src="images/launch_img/close.gif" width="12" height="12" border="0"></a><br>

            </div>
            <iframe name="notice1" width="660" height="280" frameborder="0" scrolling="auto"></iframe>
    </div>
        <div id="update" align="center" style="BORDER-RIGHT:#000000 1px; BORDER-TOP:#000000 1px; Z-INDEX:7; FILTER:alpha(opacity=90); LEFT:10px; VISIBILITY:hidden; BORDER-LEFT:#000000 1px; WIDTH:680px; BORDER-BOTTOM:#000000 1px; POSITION:absolute; TOP:34px; HEIGHT:300px; BACKGROUND-COLOR:#ffffff; layer-background-color:#FFFFFF">
            <div align="right">
                <a href="javascript:;" onClick="MM_showHideLayers('notice','','hide','update','','hide')"><img src="images/launch_img/close.gif" width="12" height="12" border="0"></a>
            </div>

            <iframe name="update1" width="660" height="280" frameborder="0" scrolling="auto"></iframe>
            <br>
    </div>
        <div id="button" style="position:absolute; left:549px; top:188px; width:132px; height:44px; z-index:2"><img src="images/launch_img/startbutton_off.gif" width="121" height="160" border="0"></div>
        <span ID="START_BUTTON"></span><span ID="MESSAGE"></span><span ID="FILENAME"></span>
        <span ID="PROGRESS_1"></span><span ID="PROGRESS_2"></span><span ID="PERCENTAGE_1"></span>
        <span ID="PERCENTAGE_2"></span><span ID="LAUNCH_BUTTON"></span>
        <span ID="LAUNCHER_VERSION"></span><span ID="CLIENT_VERSION"></span>
    </BODY>

</HTML> 
03/17/2013 17:34 MrStubborn#7
Quote:
Originally Posted by stivenson2005 View Post
Yes I am using HTML page.




as m see


there is easy way to make it work (by disable update





try this :

[Only registered and activated users can see links. Click Here To Register...]
03/17/2013 19:36 stivenson2005#8
Quote:
Originally Posted by MrStubborn View Post
as m see


there is easy way to make it work (by disable update





try this :

[Only registered and activated users can see links. Click Here To Register...]


Thank you very much MrStubborn. This worked like a charm really thanks!


now I just need to find an English launcher from retail that I can modify into, so I get rid of the scruples text in the game NPCs and login buttons etc. :)


Again thank you very much MrStubborn :)
03/17/2013 20:03 MrStubborn#9
Quote:
Originally Posted by stivenson2005 View Post
Thank you very much MrStubborn. This worked like a charm really thanks!


now I just need to find an English launcher from retail that I can modify into, so I get rid of the scruples text in the game NPCs and login buttons etc. :)


Again thank you very much MrStubborn :)


NP
03/17/2013 20:43 stivenson2005#10
I hated it too lol, just thought it was funny, however removed :)