Resolved [3.3.5] How to allow hunters to shoot in melee range

Reloac

Active member
Reloac Rep
2
0
0
Rep
2
Reloac Vouches
0
0
0
Vouches
0
Posts
42
Likes
31
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 55 XP
Hello. I'm wondering how I can properly implement hunters allowing to shoot in melee range.
I managed to make a ghetto solution however this involved patching the client and noping the call to sending cancel auto repeat opcode (CMSG_CANCEL_AUTO_REPEAT_SPELL) when it's called in the function in client when entering melee range. (at 0x6E285A). This works however there is no way this is the correct way.
I am sure i'm over complicating this, but if someone can point me in the right direction I will be grateful. thanks!
 
Liked By 1 member :

Deathx

Why is my name not in this color :(
Divine
Deathx Rep
1
0
0
Rep
1
Deathx Vouches
0
0
0
Vouches
0
Posts
247
Likes
40
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 5 195 XP
Maybe write some logic around here. Check if the player is hunter and if it is certain spell (not sure which spell is used for hunters).
 

Kerpackie

Well-known member
Kerpackie Rep
3
0
0
Rep
3
Kerpackie Vouches
0
0
0
Vouches
0
Posts
164
Likes
130
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Could you modify the spells so that their range doesn't have a base minimum cast distance?
 

Deathx

Why is my name not in this color :(
Divine
Deathx Rep
1
0
0
Rep
1
Deathx Vouches
0
0
0
Vouches
0
Posts
247
Likes
40
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 5 195 XP
Could you modify the spells so that their range doesn't have a base minimum cast distance?
That's one of the things that needs to be done. But he's talking about auto spell casting (Auto attack if I am correct). Client sends an opcode once player is in melee range as far as I understand.
 

Kerpackie

Well-known member
Kerpackie Rep
3
0
0
Rep
3
Kerpackie Vouches
0
0
0
Vouches
0
Posts
164
Likes
130
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Ahh, yes I understand!
 

Rogue Rogue

Developer
Divine
Rogue Rep
2
0
0
Rep
2
Rogue Vouches
0
0
0
Vouches
0
Posts
609
Likes
126
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 11 215 XP
Could you modify the spells so that their range doesn't have a base minimum cast distance?
I believe its done in database, i'll have to check database later to confirm. I believe its easy, if i have time i'll release simple guide, that actually could be useful to people.
 

Deathx

Why is my name not in this color :(
Divine
Deathx Rep
1
0
0
Rep
1
Deathx Vouches
0
0
0
Vouches
0
Posts
247
Likes
40
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 5 195 XP
I believe its done in database, i'll have to check database later to confirm. I believe its easy, if i have time i'll release simple guide, that actually could be useful to people.
I doubt it's database related. I think @Reloac is on the right path.
 

Rogue Rogue

Developer
Divine
Rogue Rep
2
0
0
Rep
2
Rogue Vouches
0
0
0
Vouches
0
Posts
609
Likes
126
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 11 215 XP
I doubt it's database related. I think @Reloac is on the right path.
Hmh it might be, however i'll check, since i believe u can exchange distance in database for spells, however i might be wrong. But i dont think i am . Just didnt in awhile check
 

OMGhixD

Guest
Rep
Rep
Vouches
0
0
0
Vouches
0
Posts
0
Likes
0
Bits
56 YEARS
56 YEARS OF SERVICE
Liked By 1 member :

Instadev

MySQL & C++ Developer
banned
Instadev Rep
4
0
0
Rep
4
Instadev Vouches
0
0
0
Vouches
0
Posts
338
Likes
153
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 2 90 XP

3,389

1,271

9,555

428

Top