[Only registered and activated users can see links. Click Here To Register...]
1 UIIT_MSG_APPEAR_SETH 0 0 0 0 0 0 Seth has appeared on Earth. 0 0 0 0 0 0 0
public void SendNotify(string Msg)
{
/* BLUE */
Packet packet = new Packet(0x300C);
packet.WriteUInt16(3100);
packet.WriteUInt8(1);
packet.WriteAscii(Msg);
C_Security.Send(packet);
Send(false);
}
A lot of reasons.Quote:
if you can add in guard (why dll)
Quote:
A lot of reasons.
-Why would I waste network, memory and processing to re-send a data that is already being sent but just in a different shape?
Since this packet is received by all clients, so my way will be more network saving than yours. That's small things that some people may not notice or care about. But scientifically, they can make even a tiny difference in speed.
Why do you think joymax did that in sro_client internally as well instead of server files?
-It's not about being a DLL or filter, we usually use a DLL to modify/control main executable code, at least in this field.
So, you can imagine that this is the real executable code, because in theory, it is true.
I added 3 different uniques notifies and it works fine for me.Quote:
Feedback: using the dll downloaded works fine with "Seth' unique but trying to modify the unique code, the sro_client crashes once unique appears
Since SRO was compiled on VC80 aka VS 2005, we have to get along with old structures to dodge any errors caused by the sro_client.Quote:
Is it possible to use vs 2019? if yes then here we go
dump file: [Only registered and activated users can see links. Click Here To Register...]
crashing once the unique appears
Quote:
Note: Structures found in the files are for VC80 libs, back when strings were 28 bytes. You'll face errors, if you work with any later compiler.
I tried it on 2005 but got an error saying that this file was created in a newer versionQuote:
Since SRO was compiled on VC80 aka VS 2005, we have to get along with old structures to dodge any errors caused by the sro_client.
Quote:
Yeah, just create a new clean project and copy header and source files into it.
Open each of them, and write this in the first line:Quote:
here i got 5 errors after i copy the header and source files
#include "stdafx.h"
when i'm Not Using Precompiled Headers i got more errors and when i write this #include "stdafx.h" in first line also errors appearQuote:
Open each of them, and write this in the first line:Code:#include "stdafx.h"
Alternative solution, in case you didn't even wanna use a precompiled header:
Select Your Project from Solution Explorer -> Alt + Enter to open Properties -> Configuration Properties -> Precompiled Headers -> Precompiled Header -> Switch it to "Not Using Precompiled Headers"