Vb.net To java
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts
Page 1 of 1
Hello i have this code for emebding minecraft so i can embed it to my program via a webbrowser control
Code: Select all
But i need to know how to make it do the same as this code would do
<section class="left">
<h1>Minecraft</h1>
<br/><br/><br/>
<applet code="net.minecraft.Launcher" archive="https://s3.amazonaws.com/MinecraftDownload/launcher/MinecraftLauncher.jar?v=1333544508000" codebase="/game/" width="854" height="480">
<param name="separate_jvm" value="true">
<param name="java_arguments" value="-Xmx1024M -Xms1024M -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false">
<param name="userName" value="richardjmanning">
<param name="latestVersion" value="1333544508000">
<param name="downloadTicket" value="f2b2c96dd587807b502a64f7c6a7854b">
<param name="sessionId" value="6332351091269120883">
</applet>
</section>
Code: Select all
is their anyway of making this code work inside that code so it boots straight to the serverProcess.Start("minecraft.exe", String.Format("{0} {1} {2}", "", "12345", "192.168.0.1"))
Sorry for double post but i need to add does anyone know how to add a handler for the esc key as well i need to to display a message box when pressed and that is even if minecraft is open
Also is their anyway to check if the person is on a server or on single player
Also is their anyway to check if the person is on a server or on single player
does anyone know how to add a handler for the esc keyYou can use GetAsyncKeyState to check whether keys are pressed or released. There is a VB.Net sample here: viewtopic.php?f=32&t=4958&p=37340#p37340
Though I can't say that I'm familiar with this Minecraft game.
mandai wrote: Though I can't say that I'm familiar with this Minecraft game.Minecraft is indie game developed by Swedish company Mojang AB. It is sandbox free roam game where player can destroy and place blocks, make weapons tools and armor and try to survive as long it is possible. Game is written in Java.
Last edited by Filip on Mon Jan 07, 2013 11:51 am, edited 3 times in total.
CodenStuff wrote:Nope, it's just your sick and dirty mind. You sick twisted warped little pervo![]()
Well is their anyway to take this code
the program will be hosted on a dropbox or a website or i can attempt to embed it into the project should that be easier
Code: Select all
nand make a login form before shoing the game so it is changed to the username entred on the account that is loged in <param name="userName" value="richardjmanning">
the program will be hosted on a dropbox or a website or i can attempt to embed it into the project should that be easier
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023