![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
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;
}
}
}
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
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 :> |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
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. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
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? |
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 65
|
Quote:
Knowledge is the key to everything. Sadly, in this case, people are witholding it. And yes, that was a directed statement. -Cardon. |
|
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
Quote:
they first have to learn the difference between dual boxing and lan with 1 ip ^^ btw I think donations are open again [/spam] |
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 107
|
/* 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? |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
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. |
|
|
|
|
#9 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 82
|
Quote:
Anyways... its human nature to not give but demand to recieve. Developers want money for their efforts, "leechers" want c4 solutions for free. :> |
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Feb 2005
Posts: 134
|
im a dev and i never asked for $$ when i worked on any of my servers
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
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. |
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
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 ? |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Feb 2005
Posts: 134
|
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
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jun 2005
Posts: 262
|
Now this is the old Torune. Thanks.
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
Yah sure Thalone. I am learning some some x86 asm :> Help appreciated.
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
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.
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
digital you are right but
in l2j 100 ppl work 1.xx.xx0.00 leech |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Aug 2005
Posts: 14
|
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. |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Sep 2005
Posts: 50
|
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
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
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 *
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
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 !!!
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Get back on topic please. =/
|
|
|
|
|
#23 | |
|
Архивный участник
Join Date: Jul 2005
Posts: 371
|
Quote:
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++ |
|
|
|
|
|
#24 | |
|
Архивный участник
Join Date: Jan 2006
Posts: 363
|
Quote:
|
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Apr 2006
Posts: 729
|
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? |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|