[New Possible Mod Idea] Always Enable sniper_mode ?

10/09/2014 17:26 Neyil#16
The bypass is your problem. Check what happens when you use it.
10/09/2014 19:25 [P2933]Step29#17
Quote:
Originally Posted by Neyil View Post
The bypass is your problem. Check what happens when you use it.
ಠ_ಠ

I'll just wait for Omdihar...
10/10/2014 01:33 Neyil#18
You can't find the xbn functions because of the bypass! LOL. I really think you should see how slicktors bypass works first.
10/10/2014 07:47 [P2933]Step29#19
Quote:
Originally Posted by Neyil View Post
You can't find the xbn functions because of the bypass! LOL. I really think you should see how slicktors bypass works first.

[Only registered and activated users can see links. Click Here To Register...]

I know you're trying to "funpost" here but please. This actually requires some intelligences where I actually need help.


I just want my 140 hp with 2.2 damage modifier ;_;
weh..
10/10/2014 07:48 Slicktor#20
Quote:
Originally Posted by Neyil View Post
You can't find the xbn functions because of the bypass! LOL. I really think you should see how slicktors bypass works first.
:facepalm:
I really think you should see how my bypass works.
You are totally wrong.
10/11/2014 14:26 Omdi#21
Quote:
Originally Posted by -PinkiWinki- View Post
XBN files are sent once every client start in server selection and the encryption is still the same. Also XBN files are not in plain text, it's a simple binary file format.
Quote:
Originally Posted by [P2933]Step29 View Post
ಠ_ಠ

I'll just wait for Omdihar...
As Pinki already mentioned, the encryption is still the same.
It should be pretty easy to hook the function handling the received xbn files and decrypt them ;)
10/11/2014 14:28 [P2933]Step29#22
Quote:
Originally Posted by Omdihar View Post
As Pinki already mentioned, the encryption is still the same.
It should be pretty easy to hook the function handling the received xbn files and decrypt them ;)
But we've already hooked them as you can see from the screenshots the breakpoints didn't even trigger from the beginning of the logo to gameplay

Unless maybe you meant another function?
10/11/2014 15:10 Omdi#23
Quote:
Originally Posted by [P2933]Step29 View Post
But we've already hooked them as you can see from the screenshots the breakpoints didn't even trigger from the beginning of the logo to gameplay

Unless maybe you meant another function?
They do not trigger huh :p?

[Only registered and activated users can see links. Click Here To Register...]
10/11/2014 15:43 [P2933]Step29#24
Quote:
Originally Posted by Omdihar View Post
They do not trigger huh :p?

[Only registered and activated users can see links. Click Here To Register...]
>01146F31

Foo that's a totally completely different function. I even checked all the XREFs related to 01146F31 and I haven't seen anything thats .xbn related so...I'm really not sure how someone like me would find this function with just pure ASM LOL

Thank you for the address however, I'll do some research there. But what I'm curious right now is how did you find the address?

I can only assume that you probably have a special client that has everything including function names for almost every single thing. I used to have a file like that from my old game and it made modding 10x easier, I knew almost every single thing about the game and only 3 people has that file right now :P

Packet Structure might work...I haven't learned how packets work in this game yet.
But in the old game I used to play, it worked like this

[OPCODE][CID][PARAMETERS]
the OP would be 4 bytes
CID 8 bytes

and Parameters differs

T_BYTE would be 00~FF, and it would be label as U8
T_INT would be 000000~FFFFFF and it would be label as U16
I forgot what U32 was...
T_ID would be 0000000000000000~FFFFFFFFFFFFFFFF and it would be label as U64

and so so.

so in my old game if I wanted to get a value from a packet I would put a breakpoint on [Only registered and activated users can see links. Click Here To Register...] and it would lead me the client's coding, very simple. But I'm really not sure if it's the same to S4 league

If it was, I would be pretty sure it would lead me to 01146F31 as well...otherwise I don't know any other methods then that.
10/11/2014 15:48 Omdi#25
It was pretty easy.
[Only registered and activated users can see links. Click Here To Register...]

Do you remember that function? If you take a closer look, you'll see that it gets called in 01146F31 :)
10/11/2014 15:55 [P2933]Step29#26
Son of a gun
...

Well, this obviously means I should be more focused, am embarrassed
But thank you so much for the help, im going to work right now so after work ill look into it, and maybe ill finally get muh 140 hp and 2.3 damage modifier and actually have fun in s4 q.q
10/11/2014 22:40 TheMeco#27
To make the weapons' target zoom,
I think you shouldn't have to set "sniper_mode" always enabled.

I think there's another way,
To edit directly the weapons' zoom,

I think The properties of weapons are contained in the .lua files, inside the script folder.
Then you can examinate them and search if the zoom/target distance is inside them,
(Ex : Revolver's Zoom is inside weapon_revolver.lua)
To make that you need PinkiWinki's ResourceTool or another one.

Another option is to know what is "auto_target_distance",
In some weapons is set to 0, in others doesn't exists.
10/12/2014 12:23 ccleanerz#28
Actually this thread is pretty interesting.
Thanks guys.

Quote:
XBN files are sent once every client start in server selection and the encryption is still the same. Also XBN files are not in plain text, it's a simple binary file format.
I had a doubt on that but now i understand.
10/12/2014 13:22 Omdi#29
Quote:
Originally Posted by ccleanerz View Post
Actually this thread is pretty interesting.
Thanks guys.



I had a doubt on that but now i understand.
Pinki is right, the breakpoint will only trigger once for every xbn file.
10/15/2014 16:50 xYhonNDesign#30
Ty I will test it later!