I have a serious problem here ... I'm adapting a database with a AuthServer ... I was able to connect to the database, managed to do password authentication ... but at the time of sending the information to the client ... I get this error:
Does anyone have any suggestion or solution to my problem?
#Edit
I'd assume you have set your entry point to "DLL" in your PInvoke like [DllImport(EntryPoint = "DLL")] (example) But the entry point should actually be "memset" because that's the entry you want.
Otherwise remove your entry point and just rely on the method name.
#Edit
I'd assume you have set your entry point to "DLL" in your PInvoke like [DllImport(EntryPoint = "DLL")] (example) But the entry point should actually be "memset" because that's the entry you want.
Otherwise remove your entry point and just rely on the method name.
That's my Pinvoke:
Code:
[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void* memset(void* dst, int val, int count);
I remember some members were using a .NET DLL called msvcrt, maybe you're pointing it to that, instead of the native msvcrt.
Try this:
Code:
[DllImport("c:\\windows\\system32\\msvcrt.dll", CallingConvention = CallingConvention.Cdecl)]
private static extern void* memset(void* dst, int val, int count);
no they shouldn't be referencing the direct path to msvcrt.dll but rather instead renaming the .NET dll as it is what the conflict is, poor naming conflicts; why name your dll the same as a standardized dll on windows, lolol some people..
no they shouldn't be referencing the direct path to msvcrt.dll but rather instead renaming the .NET dll as it is what the conflict is, poor naming conflicts; why name your dll the same as a standardized dll on windows, lolol some people..
Well ^^
My problem has been solved... That topic can be close now... The error has been corrected with your solution... Now to connect to the server, need only send the login data to the game server ...
Gamefile 2089M auth server problem 01/16/2012 - Metin2 Private Server - 3 Replies Hi EPVP community.
In my Metin2 PServer, which had around the 700 players (with 2006er files) and it now has around 500 players (with 2010er files) online, sometimes the login becames too slow. The server doesn't have any lag and the machine supports up to 2500 players without lag (according to my estimatives).
The SFiles are 2006er converted to 2010er files, with gamefile 2089M modded by me. The files are almost in portuguese and it was created from rain serverfiles. The system is modded...
Problem mit Auth Server 09/17/2011 - Metin2 Private Server - 7 Replies Hellooo.
Brauche mal wieder ein wenig hilfe.
Seit vorhin startet mein Server aber man kann sich nicht einloggen.
Ich starte ihn normal. Und dann nach etwa 5-10 Minuten kommt Connection refused in FreeBSD. Keine Corefehler oder Ähnliches davor.
Syslog vom Auth:
autoauth starting auth Fri Sep 16 17:22:42 UTC 2011
[PROBLEM]Auth Server 07/07/2010 - Metin2 Private Server - 10 Replies Hallo liebe E*PvPers,
Ich habe ein kleines aber schwerliegendes Problem, unzwar geht es mal wieder um den Login Server .
Wir haben bisher alle , , hilfen probiert, aber unser Login Server geht immer Offline und startet dannach nicht wieder.
Würde mich über hilfreiche Tipps freuen.
Lg KroNe_x3