Search found 86 matches

by mrminecrafttnt
Apr 14, 2017 20:15
Forum: Tips and Tricks
Topic: New error correction method.
Replies: 8
Views: 1165

Re: New error correction method.

Thanks! Here is a new Version with an optimized "corrected_data" function :) #define add_errors 'enable me to add errors into the data - engine have to correct this an will be a little bit slower.. const error_level = 3 ' (2 - 8) ,higher levels generates more errors) const pixel_package_si...
by mrminecrafttnt
Apr 14, 2017 15:31
Forum: Tips and Tricks
Topic: New error correction method.
Replies: 8
Views: 1165

Re: New error correction method.

Here i added some variables for you to play around with, and i released the visual wish :) #define add_errors 'enable me to add errors into the data - engine have to correct this an will be a little bit slower.. const error_level = 2 ' (2 - 8) ,higher levels generates more errors) const pixel_packag...
by mrminecrafttnt
Apr 05, 2017 15:53
Forum: Tips and Tricks
Topic: New error correction method.
Replies: 8
Views: 1165

New error correction method.

It uses the simple Repeatation code but i advanced it.. and i make it very strong so that more than 50% of corrupted date are possible to correct :) function corrected_data(x() as integer) as integer dim as ulongint errc_data,divisor for i as integer = lbound(x) to ubound(x) - 4 if x(i) = x(i+1) and...
by mrminecrafttnt
Mar 22, 2017 18:59
Forum: Tips and Tricks
Topic: How to defend your values from cheaters
Replies: 1
Views: 516

How to defend your values from cheaters

Hi guys here is my simple anticheating engine that uses encryption and hashes it will make it hard to cheat your highscores.. ;) type ac_lvl0 value as integer key as integer hash as integer declare sub set (value as integer) declare function get as integer end type sub ac_lvl0.set (value as integer)...
by mrminecrafttnt
Mar 13, 2017 10:38
Forum: Tips and Tricks
Topic: How a serial works
Replies: 5
Views: 860

How a serial works

This little code shows up how serials are working. #include "windows.bi" dim as bool application_unlocked sub demo print "THIS HERE IS THE DEMO" end sub sub fullversion print "THIS HERE IS THE FULLVERSION" end sub function gen_serial_code (s as string) as ulongint dim a...
by mrminecrafttnt
Mar 09, 2017 20:57
Forum: Tips and Tricks
Topic: Some effects with Alpha :)
Replies: 5
Views: 728

Re: Some effects with Alpha :)

I've simply combined circles and blocks and then this :) screenres 640,480,32 dim as any ptr img1 = imagecreate(64,64) line img1,(0,0)-(64,64),rgba(0,0,255,2),bf circle img1,(32,32),16,rgba(255,255,0,6),,,,f cls do put (int(-32+(int(rnd*640))),int(-32+(int(rnd*480)))),img1,alpha 'put (int(rnd*640),i...
by mrminecrafttnt
Mar 08, 2017 16:07
Forum: Tips and Tricks
Topic: Some effects with Alpha :)
Replies: 5
Views: 728

Some effects with Alpha :)

Small code but enjoy this effect :) screenres 640,480,32 dim as any ptr a = imagecreate(32,32) dim as any ptr b = imagecreate(32,32) for x as integer = 0 to 31 for y as integer = 0 to 31 pset a,(x,y),rgba(255,0,0,30) pset b,(x,y),rgba(255,255,0,30) next next do put (int(rnd*640),int(rnd*480)),a,alph...
by mrminecrafttnt
Mar 05, 2017 17:12
Forum: Tips and Tricks
Topic: A simple message encryption algorithm
Replies: 2
Views: 628

A simple message encryption algorithm

