ASE conversion request

Having an issue with Ashita? Need some help setting things up? Ask for support here.
Post Reply
MilatantRav
Posts: 43
Joined: Fri Dec 09, 2016 8:56 pm

ASE conversion request

Post by MilatantRav » Fri Sep 29, 2017 5:12 pm

I'm looking to have all seeing eye converted over to Ashita, if anyone that knows coding here is the code.

Code: Select all

packets = require('packets')

_addon.name = 'AllSeeingEye'
_addon.version = '1.0'
_addon.author = 'Project Tako'


windower.register_event('incoming chunk',function(id,data,modified,injected,blocked)
	if (id == 14) then
		--packet = packets.parse('incoming', data)	
		local _packet = data:sub(1, 32)
		
		status = data:byte(0x21)
		if (status == 2 or status == 6 or status == 7) then
			_packet = _packet..'0'
			_packet = _packet..data:sub(34, 34)
			_packet = _packet..'0'
			_packet = _packet..data:sub(36, 41)
			_packet = _packet..'0'
			_packet = _packet..data:sub(43)
		else
			_packet = data
		end
		
		return _packet
	end
	
end)

User avatar
atom0s
Site Admin
Posts: 281
Joined: Sat May 14, 2016 5:13 pm

Re: ASE conversion request

Post by atom0s » Fri Sep 29, 2017 5:58 pm

Peekaboo does this.
Lead Ashita Developer

MilatantRav
Posts: 43
Joined: Fri Dec 09, 2016 8:56 pm

Re: ASE conversion request

Post by MilatantRav » Sat Sep 30, 2017 5:53 am

Thanks I didnt know that was what peekaboo did.

Post Reply