ArrowOutdated19.1 Proxy Server Mod

Posts 1630 of 34 · Page 2 of 3
//Approved
Would someone mind posting the
.xml and .txt in code brackets?

I'm on mobile
Quote Originally Posted by maat7043 View Post
Would someone mind posting the
.xml and .txt in code brackets?

I'm on mobile
Sure thing.
Add:
Code:
getlocal2
getlocal0
callproperty        QName(PackageNamespace(""), "LocalhostServer"), 0
callpropvoid        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "push"), 1
Func:
Code:
; _-names
#set fullfunctionname "_-tv:_-px/LocalhostServer"	; refid for the trait
#set serverNS "_-18X"								; namespace for the Server class
#set portProperty "_-181"							; property name for port in Parameters
 
; code
  trait method QName(PackageNamespace(""), "LocalhostServer")
   method
    refid $"fullfunctionname"
    returns QName(PackageNamespace($"serverNS"), "Server")
    body
     maxstack 6
     localcount 2
     initscopedepth 4
     maxscopedepth 5
     code
      getlocal0
      pushscope

      findpropstrict      QName(PackageNamespace($"serverNS"), "Server")
      constructprop       QName(PackageNamespace($"serverNS"), "Server"), 0
      pushstring		  "Proxy Server"
      callproperty        QName(PackageNamespace("", "#0"), "setName"), 1
      pushstring		  "127.0.0.1"
      callproperty        QName(PackageNamespace("", "#0"), "setAddress"), 1
      getlex              QName(PackageNamespace("com.company.assembleegameclient.parameters"), "Parameters")
      getproperty         QName(PackageNamespace("", "#0"), $"portProperty")
      callproperty        QName(PackageNamespace("", "#0"), "setPort"), 1
      findpropstrict      QName(PackageNamespace("", "#0"), "Number")
      pushint			  50000
      callproperty        QName(PackageNamespace("", "#0"), "Number"), 1
      findpropstrict      QName(PackageNamespace("", "#0"), "Number")
      pushint			  50000
      callproperty        QName(PackageNamespace("", "#0"), "Number"), 1
      callproperty        QName(PackageNamespace("", "#0"), "setLatLong"), 2
      pushint			  0
      callproperty        QName(PackageNamespace("", "#0"), "setUsage"), 1
      pushfalse
      callproperty        QName(PackageNamespace("", "#0"), "setIsAdminOnly"), 1
      returnvalue
     end ; code
    end ; body
   end ; method
  end ; trait
XML:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<rotmg>
	<mod id="Proxy/Localhost Server">
		<code file2mod="_-tv/_-px.class.asasm"
			  line="283">
			19.1.0_proxyServer_func.txt
		</code>
		<code file2mod="_-tv/_-px.class.asasm"
			  line="212">
			19.1.0_proxyServer_add.txt
		</code>
	</mod>
</rotmg>
Quote Originally Posted by Lovroman View Post


Sure thing.
Add:
Code:
getlocal2
getlocal0
callproperty        QName(PackageNamespace(""), "LocalhostServer"), 0
callpropvoid        QName(Namespace("http://adobe.com/AS3/2006/builtin"), "push"), 1
Func:
Code:
; _-names
#set fullfunctionname "_-tv:_-px/LocalhostServer"	; refid for the trait
#set serverNS "_-18X"								; namespace for the Server class
#set portProperty "_-181"							; property name for port in Parameters
 
