• Welcome to Valhalla Legends Archive.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - BaDDBLooD

#1
Quote from: Sixen on May 29, 2010, 07:06 AM
Who needs a UI? Console style is fine, :P.

Actually, using a program called MONO http://github.com/koush/androidmono you can develop C# Console Applications on Android.
#2
I was planning on designing strictly for STOCK 2.1 as a test and worry about the rest at a later point in time, if ever.
#3
Oh !@#$ Compatibility right now haha.  Anyway, has anyone attempted this yet?
#4
Thoughts on developing a chat client for android?
#5
Sandcastle CTP Has officially arrived.
#6
.NET Platform / XML
July 04, 2006, 09:05 AM
I have some Information that i wanted to make into Help Files.  Is there anyway i can just merge some plain .xml files using ndoc?
#7
Fun Forum™ / Re: Battle.net clans on myspace
March 30, 2006, 02:03 AM
Quote from: UserLoser on March 30, 2006, 01:24 AM
http://www.myspace.com/clansgc

Omg rofl

Hey, look this thug is the Commander of Clan SGC ahahahahah.  He must be an e-thug too!

I *almost* felt bad.... then i slapped some sense into myself.
#8
Thing-O-Rama ™ / Red Lake MONSTROUS Crappies
February 13, 2006, 07:50 PM
Here are the Black/White Crappies me and my friend Dave caught



Most were like 13 Inches and some were 14 Inches

Here is a close up of just the fish



I didn't have a object to use a reference

But the smallest one was a little bit bigger then the size of a Large Human Hand and Quite a bit Longer.
#9
Battle.net Bot Development / Re: Starcraft Keys
February 06, 2006, 01:24 AM
Quote from: MyStiCaL on February 06, 2006, 01:00 AM
Quote from: Savior on February 05, 2006, 10:58 PM
Look at what has happened :'( http://www.bnetweb.com/e107_plugins/forum/forum_viewtopic.php?10612


For those of you that don't have a bnetweb login... this is the topic...
LOL!!!







Key Machine
Created By: Thieves (USEAST) (USWEST) (EUROPE)
Current Version = BETAv1.5 (Feb 05, 2006)
Download Here
Program Password = ¿Question?
______________________________________
OP GBR @EUROPE FOR LIVE SUPPORT
----------------------------------------------------------------------
What is it?

Key Machine is a program which Mass Generates Cd Keys that are Valid on Battle Net.
----------------------------------------------------------------------
How?

Key Machine generates based on similarities of working Battle Net Cd Keys and is also based on a little bit of the Cd Key Algorithm (Of what is known). Method Two generates everysingle cdkey of a given public
value range, thus giving you always 1/1000 working keys. Using Filters
can take any list mostly down to 1/840. Diablo 2 Generating is currently still under construction.
----------------------------------------------------------------------
How many Cd Keys does Key Machine generate?

As many as you want.

----------------------------------------------------------------------
[BETA v1.5]
-Diablo 2 Support Added
-Filter Options
-New Method of Generating
-other stuff to lazy to mention but equally important
-First Public Beta testers testing

[BETA v1.4]
-Added data for basis of generating
-Created Icon


[BETA v1.3]
-Decode Cdkey Option
-Encode Cdkey Option
-User Specified Generating
-Fixed Bug in Chat Closing area

[BETA v1.2]
-Password Verification Added
-User Specified Generating Available


[BETA v1.0]
-Added Chat Area
-Trimmed Game Area


[BETA]
- 3 Games
- Unfinished "Fun" Section
- Generates 1000 cdkeys per button
- This is just a beta version so a majority of similarties of working keys and the algorithm is left out but will be added in official Version 1.
- But you still have a better chance of getting keys with Key Machine rather then those "others" which still generate random 13 digits.


[Future (Version 1)]
- More Games
- Fun Section will be complete
- User specified generating; meaning you can specify the amount of keys to be generated, i.e 1000, or 10000 or even 100000000000000.
- Current knowledge of valid cdkeys and algorithm will be added into the generating.
- And a lot more surprises...

[Future Future Ideas]
- Double your list
- Automatic Cd Key Validator (Therefore no more mass testing after you finished generating keys)
- Fun Section might have E-Books, Music, Worm/Virus Generator<- most likly not.
- A lot more current games. and more multiplayer games.
- And some other nuts
_____________________________________________
Please leave some feedback and enjoy. thx for ur time..

Sigh, the beginning of the end has arrived.  :'(
#10
Fun Forum™ / Re: I feel dumber having seen this.
February 01, 2006, 05:37 PM
Quote from: MyndFyre on February 01, 2006, 01:19 AM
[Google Video]Bush and Blair at the Gay Bar

Pretty damn funny.  :)

wow, that was great.  Especially after watching the state of the union, makes it even funnier.
#11
Got another problem



