Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #12

Closed
Hachiman2810 opened this issue Jun 23, 2018 · 3 comments
Closed

Error #12

Hachiman2810 opened this issue Jun 23, 2018 · 3 comments

Comments

@Hachiman2810
Copy link

When you start the proxy for the first time and enter the game, the module starts normally, in some case you return to the server list and select the same or other server the module shows an error, this also happens when you close the game and open it again (without closing/restart proxy).

proxy2

@DU1R
Copy link

DU1R commented Jun 25, 2018

Can confirm the same thing happens to me with this module when server disconnects. All other installed modules load fine. Have to close TERA and TeraProxy and relaunch both to restore.

[23:49:41 GMT-0700] ERROR tera-proxy-game: [dispatch] load: error initializing module "cosplayer"
error: Module did not self-register.
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:731:18)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at bindings (C:\TrustedSpace\CaaliTeraProxy\bin\node_modules\cosplayer\node_modules\bindings\bindings.js:81:44)
    at Object.<anonymous> (C:\TrustedSpace\CaaliTeraProxy\bin\node_modules\cosplayer\node_modules\win-mouse\index.js:3:13)

EDIT:
Just noticed this on the main page: 😄

Working on NA patch 6905.
All regions should work if the opcodes are mapped but I personally only test modules on NA with Caali's Tera-Proxy.
Due to a compatibility problem with the module caching feature of latest Tera-Proxy software, you will have to restart your proxy if you disconnect from the game.

@TeraProxy
Copy link
Owner

TeraProxy commented Jun 27, 2018

Yeah, that's a known problem with the module caching feature of the current tera-proxy. You'll have to restart the proxy when you disconnect or disable module caching. I still didn't manage to get behind this but assume it's related to using a c++ dependency.

@TeraProxy
Copy link
Owner

I finally fixed this issue. If anyone with a similar problem might need it, this is what's actually happening: nodejs/node#6160

Solution is to make native c++ addons not unload by declaring them globally. I'll push the update soon.

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

No branches or pull requests

3 participants