Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 14:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Ollydbg assembly

Discussion on [Help] Ollydbg assembly within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 12/28/2011, 09:15   #16
 
Chalkie's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 288
Received Thanks: 197
Quote:
Originally Posted by I don't have a username View Post
How was anything of what I said rude? Jesus...

You have quite a nerve to start helping people on your new account Jacob, personally I am disgusted at the lack of trolling and disrespect given to op.
Chalkie is offline  
Thanks
1 User
Old 12/28/2011, 13:03   #17
 
Zero47's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 76
Received Thanks: 14
Quote:
Originally Posted by I don't have a username View Post
Why do you want to skip it anyways?
See why I get nervous? I already said I don't want to skip it and you ask me why I want to skip it.
Quote:
Originally Posted by pro4never View Post
If you have a generic programming or assembly question the best answer will almost always be googling the issue and following BASIC tutorials on the subject. Without a basic knowledge then people are essentially wasting their time trying to offer advice that won't make much sense to you (aka the first reply you had).
Yes sir, I know that. I'm a beginner ready to learn, that's why I'm seeking for help.
Quote:
Originally Posted by Lateralus View Post
Treat you like what? I'm not being mean in any way; I'm just not going to sit here and baby you through this. "I don't have a username" answered your question perfectly; we can't really analyze whether you can nop that instruction without basically tracing through the entire routine ourselves. When he said "are you sure you're supposed to?", he meant "do you know what that loop is doing, and if you can process it just once?". If you don't know what it's doing, then you're shooting in the dark and we can't help you or tell you more than we know since we're not debugging it ourselves. Assembly is counter-intuitive and difficult bro.
Sir you don't have to baby me. Maybe I didn't offered you all the info that you need to give me a helpful answer. My bad then, I'll modify the first post immediately.
Quote:
Originally Posted by Chalkie View Post
You have quite a nerve to start helping people on your new account Jacob, personally I am disgusted at the lack of trolling and disrespect given to op.
I don't know why he was banned but he deserves. This forum doesn't need trollers and disrespecting members. Indeed, he deserves it.
Zero47 is offline  
Old 12/28/2011, 14:09   #18
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally Posted by Zero47 View Post
Sir you don't have to baby me. Maybe I didn't offered you all the info that you need to give me a helpful answer. My bad then, I'll modify the first post immediately.
Sorry, I didn't mean to sound patronizing. Getting help with assembly is pretty tough, considering we can't just look at a screenshot of what you're trying to do and determine if what we suggest works.
Lateralus is offline  
Thanks
1 User
Old 12/28/2011, 19:02   #19
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Dude, because e*pvp has such nice members? Dude, man the **** up, this is a forum not a club.

Search the username "Paralyzer[GM]" I got banned so many times on that account, look at my english there, look how "badly I got treated" look at the comments, theyre terrible. Now look at me, I actually bothered to stop being an arrogant sensitive douche and actually got some help and I feel its fair to say I had a "tad" bit more respect then Paralyzer[GM] did.

#edit
Probably spelled numerous words wrong there, but im incredibly ill with a sore throat(Possibly an upper throat infection) so yeah.. thats my justifying my bad use of grammer.
_DreadNought_ is offline  
Old 12/28/2011, 19:35   #20
 
Zero47's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 76
Received Thanks: 14
Quote:
Originally Posted by _DreadNought_ View Post
Dude, because e*pvp has such nice members? Dude, man the **** up, this is a forum not a club.

Search the username "Paralyzer[GM]" I got banned so many times on that account, look at my english there, look how "badly I got treated" look at the comments, theyre terrible. Now look at me, I actually bothered to stop being an arrogant sensitive douche and actually got some help and I feel its fair to say I had a "tad" bit more respect then Paralyzer[GM] did.

#edit
Probably spelled numerous words wrong there, but im incredibly ill with a sore throat(Possibly an upper throat infection) so yeah.. thats my justifying my bad use of grammer.
I'm not a grammar ****, I don't care about your typo, if it's clear enough to understand what you meant, there's no problem at all.
Zero47 is offline  
Old 12/28/2011, 21:22   #21
 
elite*gold: 0
Join Date: May 2009
Posts: 239
Received Thanks: 78
well answers giving to u logically was perfect but well here
First they ignore/insult you. Then they laugh at you. Then they fight you. Then leech you . Then beg for your help !
thats the life here and everywhere , when u r a noob they dont bother replying or even insult , when u r trying to release something they laugh saying he still idiot then when u prove u r not one they fight then when u do something amazing they will leech u then beg for ur help when u r actually a master , thats how the life is