public static void Main()
{
Test p = new Test();
p.Server = "211.143.183.66";
p.Port = 1080;
p.Type = 5;
p.UserID = "anonymous";

try
{
Socket mySocket;
if ((mySocket = Connect(p.Server, p.Port)) != null)
{
NetworkStream myNetworkStream = new NetworkStream(mySocket);

if (myNetworkStream.CanWrite == true)
{
StreamWriter myStreamWriter = new StreamWriter(myNetworkStream);
DataBuffer myDataBuffer = new DataBuffer();
if (p.Type == 4)
{
myDataBuffer.InsertByte(4);
myDataBuffer.InsertByte(1);
myDataBuffer.InsertInt16(IPAddress.HostToNetworkOrder(p.Port));
myDataBuffer.InsertInt32(Convert.ToInt32(IPAddress.Parse(p.Server)));
myDataBuffer.InsertCString(p.UserID);
}
else if (p.Type == 5)
{
myDataBuffer.InsertByte(5);
myDataBuffer.InsertByte(2);
myDataBuffer.InsertByte(0);
myDataBuffer.InsertByte(2);
}

myDataBuffer.WriteToOutputStream(myStreamWriter);

if (myNetworkStream.CanRead == true)
{
StreamReader myStreamReader = new StreamReader(myNetworkStream);
DataReader myDataReader = new DataReader(myStreamReader);]
}

}
else if (myNetworkStream.CanWrite == false)
{
Console.WriteLine("Network Stream is Not Writeable!");
}
}
}

catch (Exception e)
{
Console.WriteLine(e.ToString());
}

Console.ReadLine();
}



I get errors whenever i seem to reference my Stream Reader/Writer to one of the other classes in my project.

These are the errors i get:

Argument '1': cannot convert from 'System.IO.StreamReader' to 'System.IO.Stream'

Argument '1': cannot convert from 'System.IO.StreamWriter' to 'System.IO.Stream'

The best overloaded method match for 'Proxy.GUI.Console.DataBuffer.WriteToOutputStream(System.IO.Stream)' has some invalid arguments

The best overloaded method match for 'Proxy.GUI.Console.DataReader.DataReader(System.IO.Stream)' has some invalid arguments


Thank You For The Help

- Joel

EDIT: Well Figured it out

Stream Reader/Writer aren't actually streams, you gotta refer to their BaseStream property.
#12
What is the equivelents of inet_addr and htons in .NET?

EDIT

Quote from: BaDDBLooD on January 31, 2006, 09:33 PM
What is the equivelents of inet_addr and htons in .NET?

Found it on MSDN



myDataBuffer.InsertInt16(IPAddress.HostToNetworkOrder(p.Port));
myDataBuffer.InsertInt32(Convert.ToInt32(IPAddress.Parse(p.Server)));


#13
Quote from: MyndFyre on January 31, 2006, 06:08 PM
Quote from: BaDDBLooD on January 31, 2006, 05:24 PM
So if Network Stream and FileStream are both streams and both are interchangeable, why do they have two? If StreamReader and BinaryReader both do the same thing, how do you know what one to use?
Because a NetworkStream is a stream that operates on a network, and FileStream is a stream that operates on a file.

Look at the methods of StreamReader and BinaryReader.  They don't do the same thing, they can just use the same things while they do what they do.

Meh, i overcomplicated that to hell.  Anyways, i understand what your saying.

I manged to get sending down, and i am working on receiving.  I am using both your DataBuffer and DataBuffer classes.  I also decided to keep your Locales class not only because you had used it in your project, but because it just kicks ass lol, i never knew about that.  Imma use that in all my applications because of how sweet it is.

So i just leave your comments and what not in the files, and put your License along with my project or do i not need to do any of that?

Thanks a bunch rob, you rule.
#14
So if Network Stream and FileStream are both streams and both are interchangeable, why do they have two? If StreamReader and BinaryReader both do the same thing, how do you know what one to use?
#15
Quote from: BaDDBLooD on January 31, 2006, 04:05 PM
EDIT: What does serializing an object mean?  I'm not familiar with that term, and i don't really 'get' what BinaryFormatter does.
Let's say you have this class:

class A { int val1; float val2; }
// you make an A
A a = new A();
a.val1 = 5;
a.val2 = 994.23884;

Let's say for whatever reason you want to be able to use that copy of A again.  You can serialize it to disk or over the network:

FileStream fs = File.Create("c:\\my A.dat");
BinaryFormatter bf = new BinaryFormatter();
bf.Serialize(fs, a);
fs.Flush();
fs.Close();

You can deserialize that file back into a new A variable the next time you run your program.  Very handy.
Quote

Holy shit, serializing is way cool!

so FileStream works with BinaryFormatter, and NetworkStream works with StreamReader? Do i use BinaryReader to deserialize it?

I don't mean to be repetitive or annoying or anything but what is the purpose of NetworkStreamOwnsSocket, i don't understand it's purpose.



if (NetworkStreamOwnsSocket == true)
{
myNetworkStream = new NetworkStream(mySocket, true);
}
else if(NetworkStreamOwnsSocket == false)
{
myNetworkStream = new NetworkStream(mySocket, false);
}




Once again, not trying to be annoying.

I want to send the SOCKS Version 4 connect requrest to the server.

It consists of the following information:

BYTE: Version Number
BYTE: Command Code
WORD: Port
DWORD: IPAddress
STRING: UserId
BYTE: Null

How would i go about doing this? I don't want it done for me, but i don't know where to start either.

I Know i have to use the BitConverter Class



byte[] outBuf;

outBuf.CopyTo(BitConverter.Some Command);



I'm not sure what i use, or when to use it. 

Should i create seperate methods for Words, Double Words, Strings, Arrays of Words/DWords/Strings or should i just do it Locally?  I'm trying to find the Best/Most Efficient way to do it.

Thanks

- Joel