Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.04.2006, 03:27   #1
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default [Translated!] Recomendation System

thx to ezme

this is a demo,personally i've fixed c4 bug.
perfect tattoo, wedding, recommend, big head, etc.
all functioning exactly as official.
strict case, expliot avoidance, as well as providing very fine patching tool, allowing u to make se.
these things, i'll soon release it, together with login system, totally free, without and restriction.
everything is written 100% win32 asm, though not the best but better then those who sold for cash...
thanks all who supports me

;PacketFormat cd objectID
.const
szCSMTargetError db 'Recommend target error!',0
szCSMTargetIsMyself db 'Cant recommend myself!',0
szCSMLevelLessThan10 db 'Your level is too low, unable to recommend others!',0
szCSMNoRecommTicket db 'Your vote is used, unable to vote again!',0
szCSMTargetRecommFull db 'Target vote limit reached!',0
szRecommToSomeBody db 'You voted for %S,%d remaining!',0
szRecommedBySomeBody db 'You have been recommended by %S , current level at %d !',0
.code

ReqEvaluate proc uses ebx esi edi,_lpPacket,\
_lpstUserObject,_hClientObject
local @dwObjectID:dword
local @dwMyObjectID:dword
local @lpstTargetUserObject:dword
local @lpstUserInfo:dword
local @lpstUserInfoEx:dword
local @lpstTargetUserInfo:dword
local @lpstTargetUserInfoEx:dword
local @dwIsCreature:dword
local @dwLevel:dword
local @dwRecommRecv:dword
local @dwRecommLeft:dword
local @lpszBuffer:dword

mov ebx,_lpPacket
mov eax,dword ptr [ebx + sizeof byte]
mov @dwObjectID,eax

;capture client thread target transaction details
mov ebx,_lpstUserObject
lea ecx,dword ptr [ebx + OFFSET_USEROBJECT_PEAR_OBJECTID]
mov eax,dword ptr [ecx]
mov @dwMyObjectID,eax
mov eax,FUNC_GetCreatureObject
call eax
mov @lpstTargetUserObject,eax
;check target is not self
mov ebx,@lpstTargetUserObject
mov eax,dword ptr [ebx]
mov ecx,ebx
call dword ptr [eax + OFFSET_USEROBJECT_FUNC_OBJTYPE]
movzx eax,al
mov @dwIsCreature,eax
mov ecx,@dwMyObjectID
.if @dwIsCreature != 1 ;make sure target is not self
invoke SystemMsg,_hClientObject,offset szCSMTargetError
.elseif ecx == @dwObjectID
invoke SystemMsg,_hClientObject,offset szCSMTargetIsMyself
.else
mov ebx,_lpstUserObject
mov ebx,dword ptr [ebx + OFFSET_USEROBJECT_USERINFO]
mov @lpstUserInfo,ebx
mov eax,dword ptr [ebx + OFFSET_USERINFO_STRUCTEX]
mov @lpstUserInfoEx,eax
mov eax,dword ptr [ebx + OFFSET_USERINFO_LEVEL]
mov @dwLevel,eax
mov ebx,@lpstUserInfoEx
assume ebxtr UserInfoEx
mov eax,[ebx].RecommLeft
mov @dwRecommLeft,eax
assume ebx:nothing

.if @dwLevel < 10
invoke SystemMsg,_hClientObject,offset szCSMLevelLessThan10
.elseif @dwRecommLeft <=0
invoke SystemMsg,_hClientObject,offset szCSMNoRecommTicket
.else
mov ebx,@lpstTargetUserObject
mov eax,dword ptr [ebx + OFFSET_USEROBJECT_USERINFO]
mov @lpstTargetUserInfo,eax

invoke GetUserInfoEx,@lpstTargetUserObject
mov @lpstTargetUserInfoEx,eax
assume eaxtr UserInfoEx
mov ecx,[eax].RecommRecv
assume eax:nothing
.if ecx >= 255
invoke SystemMsg,_hClientObject,offset szCSMTargetRecommFull
.else
;edit database

;edit transaction details
mov ebx,@lpstUserInfoEx
assume ebxtr UserInfoEx
dec [ebx].RecommLeft
mov eax,[ebx].RecommLeft
mov @dwRecommLeft,eax
mov ebx,@lpstTargetUserInfoEx
inc [ebx].RecommRecv
mov eax,[ebx].RecommRecv
mov @dwRecommRecv,eax
assume ebx:nothing

;notify voter regarding system message
invoke GlobalAlloc,GMEM_FIXED or GMEM_ZEROINIT, 200h
mov @lpszBuffer,eax
mov ebx,@lpstTargetUserInfo
lea esi,dword ptr [ebx + OFFSET_USERINFO_NAME] ;target name
invoke wsprintf,@lpszBuffer,offset szRecommToSomeBody,\
esi,@dwRecommLeft
invoke SystemMsg,_hClientObject,@lpszBuffer
;update UserInfo
invoke SendUserInfo,_lpstUserObject

;notify voted regarding system message
mov ebx,@lpstTargetUserObject
mov edi,dword ptr [ebx + OFFSET_USEROBJECT_CLIENTOBJCT] ;target's ClientObject
mov ebx,@lpstUserInfo
lea esi,dword ptr [ebx + OFFSET_USERINFO_NAME] ;self name
invoke wsprintf,@lpszBuffer,offset szRecommedBySomeBody,\
esi,@dwRecommRecv
invoke SystemMsg,edi,@lpszBuffer
;update UserInfo
invoke SendUserInfo,@lpstTargetUserObject
;update voted message
invoke SendCharInfo,@lpstTargetUserObject

invoke GlobalFree,@lpszBuffer

.endif
.endif
.endif

ret
ReqEvaluate endp

Translated by Digital
Eanae -> So if anyone wants to crack at this. Plix share plix. ^^
Eanae is offline  
Old 19.04.2006, 04:09   #2
Thalone
Архивный участник
 
Join Date: Feb 2005
Posts: 134
Default

very nice share Eanae, and thx to Digital for translating
Thalone is offline  
Old 19.04.2006, 06:11   #3
GamesX
Архивный участник
 
Join Date: Apr 2006
Posts: 52
Default

Great Job!
GamesX is offline  
Old 19.04.2006, 07:38   #4
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Eanae.. here.. take some!

Thank you!

Almost forgot.. Thanks Digital for translating!
Megatronpt is offline  
Old 19.04.2006, 07:43   #5
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

n1 Eanae good work...
Met45 is offline  
Old 19.04.2006, 14:59   #6
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

Excuse me, what file is necessary to correct with this code, and on what offsets?
Thanks for translate\sharing.
hel is offline  
Old 19.04.2006, 16:48   #7
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Quote:
Originally Posted by hel
Excuse me, what file is necessary to correct with this code, and on what offsets?
Thanks for translate\sharing.
That's what im hoping someone will share with us. ^^
Eanae is offline  
Old 19.04.2006, 18:03   #8
snikr
Архивный участник
 
Join Date: Mar 2006
Posts: 57
Default

It's only for c4 (different packet), or will it work too on c3?
snikr is offline  
Old 19.04.2006, 19:58   #9
watcher
Архивный участник
 
Join Date: Apr 2006
Posts: 57
Default

