|
You last visited: Today at 11:31
Advertisement
Problem on Auth Server msvcrt.dll
Discussion on Problem on Auth Server msvcrt.dll within the CO2 Private Server forum part of the Conquer Online 2 category.
09/07/2012, 03:48
|
#1
|
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
|
Problem on Auth Server msvcrt.dll
Hello guys
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?
|
|
|
09/07/2012, 07:27
|
#2
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Post your PInvoke code.
#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.
|
|
|
09/07/2012, 11:59
|
#3
|
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
|
this link maybe helpful
|
|
|
09/07/2012, 19:11
|
#4
|
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
|
Quote:
Originally Posted by I don't have a username
Post your PInvoke code.
#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);
maybe that is the problem?
|
|
|
09/07/2012, 20:06
|
#5
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
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);
|
|
|
09/08/2012, 09:05
|
#6
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
Quote:
Originally Posted by I don't have a username
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..
|
|
|
09/08/2012, 09:53
|
#7
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by InfamousNoone
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..
|
True at that rofl.
|
|
|
09/08/2012, 23:20
|
#8
|
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
|
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 ...
Tnks man
|
|
|
09/08/2012, 23:35
|
#9
|
elite*gold: 150
Join Date: Apr 2010
Posts: 9,739
Received Thanks: 8,981
|
#Closed as requested
|
|
|
 |
Similar Threads
|
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
|
Infinty Auth Server Fix Problem
06/20/2011 - Metin2 Private Server - 5 Replies
#removed
|
[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
|
All times are GMT +1. The time now is 11:32.
|
|