Search found 171 matches

by ClipArtGuy
Mon Sep 24, 2018 7:39 pm
Forum: Talking LiveCode
Topic: CPanel
Replies: 6
Views: 47

Re: CPanel

matthiasr wrote:
Mon Sep 24, 2018 7:34 pm
HostM has provided a nice tutorial for how to securely connect to MySQL/MariaSQL Database from a Livecode Desktop app using a Livecode Server script on your webserver.

https://www.hostm.com/tutorials/livecod ... iadb-mysql
I hadn't seen this before. Very nice, thanks for posting this.
by ClipArtGuy
Mon Sep 24, 2018 7:31 pm
Forum: Talking LiveCode
Topic: CPanel
Replies: 6
Views: 47

Re: CPanel

As a side note, If your app is going to be distributed to users, you should probably not hardcode your database credentials into the app itself, and instead use a "middleware" script, which can be easily done in LC or PHP. More info on middleware in this thread: http://forums.livecode.com/viewtopic....
by ClipArtGuy
Mon Sep 24, 2018 7:18 pm
Forum: Talking LiveCode
Topic: CPanel
Replies: 6
Views: 47

Re: CPanel

maybe it's the extra apostrophe in this put statement?

Code: Select all

put "mp04.projectsbit.org" into tDatabaseAddress'
by ClipArtGuy
Mon Sep 24, 2018 7:10 pm
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

Hi ClipArtGuy, why did you remove your "OpenClipArt Downloader" from "Sample Stacks"/livecodeshare ? I miss the stack. H. Yes, I took it down, because in addition to the bug already mentioned in this thread in regards to the JSONimport function, a new bug has appeared across all versions of this st...
by ClipArtGuy
Fri Sep 21, 2018 2:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: mouseUp mouseButtonNumber
Replies: 2
Views: 86

Re: mouseUp mouseButtonNumber

I think this is what you are looking for? on mouseup pBtn if pBtn is 3 then do stuff end if end mouseup a switch/case might work better, depending on your needs... on mouseup pBtn switch pBtn case 1 --do mouse button 1 stuff break case 2 --do mouse button 2 stuff break case 3 --do mouse button 3 stu...
by ClipArtGuy
Sun Sep 16, 2018 10:29 pm
Forum: Announcements
Topic: LiveCode Multi-Search
Replies: 37
Views: 905

Re: LiveCode Multi-Search

Item 2 : The browser widget does not work on 32-bit Linux !!!!!! I've never seen the browser widget working on 64-bit linux in any of the 9.x.x series either. A browser widget will throw an error as soon as being dragged onto a new stack. When I open the multi-search stack, I get these errors: Scre...
by ClipArtGuy
Thu Sep 13, 2018 6:10 pm
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

If it IS slow server/truncated data, it may be that the put URL command doesn't wait to be fully loaded before moving along, and might explain the "unexpected end of input error? Well, there is an easy way to see if that is it, dl the file completely and then put it through JSONImport. Of course, y...
by ClipArtGuy
Thu Sep 13, 2018 5:09 pm
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

You have a screenshot with the offending line of the LCB source. That's worth a lot! Hey HH, I'm just now wondering if the actual bug is not in JSONimport, but in the "put URL" command just before it? If it IS slow server/truncated data, it may be that the put URL command doesn't wait to be fully l...
by ClipArtGuy
Thu Sep 13, 2018 4:51 pm
Forum: Creating Games
Topic: Fast 2D graphics for games and simulation
Replies: 13
Views: 1147

Re: Fast 2D graphics for games and simulation

Try taking one of the line coordinates and changing them to something like this path, and the speed/smoothness of the move for that object goes away - I took a look through the script, and changed a few of the line paths of the enemies in that stack to be more complex than just a straight line, and...
by ClipArtGuy
Thu Sep 13, 2018 12:41 am
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

It seems like it may be related to one of these confirmed bugs?

https://quality.livecode.com/buglist.cg ... JSONimport
by ClipArtGuy
Thu Sep 13, 2018 12:37 am
Forum: Creating Games
Topic: Fast 2D graphics for games and simulation
Replies: 13
Views: 1147

Re: Fast 2D graphics for games and simulation

Moving 5 small circles is possible, but even with lockScreen, lockMoves, etc that is really pushing the limits. Check out this game, it seems to work fairly well moving more than 5 things around at time. This stack was originally posted in another thread, but both the video and stack appear to be d...
by ClipArtGuy
Thu Sep 13, 2018 12:03 am
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

I would If I could nail down a reliable recipe, sometimes I can use this stack all day without issue, then it will randomly happen... I'm not really sure what to include in a bug report right now, but I do think you may be onto something with the truncated data/slow server hypothesis.....
by ClipArtGuy
Wed Sep 12, 2018 11:26 pm
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

The weird thing is that this error completely disappears when I revert back to using FastJSONs "arrayFromJSON" function, which in theory is doing the same exact thing as LiveCode's built in "JSONimport" function....
by ClipArtGuy
Wed Sep 12, 2018 10:33 pm
Forum: Talking LiveCode
Topic: SVG and PNG Clip Art Stack
Replies: 33
Views: 4098

Re: SVG and PNG Clip Art Stack

Thanks HH and Bogs! I've had one small problem in the latest versions, since switching from Bob Hall's FastJSON library to LiveCode's JSONimport(), the function will fail sporadically with this error: Screenshot from 2018-09-12 17-06-03.png I can't find any repeatable recipe to get this error, it ju...
by ClipArtGuy
Sun Sep 02, 2018 7:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: rotation, printing
Replies: 15
Views: 455

Re: rotation, printing

Fields and buttons can not be rotated, but another option is to "export snapshot" your fields and buttons and rotate those by setting the "angle" property.

Go to advanced search