Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Coding Releases
You last visited: Today at 18:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Samson Engine Library

Discussion on Samson Engine Library within the Coding Releases forum part of the Coders Den category.

Reply
 
Old   #1
 
.RazerX's Avatar
 
elite*gold: 0
Join Date: Mar 2013
Posts: 188
Received Thanks: 149
Samson Engine Library

Hello ElitePvpers

What's Samson Engine?
With Samson Engine You Can Easily Store Many Informations Like Strings Or
Files Into One File,While Everything Is Encrypted With A Key That You Define!
What's The Profits...?
Now You Dont Have To Use External Images Or Informations That Can Be Easily Edited. You Just Get Everything You Need From One Protected File.

How To Use?
A) Creating A Resource File

First Add The Samson Engine Library To Your Project
Then At The Beging Of The Code Add This:
Code:
Imports SamsonEngine
After That Create A Writer, For Example
Code:
Dim Writer As New Samson_Writer("Location", "Encryption Key")
To Add String Resources Just Use This Function:
Code:
Writer.Add("Resource_ID","Resource_Value")
To Add File Values Do This:
Code:
  Dim Image_Bytes As Byte() = My.Computer.FileSystem.ReadAllBytes("C:\Image.jpg")
Writer.Add("Image", Convert.ToBase64String(Image_Bytes))
To Create The Resource File Just Use This Function:
Code:
  If Writer.Generate = True Then
MsgBox("Done")
  Else
MsgBox(Writer.Get_Last_Error)
  End If
That's It!! You Have Succesfully Created A Resource File
Now To Read The Resources:

B) Reading A Resource File

First Add The Samson Engine Library To Your Project
Then At The Beging Of The Code Add This:
Code:
Imports SamsonEngine
After That Create A Reader, For Example
Code:
Dim Reader As New Samson_Reader("Location", "Encryption Key")
To Read A Value Just Use This Function:
Code:
Reader.Get_Value("Resource_Id")
For Example:
Code:
MsgBox(Reader.Get_Value("Server_Ip"))
Also You Can Use This Function For Image Resources:
Code:
Reader.Get_Image("Image_Id")
For_Example:
Code:
Me.BackgroundImage = Reader.Get_Image("BG_Image")
I Hope You Find My Library Usefull!







Also The Source Code:
I Am Not A Perfect Programer I Am Sorry!

Find My Original Post Here:
.RazerX is offline  
Old 08/01/2013, 03:46   #2

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Arrow .NET Languages -> Coding Releases

moved
xxfabbelxx is offline  
Reply


Similar Threads Similar Threads
[DLL] Elitepvpers Library v2
03/06/2015 - Coding Releases - 240 Replies
.
[How to] ADD Library to C++ 2010
11/20/2010 - WarRock - 3 Replies
I am Sorry for Spam :( ... __ QUESTION: How to ADD Library(Direction) Direct Summer 2004 to Visual C++ 2010 ? Please :(
[C#] Socket Library
03/28/2010 - Coding Releases - 2 Replies
Release Notes: This SocketLibrary (.dll) can be used for any purposes. From something big like a complete MMORPG, to something as small as a chat. I do not really care a bout you giving me credits for this release, but it would be nice if you did. You do not have to believe I made this, if you can prove I didn't create this, please show me. As far as I know, I did create this, didn't take me more than 10 minutes. Version(s): 0.1 - The first release, not many extras yet, just a basic,...
hack using engine(any engine?) anf by pass for this engine..
10/09/2009 - Grand Chase Philippines - 3 Replies
wla na bang engine na gumagana?
.NET 2.0/c# - CO2 Proxy Library
08/12/2006 - CO2 Exploits, Hacks & Tools - 29 Replies
Hi, As I spent a good days work writing this, and I got a lot of help from reading through posts from this forum to get it going I feel I should contribute something back! Maybe some of you could help me expand this code by sharing some your knowledge of the structure of the packets. I will cover the following in this post: 1) What this code does, and how to use it 2) What I know about different packets types (and what I'm assuming, I may be wrong!) 3) What I want to know! If anyone...



All times are GMT +1. The time now is 18:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.