Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Aku_Aku, ozgur), 1,095 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
ASCII Table different? #375017
06/23/11 10:09
06/23/11 10:09
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Hi there..

My Team and i are coding a en-/decryption system for our Updater..
But we are unsure with the ASCII table..

A8 seems to start with 32 (space).. a normal table starts with 0 (NULL)...

Has A8 the complete table (0-255), and just shows 32 - 127.. or just the 32-127?

Last edited by Espér; 06/23/11 10:09.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: ASCII Table different? [Re: Espér] #375018
06/23/11 10:14
06/23/11 10:14
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
A char has always 8 byte in Lite-C and is always unsigned, so you have the full range of 0-255. Whats displayed on eg. TEXT elements has nothing to do with this but only with a) the used font and b) how the glyphing system of Gamestudio works.

Anyway, if you still use the same encryption like in the last thread: Please, throw it away together with the coder who proposed it as secure! Its not secure, its easily breakable in a few _SECONDS_!


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: ASCII Table different? [Re: WretchedSid] #375022
06/23/11 10:36
06/23/11 10:36
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
the problem is.. i´ve no clue on how to add libs to lite-c.. or how to use cryption dlls..

So.. we try it with a code to change letters, recalculate the ascii char and change them again..

if you´ve a good beginner manual for using libs/dlls with lite-.c.. i´ve an open ear for it.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: ASCII Table different? [Re: Espér] #375026
06/23/11 10:50
06/23/11 10:50
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline
User
Stromausfall  Offline
User

Joined: Dec 2002
Posts: 616
Austria
>>if you´ve a good beginner manual for using libs/dlls with lite-.c

Online Manual >> Gamestudio SDK >> Plugin SDK


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: ASCII Table different? [Re: Stromausfall] #375029
06/23/11 11:06
06/23/11 11:06
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
yes.. i know that.. but didn´t understand any word ._.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: ASCII Table different? [Re: Espér] #375038
06/23/11 11:29
06/23/11 11:29
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline
User
Stromausfall  Offline
User

Joined: Dec 2002
Posts: 616
Austria
how about the excellent one from the wiki ? (it explains step by step how to create a dll)

http://www.opserver.de/wiki/index.php/Writing_a_basic_DLL


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: ASCII Table different? [Re: Stromausfall] #375040
06/23/11 11:33
06/23/11 11:33
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
i don´t want to create a dll.. i just want to USE it.. ._.
It would make no sense to create a dll with the same en-/decryption code as in lite-c..
so..
When i want to use a premade cryption library.. how to include it into my game, and how to make use of it´s functions?

Last edited by Espér; 06/23/11 11:36.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: ASCII Table different? [Re: Espér] #375048
06/23/11 12:04
06/23/11 12:04
Joined: Dec 2002
Posts: 616
Austria
Stromausfall Offline
User
Stromausfall  Offline
User

Joined: Dec 2002
Posts: 616
Austria
afaik (I'm really not sure about that), you have to create a plugin .dll that wraps the functions, then you can call the wrapped functions in lite-c


get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread
Re: ASCII Table different? [Re: Stromausfall] #375053
06/23/11 12:14
06/23/11 12:14
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
No, you can also use the WinAPI to get the exported symbols and then call them:

Code:
long dllHandle = LoadLibrary("myAwesomeDll.dll");
someFunctionPrototypeWithMatchingSignature = GetProcAddress(dllHandle, "exportedFunction");




Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: ASCII Table different? [Re: WretchedSid] #375210
06/24/11 11:43
06/24/11 11:43
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
The 3rd-party encryption DLL should come with a header file surely? You include that and then call the functions?

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1