no one will teach u so do it on ur ownself or be LESS THAN NOTHING

here is some guides which will sure help u , read till u feel u have good enough and even more
(btw when i asked for someone to teach me C# no one did , i thought they was to be like oh come bro here check this vids and this topics but the truth wasnt the same i thought)

wikipedia
(this one contains too many books which is enough)

that was for asm , if u wana learn just olly then go here
(just a point over there , u need to learn more to understand the whole thing then start edited , ex : if u have a loop which return something , u noped the loop and the loop didnt sent anything , the program crashed and u wondering whats wrong , u know how to nop and how to get the loop but u didnt watch out the logic and story line , so u need o understand how the whole things goes HOWEVER ill add some olly tuts and books)


(run trace !)


link is banned on epvp so was removed to avoid troubles


goodluck
andrewxxx is offline  
Thanks
1 User
Old 12/28/2011, 21:28   #22
 
Zero47's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 76
Received Thanks: 14
Quote:
Originally Posted by andrewxxx View Post
well answers giving to u logically was perfect but well here
First they ignore/insult you. Then they laugh at you. Then they fight you. Then leech you . Then beg for your help !
thats the life here and everywhere , when u r a noob they dont bother replying or even insult , when u r trying to release something they laugh saying he still idiot then when u prove u r not one they fight then when u do something amazing they will leech u then beg for ur help when u r actually a master , thats how the life is

no one will teach u so do it on ur ownself or be LESS THAN NOTHING

here is some guides which will sure help u , read till u feel u have good enough and even more
(btw when i asked for someone to teach me C# no one did , i thought they was to be like oh come bro here check this vids and this topics but the truth wasnt the same i thought)

wikipedia
(this one contains too many books which is enough)

that was for asm , if u wana learn just olly then go here
(just a point over there , u need to learn more to understand the whole thing then start edited , ex : if u have a loop which return something , u noped the loop and the loop didnt sent anything , the program crashed and u wondering whats wrong , u know how to nop and how to get the loop but u didnt watch out the logic and story line , so u need o understand how the whole things goes HOWEVER ill add some olly tuts and books)



(run trace !)


link is banned on epvp so was removed to avoid troubles


goodluck
Thank you very much sir. I really appreciate that.
Zero47 is offline  
Old 12/29/2011, 01:28   #23
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
This may also help learning assembly: (Delphi based tho, but still.)


And NASM:
I don't have a username is offline  
Old 12/29/2011, 09:22   #24
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
Instructions starting with J (JMP, JNE/JNZ, JE...) are jump commands. They jump a new address. If you want it to not jump, then NOP over the jump commands. You'll have to figure out which ones, and what they mean (in terms of what the instructions actually do) in the context. It'd probably help if you just said what your entire goal was in the first place.
_tao4229_ is offline  
Thanks
1 User
Old 12/29/2011, 10:53   #25
 
Zero47's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 76
Received Thanks: 14
Quote:
Originally Posted by _tao4229_ View Post
Instructions starting with J (JMP, JNE/JNZ, JE...) are jump commands. They jump a new address. If you want it to not jump, then NOP over the jump commands. You'll have to figure out which ones, and what they mean (in terms of what the instructions actually do) in the context. It'd probably help if you just said what your entire goal was in the first place.
Thank you Sir. Well, you'll probably don't after I'll say what I need for but here's it anyways. In the TQ bins (the older version), when you're red or black name, items don't drop, it jumps right to the instruction that sends you to the Jail (without reading and executing the instructions that are making your character to drop one of your items). The instructions are there as you can see here:

Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
00419A28  |.  68 C07F4F00   |PUSH OFFSET 004F7FC0                    ; /Format = "%s drop item(%u)."
00419A2D  |.  68 AC7F4F00   |PUSH OFFSET 004F7FAC                    ; |Arg1 = ASCII "gmlog/drop_item3"
00419A32  |.  E8 5BA80800   |CALL 004A4292                           ; \MsgServer.004A4292
and here:

Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
00419B89  |.  68 7C7F4F00   PUSH OFFSET 004F7F7C                     ; /Format = "%s drop item(%u) when be killed in prison map."
00419B8E  |.  68 687F4F00   PUSH OFFSET 004F7F68                     ; |Arg1 = ASCII "gmlog/drop_item2"
00419B93  |.  E8 FAA60800   CALL 004A4292                            ; \MsgServer.004A4292
and here:
Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
00419D89  |.  68 287F4F00   PUSH OFFSET 004F7F28                     ; /Format = "%s drop item(%u) when be pk with pk value(%d)."
00419D8E  |.  68 687F4F00   PUSH OFFSET 004F7F68                     ; |Arg1 = ASCII "gmlog/drop_item2"
00419D93  |.  E8 FAA40800   CALL 004A4292                            ; \MsgServer.004A4292
In the newer bins (the 5089 version) it was introduced the system with the Confiscator NPC (you drop a item and automatically goes to that player inventory and you can reedem it at Confiscator in Market). For that version it works but for this doesn't.
Zero47 is offline  
Old 12/29/2011, 16:11   #26
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
The instructions you've posted have nothing to do with the actual dropping of the item; that call saves information in the format of a string at the address of the first push instruction to a log in the location of the string at the address of the second push instruction. What you need to keep an eye out for is a call to the creation of packet 1101 with subtype 1, which notifies the client to display an item on the ground. When you do find it, know that you can't arbitrarily jump to a new location, as the values that the registers contain will be different and most likely will not make sense to the program, which will attempt to continue processing instructions and terminate due to an error.
Lateralus is offline  
Thanks
1 User
Old 12/29/2011, 16:29   #27
 
Zero47's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 76
Received Thanks: 14
Thank you Sir. I thought near that instructions are also the ones who make a random item to drop. I'll continue looking over but I really want to thank you, giving me some hints I'd never knew about.
Zero47 is offline  
Old 12/29/2011, 16:51   #28
 
elite*gold: 0
Join Date: Jun 2006
Posts: 457
Received Thanks: 67
Quote:
Originally Posted by Lateralus View Post
What you need to keep an eye out for is a call to the creation of packet 1101 with subtype 1, which notifies the client to display an item on the ground.
Is he(zero47) trying to prevent the item from going through the confiscator npc? I thought the packet 1101 should be generated by the server and sent to client, else item drop would be client sided. That would mean too much evil
shitboi is offline  
Old 12/29/2011, 17:51   #29
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally Posted by shitboi View Post
Is he(zero47) trying to prevent the item from going through the confiscator npc? I thought the packet 1101 should be generated by the server and sent to client, else item drop would be client sided. That would mean too much evil
Yeah, it is sent server->client only - he's analyzing TQ bins.
Lateralus is offline  
Old 12/29/2011, 17:53   #30
 
Zero47's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 76
Received Thanks: 14
In the older version of bins I have (the 5065 patch) there was no Confiscator NPC. It's the old system that TQ used to have (killed on red/blackname, randomly drop a gear from your character equipped items).
Zero47 is offline  
Reply


Similar Threads Similar Threads
Assembly
01/18/2011 - CO2 Programming - 5 Replies
Well, I really want to learn assembly. I've already read some guides, but I want to be good at it. I understand only less asm. Is there any good guides for learning it?
Assembly Help
08/19/2009 - Dekaron - 8 Replies
I am still trying to learn assembly, but I'm getting better. I found a tut that looked really promising (by Lela or something), but it was all about cracking registration things and such, which doesn't really help me with 2Moons. So if anybody has a tut that is more guided to game hacking, a link would be greatly appreciated. Anyway, here is what I need help with. Here is the part of the code I'm looking at: http://i221.photobucket.com/albums/dd193/sachamo5 12/Olly1.jpg What I need...
Questions regarding Ollydbg and Assembly
04/16/2009 - CO2 Programming - 9 Replies
hello guys just wondering, is it possible to run conquer.exe from ollydbg like in a debug mode?, and if so... do you get automatically botjailed because of the timestamps? second and easier, but I just want to confirm what I understood... if you get the message: jump from xxxxx under an instruction, does it really mean you got there because of a jump on xxxx position?
[Release] Assembly in C#
10/29/2008 - CO2 Programming - 7 Replies
Hello, With this .cs (C# Class) file, you can perform BASIC asm commands, such as mov ebp, esp <-- asm.Mov_EBP_ESP(); call dword ptr ds: <-- asm.Call_DWORD_Ptr(0x00873A1F); ret <-- asm.Ret(); Assembly in C# is NOT my creation, however, I have modified the source to enable Call's that are not 'Dword Ptr's (this was difficult because to figure out the opcode for jmp ADDY, you have to perform a math sequence on the ADDY (intTohex(((TargetCall - OldAddress) - 10), 8) due to the jmp TARGET...



All times are GMT +1. The time now is 14:09.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.