Truly, how well are the binaries coded?

01/17/2011 06:24 Lateralus#1
I've done a bit of poking around at it with olly, and it seems to me that it's pretty inefficient. First thing I noticed was that it was reading monster drops from a file for EACH monster instead of just simply doing a few calculations...

Your thoughts and opinions?
01/17/2011 06:43 zhalyn#2
Wot do you mean Binary?
01/17/2011 07:52 shitboi#3
I am guessing he meant the client source code
01/17/2011 11:40 Syst3m_W1z4rd#4
You mean the actual C++ code?

Is the monster shit included in the NPCServer, then I guess you could look the exactly code, because the real sourcecode for that have been leeched.
01/17/2011 11:41 legomans#5
.exe = binary
usually.
01/17/2011 15:37 nTL3fTy#6
Quote:
Originally Posted by Lateralus View Post
I've done a bit of poking around at it with olly, and it seems to me that it's pretty inefficient. First thing I noticed was that it was reading monster drops from a file for EACH monster instead of just simply doing a few calculations...

Your thoughts and opinions?
I don't think you were looking at the real calculation for monster drops. If you look in the database, there are a few columns in cq_monstertype that specify the level range and types of generated drops.

idnameleveldrop_armetdrop_necklacedrop_armordrop_ringdrop_weapondrop_shielddrop_shoesdrop_hpdrop_mp
1Pheasant19999999999999910000001001000
2Turtledove7990990099110000001001000
57BullMonster1129229222292310020201002040
01/17/2011 18:30 Lateralus#7
Quote:
Originally Posted by nTL3fTy View Post
I don't think you were looking at the real calculation for monster drops. If you look in the database, there are a few columns in cq_monstertype that specify the level range and types of generated drops.

idnameleveldrop_armetdrop_necklacedrop_armordrop_ringdrop_weapondrop_shielddrop_shoesdrop_hpdrop_mp
1Pheasant19999999999999910000001001000
2Turtledove7990990099110000001001000
57BullMonster1129229222292310020201002040
Sorry, I meant for medicine and money drops.
01/19/2011 00:18 gabrola#8
Let me rephrase your title. "Truly how bad are binaries coded?"
My answer, TQ coded it :awesome:
01/19/2011 02:35 pro4never#9
Being a 'professional' company, obviously it would be better coded then most of what pservers will ever see. That being said, it's TQ we're talking about... they are not exactly that professional of a company and their products always seem to have some fairly large flaws.

So yahh... far from surprised if they have some nasty holes in their bins. I mean look at how much resources they tend to hog any server hosting the leaked ones and how much the official servers lag! A bit of optimization server side and they could probably fix almost all of that.
01/19/2011 05:21 shitboi#10
i remembered talking to a friendly GM ages back on eagle server, she mentioned that ALL TQ servers are wrote and maintained by 1 guy, that includes crazytao, conquer, eudemons and etc ... Back then my impression was, Wow, what a guy. Now, my impression is, how cheap the company is.
01/19/2011 07:26 Huseby#11
Quote:
Originally Posted by shitboi View Post
i remembered talking to a friendly GM ages back on eagle server, she mentioned that ALL TQ servers are wrote and maintained by 1 guy, that includes crazytao, conquer, eudemons and etc ... Back then my impression was, Wow, what a guy. Now, my impression is, how cheap the company is.
lol, no.
TQ digital is a respected online gaming company in China.
01/19/2011 11:34 gabrola#12
Quote:
Originally Posted by Huseby View Post
lol, no.
TQ digital is a respected online gaming company in China.
They're still cheap bastards and we know how bad their programmer(s) are.
01/19/2011 12:50 Syst3m_W1z4rd#13
Quote:
Originally Posted by gabrola View Post
They're still cheap bastards and we know how bad their programmer(s) are.
But they still beats us.
01/19/2011 13:44 shitboi#14
the company is definitely cheap, but nothing can be said about their programmer since he might be heavily overloaded.
Well whoever programmed conquer is definitely way better than me, lol.
01/19/2011 14:02 © Haydz#15
Quote:
Originally Posted by shitboi View Post
the company is definitely cheap, but nothing can be said about their programmer since he might be heavily overloaded.
Well whoever programmed conquer is definitely way better than me, lol.
There's definitely more than one programmer at TQ.

If you read through the EO source, there's various signatures placed by them all over it, to signify its their work etc.

For Example:
Code:
	//---jinggy---begin
	//Íæ¼ÒÌØÊâ״̬µ÷½Ú dodge Öµ
	IStatus * pStatus = QueryStatus(STATUS_ADJUST_DODGE);
	if (pStatus)
	{
		nDge = ::CutTrail(0, AdjustData(nDge, pStatus->GetPower()));			
	}		
	//---jinggy---end
Code:
// self_defence     // add huang 2004.1.14
Code:
// pk increase    // tudo 2004.1.11   // û¸Ä
Code:
// °´ÕÕ 2004.10.28µÄ°¸×ÓÐÞ¸Ä	---- zlong
There's quite a lot more scattered around, that's just half of the User.cpp