Skip to content

Remove proxy listener and integrate DA-style networking transport#2

Draft
wren11 wants to merge 2 commits intomasterfrom
cursor/da-networking-integration-b7e5
Draft

Remove proxy listener and integrate DA-style networking transport#2
wren11 wants to merge 2 commits intomasterfrom
cursor/da-networking-integration-b7e5

Conversation

@wren11
Copy link
Copy Markdown
Owner

@wren11 wren11 commented Apr 23, 2026

What changed

  • removed the local TCP proxy listener model from WrenLib/Proxy.cs and replaced it with a DA-inspired in-process transport manager
  • preserved the existing NewProxy / ProxySocket event API (OnConnect, OnRecv, OnSend, OnDisconnect, etc.) so WrenBot handlers and scripts keep working without broad refactors
  • implemented DA-style packet send operation in ProxySocket.SendPacketTransformed by reading SEND_THIS and invoking FUNC_SEND via remote shellcode injection
  • moved connection discovery to process polling for Darkages clients instead of local socket accept/listen

DA reference alignment

Integrated concepts from https://github.com/wren11/da/tree/main:

  • fixed game addresses (SEND_THIS, FUNC_SEND) and packet operation invocation pattern (PacketOperation.cpp)
  • process-attached transport mindset (hook/in-process client instead of local proxy server)

Notes

  • no local server bind/listen occurs anymore (proxy server removed)
  • Linux/cloud builds still succeed; Windows-only injection path is guarded to avoid runtime failure on non-Windows hosts

Validation

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits April 23, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants