Notifications
Clear all

2.0 ruined my setup

16 Posts
2 Users
0 Reactions
2,181 Views
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

I upgrade to 2.0 and it no longer encrypts the password. The encrypt password selection is gone in CombuManager...

I can't login but I can create an account -.-

I tried using an empty project, NOTHING WORKS ANYMORE!

Its all over the place now 🙁 I cant even find the PDF documentation anyhwere

 

Please help! I look forward to updating review

 
Posted : 06/06/2015 2:38 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

The password is always encrypted now, did you try to enable the flag Log Debug Info to see what is it sending to server?

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 2:48 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

Skared Creations said
The password is always encrypted now, did you try to enable the flag Log Debug Info to see what is it sending to server?

I only realized it wasn't when I checked the database, it shows the password without encryption.

 

Sending:

.com/combu/users.php?action=login&Username=z&Password=fbade9e36a3f36d3d676c1b808451dd7&sig_time=635692206245180598&sig_crc=3a159c918067cdf077b84aa323b0e4ffafe34c92
UnityEngine.Debug:Log(Object)

Combu.<DownloadUrl>c__Iterator10:MoveNext() (at Assets/Combu/Scripts/CombuManager.cs:372)

 

----

 

{"success":false,"message":"Credentials are invalid","errors":[]}

Combu.<DownloadUrl>c__Iterator10:MoveNext() (at Assets/Combu/Scripts/CombuManager.cs:392)

 
Posted : 06/06/2015 2:54 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

You mean it wasn't encrypted in your previous installation or it didn't encrypt during the creation account?

Ops... I noticed only now that it's a bug in creation, going to fix right now and get back to you.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 2:57 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

Ok here's the fix: open User.cs at line 171 it should be:

form.AddField("Password", CombuManager.EncryptMD5(password));

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 3:01 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

Skared Creations said
You mean it wasn't encrypted in your previous installation or it didn't encrypt during the creation account?

Ops... I noticed only now that it's a bug in creation, going to fix right now and get back to you.

I've tried doing a fresh install. New accounts. I don't think it encrypts the password when i create the account, I'm not sure

 
Posted : 06/06/2015 3:03 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

User.cs already had that line Identically

 
Posted : 06/06/2015 3:05 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

Wait wrong line sorry! I'll try it now brb

 
Posted : 06/06/2015 3:07 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

joki said
User.cs already had that line Identically

How can it be possible? I added "CombuManager.EncryptMD5" to it right now, it was sending directly "password" without calling EncryptMD5.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 3:07 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

Sorry I didn't have line number enabled so I just assumed something else.

 

It works perfectly again, thanks a lot! amazing support btw.

 
Posted : 06/06/2015 3:12 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

joki said
It works perfectly again, thanks a lot! amazing support btw.

Great, thanks. Going to upload the update to Asset Store as well in the following days.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 3:17 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

Thanks, I'm glad to see an amazing asset get upgraded so much quicker then the others. I've been using the beta the whole time and couldn't grasp my head around how quickly you switched over to ugui

 
Posted : 06/06/2015 3:18 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

Yep switching to ugui was not a big deal since I'm much experienced with NGUI, and you know the Unity 2D tools were initially made by the author of NGUI 🙂

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 3:29 pm
 joki
(@joki)
Posts: 29
Eminent Member
Topic starter
 

Nice, its a huge upgrade :p  btw when i send a request to update a stat it takes so much longer then before.. I mean it now takes so long that when I open a menu showing that stat it updates only after I open it the second time.. 

If that doesn't make sense, basically its so slow it looks like theirs something wrong, you're the smart guy here though

 
Posted : 06/06/2015 3:39 pm
(@skaredcreations)
Posts: 806
Prominent Member Admin
 

Sounds strange since the server and database was only extended with new classes/tables (platform, matches, tournaments) and almost nothing was changed from earlier implementations. Anyway you should theoretically implement your code considering that you're working in an asynchronous environment, so for example waiting for the response from server before enabling/displaying the interface while loading/sending data (for example like it does in the demo scene).

By the way the documentation is online here, you will find the link also in your Combu admin console.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 06/06/2015 5:19 pm
Page 1 / 2
Share: