HelpHelloPacket.java

Posts 113 of 13 · Page 1 of 1
HelloPacket.java
I tried to update HelloPacket.java by myself, but I failed. I copied the code into the Hellopacket.java file, from jnoob. I got like 7 errors. Could anyone please upload the file so I can check by myself what I did wrong and need to change? (skype: raxcarotmg).
Some help :)
Oh I can help you get past this one.
That looks to me like Eclipse, which is what I use as well.

First, you're going to want to remove the 3 imports with ******s on them.

Then, hover over each of the 3 next places in the code where the errors are, and a menu should show up. Click Import on each.
Save it, then export the RealmRelay project. Make sure to set the main class before you export it. (Just keep clicking next)
Quote Originally Posted by sdfds View Post
Oh I can help you get past this one.
That looks to me like Eclipse, which is what I use as well.

First, you're going to want to remove the 3 imports with ******s on them.

Then, hover over each of the 3 next places in the code where the errors are, and a menu should show up. Click Import on each.
Save it, then export the RealmRelay project. Make sure to set the main class before you export it. (Just keep clicking next)
I dont know what I should put in there for the *****. First 2 maybe .com
Nono. Don't put anything. Just remove them. By doing the "Import" thing later, it will autofix them.
Ok done, got an error after starting rr. CLI TRADEREQUESTED after8 before400
errors like that look like u have the packet ids wrong.
try these, and write protect the packets.xml
then check if ur HelloPacket was updated correctly

 
19 5 1 packets.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Packets>
<Packet id="FAILURE" type="0"/>
<Packet id="CREATE_SUCCESS" type="41"/>
<Packet id="CREATE" type="60"/>
<Packet id="PLAYERSHOOT" type="35"/>
<Packet id="MOVE" type="69"/>
<Packet id="PLAYERTEXT" type="87"/>
<Packet id="TEXT" type="58"/>
<Packet id="SHOOT2" type="10"/>
<Packet id="DAMAGE" type="86"/>
<Packet id="UPDATE" type="28"/>
<Packet id="UPDATEACK" type="16"/>
<Packet id="NOTIFICATION" type="39"/>
<Packet id="NEW_TICK" type="22"/>
<Packet id="INVSWAP" type="37"/>
<Packet id="USEITEM" type="90"/>
<Packet id="SHOW_EFFECT" type="12"/>
<Packet id="HELLO" type="77"/>
<Packet id="GOTO" type="47"/>
<Packet id="INVDROP" type="25"/>
<Packet id="INVRESULT" type="75"/>
<Packet id="RECONNECT" type="56"/>
<Packet id="PING" type="23"/>
<Packet id="PONG" type="18"/>
<Packet id="MAPINFO" type="3"/>
<Packet id="LOAD" type="57"/>
<Packet id="PIC" type="91"/>
<Packet id="SETCONDITION" type="17"/>
<Packet id="TELEPORT" type="67"/>
<Packet id="USEPORTAL" type="33"/>
<Packet id="DEATH" type="8"/>
<Packet id="BUY" type="76"/>
<Packet id="BUYRESULT" type="24"/>
<Packet id="AOE" type="20"/>
<Packet id="GROUNDDAMAGE" type="14"/>
<Packet id="PLAYERHIT" type="50"/>
<Packet id="ENEMYHIT" type="48"/>
<Packet id="AOEACK" type="9"/>
<Packet id="SHOOTACK" type="42"/>
<Packet id="OTHERHIT" type="79"/>
<Packet id="SQUAREHIT" type="21"/>
<Packet id="GOTOACK" type="40"/>
<Packet id="EDITACCOUNTLIST" type="64"/>
<Packet id="ACCOUNTLIST" type="38"/>
<Packet id="QUESTOBJID" type="81"/>
<Packet id="CHOOSENAME" type="11"/>
<Packet id="NAMERESULT" type="13"/>
<Packet id="CREATEGUILD" type="59"/>
<Packet id="CREATEGUILDRESULT" type="55"/>
<Packet id="GUILDREMOVE" type="78"/>
<Packet id="GUILDINVITE" type="34"/>
<Packet id="ALLYSHOOT" type="36"/>
<Packet id="SHOOT" type="15"/>
<Packet id="REQUESTTRADE" type="66"/>
<Packet id="TRADEREQUESTED" type="7"/>
<Packet id="TRADESTART" type="68"/>
<Packet id="CHANGETRADE" type="93"/>
<Packet id="TRADECHANGED" type="4"/>
<Packet id="ACCEPTTRADE" type="80"/>
<Packet id="CANCELTRADE" type="5"/>
<Packet id="TRADEDONE" type="44"/>
<Packet id="TRADEACCEPTED" type="65"/>
<Packet id="CLIENTSTAT" type="31"/>
<Packet id="CHECKCREDITS" type="61"/>
<Packet id="ESCAPE" type="92"/>
<Packet id="FILE" type="85"/>
<Packet id="INVITEDTOGUILD" type="6"/>
<Packet id="JOINGUILD" type="82"/>
<Packet id="CHANGEGUILDRANK" type="51"/>
<Packet id="PLAYSOUND" type="94"/>
<Packet id="GLOBAL_NOTIFICATION" type="19"/>
<Packet id="RESKIN" type="30"/>
</Packets>
Quote Originally Posted by infern000 View Post
errors like that look like u have the packet ids wrong.
try these, and write protect the packets.xml
then check if ur HelloPacket was updated correctly

 
19 5 1 packets.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Packets>
<Packet id="FAILURE" type="0"/>
<Packet id="CREATE_SUCCESS" type="41"/>
<Packet id="CREATE" type="60"/>
<Packet id="PLAYERSHOOT" type="35"/>
<Packet id="MOVE" type="69"/>
<Packet id="PLAYERTEXT" type="87"/>
<Packet id="TEXT" type="58"/>
<Packet id="SHOOT2" type="10"/>
<Packet id="DAMAGE" type="86"/>
<Packet id="UPDATE" type="28"/>
<Packet id="UPDATEACK" type="16"/>
<Packet id="NOTIFICATION" type="39"/>
<Packet id="NEW_TICK" type="22"/>
<Packet id="INVSWAP" type="37"/>
<Packet id="USEITEM" type="90"/>
<Packet id="SHOW_EFFECT" type="12"/>
<Packet id="HELLO" type="77"/>
<Packet id="GOTO" type="47"/>
<Packet id="INVDROP" type="25"/>
<Packet id="INVRESULT" type="75"/>
<Packet id="RECONNECT" type="56"/>
<Packet id="PING" type="23"/>
<Packet id="PONG" type="18"/>
<Packet id="MAPINFO" type="3"/>
<Packet id="LOAD" type="57"/>
<Packet id="PIC" type="91"/>
<Packet id="SETCONDITION" type="17"/>
<Packet id="TELEPORT" type="67"/>
<Packet id="USEPORTAL" type="33"/>
<Packet id="DEATH" type="8"/>
<Packet id="BUY" type="76"/>
<Packet id="BUYRESULT" type="24"/>
<Packet id="AOE" type="20"/>
<Packet id="GROUNDDAMAGE" type="14"/>
<Packet id="PLAYERHIT" type="50"/>
<Packet id="ENEMYHIT" type="48"/>
<Packet id="AOEACK" type="9"/>
<Packet id="SHOOTACK" type="42"/>
<Packet id="OTHERHIT" type="79"/>
<Packet id="SQUAREHIT" type="21"/>
<Packet id="GOTOACK" type="40"/>
<Packet id="EDITACCOUNTLIST" type="64"/>
<Packet id="ACCOUNTLIST" type="38"/>
<Packet id="QUESTOBJID" type="81"/>
<Packet id="CHOOSENAME" type="11"/>
<Packet id="NAMERESULT" type="13"/>
<Packet id="CREATEGUILD" type="59"/>
<Packet id="CREATEGUILDRESULT" type="55"/>
<Packet id="GUILDREMOVE" type="78"/>
<Packet id="GUILDINVITE" type="34"/>
<Packet id="ALLYSHOOT" type="36"/>
<Packet id="SHOOT" type="15"/>
<Packet id="REQUESTTRADE" type="66"/>
<Packet id="TRADEREQUESTED" type="7"/>
<Packet id="TRADESTART" type="68"/>
<Packet id="CHANGETRADE" type="93"/>
<Packet id="TRADECHANGED" type="4"/>
<Packet id="ACCEPTTRADE" type="80"/>
<Packet id="CANCELTRADE" type="5"/>
<Packet id="TRADEDONE" type="44"/>
<Packet id="TRADEACCEPTED" type="65"/>
<Packet id="CLIENTSTAT" type="31"/>
<Packet id="CHECKCREDITS" type="61"/>
<Packet id="ESCAPE" type="92"/>
<Packet id="FILE" type="85"/>
<Packet id="INVITEDTOGUILD" type="6"/>
<Packet id="JOINGUILD" type="82"/>
<Packet id="CHANGEGUILDRANK" type="51"/>
<Packet id="PLAYSOUND" type="94"/>
<Packet id="GLOBAL_NOTIFICATION" type="19"/>
<Packet id="RESKIN" type="30"/>
</Packets>
Copied all the packets into packets.xml -> still not working
Quote Originally Posted by RAXCA View Post
Copied all the packets into packets.xml -> still not working
Realm Relay gets the xml from a website. Upload the updated packets.xml to a website. Change the url to your new one in the GETXmlParse class.
Quote Originally Posted by mSteaker View Post
Realm Relay gets the xml from a website. Upload the updated packets.xml to a website. Change the url to your new one in the GETXmlParse class.

How do I get my own Website?
Well, this is what I get following all the steps:
Code:
09:56:21 sun.org.mozilla.javascript.internal.EvaluatorException: illegally forme
d XML syntax (<Unknown source>#573) in <Unknown source> at line number 573
09:56:21 AutoResponder loaded.
09:56:21 sun.org.mozilla.javascript.internal.EvaluatorException: illegally forme
d XML syntax (<Unknown source>#491) in <Unknown source> at line number 491
You did something wrong when you tried to copy the new URL into the code.
Posts 113 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?