-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|732|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Phoenix

TCP/UDP Scanning

23rd October 2007

Well, you could do it this way:
[code]ExecFile(SystemProperty("systemdir")+"netstat.exe")[/code]
Which would run netstat.exe from Blitz.


Phoenix

#121 - The Delayed Challenge

20th October 2007

This game is really boring, but it's an entry at least ;)
[code]
Graphics(640, 480, 32, 2)
SetBuffer(BackBuffer())
SeedRnd(MilliSecs())
shipPos# = 640
bulletPos = 470
fired = False
del# = 2500
waittmr = -1
bulSpd# = 2
score = 0
high = 0
level *snip*


Phoenix

WikiDoc documentation system

18th October 2007

It's a good initiative, but it's lacking, and not just information-wise. If you take a look at Wikipedia's website, you see that it has a very appealing appearance. Your site is not as visually attractive as Wikipedia, which is understandable since they ha*snip*


Phoenix

Finding day's name?

15th October 2007

To me, your code seems to be working fine. If you have any problems then perhaps you should try out this:
www.blitzbasic.com


Phoenix

Hi guys, nice to see you again!

7th October 2007

Welcome home, Sopi :)


Phoenix

Alternative IDE? Protean etc

6th October 2007

To find out if you have .NET, you only have to check in control panel at the "Install/Uninstall programs"-dialog.
I've barely used Protean, since it became free after I stopped using Blitz. But judging by the little I've seen, it seems to be an excellent *snip*


Phoenix

Converting simple code from basic to c...

5th October 2007

Maybe it's not required (I haven't tried the code), but it seems like you forgot to translate this part of the code:
[code]
For x=1 To tail_nodes
nodes_x(x) = MouseX()*10
nodes_y(x) = MouseY()*10
Next
[/code]


Phoenix

Jay's 2nd Blitz Speed Test

5th October 2007

[code]
---------
Image size : 8
---------
Test 1 : 3020
Test 2 : 3400
Test 3 : 3870
Test 4 : 4105
Test 5 : 3995
Average 3678
---------
Image size : 16
---------
Test 1 : 3925
Test 2 : 3275
Test 3 : 2405
Test 4 : 4295
Test 5 : 4310
Average*snip*


Phoenix

Which language?

1st October 2007

Java is cross-platform, and is quite good. C# also works on multiple operating systems, through Mono, but then the users would have to download a special framework to be able to use the application. But you'll have to weigh the good and the bad. I'm sure D*snip*


Phoenix

Return of lyonzy

1st October 2007

Yep, that's the one :)


Phoenix

Screen Names?

30th September 2007

I was playing Heroes III as Conflux. The team's best unit was the phoenix, and when I registered to websites later on I used that name for no specific reason. Today, I haven't bothered changing. I probably should though; the name is very boring.


Phoenix

Return of lyonzy

28th September 2007

Welcome, Lyons. I remember you (or at least I remember your lion avatar ;)).


Phoenix

TCP streams

26th September 2007

The stream IDs are different every time you connect, so you can't just store them in a file and then use them later to block the same user. You could record their IP address and block them instead.


Phoenix

TCP streams

23rd September 2007

Yes, it does.


Phoenix

Hello World!

23rd September 2007

The easiest program to create, or is it?


Phoenix

Site Updates - Aug/Sept 2007

20th September 2007

I found the problem; it comes when you click preview multiple times. I'm also using Firefox, but that doesn't matter since it's an issue with the script.


Phoenix

Site Updates - Aug/Sept 2007

19th September 2007

That's odd, Forklift_Fred. It doesn't look that way on my computer. On my computer only the 'Test' will show up; no code boxes or anything else.


Phoenix

Functions returning multiple results?

19th September 2007

If you really want the best performance, you could add some inline assembly code. This code won't work, the inline asm syntax differs from every compiler. But it shouldn't be very hard to change.
[code]
void XorSwap(int &a, int &b)
{
asm
{
xo*snip*


Phoenix

Site Updates - Aug/Sept 2007

18th September 2007

[code ]
Test
[/code]
This won't work.
[code ]
Preview
[/code]
---
Try to preview the above (without the spaces, duh). It doesn't look quite right. I'm a real pain in the ass, ain't I? :P


Phoenix

Bloom Effect help me!

18th September 2007

This does the job:
[code]
Graphics3D 640,480,32,2
SetBuffer BackBuffer()
; Create camera
Global camera=CreateCamera()
MoveEntity camera,3,3,0
RotateEntity camera,30,30,0
light=CreateLight()
Global cube=CreateCube()
PositionEntity cube,0,0,5
Scal*snip*


Phoenix

Site Updates - Aug/Sept 2007

18th September 2007

Or you can add some Javascript. When the user clicks the full-view link, you store the width of the table:
[code]
var table = document.getElementById( 'theForumTableName' );
var tableWidth = table.offsetWidth;
[/code]
When the image is shrinked again *snip*


Phoenix

Read/Write Pixel Help

17th September 2007

Reading/writing pixels outside of the screen/buffer will cause the program to crash, so make sure that you check the screen boundaries before performing any pixel operations.

Newer Posts More - Older Posts