Search found 38 matches

by rory-games
Wed Oct 15, 2025 9:57 am
Forum: Bugs - Windows
Topic: regression in sound
Replies: 6
Views: 348

Re: regression in sound

When run, it should ask whether you want to enter autonomous mode. At that point, it will start playing "rolling balls" endlessly. This game is one in which the bug definitely occurs consistently.
by rory-games
Wed Oct 15, 2025 9:56 am
Forum: Bugs - Windows
Topic: regression in sound
Replies: 6
Views: 348

Re: regression in sound

Done!
by rory-games
Wed Oct 15, 2025 9:04 am
Forum: Bugs - Windows
Topic: regression in sound
Replies: 6
Views: 348

Re: regression in sound

I tried, but I couldn't get it to happen. However, I can make a version of the game that plays itself autonomously, aside from making the sounds that it usually does. Would that help? It takes around a minute or two for the bugs to start occurring.
by rory-games
Tue Oct 14, 2025 10:33 pm
Forum: Bugs - Windows
Topic: regression in sound
Replies: 6
Views: 348

regression in sound

Hello,
I have noticed a bug with the soundsystem that causes it to crash (without an error in the debug output list) after a few moments.
This bug seems to have been introduced with the switch to miniaudio: downgrading to PureBasic 6.04 seems to fix it.
As an aside, I also noticed another regression ...
by rory-games
Mon Jul 15, 2024 6:15 am
Forum: Coding Questions
Topic: equivalent of c strings in pure basic
Replies: 4
Views: 507

Re: equivalent of c strings in pure basic

Thanks very much again! I see how this works now.
by rory-games
Mon Jul 15, 2024 3:25 am
Forum: Coding Questions
Topic: equivalent of c strings in pure basic
Replies: 4
Views: 507

Re: equivalent of c strings in pure basic

Hello,
Thanks for the response, this is what I was looking for!
Well, really there is only one more piece I think: how does one convert a pointer at a p-ascii back into a regular string?
Thanks,
Rory Michie.
by rory-games
Mon Jul 15, 2024 2:52 am
Forum: Coding Questions
Topic: equivalent of c strings in pure basic
Replies: 4
Views: 507

equivalent of c strings in pure basic

Hello,
It's been a while since using this language, so I apologize if this is a silly question, but I can't find immediately available information regarding this.
I'm calling a DLL from pure basic. In this instance, I need to use char* as parameters and sometimes as the return value of procedures as ...
by rory-games
Sun Nov 27, 2022 7:18 am
Forum: Coding Questions
Topic: huge memory leak in my game dll
Replies: 9
Views: 1138

Re: huge memory leak in my game dll

hmm, the leak still seems to occur. The most insane things about this is it's not like it's a minimal leak. It's maybe from 20 to 100 mb per second, or sometimes more. I have never seen something like this in my 3 years with pb.
by rory-games
Sat Nov 26, 2022 11:26 pm
Forum: Coding Questions
Topic: huge memory leak in my game dll
Replies: 9
Views: 1138

Re: huge memory leak in my game dll

Aha, I see now. Much thanks! :D
by rory-games
Sat Nov 26, 2022 10:42 am
Forum: Coding Questions
Topic: huge memory leak in my game dll
Replies: 9
Views: 1138

huge memory leak in my game dll

Hello,
I have made a game dll in PureBasic, to have menus, edit boxes, and a few other things. If it looks strange, it is just for audiogames. I would like to use this dll in python.
In PureBasic, all the functions work fine, with no problem, however in python, a huge memory leak occurs.
Here is my ...
by rory-games
Fri Jul 10, 2020 11:25 am
Forum: Coding Questions
Topic: my programs have been decompiled!
Replies: 5
Views: 1387

my programs have been decompiled!

hi,
a malicious hacker recently got into my servers and withdrew an EXE file of an extremely private network program that leads to our remote console.
He then proceeded to decompile it, extracting pure basic sourcecode.
How can I protect future code from this?
by rory-games
Fri Jul 10, 2020 6:56 am
Forum: Game Programming
Topic: sound3d appears to be reversed
Replies: 4
Views: 2659

Re: sound3d appears to be reversed

ok now I'm just confused; maybe I'll provide code later when I remember how to use sound3d, xd
by rory-games
Thu Jul 09, 2020 9:33 am
Forum: Game Programming
Topic: sound3d appears to be reversed
Replies: 4
Views: 2659

sound3d appears to be reversed

hi all
from what I can tell, making x increase causes sounds to go to the left, rather than to the right. This is a little irritating; any way to reverse it?
by rory-games
Tue Jul 07, 2020 8:48 am
Forum: The PureBasic Editor
Topic: case correction inside quotes
Replies: 10
Views: 7750

case correction inside quotes

This has been a pressing concern for a while now, and it's getting really annoying, so I figured I may as well post about it here.
Let's say I have a string for a button that is called "back to main screen"
Well, pure basic randomly capitalized the To, but sometimes it did and sometimes not, causing ...
by rory-games
Fri Jun 12, 2020 12:02 pm
Forum: Coding Questions
Topic: Using PushKey() in webgadget how to select all, cut paste?
Replies: 3
Views: 1370

Re: Using PushKey() in webgadget how to select all, cut past

sorry, that last post didn't work properly

Code: Select all

keybd_event_(#VK_LCONTROL,0,0,0)
keybd_event_(#VK_A,0,0,0)
keybd_event_(#VK_LCONTROL,0,#KEYEVENTF_KEYUP,0)
keybd_event_(#VK_A,0,#KEYEVENTF_KEYUP,0)