alama / pso2proxy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cyberkitsune/pso2proxy
A protocol proxy for PSO2
License: GNU Affero General Public License v3.0
This project forked from cyberkitsune/pso2proxy
A protocol proxy for PSO2
License: GNU Affero General Public License v3.0
Upon receiving messages in Gchat/GIRC with !gmode set to Team Chat; either the user's PSO2 will crash or they will get blank messagse with single kanji as the username, as pictured here (https://cdn.discordapp.com/attachments/308056060759900162/372677289319596033/172550-25-10-2017.png)
The current temporary solution is to change gchat to system chat via !gmode
as far as i know that if proxy send chat packet (system) before damage packet (and few other types) it will make client disconnect from proxy. i haven't seen this issue on cyberkitsune proxy (but can reproduce with plugin) but i still wondering if it exists and randomly disconnect clients with gchat enabled since send_crypto_packet direct call transport without any concern.
https://github.com/alama/PSO2Proxy/blob/public/proxy/ShipProxy.py#L58-L63
pseudo plugin code to reproduce the issue
@plugins.raw_packet_hook
def on_packet_received(context, packet, packet_type, packet_subtype):
if packet_type == 0x04 and packet_subtype == 0x52:
context.send_crypto_packet(packetFactory.SystemMessagePacket("danger", 0x3).build())) # client disconnect from proxy after receive this packet
!g outgoing messages from within the game show up fine within the irc, but incoming messages from outside the game do not display when in the PvP ship and !gmode is set to team. If !gmode is set to system, incoming messages display fine and outgoing messages still have no problem. incoming !g messages work fine as team or system for challenge mode.
๐
๐๐ฟ
๐ค
๐๐ฟ
http://i.imgur.com/h8c9uv7.jpg unicode causes a global message to appear.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.