; code
  trait method QName(PackageNamespace(""), "LocalhostServer")
   method
    refid $"fullfunctionname"
    returns QName(PackageNamespace($"serverNS"), "Server")
    body
     maxstack 6
     localcount 2
     initscopedepth 4
     maxscopedepth 5
     code
      getlocal0
      pushscope

      findpropstrict      QName(PackageNamespace($"serverNS"), "Server")
      constructprop       QName(PackageNamespace($"serverNS"), "Server"), 0
      pushstring		  "Proxy Server"
      callproperty        QName(PackageNamespace("", "#0"), "setName"), 1
      pushstring		  "127.0.0.1"
      callproperty        QName(PackageNamespace("", "#0"), "setAddress"), 1
      getlex              QName(PackageNamespace("com.company.assembleegameclient.parameters"), "Parameters")
      getproperty         QName(PackageNamespace("", "#0"), $"portProperty")
      callproperty        QName(PackageNamespace("", "#0"), "setPort"), 1
      findpropstrict      QName(PackageNamespace("", "#0"), "Number")
      pushint			  50000
      callproperty        QName(PackageNamespace("", "#0"), "Number"), 1
      findpropstrict      QName(PackageNamespace("", "#0"), "Number")
      pushint			  50000
      callproperty        QName(PackageNamespace("", "#0"), "Number"), 1
      callproperty        QName(PackageNamespace("", "#0"), "setLatLong"), 2
      pushint			  0
      callproperty        QName(PackageNamespace("", "#0"), "setUsage"), 1
      pushfalse
      callproperty        QName(PackageNamespace("", "#0"), "setIsAdminOnly"), 1
      returnvalue
     end ; code
    end ; body
   end ; method
  end ; trait
XML:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<rotmg>
	<mod id="Proxy/Localhost Server">
		<code file2mod="_-tv/_-px.class.asasm"
			  line="283">
			19.1.0_proxyServer_func.txt
		</code>
		<code file2mod="_-tv/_-px.class.asasm"
			  line="212">
			19.1.0_proxyServer_add.txt
		</code>
	</mod>
</rotmg>
Thank you sir
So easy, and so lovely . Why i've never thought about it before ?
Quote Originally Posted by JustAnoobROTMG View Post
So easy, and so lovely . Why i've never thought about it before ?
I was honestly surprised to see that no hack like this was made yet. In my opinion it's the best solution to connecting a local proxy.
Quote Originally Posted by Travoos View Post
I was honestly surprised to see that no hack like this was made yet. In my opinion it's the best solution to connecting a local proxy.
Probably because we need to update it on each build
And we already have many things to update when a new build come
Quote Originally Posted by JustAnoobROTMG View Post
Probably because we need to update it on each build
And we already have many things to update when a new build come
Just auto aim and full screen for me :P
All others took about 5 secs

This one will be easy to add to my tool so no one has to update it
Hey, sorry if i sound dumb, but what should this help?
Quote Originally Posted by magnus3112 View Post
Hey, sorry if i sound dumb, but what should this help?
This makes connecting to RealmRelay much simpler and not requiring of the hosts file edit.
.
For some reason I keep getting this:
Socket-Server Security Error: Error #2048 Connection failed! Retrying...
Could ya help me out please?
Quote Originally Posted by Yotsuba View Post
For some reason I keep getting this:
Socket-Server Security Error: Error #2048 Connection failed! Retrying...
Could ya help me out please?
Am I assuming right if I say you have no proxy (ie RR) running?
Quote Originally Posted by Knorrex View Post
Am I assuming right if I say you have no proxy (ie RR) running?
I am running RealmRelay if that is what you are asking, on the cmd prompt it says something like waiting for the client to say "HELLO" but it then it says Error 2048


EDIT: I GOT IT WORKING! THANKS FOR THE HELP
Quote Originally Posted by Yotsuba View Post


I am running RealmRelay if that is what you are asking, on the cmd prompt it says something like waiting for the client to say "HELLO" but it then it says Error 2048


EDIT: I GOT IT WORKING! THANKS FOR THE HELP
How? I'm still getting error #2048.. RR is spamming Connected socket, then waiting for HELLO, then disconnecting.. :/
Quote Originally Posted by Ull3R View Post
How? I'm still getting error #2048.. RR is spamming Connected socket, then waiting for HELLO, then disconnecting.. :/
When you load the .swf right click the screen and go to Global Settings, from there you go to one of the tabs(I forgot) but then you select the .swf as a trusted source I think
Posts 1630 of 34 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?