Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 24.05.2006, 02:55   #1
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default [share]void RequestEvaluate()

since when lineage2 community becomes a cracking/hacking community instead of developing community.
shame on you all.

btw: i moved some codes, if you understand what's going on and know how code, you surely wont be stopped by these small /*TODO*/ bugs.

Code:
void __cdecl RequestEvaluate(BYTE *pBuffer, BYTE *pUser, BYTE *pSocket)
{
	BYTE * pTargetData;
	BYTE * pTargetSocket;

	wchar_t* szMyName;
	wchar_t* szTargetName;
	wchar_t* szBuffer;

	int nMyAppraise;
	int nTargetCommend;
	char * szSqlQuery;

	if (pUser!=NULL)
	{
		
		__asm
		{
			mov esi, pUser;
			mov eax, [esi+0f54h];
			mov eax, [eax+378h];
			cmp eax, 10;
			jnb Jump_1;
				push 898;		//system message id 898
				push 7ah;
				push sFormat_1;
				push pSocket;
				call fSendToSinglePlayer;
				add esp, 16;
				jmp Jump_0;
		Jump_1:
			push esi;
			call GetUserinfoEx;
			mov esi, eax;
			mov eax, [esi]USERINFOEX.RecomLeft
			test eax, eax;
			ja Jump_2;
				push 833;		//system message id 833
				push 7ah;
				push sFormat_1;
				push pSocket;
				call fSendToSinglePlayer;
				add esp, 16;
				jmp Jump_0;
		Jump_2:
			mov eax, pBuffer;
			mov eax, dword ptr ds:[eax];
			push eax;
			call getCreature
			mov ecx, eax;		
			cmp ecx, pUser;
			jne Jump_3;				
				push 829;		//system message id 829
				push 7ah;
				push sFormat_1;
				push pSocket;
				call fSendToSinglePlayer;
				add esp, 16;
				jmp Jump_0;
		Jump_3:
			mov pTargetData, ecx;
			mov eax, [ecx+19B8h];
			mov pTargetSocket, eax;
			push ecx;
			call GetUserinfoEx;
			mov ecx, eax;
			cmp [ecx]USERINFOEX.RecomHave, 255;
			jb Jump_4;
				push 1188					//system message id 1188
				push 07Ah
				push sFormat_1;
				push pSocket
				call fSendToSinglePlayer;
				add esp, 16
				jmp Jump_0;
		Jump_4:
			dec [esi]USERINFOEX.RecomLeft;
			inc [ecx]USERINFOEX.RecomHave;
			mov eax, [esi]USERINFOEX.RecomLeft;
			mov nMyAppraise, eax;
			mov eax, [ecx]USERINFOEX.RecomHave;
			mov nTargetCommend, eax;
			
			mov eax, pUser;
			mov eax, [eax+0f54h];
			add eax, 0a0h;
			mov szMyName, eax;
			
			mov eax, pTargetData;
			mov eax, [eax+0f54h];
			add eax, 0a0h;
			mov szTargetName, eax;
		}
		szBuffer = (wchar_t *)GlobalAlloc(GMEM_ZEROINIT, 512);
		wsprintfW(szBuffer, sqlQuery_1, nMyAppraise, szMyName, nTargetCommend, szTargetName);
		szSqlQuery = UnicodeToGB2312(szBuffer);
		m_dbConn.ExecuteSQL(szSqlQuery);		
		delete(szSqlQuery);
		GlobalFree(szBuffer);
		__asm
		{			
			push nMyAppraise
			push 1;
			push szTargetName
			push 0;
			push 2;
			push 830				//system message id 830
			push 7Ah
			push sFormat_10;
			push pSocket
			call fSendToSinglePlayer;

			push szMyName
			push 0
			push 1
			push 831				//system message id 831
			push 7Ah
			push sFormat_9
			push pTargetSocket
			call fSendToSinglePlayer;
			add esp, 64;		
		}
	}
}
torune is offline  
Old 24.05.2006, 03:48   #2
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Wow..
That is evaluate / recommend i believe?
and to answer your 1st question..
Since some developers decided to make money instead of being a developer and sharing the knowledge.

