You can deploy and run the QQ high-profile version Gg v3.5 in the wan to add the selfie Avatar function and detail optimization (source code)

Source: Internet
Author: User

It has been another month since the last version (Gg v3.4, added system settings, recent contacts, and group functions). In this month, due to the lack of free time, the main function added by GG is to take a photo and set it as your avatar, change the password, delete friends, and modify some bugs. I tried to list more than 20 parts of GG to be optimized. It seems that Gg still has a long way to go from a formal product. Come on!

I. gg v3.5 New Features

1. Selfie Avatar

2. Change the password

3. Delete friends

4. Others

(1) The size of the main window can be changed.

(2) bug fixing: When a chat sends a message, if it is large, the other party will not receive it.

(3) fixed the bug: If you have dropped the line, some operations will cause the process to crash.

(4) other minor bugs have been found to be fixed.

Not to mention nonsense.

Selfie Avatar:

Use a selfie Avatar:

Change Password:

Delete friends:

 

II. Implementation ideas

Although the source code is provided, I still want to list the main ideas so that you can understand the source code and save more time.

1. gg v3.5 adds a photoform form on the client to implement the photo taking function.

2. the user object class adds the byte [] Type property headimage, which is used to store the Avatar image of the selfie (converted to a binary stream ).

3. The meaning of the headimageindex attribute of the user object class has changed. If the value is-1, the custom avatar is used. If the value is not negative, the system Avatar index is used.

4. informationtypes adds the changepassword message type, which is used to support password modification (synchronous call method of the query using icustomizeoutter ).

5. added the removefriend and friendremovednotify message types for informationtypes to delete friends. Note: When you delete a friend from the friend list, you will also delete it from the friend list.

6. finally, let's talk about the database problems that many friends mentioned. In fact, we only need. in the project of server, rewrite the implementation of virtualdb, and then change it to interact with the real database.

 

Iii. gg v3.5 source code download

Gg v3.5 source code

Note: The gg.exe file compiled by gg2010is often falsely reportedVirusIn this compressed package, I deleted the gg.exe generated by the customer. You can compile and generate it by yourself.

 

I wrote an article to summarize the latest overview of GG and how to deploy and use accounts, for more information, see the overview of gg2013, a high-profile QQ edition, which can be deployed and run on the WAN.

Welcome to discuss with me about gg2013, My QQ: 2027224508, a lot of exchanges!

If you have any questions or suggestions, you can leave a message or send an email to my mailbox: [email protected].

If you think it's good, please try again.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.