It uses the timer command to generate the key - no password, only generated the key, i think it should be very easy to extend this.. Without the same key can the message never be decrypted.. The encryption self uses a simple char xor int(rnd*256) here is the source code: dim as uinteger key = TIMER ...
by mrminecrafttnt
Jan 18, 2017 20:35
Forum: Tips and Tricks
Topic: A simple custom 8-Bit CPU/GPU Emulator
Replies: 1
Views: 588

A simple custom 8-Bit CPU/GPU Emulator

'THIS IS A VIRTUAL 8-bit CPU/GPU Emulator 'FEATURES: 512bytes of ram, 3 registers, keyboard_interface, Support for 256 Colors, Screen Resolution: 20x15 'DEVELOPER FEATURES: YERY EASY TO EXTEND :) dim shared as ubyte ram(512),r0,r1,r2,exitflag,interface_keyboard dim shared as ushort prgctr 'THIS TIN...
by mrminecrafttnt
Dec 20, 2016 18:06
Forum: Projects
Topic: Freebasic Chrismas Crackme Contest 2016
Replies: 0
Views: 551

Freebasic Chrismas Crackme Contest 2016

Here is my Crackme! :D Just copy, paste and compile :) #include "windows.bi" dim shared as ushort ram(92),r1,r2 dim shared as uinteger prgctr,exitflag,nextstradr dim shared as ubyte sram(359) function encode_string(s as string) as string static as ubyte z dim as string p = space(len(s)) fo...
by mrminecrafttnt
Nov 24, 2016 17:49
Forum: Projects
Topic: 8-bit Virtualmachine
Replies: 1
Views: 636

8-bit Virtualmachine

Hello i just wrote a simple costum virtualmachine, the chip-8 interpreter has inspired to do this. It is very minimalistic but a virtualmachine :) 'HI! Guys! This is my first costum virtualmachine ever! :) 'Features: 8-bit aritecture, 3 registers, 256 bytes ram, 8 opcodes (easy to extend), code is e...
by mrminecrafttnt
Apr 21, 2016 17:09
Forum: Tips and Tricks
Topic: Example of using textfiles for OBS :)
Replies: 0
Views: 696

Example of using textfiles for OBS :)

Here is a simple Counter for OBS (Open Board Caster) :)

Code: Select all

dim as integer count,t
do
    print count
    sleep
    open "count.txt" for output as #1   
    count+=1   
    print #1,count
    close #1   
loop


You have to select Text and the textfile (count.txt) thats all ;)
by mrminecrafttnt
Feb 14, 2016 19:26
Forum: Tips and Tricks
Topic: Developing of an bytecode interpreter in freeBASIC
Replies: 6
Views: 648

Re: Developing of an bytecode interpreter in freeBASIC

Well done i think i did it! :D This is FBVM0.1(work in progress) a complex 8-bit VM writen in 1 hour and yes it have many bugs, but hey! :D Some new Features: 4 Registers, Rom Checksum, build in function to load and save other roms, support for fbgfx sprites, and more.. It is only to show some sourc...
by mrminecrafttnt
Feb 14, 2016 17:42
Forum: Tips and Tricks
Topic: Developing of an bytecode interpreter in freeBASIC
Replies: 6
Views: 648

Re: Developing of an bytecode interpreter in freeBASIC

It had no Compiler so i added one so simple i can do it: --BUILDING A COMPILER-- What is a Bytecodeinterpreter without a Compiler that makes our sourcecode to bytecode? So i had to modified my example code the write an example.. So ive added a loader into my interpreter and programmed a compiler for...
by mrminecrafttnt
Feb 14, 2016 17:41
Forum: Tips and Tricks
Topic: Developing of an bytecode interpreter in freeBASIC
Replies: 6
Views: 648

Re: Developing of an bytecode interpreter in freeBASIC

--BUILDING A COMPILER-- What is a Bytecodeinterpreter without a Compiler that makes our sourcecode to bytecode? So i had to modified my example code the write an example.. So ive added a loader into my interpreter and programmed a compiler for all the opcodes with a simple programming language :) d...

Go to advanced search