p.s. answer my pm plix :>
tpuNIsher is offline  
Old 24.05.2006, 04:09   #3
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

and since when l2x becomes non-profit organization.
and even if nobody shares, should we all stop developping and just stfu?

the problem is in our head, not on other people that knows what to do.
torune is offline  
Old 24.05.2006, 04:54   #4
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Since BoTgod was removed.
Obviously not. But not everyone has the capability to do what one can do. humans are not equal.. were never equal.

Maybe you are right..but theres always specific people reaching the end. The question isn't whether they reached there though.. the question is whether they looked back to make it easier for the rest that tries to catch up to them. That is why books exist i believe?
tpuNIsher is offline  
Old 24.05.2006, 05:39   #5
Cardon
Архивный участник
 
Join Date: Apr 2006
Posts: 65
Default

Quote:
Originally Posted by tpuNIsher
Since some developers decided to make money instead of being a developer and sharing the knowledge.
I could not have said it better myself.

Knowledge is the key to everything. Sadly, in this case, people are witholding it.

And yes, that was a directed statement.

-Cardon.
Cardon is offline  
Old 24.05.2006, 07:11   #6
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

Quote:
Originally Posted by torune
and since when l2x becomes non-profit organization.
and even if nobody shares, should we all stop developping and just stfu?

the problem is in our head, not on other people that knows what to do.
[spam]
they first have to learn the difference between dual boxing and lan with 1 ip ^^ btw I think donations are open again
[/spam]
top-gear is offline  
Old 24.05.2006, 08:43   #7
elcapo
Архивный участник
 
Join Date: Mar 2005
Posts: 107
Default

/* TODO */
Check if there is any "objetive", otherwise: sysmessage = 242
Check if objetive is NOT a NPC, otherwhise: sysmessage = 109
Where is Jump_0 ?
Check about "objetive so far" or "objetive is offline" is necessary?
elcapo is offline  
Old 24.05.2006, 09:21   #8
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

Torune, swear you never leaked zzcat dll and worked on it to code your dll..... Don't blame other peeps when you do the same.
And we will all do what is necessary to unpack and rebuild dll, and discourage L2 files moneymakers.
hamidouch is offline  
Old 24.05.2006, 09:55   #9
theRAGE
Архивный участник
 
Join Date: Feb 2005
Posts: 82
Default

Quote:
Originally Posted by tpuNIsher
Since BoTgod was removed.
lol

Anyways... its human nature to not give but demand to recieve.
Developers want money for their efforts, "leechers" want c4 solutions for free.

:>
theRAGE is offline  
Old 24.05.2006, 10:04   #10
Thalone
Архивный участник
 
Join Date: Feb 2005
Posts: 134
Default

im a dev and i never asked for $$ when i worked on any of my servers
Thalone is offline  
Old 24.05.2006, 10:07   #11
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

testdude: Donations were close after 36 hours of opening them after 6 monthes of no donations.. our playerbase loves us..visit our site.. you will know why so ;]

rage: look at hami. Don't think everyone is as greedy as most. Yes that was a directed statement.

make money off L2? ITS A FREAKING GAME we got into FOR THE LOVE OF IT.

Thank you hami once again. And thank you torune for this share.
tpuNIsher is offline  
Old 24.05.2006, 10:10   #12
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

cmon guys
all of you (you = high rate programers) work for money


1) torune
2) livid
3) zzcat
4) ezme
5) ET

can u stop blame each other? its getting annoying

You all use other programers work so you can complete yours

i dont blame you for asking money because PP forum isnt a dev forum anymore is a LEECH forum.

All kids around global come here to take stupid scripts which have nothing to do with official lineage

the biggest problem is now leechers ask for money inorder to share files

isnt that something ?
demon is offline  
Old 24.05.2006, 10:37   #13
Thalone
Архивный участник
 
Join Date: Feb 2005
Posts: 134
Default

everytime i finish a piece of code im gonna start sharing to put all these ppl who ask for money out of business... tpnunisher, want to start learning asm? im currently writing a tutorial from this awesome piece of code from torune
Thalone is offline  
Old 24.05.2006, 11:01   #14
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Now this is the old Torune. Thanks.
Eanae is offline  
Old 24.05.2006, 11:07   #15
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

Yah sure Thalone. I am learning some some x86 asm :> Help appreciated.
tpuNIsher is offline  
Old 24.05.2006, 13:18   #16
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

this really sound gratisfying <- (wonder if i spelled it correctly.. hmmm oh who bothers either way :P)
either way... this is a good start

actually things would go further if we make a public dll or sorts
that way.. ppl could learn and share their new codes into the dll (e.g l2j sorts)

but there's drawbacks of cause, asm isnt easy to learn..
but given enough dedication.. i'm sure nothing would stop us all.
Digital is offline  
Old 24.05.2006, 15:03   #17
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

digital you are right but
in l2j 100 ppl work 1.xx.xx0.00 leech
demon is offline  
Old 24.05.2006, 15:41   #18
Duna
Архивный участник
 
Join Date: Aug 2005
Posts: 14
Default

People who talk about leech are funny as hell. People why u use internet ?. Internet was made for ppl who wanna learn others people. If u hate leech go jump form window damnit and stop talk shit about this.

In l2j 100 ppl work only ?!... 1kk leech all the time testing core and checking bug. This is comunity man. Some ppl cant write something coz they learn. Anyway sends bugs and test is work too.
Duna is offline  
Old 24.05.2006, 15:49   #19
DarkGoat
Архивный участник
 
Join Date: Sep 2005
Posts: 50
Default

leechers are not those who want to learn, leechers are those who dont care to learn...just want something for nothing and dont care how it works
DarkGoat is offline  
Old 24.05.2006, 15:49   #20
tpuNIsher
Архивный участник
 
Join Date: Mar 2006
Posts: 685
Default

demon: read what i said to torune. Not everyone can do what one person can. They are the testers. Do you clean your country roads every morning? Will you? no i think. It's not your work. It's someone else's job. Your work is to make it better for the others.

So, that is what we should do *
tpuNIsher is offline  
Old 24.05.2006, 16:03   #21
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Duna don't talk like that to Demon , yes but you forgot like on Ragezone . Greenhope or Violator packs ??? People only leeched em and they only used em , they didn't know crap about Java and never do now . Only problem is people don't want to learn that's all !!!
TheOrder is offline  
Old 24.05.2006, 16:39   #22
Truffe
Архивный участник
 
Join Date: May 2005
Posts: 944
Default

Get back on topic please. =/
Truffe is offline  
Old 24.05.2006, 18:54   #23
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default

Quote:
Originally Posted by hamidouch
Torune, swear you never leaked zzcat dll and worked on it to code your dll..... Don't blame other peeps when you do the same.
And we will all do what is necessary to unpack and rebuild dll, and discourage L2 files moneymakers.
i swear to mother of natural/god/budda/whatever god that is out there
i never used leaked zzcat/ezme dll
i never unpacked leacked zzcat/ezme dll.

my own RequestEvaluate() is only 60+ lines of code, and its pure in c++
torune is offline  
Old 24.05.2006, 22:56   #24
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

Quote:
since when lineage2 community becomes a cracking/hacking community instead of developing community.
shame on you all.
imo the community was always been cracking/hacking (NCSoft's code), it's just that we've been doing to other ppl's code too :P
kgptzac is offline  
Old 25.05.2006, 05:22   #25
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

torune:
How you get a function names? Or it functions only used by dll? Hm. Asm is really hard to understand programming language.
Or you use a source from c1 server?
hel is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:51.