Quote:
Originally Posted by Eanae
Quote:
Originally Posted by hel
Excuse me, what file is necessary to correct with this code, and on what offsets?
Thanks for translate\sharing.
That's what im hoping someone will share with us. ^^
i think you wrong in last words(
watcher is offline  
Old 19.04.2006, 20:24   #10
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Quote:
Originally Posted by watcher
Quote:
Originally Posted by Eanae
Quote:
Originally Posted by hel
Excuse me, what file is necessary to correct with this code, and on what offsets?
Thanks for translate\sharing.
That's what im hoping someone will share with us. ^^
i think you wrong in last words(
according to aspire, humordwarf will know what to do with this.
Eanae is offline  
Old 19.04.2006, 20:39   #11
watcher
Архивный участник
 
Join Date: Apr 2006
Posts: 57
Default

Quote:
Originally Posted by Eanae
Quote:
Originally Posted by watcher
Quote:
Originally Posted by Eanae
Quote:
Originally Posted by hel
Excuse me, what file is necessary to correct with this code, and on what offsets?
Thanks for translate\sharing.
That's what im hoping someone will share with us. ^^
i think you wrong in last words(
according to aspire, humordwarf will know what to do with this.
Aspire knows what to say - HD knows what to do - nice group^^
watcher is offline  
Old 20.04.2006, 05:18   #12
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

damn...
what you asking about?
here is Recomendation handler..
call this function on RecomendPacketDetected
i do not understand what you want to "crack"?
here just ONE function from originator package
shows logic, how and what he doing to add recommendation
some checks (reclist overflow, level, valid target, etc), then user/char update if all ok
humordwarf is offline  
Old 20.04.2006, 06:51   #13
watcher
Архивный участник
 
Join Date: Apr 2006
Posts: 57
Default

Quote:
Originally Posted by humordwarf
damn...
what you asking about?
here is Recomendation handler..
call this function on RecomendPacketDetected
i do not understand what you want to "crack"?
here just ONE function from originator package
shows logic, how and what he doing to add recommendation
some checks (reclist overflow, level, valid target, etc), then user/char update if all ok
hehe, i think all waiting dll with this feature only :wink:
coz who cares how it works - works thats all what interesting...
watcher is offline  
Old 20.04.2006, 08:17   #14
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

Quote:
hehe, i think all waiting dll with this feature only
lol. lets continue waiting
humordwarf is offline  
Old 20.04.2006, 09:08   #15
SOnick
Архивный участник
 
Join Date: Feb 2005
Posts: 177
Default

agree! - let`s wait. ^^
SOnick is offline  
Old 20.04.2006, 10:17   #16
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

Quote:
Originally Posted by watcher
Quote:
Originally Posted by humordwarf
damn...
what you asking about?
here is Recomendation handler..
call this function on RecomendPacketDetected
i do not understand what you want to "crack"?
here just ONE function from originator package
shows logic, how and what he doing to add recommendation
some checks (reclist overflow, level, valid target, etc), then user/char update if all ok
hehe, i think all waiting dll with this feature only :wink:
coz who cares how it works - works thats all what interesting...
continue like that , thats the spirit of a leecher xD
SoaPy is offline  
Old 20.04.2006, 10:24   #17
watcher
Архивный участник
 
Join Date: Apr 2006
Posts: 57
Default

Quote:
Originally Posted by SoaPy
Quote:
Originally Posted by watcher
Quote:
Originally Posted by humordwarf
damn...
what you asking about?
here is Recomendation handler..
call this function on RecomendPacketDetected
i do not understand what you want to "crack"?
here just ONE function from originator package
shows logic, how and what he doing to add recommendation
some checks (reclist overflow, level, valid target, etc), then user/char update if all ok
hehe, i think all waiting dll with this feature only :wink:
coz who cares how it works - works thats all what interesting...
continue like that , thats the spirit of a leecher xD
LOL Soapy - im a great leecher, faster than elcapo :wink:
*but must hide... *
watcher is offline  
Old 20.04.2006, 10:27   #18
snikr
Архивный участник
 
Join Date: Mar 2006
Posts: 57
Default

Quote:
Originally Posted by watcher
hehe, i think all waiting dll with this feature only :wink:
coz who cares how it works - works thats all what interesting...
But... what will you do in the future if no one wants to share? I don't know nothing about hexing, but if I were a developer I'd tried to understand the basis (as I'm starting to do with AI), and maybe someday you'll be the one who shares and not the leecher.

I don't want to start a fight, only it's a reflexion, try to learn and contribute. The "engineer spirit" in fact it's how it works. Every admin should act this way, and not only click exe and wait the things to be done alone.

PD: humordwarf xD
snikr is offline  
Old 20.04.2006, 10:33   #19
watcher
Архивный участник
 
Join Date: Apr 2006
Posts: 57
Default

Quote:
Originally Posted by snikr
Quote:
Originally Posted by watcher
hehe, i think all waiting dll with this feature only :wink:
coz who cares how it works - works thats all what interesting...
But... what will you do in the future if no one wants to share? I don't know nothing about hexing, but if I were a developer I'd tried to understand the basis (as I'm starting to do with AI), and maybe someday you'll be the one who shares and not the leecher.

I don't want to start a fight, only it's a reflexion, try to learn and contribute. The "engineer spirit" in fact it's how it works. Every admin should act this way, and not only click exe and wait the things to be done alone.

PD: humordwarf xD
i will sit near HD and smoke, coz i tired do something for ppl in mine time.
watcher is offline  
Old 20.04.2006, 11:24   #20
snikr
Архивный участник
 
Join Date: Mar 2006
Posts: 57
Default

Sorry, it was a misunderstand, that was reflexion, not focused on you (I was generalizing).
snikr is offline  
Old 20.04.2006, 15:27   #21
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

In the case you didn't know, the dll for this WAS released. This is part of linex.dll. >_>
Eanae is offline  
Old 14.05.2006, 15:28   #22
FilimoniC
Архивный участник
 
Join Date: Apr 2006
Posts: 6
Default

Excuse me for stupid question. Where to insert this code? What file (dll?) to decompile? I'm a newbie but i know i can do this, i need only a place to hook and start researching *) Sry for my english
/rus
Народ поясните пожалуйста, откуда плясать? Какой файл декомпилировать, и чем лучше это делать? Я уверен что соображу что к чему, просто отправная точка нужна../rus
FilimoniC is offline  
Old 14.05.2006, 18:29   #23
Thalone
Архивный участник
 
Join Date: Feb 2005
Posts: 134
Default

http://sandsprite.com/CodeStuff/IAT_Hooking.html

http://msdn.microsoft.com/msdnmag/is...E/default.aspx

HF GL
Thalone is offline  
Old 14.05.2006, 20:34   #24
FilimoniC
Архивный участник
 
Join Date: Apr 2006
Posts: 6
Default

Thalone Thx!
I still dont understand where to put this Porcedure (which file, l2server or linex?) and where (and how) to call it (does it needs to be like "If (packet==RecomPacket) Recommend(); " but only in asm?))
FilimoniC is offline  
Old 14.05.2006, 20:34   #25
hel
Архивный участник
 
Join Date: Apr 2006
Posts: 729
Default

This code isn't compiled asm code, I think.
And no way to compile it, I was try it 10+ times in different compilers.
I'm very stupid in asm. +)
hel is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:07.