[Plugin]CB Hash (MD5, SHA-1 and SHA-256)

Post your completed addons to share with the community

Post » Sun Sep 24, 2017 9:18 am

I just wanted to let you know I added the plugin to my released game. I wanted to add some more security to the leaderboard.
It works like a charm (tested on real devices and web), and I'm now waiting for Google Play and Apple to accept the release package.

+1 to add a C3 version. Thanks for your work, Kyatric!
Image
Version 1.2.3 - Available for: Web - iOS - Android
B
16
S
3
Posts: 52
Reputation: 1,055

Post » Sun Oct 08, 2017 3:58 pm

To anyone who is also looking for a C3 version of this plugin, thanks to blackhornet’s tool I converted it.
@Kyatric: May I publish a link so anyone can download a C3 version of your plugin?
I tested this and it works like a charm. See my related post.
Image
Version 1.2.3 - Available for: Web - iOS - Android
B
16
S
3
Posts: 52
Reputation: 1,055

Post » Sun Oct 08, 2017 3:59 pm

@antoineguedes : Yes go ahead.
Thanks for testing it.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
304
S
123
G
99
Posts: 7,358
Reputation: 73,460

Post » Sun Oct 08, 2017 9:02 pm

Kyatric wrote:@antoineguedes : Yes go ahead.
Thanks for testing it.


You're welcome!
Thank you for making it. :D

So, thanks to @blackhornet 's tool here is the Construct 3 version of your plugin: cbhash_release_r70_1.0-c3.zip
If for some reasons the link is not working in the future, just pm me.
Image
Version 1.2.3 - Available for: Web - iOS - Android
B
16
S
3
Posts: 52
Reputation: 1,055

Post » Sat Dec 23, 2017 4:12 pm

I'm new to Construct 3 and just downloaded cbhash from your link. The addon manager is looking for a .c3addon file. I didn't see it so I'm not sure how to get it installed. And thanks for converting it.
B
16
S
5
Posts: 28
Reputation: 1,106

Post » Sat Dec 23, 2017 6:07 pm

@MathNook: Rename the archive "cbhash_release_r70_1.0-c3.zip" into "cbhash_release_r70_1.0-c3.c3addon" and C3 should install the addon.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
304
S
123
G
99
Posts: 7,358
Reputation: 73,460

Post » Sun Dec 24, 2017 2:59 pm

@Kyatric: Thanks I got it installed. It wouldn't install at first as the browser console was showing the error "Error installing addon: Error: missing addon.json" The addon.json file was there but it was 2 folders deep so I went to that folder re-zipped the files and was able to load it.

So if anyone has trouble adding this addon, do this:

1. Unzip the downloaded zip file
2. go to where the addon.json file is and zip all of those files/directories.
3. Save zip file with the name Kyatric mentioned above: "cbhash_release_r70_1.0-c3.c3addon"

After that you should be able to add it via the addon manager in C3

Thanks again Kyatric!
Last edited by MathNook on Thu Dec 28, 2017 10:16 pm, edited 2 times in total.
B
16
S
5
Posts: 28
Reputation: 1,106

Post » Mon Dec 25, 2017 9:17 am

@Kyatric found something error on getting sha1
the string is
1509710152jg4g3b0i-7pb0-92y5-mu0a-e997nmb6gg3p{"channelid":"guangzhou1","gameid":"ninedead","roomid":"568bc11c-504c-4be8-9104-0be6b0cc2375","player":{"uid":"1830969817","name":"mr.yipxx","avatarurl":"http://s1.yy.com/guild/header/10001.jpg","opt":""}}FEDCDTCYQDLTFAWJ

the sha1 got by cbhash is c55c6794d4f76d87aaf8139ecda5b875a2e7c30b
but the right sha1 is C7961CC7357F8A991EDF5A93DAF1E69B2D7C30AB by any sha1 verifying site like http://www.convertstring.com/en/Hash/SHA1

is the " in the string made this mistake? or just my bad?
B
36
S
7
Posts: 7
Reputation: 1,814

Post » Wed Dec 27, 2017 5:30 am

@vzad: The general string should be in quotes. And when using quotes within the string, you should add double quotes to indicate them as "quote character", not just "string quote".
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
304
S
123
G
99
Posts: 7,358
Reputation: 73,460

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests