using System;
using System.Text;
using System.Runtime.InteropServices;
using System.Threading;
using System.Net.Sockets;
using BlowfishCFB;
using ConquerServer_v2.Packet_Structures;
public static byte[] p;
public static byte[] g;
private byte[] pub_key;
private unsafe IntPtr dhinstance;
unsafe static DHExchange()
{
p = new byte[128];
fixed (byte* lpP = p)
MSVCRT.memset(lpP, (byte)'1', 128);
g = new byte[] { 48, 53 };
}
public unsafe DHExchange()
{
dhinstance = CreateInstance();
fixed (byte* lpP = p, lpG = g)
GenerateKey(lpP, lpG, dhinstance);
pub_key = null;
}
public void Dispose()
{
DeleteInstance(dhinstance);
}
public unsafe byte[] GetPubKey()
{
if (pub_key == null)
{
pub_key = new byte[128];
fixed (byte* lpPub_Key = pub_key)
PubKey(lpPub_Key, dhinstance);
}
return pub_key;
}
public unsafe byte[] SetKey(byte[] pubkey)
{
byte[] Out = new byte[64];
fixed (byte* lpPubKey = pubkey, lpOut = Out)
ComputeKey(lpPubKey, lpOut, dhinstance);
return Out;
}
}
public unsafe class BlowfishCrypter
{
private static byte[] blowfishKey = ASCIIEncoding.ASCII.GetBytes("DR654dt34trg4UI6");
private byte[] iv_enc, iv_dec;
private UnmanagedBlowfishCFB bf;
private DHExchange DHEx;
private byte num_dec, num_enc;
public BlowfishCrypter()
{
bf = new UnmanagedBlowfishCFB(blowfishKey);
DHEx = new DHExchange();
num_dec = 0;
num_enc = 0;
iv_dec = new byte[8];
iv_enc = new byte[8];
}
public unsafe void Encrypt(void* In, byte[] Out, int Size)
{
1- i'm begging you to answer not to do it for my,
2-how the hell it's not found ( [DllImport("gamekeyexchange.dll")] ) is the fu***** way to add a native dll
3- if i understood wtf is going on here i won't ask for help so would you please talk to me with a respectful language?
You need the .dll specified to be in the same folder as the .exe that your trying to run, this isnt hard a simple google search could have told you this, basically the application your trying to run is trying to locate the .dll in the same folder as itself and cant find.
It doesnt matter if your using DllImport, if it cant find it then it cant import it, common sense really.
i'm 150% sure that the dll is in the debug folder which contains the application but
PS: the project doesn't have the same name because it's called FuckingStupidSource and the old one is Conquer_Serverv2 can this be the reason?
Well while you might be 150% sure, the application is stating without a shadow of a doubt that its not in the right place, the name of the project has nothing to do with it.
i'm 150% sure that the dll is in the debug folder which contains the application but
PS: the project doesn't have the same name because it's called FuckingStupidSource and the old one is Conquer_Serverv2 can this be the reason?
I don't think you get help for renaming the best public sources that.
You're a very disrespectful person. You use Pro4Never's name with a number after it, unofficially claim to be his student which I'm sure he doesn't support, and use his old source's base - which is much better than most of the released sources here - and rename it "FuckingStupidSource" ...
i smell a ban or a warning, anyway sorry about that, if Pro4Never isn't okay about making my name like him i have no problem with remaking another
I'm not going to get a ban or warning for telling you off. You can't do that to someone's source that they put months of work into. It's just not right. That's why I don't release my bases- I don't want some noob raping it from behind because things aren't coded.
You're a very disrespectful person. You use Pro4Never's name with a number after it, unofficially claim to be his student which I'm sure he doesn't support, and use his old source's base - which is much better than most of the released sources here - and rename it "FuckingStupidSource" ...
That's really bad dude.
Actually it isn't even my source he's using... he's using hybrids source for some reason renamed as hellmouth and then copied the cs files into it cause he couldn't open it in 2008 (it's designed for vs 2010 iirc) So yahhh... just more piling onto him really :P
Actually it isn't even my source he's using... he's using hybrids source for some reason renamed as hellmouth and then copied the cs files into it cause he couldn't open it in 2008 (it's designed for vs 2010 iirc) So yahhh... just more piling onto him really :P
Either way, it's disrespectful to someone. That's kinda worse taking that Hybrid's source was in development for longer than the one you released. It's just not right to name someone else's source "ShitSource" or something similar just because everything isn't coded for you. It's like throwing mud in the person's face that coded it and taking their wallet while they're not looking. They're both excellent bases.
WTB Conquer P Server Source 09/01/2010 - Conquer Online 2 Trading - 0 Replies Ok so i wanna buy a CO Private Server Source made from scratch.
5165+
Ini or SQL based (No binary files)
Compatible with x64 and x86 ; Vista and Windows 7.
So i want a server with all the basic stuff done - Chat, Guilds, teams, GW, NPCs, Mobs, Spawns, Portals, DMaps, Correct DMG Calc, All Skills, Lotto, Dis City etc.
[Release]Conquer Server Restarter Source 01/06/2010 - CO2 PServer Guides & Releases - 4 Replies This Is The Conquer Server Restarter VB Source
Photo: http://i48.tinypic.com/2yumszc.jpg
DownLoad Link : Conquer Server Restarter VB.rar
Information : i Dont Got This Source From Any One So Dont Say Iam Leecher
O.o I Forget Something ( There Is No Rules )