Recent posts by Bubblyworld on Kongregate

Flag Post

Topic: Off-topic / Are you smart enough?

There is no reason that the values you still owe them and the money you still hold should add up to 100$.
By way of example, suppose you found 20$ in your pocket after you borrowed the 100$. You buy the shirt, so you now have 23$ remaining. You give 11$ to each of your parents, so you now owe them 39$ each and have 1$ remaining.

39 + 39 + 1 = 79$.

 
Flag Post

Topic: Off-topic / Would you define YOGURT as a liquid or a solid?

At room temperature yoghurt is a liquid in the same way that I am a liquid.

 
Flag Post

Topic: Serious Discussion / YOUR religion?

I believe that ultimately, any way of rationalising a particular experience is as valid as your belief in the rationale.

There are infinite possible systems that can be constructed to explain a given occurrence, and they all are valid to an extent in some way or other. Traditional science is a useful system in that it is a reliable way of predicting the outcomes of physical events. Religions are useful systems in that they can offer a sense of spiritual well-being and a way of rationalising experiences.

 
Flag Post

Topic: The Arts / (want feedback) Long time, no see...

Very cool – I like the watermark-like effects, kind of gives it an ethereal feel.

 
Flag Post

Topic: Serious Discussion / was earth visited by aliens?????

“The surest sign that there is intelligent life out there is that none of it has tried to contact us yet.”

Bill Watterson is widely known to be a mystic capable of scrying events both in the past and in the future. The fact that many of his drawings of aliens bear a strong resemblance to certain rocks in Northern Africa is clearly proof of this, therefore we can conclude that the aforementioned quote is true and that aliens have never contacted humans.

 
Flag Post

Topic: Game Programming / Java sucks.

Look, its great to try and reinvent the wheel from first principles. It teaches you a lot, and depending on the wheel in question it may or may not be particularly challenging and enlightening. But it is not criteria for a language being “better” than any other – when it boils down to it, pretty much every language is capable of solving a given problem with the right forethought. If you really wanted to, you could write an opengl wrapper in brainfuck, but god knows why anyone would consider such a thing…

The key to debugging C++ effectively is a decent debugger. Something like the gdb will generally spit out more than enough information to pinpoint a segfault.

 
Flag Post

Topic: Game Programming / looking for help

Well… You could start with the Shootorials. An RPG is an ambitious project, especially for someone new to actionscript. I’d recommend you learn the basic of actionscritp first, at least.

 
Flag Post

Topic: Game Programming / Tile engine help

Should you not be doing something like:


_root.attachMovie("1", "tile", _root.getNextHighestDepth());

I believe linkage IDs are strings.

 
Flag Post

Topic: Game Programming / How you feel about game maker...

Meh… MY take on it is that the end-user doesn’t care how the game was made, and therefore neither should I. Short and sweet. As for primary school kids not being able to program AS3/Java/Other – I know from experience that that’s rubbish.

 
Flag Post

Topic: Game Programming / An untitled rpg

Looking very good so far – keep it up!

Lol@Alice Cooper

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

?

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

Yes, another miscommunication on my part.

 
Flag Post

Topic: Game Programming / Working UDP in Flash

Ah, that clears it up. Ignore my previous posts then – well done!

 
Flag Post

Topic: Game Programming / Working UDP in Flash

I would tackle it by writing a class that generates a UDP-format ByteArray, and then write that ByteArray to the server through the Socket class.

 
Flag Post

Topic: Game Programming / Working UDP in Flash

I am aware they are different – the Socket class allows one to send raw binary data, allowing you to use a custom protocol. Apologies if I’m wrong.

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

Hehe. Increase the number of combinations to 684374594, and XOR it twice for safety. He’ll be sitting there for centuries =P.

 
Flag Post

Topic: Game Programming / Working UDP in Flash

Skepticism?

Wouldn’t one just have to format the bits of the UDP packet correctly, and then send it through a socket?

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

@ Draco18s:
^ is the XOR bitwise operator. My Get and Set are not identical, and the code encrypts and decrypts fine. XOR basically compares bits of the two parameters:
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0

@ bLasTamos:
Sorry, I meant inefficient as in use of memory. There really is no need to use random indexes – XORing the value with a random number is impossible to hack unless the CEer knows how the value is encrypted and tries to guess the random number.

 
Flag Post

Topic: Game Programming / Working UDP in Flash

Extremely interesting. How long will we have to wait for the demo? =P

I think I might try to create working UDP communication. Sounds fun.

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

I’ll contribute me own SafeNumber class that is completely unCEable:


public class SafeNumber {

    private var value:Number;
    private var random:Number;

    public function SafeNumber(var value:Number) {
        random = Math.floor(Math.random() * 100);
        this.value = value ^ random;
    }

    public function get():Number {
        return value ^ random;
    }

    public function set(var value:Number):void {
        this.value = value ^ random;
    }

}

<pre>
    
 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

.num is a property of the SimpleNumber class that is defined after the SafeNumber class.

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

That would be rather inefficient. You are storing 8 Numbers where one is needed. A simpler way would be to write a SimpleNumber class that XORs its given value with a random number, and which has a Get() method which simply returns the value XORed with the random number again. Simple, and would work because:

X xor Y = Z
Z xor Y = X

 
Flag Post

Topic: Game Programming / Timelines in FlashDevelop?

In one of the Kongregate forums they have a Shootorials for flash develop. Maybe try that?

Edit:
Sorry, they’re for swfmill and mtasc. I’m not too familiar with flash develop, but if you know how to compile the actionscript with flash develop you should probably just find an actionscript tutorial.

 
Flag Post

Topic: Game Programming / possible to change colors etc inside a png?!?

Gimp?

 
Flag Post

Topic: Game Programming / How secure is this? AKA I challenge you to hack this

I’m having the same problem as bLasTamo – I don’t cheat at all and it freezes. I’m using the latest flash player as well. A bug in the cheat detection?

@jonathas:
SQL injection won’t work – you can’t insert apostrophes etc in the password/username area.

Actually, you might be able to edit the packet containing username and pass data and inject from there. Meh.