|
You last visited: Today at 22:13
Advertisement
Skill Cast Function
Discussion on Skill Cast Function within the CO2 Programming forum part of the Conquer Online 2 category.
05/15/2009, 03:34
|
#1
|
elite*gold: 0
Join Date: Mar 2006
Posts: 5
Received Thanks: 0
|
Skill Cast Function
Hey,
I'am new to this conquer hacking business, and my first goal is to write a memory based xp caster. I want it to cast a xp skill when xp reaches 100. I have found the offset for the xp skill but i don't understand the skill cast function in CO. if someone would nudge me in the right direction of how to find it or give me pointers i would appreciate it
~griswald
|
|
|
05/15/2009, 08:18
|
#2
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
If you were told the skill cast function, would you know how to execute it?
|
|
|
05/15/2009, 08:54
|
#3
|
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
|
Quote:
Originally Posted by IAmHawtness
If you were told the skill cast function, would you know how to execute it?
|
that's the hardest part XD
|
|
|
05/15/2009, 09:09
|
#4
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Quote:
Originally Posted by ookamocka
that's the hardest part XD
|
Not really since clintonselke converted that VB6 code I found into AutoIt .
|
|
|
05/15/2009, 09:37
|
#5
|
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
|
Quote:
Originally Posted by IAmHawtness
Not really since clintonselke converted that VB6 code I found into AutoIt .
|
ya, but i mean writing that part, is the hardest part :-P everything else is basic simple programming like you would write any other program
|
|
|
05/15/2009, 11:14
|
#6
|
elite*gold: 0
Join Date: Sep 2008
Posts: 490
Received Thanks: 595
|
Quote:
Originally Posted by griswald
Hey,
I'am new to this conquer hacking business, and my first goal is to write a memory based xp caster. I want it to cast a xp skill when xp reaches 100. I have found the offset for the xp skill but i don't understand the skill cast function in CO. if someone would nudge me in the right direction of how to find it or give me pointers i would appreciate it
~griswald
|
What dont you understand from the skillcast function?
|
|
|
05/15/2009, 14:56
|
#7
|
elite*gold: 0
Join Date: Mar 2006
Posts: 5
Received Thanks: 0
|
Quote:
Originally Posted by IAmHawtness
If you were told the skill cast function, would you know how to execute it?
|
i have no clue about the skill function, im guessing it would be just pushing the arguments into stack then calling the function? I understand if you want to keep the method secret. I just want to learn how to do this, since i see you already have everything figured out in your cooperative >< Thanks for any help bro
Quote:
Originally Posted by _fobos_
What dont you understand from the skillcast function?
|
first of all maybe i should learn how to find functions in general. I don't understand the first step you guys used to find functions. Do you just go through the whole assembly to see what everything is doing? Or do you somehow narrow a call down and breakpoint and see if it is the function. If so how do you narrow it down is what im asking.
~griswald
|
|
|
05/15/2009, 15:24
|
#8
|
elite*gold: 0
Join Date: Sep 2008
Posts: 490
Received Thanks: 595
|
Quote:
Originally Posted by griswald
i have no clue about the skill function, im guessing it would be just pushing the arguments into stack then calling the function? I understand if you want to keep the method secret. I just want to learn how to do this, since i see you already have everything figured out in your cooperative >< Thanks for any help bro
first of all maybe i should learn how to find functions in general. I don't understand the first step you guys used to find functions. Do you just go through the whole assembly to see what everything is doing? Or do you somehow narrow a call down and breakpoint and see if it is the function. If so how do you narrow it down is what im asking.
~griswald
|
open StrRes.ini maybe you'll find something like cant cast this spell bla bla convert the number to hex and search push <number> then search from there on
|
|
|
05/15/2009, 15:26
|
#9
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Quote:
Originally Posted by griswald
i have no clue about the skill function, im guessing it would be just pushing the arguments into stack then calling the function? I understand if you want to keep the method secret. I just want to learn how to do this, since i see you already have everything figured out in your cooperative >< Thanks for any help bro
first of all maybe i should learn how to find functions in general. I don't understand the first step you guys used to find functions. Do you just go through the whole assembly to see what everything is doing? Or do you somehow narrow a call down and breakpoint and see if it is the function. If so how do you narrow it down is what im asking.
~griswald
|
The easiest way for finding specific functions inside CO (this is just my opinion) is using Cheat Engine or ollydbg, I prefer Cheat Engine.
If you want to find the skill use function, you could, for example, try finding the address that contains your current selected skill with Cheat Engine, and then find out what instructions that accesses that address when you use a skill in CO.
This is taken directly from my COoperative (written in VB6):
Code:
Private Function UseSkill()
Dim ASM As New clsASM
With ASM
.Pushad
.Push &H0
.Push (targetid)
.Push (skill)
.Mov_ESI &H5DABB8
.Mov_ECX_ESI
.Mov_EAX &H4EACEA
.Call_EAX
.Popad
.Ret
End With
ASM.Run_ASM (pid)
End Function
The "Use skill" function inside Conquer is located at 004966E5 and looks like this:
Code:
004966E5 - 6a 00 - push 00
004966E7 - ff 77 50 - push [edi+50] [COLOR="YellowGreen"]'(This pushes the skill ID - e.g. 1095 (Hexadecimal: 0x447) for Stig)[/COLOR]
004966EA - ff b3 4c f3 0a 00 - push [ebx+000af34c] [COLOR="YellowGreen"]'(This pushes the target/player ID)[/COLOR]
004966F0 - 8b ce - mov ecx,esi [COLOR="YellowGreen"]'(ESI must be 005DABB8 (for patch 5125 Conquer.exe's))[/COLOR]
004966F2 - e8 f3 45 05 00 - call 004eacea
|
|
|
05/15/2009, 15:55
|
#10
|
elite*gold: 0
Join Date: Mar 2006
Posts: 5
Received Thanks: 0
|
Quote:
Originally Posted by IAmHawtness
The easiest way for finding specific functions inside CO (this is just my opinion) is using Cheat Engine or ollydbg, I prefer Cheat Engine.
If you want to find the skill use function, you could, for example, try finding the address that contains your current selected skill with Cheat Engine, and then find out what instructions that accesses that address when you use a skill in CO.
This is taken directly from my COoperative (written in VB6):
Code:
Private Function UseSkill()
Dim ASM As New clsASM
With ASM
.Pushad
.Push &H0
.Push (targetid)
.Push (skill)
.Mov_ESI &H5DABB8
.Mov_ECX_ESI
.Mov_EAX &H4EACEA
.Call_EAX
.Popad
.Ret
End With
ASM.Run_ASM (pid)
End Function
The "Use skill" function inside Conquer is located at 004966E5 and looks like this:
Code:
004966E5 - 6a 00 - push 00
004966E7 - ff 77 50 - push [edi+50] [COLOR="YellowGreen"]'(This pushes the skill ID - e.g. 1095 (Hexadecimal: 0x447) for Stig)[/COLOR]
004966EA - ff b3 4c f3 0a 00 - push [ebx+000af34c] [COLOR="YellowGreen"]'(This pushes the target/player ID)[/COLOR]
004966F0 - 8b ce - mov ecx,esi [COLOR="YellowGreen"]'(ESI must be 005DABB8 (for patch 5125 Conquer.exe's))[/COLOR]
004966F2 - e8 f3 45 05 00 - call 004eacea
|
wow, i can't beleive i didn't think about tracing using the currently selected skill. This is a very good lead, thank you so much for deciding to help i really appreciate it
~griswald
|
|
|
|
Similar Threads
|
[help]tip for skill hak 1 no cast delay
04/11/2010 - Dekaron Private Server - 0 Replies
can anyone give me a tip for skill hack 1 no cast delay using ce....
tnx for reading the message
|
[WTB] Skill Cast Ring
02/27/2010 - Archlord Trading - 5 Replies
ok... I WTB skill cast reduce ring (4% or more) in Brumhart server.
Pay by paypal. Got good itrader rating.. so can be trusted. (except one from that retard zerkspower, but that was fake -,-)
Reply or pm me price and I'll get back to you asap/
Also = WTT my 4% cast ring lv55 for 4% cast ring- lv20 ... I can put 5% res in my ring or wc in the deal if yours has a decent stone
|
Skill cast ring on Cyripus
02/20/2010 - Archlord Trading - 0 Replies
WTT lvl55 4% skill cast ring for lvl4 or higher no necklace wing!!!!Or wing cheast!
|
Skill leveling -- And skill exp per cast
06/02/2008 - Cabal Online - 5 Replies
Hey, I have a question..
This is for the NA version of Cabal..
Do all magic skills, like magic arrow, lances, cannons etc... Give the same exp per hit? And vice versa with sword?
I always thought that at later levels, lances were better because they do more damage than arrows, penetrate and give more skill exp. But cannons weren't as good because of casting time, and the bigger damage.
So does it matter what skill you use? Or do they all give same exp?
|
cast speedlightning like a stamina skill
05/08/2006 - Conquer Online 2 - 8 Replies
If someone is able to make speedlightning like a stamina spell, it will be very good.
or an always activate skill.
:D
it will be for hunting
i hope to see that very soon
|
All times are GMT +2. The time now is 22:13.
|
|