Trying to make a direct link from site to gameserver

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Trying to make a direct link from site to gameserver
Op-X
CZ Newbie
Op-X has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Sep 05, 2004
0.00 posts per day
Posts: 7
Points: 1,134
   
Ok, Im trying to make a gameserver button to instantly join my Call Of Duty game server from website's homepage. I have 4 servers so I am trying to make 1 block with 4 "join" buttons. Meaning if I click on a button, it will start up my game.exe and connect me directly to my server's ip.

I found this html code googling but not sure how to make it work with phpnuke(i have 7.5) and make a block out of it?

any help would be gr8:)



Attached Files
html-code-for-server.rar (88 Bytes, Downloaded: 5239 Time(s))


Back to top Reply with quote
#2   re: Trying to make a direct link from site to gameserver
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
Empty file please attach again.



Back to top Reply with quote
#3   re: Trying to make a direct link from site to gameserver
Op-X
CZ Newbie
Op-X has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Sep 05, 2004
0.00 posts per day
Posts: 7
Points: 1,134
   
sorry about that, i attached it again



Attached Files
server html code.rar (1.91 KB, Downloaded: 5240 Time(s))


Back to top Reply with quote
#4   re: Trying to make a direct link from site to gameserver
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
Ok here ya go one center block all you need to do is edit join-server.html to put in the correct ip's of your servers and upload both files into your blocks directory,add it through your blocks admin and activate.. I'm not sure what games you wanted but i'm sure you could alter it to your needs, the games i did put on are cod,cod:uo,moh:aa,moh:bt. You may want to check the regkey values and executable names for the moh games as i do not have those games so guessed icon_wink.gif

P.S. works fine in internet explorer but mozilla ie:firefox will need an active X plugin



Back to top Reply with quote
#5   re: Trying to make a direct link from site to gameserver
Op-X
CZ Newbie
Op-X has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Sep 05, 2004
0.00 posts per day
Posts: 7
Points: 1,134
   
when i click on either cod button, it fires up CoD not CoD:UO? any idea



Back to top Reply with quote
#6   re: Trying to make a direct link from site to gameserver
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
yes i know why trying to upload new zip but getting errors here is the html to replace in join-server.html
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="84%"><div align="center"><font color="#FFCC66">Call of Duty Public Server:</font>&nbsp;<font color="#ff0000">64.154.39.241:28960</font></div></td>
    <td width="16%"><form>
        <div align="center">
          <input type="button" name="codLaunch" onClick="cod" value="Join Public Server">
        </div>
      </form></td>
  </tr>
  <tr>
    <td><div align="center"><font color="#FFCC66">Call of Duty:UO Public Server:</font>&nbsp;<font color="#ff0000">64.154.39.241:28960</font></div></td>
    <td><form>
        <div align="center">
          <input type="button" name="coduoLaunch" onClick="coduo" value="Join Public Server">
        </div>
      </form></td>
  </tr>
  <tr>
    <td><div align="center"><font color="#FFCC66">Medal of Honour Public Server:</font>&nbsp;<font color="#ff0000">64.154.39.241:28960</font></div></td>
    <td><form>
        <div align="center">
          <input type="button" name="mohaaLaunch" onClick="mohaa" value="Join Public Server">
        </div>
      </form></td>
  </tr>
  <tr>
    <td><div align="center"><font color="#FFCC66">Moh Breakthrough Public Server:</font>&nbsp;<font color="#ff0000">64.154.39.241:28960</font></div></td>
    <td><form>
        <div align="center">
          <input type="button" name="mohbtLaunch" onClick="mohbt" value="Join Public Server">
        </div>
      </form></td>
  </tr>
  <tr>
    <td><div align="center"></div></td>
    <td><div align="center"></div></td>
  </tr>
  <tr>
    <td colspan="2"><div align="left">&nbsp;&nbsp;&nbsp;If clicking the Join Public
        Server button doesn't work, follow these steps:
        <OL>
          <LI>Select "Tools" --> "Internet Options"
          <LI>Click on the "Security Tab"
          <LI>Click on the "Custom Level" button
          <LI>Under "ActiveX controls and plug-ins", find the section "Initialize
            and script ActiveX controls not marked as safe"
          <LI>Select the option "Prompt"
          <LI>Click on the "OK" button to confirm the security change
          <LI>Click on the "OK" button to close the "Internet Options" form
          <LI>Click on the Join Public Server button again and click OK to the
            message prompt; you will then auto-connected to the server.
        </OL>
      </div>
      <div align="left"></div></td>
  </tr>
</table>
</body>



Back to top Reply with quote
#7   re: Trying to make a direct link from site to gameserver
Op-X
CZ Newbie
Op-X has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Sep 05, 2004
0.00 posts per day
Posts: 7
Points: 1,134
   
yep that fixed it:)
as far as mohaa, I checked the registry, there's no InstallPath, unlike COD. So Im still fiddlin with it to get it to work, if you have an idea, just lemme know.
But thank you very much for the block tho, my CoD servers links run gr8:)



Back to top Reply with quote
#8   re: Trying to make a direct link from site to gameserver
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
I'm havin a friend send me his mohaa reg keys so i will have a look to see what can be done, he does not have breaktrhough icon_sad.gif . Other than that you could put in the default install path instead of the reg key value so at least people who installed to the default directory can join.

I'm pretty sure there will be some regkey that points to the correct directory it's prob named different thats all. Ok well the regkeys turned up empty icon_question.gif so i converted it to the default path for mohaa andd breakthrough,plus fixed another type in the mohaa script icon_redface.gif .And attach worked icon_mrgreen.gif so here are the corrected files.

UPDATE: i found the regkey's needed for moh and breakthrough here are the values and zip
HKEY_LOCAL_MACHINE\Software\EA Games\Medal of Honor Allied Assault Breakthrough\2.0\path
HKEY_CURRENT_USER\Software\2015\MOHAA\basepath



Attached Files
join-server.zip (2.33 KB, Downloaded: 5238 Time(s))


Back to top Reply with quote
#9   re: Trying to make a direct link from site to gameserver
fragtestdummy
CZ Newbie
fragtestdummy has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jun 17, 2005
0.00 posts per day
Posts: 7
Points: 392
   
I tried using this join server code and after some messing around i somewhat got it to work. I'm trying to use so people can join our mohaa server from the website. i got the mohaa part working...well kinda...when i click on the join button it gives a launch mfc application has encountered a problem and then writes 3 files on my desktop a command.ln,sm.0001,sm.002 the error seems to be with configure.exe in the mohaa folder. any suggestions?



Back to top Reply with quote
#10   re: Trying to make a direct link from site to gameserver
fragtestdummy
CZ Newbie
fragtestdummy has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jun 17, 2005
0.00 posts per day
Posts: 7
Points: 392
   
Also forgot to add the breaktrough part doesn't work at all! it gife an error that says sysyem cannot find specified file. also has the same mfc lauch error because of moh_Breakthrough_Configure.exe



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum