Home > Software engineering >  [original serial] (2) in shenzhen, a "paradise" -- let me wonder private servers road...
[original serial] (2) in shenzhen, a "paradise" -- let me wonder private servers road...

Time:09-30

4, private game path

At that time every day from work to play a single game, met the GM in the game (hereafter referred to as "flower), learned that he needs to pay someone to write a combat platform, has 3000 ocean!!!!!! A few buttons, static text, such a simple interface with a free skin library, and in this way, 3000 pieces, and flower flower also TMD ask for written everywhere, I was shocked!

Later I help huahua wrote a free of charge, for about five or six years until now, of course, in return for flower then give me my game is the highest authority of the GM, with the highest authority in the game, just host remote desktop access, before that, his WEB background often give a person the invasion, of course I have a part-time job to help him repair the loophole, this time I will help him install security dog (my safety dogs are registered in 12 years, BBS digital ID within 6000), after that his host has not been invaded, then he gave me a set of let me open myself up to the game end, after seeing his part of the code, just know this game is a scripting language PAWN, similar to pure C code, basically, a see understand, if you know C language, it is too simple!

Take after part of the code, just know this is a flower flower please write, this technology Daniel (hereafter referred to as "baby) also in shenzhen, do spare some writing scripts, stock investment to introduce met baby a great god, and that he would have a home in shenzhen, SOHO at home for many years, later in the free time rewriting the entire game plug-in code complete,

Was calculated upfront costs about 2 w, hands and only more than 1 w, then find a childhood hair small LHL borrowed 5000 yuan investment, claimed a one-way ticket, and promised that if I lost count me borrow only subsequent also slowly, so he agreed reluctantly is one of the formal down the road of private servers,

When tencent ali cloud hosting hasn't done, mainstream or hosting (host computer) oneself buy or rent (agents on the host), also don't know at that time, almost in the middle of 13 years, just spent more than 5000 to buy one when is more mainstream configuration, 5606 + 8 g + Intel Xeon S5500BC, was later found to rent a 4 core/8 g/20 m, just also overland doesn't need to buy a month, in room also trouble,



Quickly in 2013, at that time because of a line of computer room is too expensive, everyone was moved to the second line around the city, so at that time know the dongguan li, he in dongguan on IDC do sales, the company at the time of dongguan is one of the most famous IDC agent, sign the contract and send the host in the past, managed 20 m a year, a total of 6000 pieces, this is their pay alone (think about the salary of 4000 a year in shenzhen can save more than ten thousand all save into what appearance, a day filled with Fried kway teow Fried noodles Fried rice to eat to vomit!) , checked all the results this guy I took less than four months later, that he too much money to run a phone owe the telecom company, I pay an annual fee of this nature was treading water, is the key of the whole cabinet of a call by telecommunication bureau posted seals to confiscate properties, because in the telecommunication bureau also don't know these machines, which are your hosting, what is on their rent, my host can also be withheld, although the contract was signed, but the somebody else DaLang telecommunication bureau didn't take a reason you this small role, build QQ group organized so someone, go DaLang telecommunication bureau door pull banners, require the refund of host machine, sat for four hours at 7 o 'clock this morning bus to reach the DaLang beauty centre the telecommunication bureau at the door, I go too late, came about and number of people at that time, including wing, because they host machine is the most, and give the most badly hurt! The other is more than ten units, dozens of host, just know only a few people of one host, used cheap anyway, more than one thousand nobody willing to run that far to claim, think about, too, they ticket back and forth across the province is not enough, perhaps, after all, is the host of his own money to buy, then certainly don't want to give up,

To the scene of the few leadership, mediation, are not sure what position, it agreed to host contract, buyers receipt or invoice complete formalities, can only be returned to the host priority, so that day until more than 5 p.m. to machine, and then find the home delivery on the spot to dongcheng main mountain on the other side of the room, it's almost ten o 'clock back to shenzhen...

Told LHL later put it, I said this is unexpected, or contributed to restart again now, or I pay you back slowly, then brothers is also because of the show, said he didn't lost even if the how much money spent again, all the way from primary school of, while little contact at ordinary times, I always feel guilty, and the promise was gone home must be by the end of his 5000 dollars,

The bad things are always one after another, more depressed, open private servers for six months, the number of online game has been in single digits floating, sorrow is dead, then I then use a mobile phone or nokia 3100 this LiuQiBaiKuai color screen machine, extrusion is from the point of death 7800 monthly wages, this his mama if lose again for a year? So for the flower again consult, and of course he didn't so stingy, because he has seven games over there area manchu words (each 30 people), are automatically transferred to me, so I come this evening rush hour once in a while there are still a few people to play,

He then spent $two thousand to buy a set of tools, called dummy luring clothing transferred tools, the tools of cow force is to simulate several games protocol packets, in QQ, holdfast mainstream to draw bench simulation game server running, players through the LAN can scan to his list of hosts, players into the game, will be forwarded to his private servers host IP above, it gives a false sense of players is he thought into the local area network (LAN) to draw the stage, is in fact into his private servers IP, he give me the tools have also useless, because the tools binding machine running, wanted to break off the tool, but too food, strong lu VMP too difficult, just simply oneself fumble, see if I can try to do a similar tool, after three consecutive night caught after debugging efforts, finally break through the bottleneck of completed this lure tools, effect the paid version is more stable than him!

To clear up after the principle is simple: game on the platform of local area network (LAN) "search server" is sent via UDP broadcast packets, refresh the client endpoint, will send a fixed radio to the same period of the network protocol format, the server receives the package gave him back to a specific format data, are UTF8 clear, only need to deal with three packets is enough: 1, finding a host package players point (found radio host list), the server returns the host server information of fixed format; 2, the client according to package 1 return host IP and port to send a query of the number of packages, the server returns the number of fixed format information; Point 3, players join the game package, the service side device is returned and transferred into other IP commands, it's as simple as that of three bags, I yao actually got three days!!! This, yao is not hurt, hurt most is the game a few simple protocol is V club (VALVE) official development documents published in the open, I didn't go to check the Google, really suppress internal injuries, almost vomiting blood...

想把人气搞起来,于是我一狠心,又掏了700块血本再租了一台4核/8G/20M的主机,上面装了十几个WIN2003的VM虚拟机,专门用来架设假人引诱工具,效果也是一般,但从下半年开始几乎每天晚上都有二三十人同时在线玩,偶尔高峰期能凑满一个区(30满人),收入仍不理想,每月保持不亏本只能赚个两三百,还不够我通宵的烟水钱,于是就再想办法优化一下工具,后来想到一个绝妙的办法,把上面包1的服务器信息,前面加上若干0x01这个字符,这样就能保证你的服务器名字能永久排序在最前面,此时人气又有很大提升,瞬间从二三十人在线,一下子提升到晚上可以达到近百人在线了,当然,在这个私服游戏里面的VIP也不算贵,20/30/50/100四个档位,此时扣除租金每月差不多还剩一千多的额外收入,尝到甜头后但我还是不能满足,把引诱工具再度优化,无意间发现这个游戏协议有一个BUG,比如在前面广播协议包1的时候,正常的是服务端收到一次就sendto一次,我便心血来潮加了个for循环来sendto,他居然可以刷满客户端的房间列表,被我一下子给试出来了,这个小小的进步,使得我的私服人气又得到了一个很大的提升,你试想想,同样是一个ListCtrl报表里,你的占了几千行,人家才一行行的直接被淹没了!

In the opening half private servers sentiment in 350 people all the time, also did not earn much money, but was selling lure made LiangSanWanKuai home put hair 5000 pieces made of small, and I apologize, two people talk until very late, so

Years later, the peak in the evening people trembling moments from 100 to more than 300 people, Xeon5606 CPU has not been a 10 games partition support, then, monthly income is above 6000, want to more than 4000 the death of salary than this really doesn't matter, this time, a lot of people who are looking for me to buy entice tool, because before that more than 2000 single brush room also has no attraction, than I was this brush brush or infinite will sell 3000 to 5000/sets, has also sold nearly 10 sets out, this tool is almost pure earned SiWuWanKuai light, it is much quicker than a game when GM to money, of course, this is just a quick buck, tools deployed once everyone has loses the significance of refresh, most hurt, then add the VMP after half a year, had been strong lu, this tool be cracked sent free of charge, and the most disgusting is also bound to the trojans, there're so many people move server,

I have know Xeon5606 this lousy is U don't stay up to 300 people, a partition in manchu 30 cases, CPU between 8-15% float, if open 10 partitions evening peak of popularity is packed, the CPU basic fluctuates more than 90%, this time I have to change a better hardware configuration scale, selling lure tools money after a weekend, is preparing to go to computer city to choose 1 U configuration, a game player told me that the server into not to go, I thought it was network has a problem, he said told him to restart the router, the result of a lot of people find I said I can't get into at the same time, at this moment I just know it should be a server failure, then hurriedly opened the computer can't found, network management told me 2 g traffic dozen letters, I asked him how long he unlock that he said have to stop attacks, at that time I realized that my private servers rise too fast, the targeted by peers,

, IDC to contact other friends in the house, there can be managed 20 m, 600 January can resist 5 g flow, then attack down the half a month, the following year a lot of time off and on for three or four rooms, almost gave in several rooms around guangdong, then think about it, is not a solution found so varied, as luck would have it, this time more than a year, to attack more popular so hot! Stability of 300 people online, the basic around $ten thousand a month is no pressure, more time is 8, such a rough estimate almost a year to get the similar easily, it is also the reason peer envy, quite a few times by his friends, just know is against me when there's a famous Shanghai colleagues call LB, he specializes in game port rental (rent he hosts a port, is the customer to give him a web page background management),

So promptly, and contacted the circle ZYR is famous friends, he to make friends made in black, the relationship between the layers, internal to get stable random play 10 g flow according to the 200/day, so I spent 5000 yuan to buy directly for a month, called people staring at the Shanghai LB to play for a month, his host, a dozen IP take turns to do, even if it's no use in IP, in my eyes a little caught just got real IP, because UDP game one of the biggest disadvantages is unable to hide the real IP, nor am I have been holding up to play, but with HLSW monitor watching game, someone just seconds away, stopped out back in a few minutes, he told me the difference is, I was alone, he is to rent, had been killed my doesn't matter, he was killed under a pile of rent his serve customers looking for his trouble, and make the stability of the rent is not enough, difficult in circles again, this is called "barefoot are not afraid of the shoes!" " Shanghai LB later others make peace I didn't take a reason stare blankly is played for a month, forced to LB personally find I said: the elder brothers, can will die, you have to attack don't look for me! (that is, between the lines I didn't beat you, you also don't call me bai!)

Ha ha, this guy finally carry not to live! So after this thing, my server against rarely, but occasionally a month or several times, as long as an attack, the domestic private servers sentiment the best ten seconds in turn off before, because the north had by LB and LD monopolized the two major factions, basic is being attacked in the south the north in the poll, of course opened for so many years I abide by the moral integrity, is will not take the initiative to attack others, is to annoy to play, just spend for a month killed this, except that now the mainstream firewall weak burst, such as ChinaDDOS, this is TMD a soft routing, no defense capability, been pit; Proud shield is more cow force, in the early years within 10 g of attack, no any impact on the game, his rule is more flexible, less false seal, the disadvantage is that traffic for more than 10 g is a bit overwhelmed; Mainstream so far and now here is in the shield, his cluster is stronger, but the disadvantage is that the rules to change is to miss is always too much, a few times are rooms for shield support remote assistance, stare blankly is made proud shield that little mistake,

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related