Search found 131 matches

by mrminecrafttnt
Mar 20, 2024 4:54
Forum: Sources, Examples, Tips and Tricks
Topic: Touchscreen Interface
Replies: 0
Views: 117

Touchscreen Interface

I worte an very simle but good working touchscreen interface. Have fun! type button x1 as integer x2 as integer y1 as integer y2 as integer col as integer declare sub d(t as string) declare function c(x as integer,y as integer) as integer end type sub button.d(t as string) dim as integer px,py line(...
by mrminecrafttnt
Jan 01, 2024 0:05
Forum: General
Topic: New Year Challange
Replies: 1
Views: 330

New Year Challange

Hi, this challange tests your programming knowlege. You need to get "You dit it!" as output by "print secret" good look. 'rule: dont modify code above "your code here" - good look :) type ultrasecretstring private: s as string acs as boolean public: declare operator cas...
by mrminecrafttnt
Aug 06, 2023 20:27
Forum: Projects
Topic: Lemonade virtual machine
Replies: 6
Views: 1903

Re: Lemonade virtual machine

Compile Freebasic Code as DLL File and bind it into the Twinbasic

This means that the TwinBasic code is main code and the freebasic dlls have the timecritical code. Not tested but theoritical possible.
by mrminecrafttnt
Mar 21, 2023 8:19
Forum: Community Discussion
Topic: VM For FreeBasic as Target?
Replies: 6
Views: 1395

Re: VM For FreeBasic as Target?

Hmm.. i think Python Bytecode can be the future :D
by mrminecrafttnt
Mar 20, 2023 22:01
Forum: Community Discussion
Topic: VM For FreeBasic as Target?
Replies: 6
Views: 1395

VM For FreeBasic as Target?

My Idea is to add an VM to the Freebasic Compiler as target so that the apllication(binary file) runs everywhere, its simply needed to translate the vm/emulator to the platform.
Is that a good idea? :)
by mrminecrafttnt
Mar 20, 2023 20:15
Forum: Beginners
Topic: Close ScrenRes without ending program
Replies: 5
Views: 1160

Re: Close ScrenRes without ending program

You can use both, console and screen at same time: screenres 320,240 print "Click the console" Dim a As String Open Cons For Output As #1 Open Cons For Input As #2 Print #1,"Please write something and press ENTER" Line Input #2,a Print #1, "You wrote";a Print #1, "...
by mrminecrafttnt
Mar 20, 2023 20:00
Forum: Beginners
Topic: win api with -lang qb
Replies: 6
Views: 1255

Re: gui with -lang qb

One method is to bypass this with external libarys: Step one: Compile the libary with functionality that you are missing 'save as msgbox.bas and compile with the -dll parameter first. #lang "fb" #include "windows.bi" declare sub msgbox alias "msgbox" ( s as string,title...
by mrminecrafttnt
Mar 20, 2023 19:15
Forum: Beginners
Topic: Window CMD scroll lines
Replies: 11
Views: 1869

Re: Window CMD scroll lines

Otherwise, can you test this? #lang "fblite" Width , 10100 for i=1 to 10000 print i next i sleep Nope #lang "fblite" Width 10100 , 10100 for i=1 to 10000 print i next i sleep works better for me Here is a little sure not that want but more smart :) type logger Redim s(any) as st...
by mrminecrafttnt
Mar 20, 2023 8:19
Forum: General
Topic: Code request: Need an function that returns true when this function is called in an function or sub
Replies: 9
Views: 749

Re: Code request: Need an function that returns true when this function is called in an function or sub

I did not quite understand what you are exactly looking to do, but the code below might be able to help: Function WhoCalledMe(Byref fct As String) As Boolean If fct = "__FB_MAINPROC__" Or fct = "__FB_MODLEVELPROC__" Then Print "I am called by main" Return False Else Pr...
by mrminecrafttnt
Mar 20, 2023 7:47
Forum: Sources, Examples, Tips and Tricks
Topic: Protected Variables with Access Managment are possible - Keep it simple :D
Replies: 0
Views: 1367

Protected Variables with Access Managment are possible - Keep it simple :D

Ive found a very simple method to add an accsees managment system for strings, this should work with other datatypes too. :) Have a nice day! Update: I think that i have all bug fixed :) #undef true #undef false const true = 1 const false = 0 Type ProtectedString private: protectetstringdata as stri...
by mrminecrafttnt
Mar 18, 2023 8:53
Forum: Community Discussion
Topic: Need a list of missing Keywords for FBIDE 0.4.6
Replies: 8
Views: 1388

Need a list of missing Keywords for FBIDE 0.4.6

I need an update of the Keywords in FBIde 0.4.6 for fbc 1.09.0
Can any one make this for us? Or how can i do it self?

Greeting! :)
by mrminecrafttnt
Mar 17, 2023 11:42
Forum: Community Discussion
Topic: Copy Arrays
Replies: 17
Views: 3009

Re: Copy Arrays

I think something like this:

Code: Select all

dim as string array_Small(1 to 3)
dim as string array_Big(1 to 10)
array_Big(1 to 3) = array_small(1 to 3)
Have must be working in the next release of FreeBasic.. :)
by mrminecrafttnt
Mar 17, 2023 11:37
Forum: Community Discussion
Topic: Who can hack this? 2.0 - Work in progress
Replies: 0
Views: 1228

Who can hack this? 2.0 - Work in progress

Hi everybody! I am actually working on a new OpenSource Crackme in FreeBasic, based on this: ->Entry<- In the Freebasic forum. The Code ist allready fixed so that the old code ist working now alleady working with fbc 1.09.0 the next step is to rewite the complete Code and fix all the security issuse...
by mrminecrafttnt
Mar 17, 2023 7:43
Forum: General
Topic: Code request: Need an function that returns true when this function is called in an function or sub
Replies: 9
Views: 749

Code request: Need an function that returns true when this function is called in an function or sub

I need something like this

Code: Select all

If ThisIsInFunctionOrSubCalled then
	return true 
else 
	return false
end if
Is this possible?
by mrminecrafttnt
Mar 16, 2023 23:38
Forum: Sources, Examples, Tips and Tricks
Topic: Who can hack this? (Don't modify the code :p)
Replies: 7
Views: 5417

Re: Who can hack this? (Don't modify the code :p)

Oh this is fun, ive just updated the code to run with 1.09 'Defined Restrictionlevels: '10 System (is not allowd to login) ' 9 Admin ' 8,7,6,5... Users ' 0 Disabled #include "windows.bi" #undef true #undef false const true = 1 const false = not true Type AccseesData AdminInterface as ubyte...