The No. 470 day of work--start a game career

Source: Internet
Author: User

Today formally entered the game industry, feeling is very tired, but really feel that there are a lot of things to learn, very happy, and finally to the middle-level programmer to move forward.

According to yesterday's plan, the VS2010 commonly used shortcut key record down, and then can be more easily browse the code, called front--server main course, assigned a few simple tasks to me, let me from a point spread out familiar with the code.

Feng elder brother gave me two bugs, one is consumes the item in a short period of time to promote the role of various property values, which has a property value did not reach the expected, my task is to change it.

To tell the truth, I really feel that this task is simply not easy. Greedy I just in vs inside Search "apple" (the consumable is called "apple"), thought that after the search can directly modify a place. Who knows there is no "apple" in the search!

That's just the data flow, and here's my idea:

Apple is a consumable, with red medicine and blue medicine, that there must be a consumable message, search for the message ID, find the call and enter the message handler function, find the specific classification, is red Medicine, blue medicine or apple, there must be a switch-> into the Apple branch, Fix the wrong bug and finish

In fact, this idea I think is right, but special, I trace to the message processing function, I found that actually is called LUA script processing! I'm not LUA! But you can go inside to see, just change a number, do not need to selectmen. After I found the Lua script, I was drunk, and I got back to the C + + package interface, and this time I don't know how to track it because it's not lua ...

Well, toss for a long time, finally still have to put LUA in order to carry out the data flow tracking, using this two days to fix Lua, legendary high-performance script, I came!


The No. 470 day of work--start a game career

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.