|
You last visited: Today at 02:37
Advertisement
[Mini-Release] Custom Unique Notifies
Discussion on [Mini-Release] Custom Unique Notifies within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
08/15/2019, 04:51
|
#1
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
|
[Mini-Release] Custom Unique Notifies
|
|
|
08/15/2019, 06:51
|
#2
|
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
|
good job
if you can add in guard (why dll)
And don't forget to add your system message at textuisystem, for example:
PHP Code:
1 UIIT_MSG_APPEAR_SETH 0 0 0 0 0 0 Seth has appeared on Earth. 0 0 0 0 0 0 0
example:-
SendNotify("UIIT_MSG_APPEAR_SETH");
PHP Code:
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); }
good luck
|
|
|
08/15/2019, 07:31
|
#3
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
|
Quote:
Originally Posted by khaleed2010
if you can add in guard (why dll)
|
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.
|
|
|
08/15/2019, 11:38
|
#4
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
You made my day, awesome release, thank you.
|
|
|
08/15/2019, 19:54
|
#5
|
elite*gold: 50
Join Date: Apr 2011
Posts: 49
Received Thanks: 9
|
Quote:
Originally Posted by #HB
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.
|
Yes you are right good job
|
|
|
08/16/2019, 10:34
|
#6
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
Feedback: using the dll downloaded works fine with "Seth' unique but trying to modify the unique code, the sro_client crashes once unique appears
|
|
|
08/16/2019, 12:22
|
#7
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
|
Quote:
Originally Posted by Mr.Awesome1337
Feedback: using the dll downloaded works fine with "Seth' unique but trying to modify the unique code, the sro_client crashes once unique appears
|
I added 3 different uniques notifies and it works fine for me.
Please ensure that you're using VC80 aka VS 2005 and building on Release. You can provide a dump file as well.
|
|
|
08/16/2019, 12:44
|
#8
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
Oh, okay I will be downloading it and reporting back
|
|
|
08/17/2019, 16:47
|
#9
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
Is it possible to use vs 2019? if yes then here we go
dump file: 
crashing once the unique appears
|
|
|
08/17/2019, 17:42
|
#10
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
|
Quote:
Originally Posted by Mr.Awesome1337
Is it possible to use vs 2019? if yes then here we go
dump file: 
crashing once the 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:
Originally Posted by #HB
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.
|
|
|
|
08/17/2019, 22:30
|
#11
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
Quote:
Originally Posted by #HB
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.
|
I tried it on 2005 but got an error saying that this file was created in a newer version
|
|
|
08/17/2019, 22:47
|
#12
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
|
Quote:
Originally Posted by Mr.Awesome1337
I tried it on 2005 but got an error saying that this file was created in a newer version
|
Yeah, just create a new clean project and copy header and source files into it.
|
|
|
08/18/2019, 01:44
|
#13
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
Quote:
Originally Posted by #HB
Yeah, just create a new clean project and copy header and source files into it.
|
here i got 5 errors after i copy the header and source files
|
|
|
08/18/2019, 02:46
|
#14
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
|
Quote:
Originally Posted by Mr.Awesome1337
here i got 5 errors after i copy the header and source files
|
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"
|
|
|
08/18/2019, 03:12
|
#15
|
elite*gold: 53
Join Date: Sep 2014
Posts: 308
Received Thanks: 88
|
Quote:
Originally Posted by #HB
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"
|
when i'm Not Using Precompiled Headers i got more errors and when i write this #include "stdafx.h" in first line also errors appear
While using #include "stdafx.h"
while Not Using Precompiled Headers
|
|
|
 |
|
Similar Threads
|
[CUSTOM SALE] PokeMMO! Custom Bots, Exp Leveling Bot, Shiny Catcher! [CUSTOM SALE]
04/08/2014 - Trading - 90 Replies
Update: 2013-05-20
BOT IS NOW FULLY AIO SUPPORTS ALL LOCATIONS IN POKEMMO!!
Auto-leveling bot:
Supports PP healing
Supports Death pokemon healing
Supports death pokemon switching
Supports walking to healing
Fully flawless & catches shinies!!!
|
[WTB] unded mini ghostly/mini panada/mini polar bear
05/07/2012 - Guild Wars Trading - 2 Replies
Hi,
Would like to buy one of those pets. Make me an offer if you got one.
Thanks.
|
[BETA]Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/25/2012 - SRO PServer Advertising - 109 Replies
Hello there,
I would like to announce the BETA opening of Astro Server, We are here for the community not for competition. We don't care if we are #1 or #1001.
The BETA will last one week, to find any small bugs that may still exist. During this time users will receive 5000 Wonga as soon as you register this is part of the BETA test. Also users will be rewarded for helping when we go live, Which you can find more information on this at the forum.
Please be aware after the BETA ends...
|
Beta-Max Online ~ 120 CAP ~ D13 ~ Custom Events ~ Custom Quests ~ Custom Areas
03/19/2012 - SRO PServer Advertising - 6 Replies
Fantastic Server. If reliablility is what you want then Beta-Max is for you. Unique PVP Battles - Pets - Items - Quests - Jobs - Wonga and so much more
Server Details:
Level Cap: 120
Skill Cap: 120
Chinese Mastery Cap: 360
European Mastery Cap: 240
Item Degree: 13th Degree
Active Areas: All (Including Jupiter)
|
All times are GMT +1. The time now is 02:38.
|
|