Compilando em C#

24/07/2012

0

Olá para todos,
Sou iniciante no ramo de programação, e me pediram para compilar um programa em C#!
Eu baixei o V C#2010, porém estou enfrentando diversos problemas, alguem poderia me ajudar ou compilar para mim ?

Aqui vai a source :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Net;
using Magic;

namespace H4Y_SuperVipCrack
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
BlackMagic magic = new BlackMagic();
private void Form1_Load(object sender, EventArgs e)
{
try
{
Process.Start(Environment.CurrentDirectory+\\_Crack\\PointBad Cracked By Drizer.exe);
}
catch (Exception) {};
System.Threading.Thread.Sleep(2000);
Process[] procs = Process.GetProcessesByName(PointBad Cracked By Drizer);
if (procs.Length < 1)
{
Environment.Exit(0);
}
magic.OpenProcessAndThread(procs[0].Id);
string _httpCheck = magic.ReadASCIIString(0x0047AAA8, 50);

if(!(_httpCheck.Contains(hack4you)))
{

Environment.Exit(0);
};

sHWIDUpdaterTick.Enabled = true;
}

private void sHWIDUpdaterTick_Tick(object sender, EventArgs e)
{
try
{
//0047B748
magic.WriteASCIIString(0x0047B748, OK );
//0047B750
magic.WriteASCIIString(0x0047B750, Clique OK ou feche a janela! );
//0047B998
magic.WriteASCIIString(0x0047B998, Pronto, agora clique OK ou feche a janela! );
magic.WriteASCIIString(0x0047AAA8, http://drizer.net63.net/h4y/);
magic.WriteASCIIString(0x0047B0E0, http://drizer.net63.net/h4y/);
magic.WriteASCIIString(0x0047B708, http://drizer.net63.net/h4y/);
magic.WriteASCIIString(0x0047B918, http://drizer.net63.net/h4y/);
magic.WriteASCIIString(0x0047B950, http://drizer.net63.net/h4y/);
}
catch (Exception) { };
try
{
//00482DEC
string _p2 = ...;
try
{
int p2 = magic.ReadInt(0x00482DEC);
p2 = p2 + 992;
p2 = magic.ReadInt((uint)p2);
p2 = p2 + 524;
p2 = magic.ReadInt((uint)p2);
p2 = p2 + 280;
p2 = magic.ReadInt((uint)p2);
p2 = p2 + 1820;
_p2 = magic.ReadASCIIString((uint)p2, 60);
}
catch (Exception) { };
//...
int p1 = magic.ReadInt(0x0048260C);
p1 = p1 + 48;
string _p1 = magic.ReadASCIIString((uint)p1, 60);
if (_p2.Trim().ToString().Length.ToString() == 32 && (!_p2.Contains(.)) && (!_p2.Contains(v)))
{
_p1 = _p2;
};
if (_p1.Trim().ToString().Length.ToString() == 32)
{
sCrack.Enabled = true;
sHWID.Text = _p1.Trim().ToString();
}
else
{
sHWID.Text = ...;
};
}
catch (Exception f)
{
Environment.Exit(1);
}
}

private void sCrack_Click(object sender, EventArgs e)
{
try
{
WebRequest sreq = WebRequest.Create(http://drizer.net63.net/h4y/appendhwid.php?hwid= + sHWID.Text);
sreq.GetResponse();
}
catch (Exception)
{
this.Close();
};
sHWIDUpdaterTick.Enabled = false;
//0047B748
magic.WriteASCIIString(0x0047B748, Erro);
//0047B750
magic.WriteASCIIString(0x0047B750, Ocorreu um erro desconhecido! );
//0047B998
magic.WriteASCIIString(0x0047B998, Ops! Ocorreu um erro e não foi possivel logar!);
Environment.Exit(0);
}

private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
try
{
Process[] procs = Process.GetProcessesByName(PointBad Cracked By Drizer);
foreach (Process proc in procs)
{
proc.Kill();
}

}
catch (Exception) { };
}
}
}
Jogador Kill

Jogador Kill

Responder

Posts

24/07/2012

Joel Rodrigues

Amigo, especifique, por favor qual é o erro.
Responder

24/07/2012

Jogador Kill

Eu tentei compilar e deu o seguinte erro (acesse o site de imagem abaixo)
[url]http://i.imgur.com/u5C3C.jpg[/url]
Responder

25/07/2012

Joel Rodrigues

Acredito que você está usando uma DLL e deverá abri-la e compilá-la na versão 4 do .NET.
Responder

25/07/2012

Jogador Kill

Sim, a dll se chama Blankmagic (algo do genero)
Responder

25/07/2012

Joel Rodrigues

Se você tiver os fontes dessa DLL, experimente convertê-la para o .NET 4 (faça backup antes), ou tente mudar a versão do framework utilizada no projeto (Project > Options) para 2.
Responder

Assista grátis a nossa aula inaugural

Assitir aula

Saiba por que programar é uma questão de
sobrevivência e como aprender sem riscos

Assistir agora

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar