Register for your free account! | Forgot your password?

You last visited: Today at 06:21

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

Advertisement



Florian0 GUI Call

Discussion on Florian0 GUI Call within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 270
Florian0 GUI Call

I want to call these windows from filter. Do you have any ideas? Give me a suggestion
thaidu0ngpr0 is offline  
Old 07/28/2020, 08:47   #2
 
elite*gold: 0
Join Date: May 2018
Posts: 244
Received Thanks: 119
Hercules* is offline  
Old 07/28/2020, 17:15   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 270
Quote:
Originally Posted by Hercules* View Post
I have included it in sro_dev but it shows nothing
Can you guide how to help it work. I really need it
thaidu0ngpr0 is offline  
Old 07/28/2020, 17:25   #4
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 270
Quote:
Originally Posted by Faaruk View Post
u need to use brain.exe

If I were good, I wouldn't have asked, I just wanted to learn more, if you knew you could help me?
thaidu0ngpr0 is offline  
Old 07/28/2020, 17:56   #5
 
elite*gold: 0
Join Date: May 2018
Posts: 244
Received Thanks: 119
Quote:
Originally Posted by thaidu0ngpr0 View Post
I have included it in sro_dev but it shows nothing
Can you guide how to help it work. I really need it
ex.

Code:
printf("> " __FUNCTION__ " ~ Got Msg 0x%04x\n", MsgBuffer>msgid());
if (MsgBuffer->msgid() == 0x1666)//packet 
{
//READ THE BYTES HERE
//AFTER READING 
//ADD THIS 
MsgBuffer->FlushRemaining();
}
//CRASH !! 
// IF YOUR READING ORG PACKET 
//AFTER READING 
//ADD THIS 
MsgBuffer->m_currentReadBytes = 0;
Quote:
Originally Posted by Faaruk View Post
u need to use brain.exe
And you need a new life .
Hercules* is offline  
Old 07/28/2020, 18:24   #6
 
elite*gold: 0
Join Date: Apr 2012
Posts: 263
Received Thanks: 270
Quote:
Originally Posted by Hercules* View Post
ex.

Code:
printf("> " __FUNCTION__ " ~ Got Msg 0x%04x\n", MsgBuffer>msgid());
if (MsgBuffer->msgid() == 0x1666)//packet 
{
//READ THE BYTES HERE
//AFTER READING 
//ADD THIS 
MsgBuffer->FlushRemaining();
}
//CRASH !! 
// IF YOUR READING ORG PACKET 
//AFTER READING 
//ADD THIS 
MsgBuffer->m_currentReadBytes = 0;


And you need a new life .
add it here right bro?


my discord
Thaidu0ngpr0#3327
Can bro give me some detailed instructions, actually I'm just starting to do it
thaidu0ngpr0 is offline  
Old 07/28/2020, 18:41   #7
 
elite*gold: 0
Join Date: May 2018
Posts: 244
Received Thanks: 119
Quote:
Originally Posted by thaidu0ngpr0 View Post
add it here right bro?


my discord
Thaidu0ngpr0#3327
Can bro give me some detailed instructions, actually I'm just starting to do it
Code:
int CPSMission::OnPacketRecv(MsgStreamBuffer* MsgBuffer)
{
if(MsgBuffer->Opcode ==0x1666)
{
//you call here
}
    //Returning 1 means packet is accepted & read, 0 means fail & afair client may crash if you do return 0
    //Also, if you're planning to read original packets, set TotalReadBytes to 0 after you finish reading, because sro_client will re-read this stuff and if any byte were read before, it'll crash because it attempts to read over max bytes limit.
    return reinterpret_cast<int(__thiscall*)(CPSMission*, MsgStreamBuffer*)>(0x0084CAB0)(this, MsgBuffer);
}
Hercules* is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Kill Gui und Pet Gui.. Lvltn nicht und counter zählt nicht
02/18/2013 - Metin2 Private Server - 4 Replies
Hi, folgendes.. Hab in meinen Server den Pet Gui eingebaut. Soweit läuft des alles auch.. Quests ohne Fehler.. client ohne Fehler..
For-Schleife einer GUI untebrechen und mit Schließen einer andern GUI wiederaufnehmen
10/13/2010 - AutoIt - 7 Replies
Hi, ich hab folgendes AutoIT Problemchen und komm einfach nicht weiter. Zur Veranschauung des Problems hab ich mein eigentliches Programm mal auf einen Minimalcode reduziert. Das Programm macht so natürlich grad keinen großen Sinn, aber ich kann euch zeigen, wo's Hakt. Es geht darum: Ich hab ein Haupt-GUI von dem aus ich eine FOR-Schleife starte. Nun soll pro abgearbeiteten STEP der For-Schleife die Unter-GUI gestartet und aus der For-Schleife der Wert übergeben werden. Die...
Gui in Gui O.o
08/11/2009 - AutoIt - 6 Replies
hai leuts ich hab mal ne frage: ich habe ein tolles gui und ein tolles programm das funktioniert acuh alles ganz prächtig und jetzt gehts ans erweitern ich habe jetzt ein menue hinzugefügt (datei , bearbeiten und son kram) und ich möchte gerne dass ich wenn ich auf history klicke ein fenster aufgeht wo steht was zuletzt passiert ist.



All times are GMT +1. The time now is 06:21.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.