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