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.


Messages - igimo1

Pages: 1 [2] 3 4 ... 19
16
Botdev / Re: [Python] Packetbuffer
« on: July 13, 2007, 03:26:47 am »
Are you sure?

17
Entertainment District / Re: FMA Season starting over.
« on: July 13, 2007, 02:24:10 am »
If I want a series dedicated to demonstrating right and wrong, I'd watch Court TV okay. Anime filled with idealistic nonsense is nothx.

18
General Discussion / Re: China's War-Drive
« on: July 13, 2007, 12:13:35 am »
5/10 of the things I said earlier in this topic have become moot - China's the big dog now.

19
Entertainment District / Re: FMA Season starting over.
« on: July 13, 2007, 12:08:34 am »
Sorry to disappoint everyone, but FMA is an awful series.

20
Botdev / Re: [Python] Packetbuffer
« on: July 12, 2007, 11:50:52 pm »
This code sucks, much more elegant if the code is geared towards a purpose, ie parsing incoming data;

Code: [Select]
import struct

def unpack_dword(data):
    return struct.unpack('I', data)[0]

def unpack_word(data):
    return struct.unpack('H', data)[0]

def unpack_byte(data):
    return struct.unpack('<B', data)[0]

class recv_buffer:
    def __init__(self, raw_buffer):
        self.raw_buffer = raw_buffer
        self.position = 0

    def jump(self, bytes):
        self.position += bytes

    def back(self, bytes):
        self.position -= bytes

    def set_position(self, position):
        self.position = position

    def next_string(self):
        pos = self.raw_buffer.find(chr(0), self.position)
        string = self.raw_buffer[self.position:pos]

        self.set_position(pos + 1)
        return string

    def next_byte(self):
        param = self.raw_buffer[self.position:self.position + 1]
        byte = unpack_byte(param)

        self.jump(1)
        return byte

    def next_dword(self):
        param = self.raw_buffer[self.position:self.position + 4]
        dword = unpack_dword(param)

        self.jump(4)
        return dword

    def next_word(self):
        param = self.raw_buffer[self.position:self.position + 2]
        word = unpack_word(param)

        self.jump(2)
        return word

    def next_dword_list(self, size):
        dword_list = []

        for i in xrange(size):
            dword_list.append(self.next_dword())

        return dword_list

    def next_data(self, bytes):
        return self.raw_buffer[self.position: self.position + bytes]

    def dump_data(self):
        self.raw_buffer = ""

Much shorter, too, unlike the code from a good year ago

I'd be interested in seeing a bot written in Python. I've never used the language - does it have a nice API including networking stuff as well, or is it more like Brainfuck where you have nothing at all?

Python is very easy to learn (I've seen users dub it "visual basic 2", or some other clever nick). The stdlib is huge, much like Java's. There is a significant amount of networking modules built-in.

The bot has been available for some time. I ran into some phantom bugs while I was working on it, but it has enough done that it should be easily completed. In fact, some leech even thought it complete enough to use and plaster his name on it without giving credit.

21
General Discussion / Re: Happy Birthday ZeroX
« on: May 24, 2006, 08:38:51 pm »
So are you 12 now?

That was below the belt. Thank you all for the happy brithdays. I hope I get money.

I wasn't wrong, was I? Judging by your posts, thats about the approximate range you should be at.

22
General Discussion / Re: China's War-Drive
« on: May 24, 2006, 08:38:05 pm »
Yes................................. But that wasent what I was talking about. See China is repeating all of its same mistake. Back with Mao Zedong and the Nationalist retreating to Thailand, It left them wide open for an attack from Japan. So If they are going to do what the article is stateing. Whos to say another country wont go in? North Koreia? They hate Chinese.

You sound as if you're paraphrasing from an article.

Don't post in any of discussion-oriented topics, please. You're ruining this one with your incompetence.

23
General Discussion / Re: Local LANs
« on: May 24, 2006, 08:26:28 pm »
You think that's a good deal?  My grandmother bought her house in Somers Point (near Ocean City) in the 60's for about $8,000.  Her lot is currently worth around $950,000.  It's rediculous.

Factor in inflation and improvements

24
General Discussion / Re: Official "post your desktop" thread!
« on: May 24, 2006, 08:24:49 pm »
why is linux in the right hand? Windows is clearly the superior :P

Are you left or right handed?

Left

25
General Discussion / Re: China's War-Drive
« on: May 24, 2006, 07:41:23 pm »
If China and Taiwan wants to fight, why should the rest of the world stick their noses in it?  Until they're a harm/threat to another country, or they get oil, there's no sense in attacking another country. 

Look at all the countries in Africa that are overthrown every other day.  Nobody cares about them.  Let the Chinese province succeed, and let China handle their own problem. 

Totally agree. This isnt the frist time China has fought itself.

What the fuck are you talking about, every country experiences a period of civil war or depression

26
General Discussion / Re: China's War-Drive
« on: May 24, 2006, 12:13:41 pm »
If China and Taiwan wants to fight, why should the rest of the world stick their noses in it?  Until they're a harm/threat to another country, or they get oil, there's no sense in attacking another country. 

And I quote, from a layman:

Quote from: Ersan
The rest of the world already considers Taiwan as an independent state, they just haven't received worldwide recognition

If they really are their own nation, then that basically constitutes harm to another country.

Quote
Look at all the countries in Africa that are overthrown every other day.  Nobody cares about them.  Let the Chinese province succeed, and let China handle their own problem. 

Huh? The same countries that were Africa a year ago are still there.

27
General Discussion / Re: Let's hear it!
« on: May 24, 2006, 01:15:42 am »
I just spent an hour washing my truck with a special soap, a water filter that sofens the water, & a special mit.  After that i came inside & took a 7 minute shower using generic shampoo, hard water, & a rag.

I plan to spend another 3 hours at least today cleaning omy truck's outside.  I will use a special "cleaning" liquid, then a polisher, then wax.  Then I'm going to wash it all over again so it doesn't have weird dust lines. *sigh*

So this is what happens...

* Topaz takes notes

28
General Discussion / Re: China's War-Drive
« on: May 24, 2006, 12:24:50 am »
unprovoked hostilities against their neighbors would violate several UN policies/ treaties, and China could potentially be cut off from the rest of the world if the UN decided so

China has veto power on the UN Security Council.

How long do you think that'll last if China's expansionism expands past Asia? At the very least, they'll be expelled from the UN.

29
General Discussion / Re: China's War-Drive
« on: May 23, 2006, 11:47:29 pm »
Quote
China is pointing nukes at taiwan,  and building up men

You dumbass, ballistic missiles aren't nukes. Using a nuke would entirely defeat the purpose of reining in Taiwan.

Quote
China regards the island as a renegade province and has vowed to invade if Taiwan moves towards declaring formal independence.

I didn't say it wasn't serious. However, the US may exert pressure and throw around some hefty threats, but, in reality, cannot do anything. One, two, maybe even three carriers would not be able to prevent the invasion of Taiwan; Taiwan is a pebbles length away, and they would be taken within a day.

Quote
Name your sources?

I have no sources. However, since there are people who are of Chinese (or even, Taiwanese) descent of this forum, they can confirm this. I know what I have said to be true, because I am part Chinese myself.

They should claim it's an anti-terrorist movement, that seems to make invading countries alright.  ;)

That's an overreaction by tenfold - instead of crushing the terrorist movement, you take over the island? lo0ol

30
Entertainment District / Re: The DaVinci Code
« on: May 23, 2006, 11:28:35 pm »
Jesus being married would violate a great deal of sacrements; would his offspring be divine? demi-gods?

Pages: 1 [2] 3 4 ... 19