Search found 1572 matches

by badidea
Nov 01, 2019 19:37
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1942

Re: Unable to access fb.net forums

Hi, Juergen We have been under attack for a while now and, it seems, the attacker gets a buzz out of reading our response but to do that they must stop attacking us otherwise they cannot get through. They have called by a few times today. Any normal person should have got bored by now so it looks l...
by badidea
Oct 31, 2019 22:14
Forum: Game Dev
Topic: Tetris vs Mario (Work in progress)
Replies: 4
Views: 20716

Re: Tetris vs Mario (Work in progress)

Found this funny animated GIF online :-)
Image
by badidea
Oct 30, 2019 22:49
Forum: General
Topic: TMX Map loader? (Tiled Map Editor)
Replies: 2
Views: 137

Re: TMX Map loader? (Tiled Map Editor)

Hi, did you make some progress? I had installed the 'Tiled Map Editor' before, but I never used it. Did some test now. The standard files (.tmx and .tsx) are in XML format, but you can export both (map and tile set) in JSON format. JSON is somewhat easier to read, but not much. The map can also be e...
by badidea
Oct 30, 2019 19:16
Forum: General
Topic: Line Input fail
Replies: 12
Views: 295

Re: Line Input fail

Dinosaur wrote:What was the reason for cancelling this ?

I already uncancelled it (if that is a word). In the first version I opened the pipe for writing (instead of reading), which was wrong. Code above should work, although not thoroughly tested.
by badidea
Oct 30, 2019 15:33
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1942

Re: Unable to access fb.net forums

The community board at phpBB (itself) also a large number of visitors recently (August).
With a maximum of 27085 users online, but with a 90 minute window.
https://www.phpbb.com/community/viewtopic.php?t=2524746
by badidea
Oct 29, 2019 23:25
Forum: General
Topic: Line Input fail
Replies: 12
Views: 295

Re: Line Input fail

If all else fails, write C-code in freebasic: #include "crt/stdio.bi" const MAX_LINE_SIZE = 100 Dim As ZString Ptr pBuffer = callocate(MAX_LINE_SIZE) Dim As FILE Ptr filePtr filePtr = popen("fping -t 100 1.1.1.1", "r") If filePtr <> 0 Then if fgets(pBuffer, MAX_LINE_SIZ...
by badidea
Oct 29, 2019 7:42
Forum: Community Discussion
Topic: Unable to access fb.net forums
Replies: 61
Views: 1942

Re: Unable to access fb.net forums

Is it possible to block guest access to the forum completely? (except login page). As temporary measure in case (or before) the server runs into problems again.
by badidea
Oct 26, 2019 20:03
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 71
Views: 11794

Re: Audio library for FreeBasic - Features

I don't think that the #include solution will be a problem for most users, as long as the library is shipped with freebasic and works out-of-the-box. With 'non-native' libraries, one has to figure out: - where to download - which version - is it up to date - where to put the library - how to link it...
by badidea
Oct 15, 2019 22:18
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 143
Views: 6733

Re: TP-Link HS110

EDIT: Before I start on the GUI, the next step is the Multi-colour Light bulb. https://www.amazon.com/gp/product/B07FZ6PLJG/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8&psc=1 Does it use the same protocol? And do you know the commands to send? I changed the getJsonValue() function to allow partial ke...
by badidea
Oct 15, 2019 15:15
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 143
Views: 6733

Re: TP-Link HS110

... For example If you would accept 1K of data you can set maxSize=1024 and the default chunk size of 8K are ignored in this case. ... This device sends a response typically in the range of ~10 to ~1000 bytes. If a lot of timers are set in the device, the 'get_sysinfo' reply can exceed a 1000 bytes...
by badidea
Oct 14, 2019 22:03
Forum: General
Topic: Squares
Replies: 7240
Views: 437641

Re: Squares

coderJeff wrote:OK, my last attempt, I think. It's time to bring this to a close.

It is a waste of your time. Some people prefer to be ignorant.
by badidea
Oct 13, 2019 21:31
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 143
Views: 6733

Re: TP-Link HS110

The US version has "longitude" and "latitude" That is annoying. The AU version has "next_action" which reports FAIL_IS_OBJECT The data is ,"next_action":{"type":-1}, Yes, my parser cannot handle nested objects at the moment. Have you completely upda...
by badidea
Oct 13, 2019 21:15
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 143
Views: 6733

Re: TP-Link HS110

device_name should be dev_name. Yes, post above updated. Also note that you still have the 4-byte garbage in your RxData "� " The AU model takes 2110 mSec.??? Sounds like the SNC issue again. Check with the python code. I will update the software in them, but have to make sure the link yo...
by badidea
Oct 13, 2019 20:43
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 143
Views: 6733

Re: TP-Link HS110

A couple of items don't appear to fill in I should make the routine case-insensitive I see. No some other issue. In your code: device_name --> dev_name longitude --> longitude_i latitude --> latitude_i Those are the exact variable names here as well. Each time I change Device number, I have to crea...
by badidea
Oct 13, 2019 20:33
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 72
Views: 14529

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

I changed the constructor NetworkClient() to allow setting a timeout. Probably GNU/linux only. Better error handling to be done still. ' connection_maker(port) constructor NetworkClient(address as string, byval port as ushort, timeout as integer) base() if port = SNC_SOCK_ERROR then LastError = ERRO...

Go to advanced search