CLEO Help 0BC9 w/o SAMPFUNCS

CLEO related

mpol77

Active member
Joined
Oct 24, 2018
Messages
66
Reaction score
6
Hi,

I'm not looking to simply press the 'OK' button, I do know that there's a snippet for that. I'm actually looking to send the server a fake dialog response with specific options, is it actually possible?
With SAMPFUNCS, 0BC9 worked just fine since I think it sent a packet to the server, but what about now since it's gone?
 

mpol77

Active member
Joined
Oct 24, 2018
Messages
66
Reaction score
6
Yeah that's my bad I badly explained last time lol
The code on the topic you sent works if the server opened a dialog for you with ShowPlayerDialog and it just presses 'OK'
There is no option to specify the dialog ID, if I SET the current dialog id at samp.dll + 0x2AC9E0 + 0x30 with cheat engine, the server doesn't acknowledge my answer in OnDialogResponse, it just doesn't work
I basically need this: https://i.gyazo.com/eea7b36030de9770bd86087f5639870d.png
I don't know how to hook with the cheat engine the function being called when you send a dialog response :/
 

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,463
Solutions
5
Reaction score
916
Location
Israel
Yeah that's my bad I badly explained last time lol
The code on the topic you sent works if the server opened a dialog for you with ShowPlayerDialog and it just presses 'OK'
There is no option to specify the dialog ID, if I SET the current dialog id at samp.dll + 0x2AC9E0 + 0x30 with cheat engine, the server doesn't acknowledge my answer in OnDialogResponse, it just doesn't work
I basically need this: https://i.gyazo.com/eea7b36030de9770bd86087f5639870d.png
I don't know how to hook with the cheat engine the function being called when you send a dialog response :/
It is better for you to write using moonloader There is an extension for moonloader that allows you to program for 03DL
 

mpol77

Active member
Joined
Oct 24, 2018
Messages
66
Reaction score
6
The 0.3DL moonloader API doesn't include the samp.events lib so dialogResponse won't work as far as i know
 

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,463
Solutions
5
Reaction score
916
Location
Israel
The 0.3DL moonloader API doesn't include the samp.events lib so dialogResponse won't work as far as i know
If you look at how samp.h is built in sobeit and see how the api works well you will see that it is the same thing and you can update it yourself, do you know what an honor it is to update such a thing? People will love you
 
Last edited:
Top