Search found 35 matches

by Rainwulf
Feb 12, 2018 9:38
Forum: Beginners
Topic: Sending udp data to another network device...
Replies: 6
Views: 566

Re: Sending udp data to another network device...

I Googled "freebasic network.bi" and found only forum posts and nothing really obvious. So I read into a bunch of the threads and noticed it there. It was a tough one. Yea, there isnt much about there on google about it, and with the search function effectively broken on this forum for sh...
by Rainwulf
Feb 10, 2018 10:31
Forum: Beginners
Topic: udp networking in freebasic.
Replies: 14
Views: 1799

Re: udp networking in freebasic.

Yea im an idiot and didn't read the post properly. What are those "FD" commands? I ended up using an SDL example that worked perfectly, but it involves having to have the SDL dlls. As well, never seen the timeout command either. A few more comments would help a lot! The network.bi would wo...
by Rainwulf
Feb 10, 2018 10:29
Forum: Beginners
Topic: Sending udp data to another network device...
Replies: 6
Views: 566

Re: Sending udp data to another network device...

In this thread Boromir posts code called network.bi. I am not sure it is the one you are looking for but it seems to be. Use Google to search for forum posts unless you need the advanced search options. Edit: I just noticed that you posted your request in the very thread I linked here. Did you not ...
by Rainwulf
Feb 10, 2018 10:28
Forum: Beginners
Topic: Sending udp data to another network device...
Replies: 6
Views: 566

Re: Sending udp data to another network device...

I cant find network.bi to download. I spent an hour on google trying to find the location of network.bi, as that would have suited me perfectly.

no luck though, i ended up using the SDL example.

Oh and you cant search for network.bi on the forums! as .bi is too short a term!
by Rainwulf
Feb 09, 2018 9:32
Forum: Beginners
Topic: Sending udp data to another network device...
Replies: 6
Views: 566

Re: Sending udp data to another network device...

Well, some good news. I used the SDL example and now can send specific data across the network to my arduino, and have it display on the serial console window.

Would anyone be interested in what code i ended up using?
by Rainwulf
Feb 09, 2018 8:48
Forum: Beginners
Topic: Sending udp data to another network device...
Replies: 6
Views: 566

Sending udp data to another network device...

Trying to find a simple way to send UDP packet data to an arduino on the network that has an ethernet interface. Whats incredibly infuriating is that the search function ignores short words! Not only that, but a few examples use network.bi which i cant find ANYWHERE. I just want to send a bit of pac...
by Rainwulf
Feb 09, 2018 8:26
Forum: Beginners
Topic: udp networking in freebasic.
Replies: 14
Views: 1799

Re: udp networking in freebasic.

Where do you get network.bi from? Been looking for half an hour and still cant find it.
by Rainwulf
Mar 13, 2017 23:46
Forum: Windows
Topic: Error with dir(filespec, attrib)
Replies: 5
Views: 770

Re: Error with dir(filespec, attrib)

Thank you! I will try that out and see if it works on my code. My program allows you to treat filenames as text, so if you need to mass rename a set of files, for example include a new character, or change a certain set of characters, or even search and replace, it can do all the changes on the file...
by Rainwulf
Mar 13, 2017 4:50
Forum: Windows
Topic: Error with dir(filespec, attrib)
Replies: 5
Views: 770

Re: Error with dir(filespec, attrib)

But the issue isnt that im missing information, its just that its actually providing too MUCH information and returning files as both files AND folders.

So its not an exclusion issue, its actually thinking files are also folders.
by Rainwulf
Mar 12, 2017 3:58
Forum: Windows
Topic: Error with dir(filespec, attrib)
Replies: 5
Views: 770

Re: Error with dir(filespec, attrib)

wait. i did some more investigation. It doesnt do it if the mapped drive is mapped from a WINDOWS share but if the mapped drive is mapped from a FREENAS share (samba) it does that weird behaviour. Looks like its a bug with samba. fantastic! It however does work fine with windows explorer, so maybe f...
by Rainwulf
Mar 12, 2017 3:57
Forum: Windows
Topic: Error with dir(filespec, attrib)
Replies: 5
Views: 770

Error with dir(filespec, attrib)

Interesting error thats easy to reproduce. with: chdir "c:\" attrib = 16+2+1 fileName= dir$("*", attrib) print fileName do fileName=dir$("", attrib) print fileName loop while fileName <> "" on a LOCAL hard drive, it returns ONLY directories. do it on a network...
by Rainwulf
Apr 25, 2011 12:03
Forum: Projects
Topic: Procedural block world project
Replies: 310
Views: 78971

Thanks for that. You are using opengl to do it. Do you know how to do it in a normal fbgraphics window? I am doing all the basic stuff first in a normal graphics window using wireframe display lists, then simply transporting that into ogl.. im still working on the simple movement and rotations and t...
by Rainwulf
Apr 25, 2011 9:21
Forum: Projects
Topic: Procedural block world project
Replies: 310
Views: 78971

Asking you as a coder, how did you keep the mouse grabbed and use it for input?
Having issues with that at the moment.
by Rainwulf
Mar 05, 2011 13:41
Forum: Projects
Topic: Procedural block world project
Replies: 310
Views: 78971

this is incredible....
I love minecraft, but i would also gladly pay you for this.
Its beautiful!!!!
by Rainwulf
Sep 17, 2009 12:38
Forum: General
Topic: Return the Fractional part of a number
Replies: 8
Views: 1299

Return the Fractional part of a number

I need the opposite of int... I need to get the fraction part of a number, like everything after the decimal point. For example. Given 5.123 It returns ".123" Is there a function that does that already? I am looking in the help file. I hacked a function together that uses mod, but its not the best. ...

Go to advanced search