Search found 90 matches

by mrminecrafttnt
Nov 28, 2020 21:17
Forum: Projects
Topic: The ultimate FBGFX thread
Replies: 0
Views: 85

The ultimate FBGFX thread

Rules:
- Post your code that shows some nice effects in screenmode
- Only the original FBGFX.bi is allowd
- Additional DirectX or OpenGL is cheating.. :)
- Have fun!
by mrminecrafttnt
Nov 18, 2020 7:20
Forum: General
Topic: Split 8bit in 4bit
Replies: 26
Views: 627

Split 8bit in 4bit

How do i split and 8bit value in two 4 bit values in freebasic? The theretical code exists but i dont know how to translate this in freebasic.. xD type ubyte4 dim as ubyte hi : 4 dim as ubyte lo : 4 declare sub split(value as ubyte) declare function unsplit as ubyte end type sub ubyte4.split(value a...
by mrminecrafttnt
Nov 16, 2020 18:26
Forum: General
Topic: Simple Text Compression
Replies: 2
Views: 126

Simple Text Compression

I will try to write an simple text compressionalgorythmm, allowed are letters from A...Z the idea is to reduce the 8bit per char to 5bit(theoretical will it reduce an "Hallo World" from 11byte to 5byte but i have no idea how to compress and decompress it. The example codes should be useful...
by mrminecrafttnt
Nov 11, 2019 9:34
Forum: Tips and Tricks
Topic: Itemmanager
Replies: 3
Views: 513

Itemmanager

Here is a simple itemmanager that can save and load Variables like a database. Syntax: Databasename.set_item ("Name",Value) 'Sets an Entry if not existent so will an new entry be created Databasename.get_item ("Name") 'Get an Entry when existent. type inventory obj_name as string...
by mrminecrafttnt
Jul 18, 2019 2:12
Forum: Tips and Tricks
Topic: Stack Engine
Replies: 1
Views: 4630

Stack Engine

This one ist Programmed to make an Stack possible in Freebasic, actually only for Double Values!! For more Information: https://en.wikipedia.org/wiki/Stack_(abstract_data_type) type virtual_stack stack_data as any ptr stack_pointer as any ptr stack_ptr_start as any ptr stack_ptr_stop as any ptr stac...
by mrminecrafttnt
May 15, 2019 11:00
Forum: General
Topic: Need help improve my anticheating engine
Replies: 3
Views: 600

Re: Need help improve my anticheating engine

Hard to answer you from my part. I don't understand your need at all. I have those questions mainly: What is the purpose of your program in a real case? What is this website, cheatengine, and what do you expect from it? Maybe you can provide those bits of info. Thanks. Oh my bad but it simple: Chea...
by mrminecrafttnt
May 14, 2019 15:17
Forum: General
Topic: Need help improve my anticheating engine
Replies: 3
Views: 600

Need help improve my anticheating engine

This code is an simple anticheating engine, to defend my values in games from cheaters, based on hashed xor encrypted integers. When an cheat was detectet is the returned value zero(0). It is not perfect so it can be easy cracked with https://www.cheatengine.org/ as example, and this is why i need s...
by mrminecrafttnt
Apr 28, 2019 23:26
Forum: Projects
Topic: Arduino VM builder (preview)
Replies: 0
Views: 6539

Arduino VM builder (preview)

This one can create an bytecode based VM Sketch for Ardruinos (yep simply coustumize, copy and paste the code in the ide and it works), supports allready SPI SRAM, more features are coming, The Idea is that everybody can make easyly an VM for Arduinos. Its very hard to code this and not finally but ...
by mrminecrafttnt
Mar 27, 2019 22:55
Forum: Projects
Topic: The unhackable Integer
Replies: 0
Views: 4729

The unhackable Integer

Hi guys! I found a way to defend an Integer from all hacks with direct memorywriting etc. Can anyone try it for me? Simply use CheatEngine or other programms to change the value, but you will fail.. Its just an just4fun project. :) type anticheat dim as ubyte seed dim as ubyte key dim as ubyte mem(a...
by mrminecrafttnt
Dec 26, 2018 12:15
Forum: Projects
Topic: Fbc compiler benchmark
Replies: 0
Views: 1171

Fbc compiler benchmark

Benchmarks your FBC Compiler.. :) dim as double runtime = timer width 120,40 color 15 locate 2,2 Print "FBCBench 0.1 - Compiled with:";__FB_VERSION__ color 7 dim as integer subnr,osubnr,defaultsubnr = 5000,setsubnr setsubnr = val(command) if setsubnr = 0 then setsubnr = defaultsubnr : prin...
by mrminecrafttnt
Dec 17, 2018 22:35
Forum: General
Topic: Have i found an hidden Print function??
Replies: 2
Views: 334

Have i found an hidden Print function??

Check this..

Code: Select all

screenres 640,480
print string((1024*8)+210,2)
sleep
by mrminecrafttnt
Dec 14, 2018 22:05
Forum: General
Topic: Passing fixed-len string as arguments: possible but not recommended?
Replies: 19
Views: 1317

Re: Passing fixed-len string as arguments impossible?

It's not supported.. declare sub test (x as zstring * 6) gives me error 323: Fixed-length string combined with BYREF (not supported), before ')' in 'declare sub test (x as zstring * 6) you have to write your own routines... ;) You ive did this for you. It's not perfect but it sill works ;) type auto...
by mrminecrafttnt
Dec 12, 2018 20:15
Forum: General
Topic: Programm is simply closeing but.. why??
Replies: 4
Views: 510

Re: Programm is simply closeing but.. why??

Hello, can you show an output of what it does before it crashes? Yep it is now stablilized to show what it does and where it fails. #define thread_uninitalized 0 #define thread_running 1 #define thread_crashed 2 type thread_controller state as uinteger declare sub reboot(t_adress as any ptr,byref s...
by mrminecrafttnt
Dec 12, 2018 19:23
Forum: General
Topic: Programm is simply closeing but.. why??
Replies: 4
Views: 510

Programm is simply closeing but.. why??

I am try to make an auto restarting sub after an crash but it will simply close my programm without errors?? I don't know why it will do this.. ? This is mytherious.. :/ #define thread_uninitalized 0 #define thread_running 1 #define thread_crashed 2 type thread_controller state as uinteger declare s...
by mrminecrafttnt
Dec 11, 2018 0:20
Forum: Tips and Tricks
Topic: Stack CPU Emulation
Replies: 1
Views: 506

Stack CPU Emulation

This one emulates a Stack like a CPU. Push - Writes a Value into the Stack Pop - Reads a value form the Stack 1024 Values can be written pro Stack What is does: https://en.wikipedia.org/wiki/Stack_(abstract_data_type) type stack id as integer ptr d as integer ptr declare sub push (value as integer) ...

Go to advanced search