hello fix Legendary Gui- Filter Source

07/13/2021 14:01 articpop#1
anyone can help me when i kill any unq clinte close DPS meter
in clinte maybe
07/13/2021 14:03 Devsome#2
Any error message?
Any Screenshots?
What did you tried to solve this problem
07/13/2021 14:37 articpop#3
Quote:
Originally Posted by Devsome View Post
Any error message?
Any Screenshots?
What did you tried to solve this problem
IF I KILL UNQ GET CLOSE CLINTE no take me anythng msg or photo
07/13/2021 16:26 ASKSRO_1#4
Quote:
Originally Posted by articpop View Post
IF I KILL UNQ GET CLOSE CLINTE no take me anythng msg or photo
It has a bug so you don’t need to fix it
07/13/2021 16:43 articpop#5
Quote:
Originally Posted by ASKSRO_1 View Post
It has a bug so you don’t need to fix it
iknow this problem and how to fix
07/14/2021 17:30 bimbum*#6
Quote:
Originally Posted by articpop View Post
anyone can help me when i kill any unq clinte close DPS meter
in clinte maybe
I've read the code. he created a thead to get agentmodule information while he receives the result at the main thread which means sometimes due to synchronization issue the main thread will be executed first which makes agentmodule information always null.So the code has to be like this:
Code:
 foreach (var kvp in records)
            {
                SECURITYOBJECTS.AgentModule agentModule = null;
                Task.Factory.StartNew(() =>
                {
                    agentModule = Utils.GetAgentByGID(kvp.Key);
                    if (agentModule != null)
                    {
                        agentModule.DMGMeterGui = true;
                        agentModule.LOCAL_SECURITY.Send(uniqueInfoMsg);
                        agentModule.ASYNC_SEND_TO_CLIENT(agentModule.CLIENT_SOCKET);
                    }
                });
            }
Why checking if agentModule =null ?
Cause what if someone attacked a unique then teleported or got dc or whatever his uniqueid gonna be changed.
07/15/2021 01:55 articpop#7
Quote:
Originally Posted by bimbum* View Post
I've read the code. he created a thead to get agentmodule information while he receives the result at the main thread which means sometimes due to synchronization issue the main thread will be executed first which makes agentmodule information always null.So the code has to be like this:
Code:
 foreach (var kvp in records)
            {
                SECURITYOBJECTS.AgentModule agentModule = null;
                Task.Factory.StartNew(() =>
                {
                    agentModule = Utils.GetAgentByGID(kvp.Key);
                    if (agentModule != null)
                    {
                        agentModule.DMGMeterGui = true;
                        agentModule.LOCAL_SECURITY.Send(uniqueInfoMsg);
                        agentModule.ASYNC_SEND_TO_CLIENT(agentModule.CLIENT_SOCKET);
                    }
                });
            }
Why checking if agentModule =null ?
Cause what if someone attacked a unique then teleported or got dc or whatever his uniqueid gonna be changed.
when i just kill unq clinte close
07/15/2021 02:12 bimbum*#8
Quote:
Originally Posted by articpop View Post
when i just kill unq clinte close
are you sure that u using the gameserver which has this feature ?
07/15/2021 04:36 LegendarySouL#9
Quote:
Originally Posted by ASKSRO_1 View Post
It has a bug so you don’t need to fix it
+1
07/15/2021 08:42 articpop#10
Quote:
Originally Posted by bimbum* View Post
are you sure that u using the gameserver which has this feature ?
when i chnage gameserver no game close when kill unq but dont see dps
u heve gameserver dll legend flter
07/23/2021 12:42 zxvoyeu2#11
I see many thread related to Legendary Gui, so i'll ask the question here .
SR_PROXY crash randomly because this error :
Cannot access a disposed object
+.NET Framework 4.7.2 is installed .
07/23/2021 19:01 bimbum*#12
this exception happens during the asynchronous read operation which was started at beginreceive.

CAUSES
  1. asyncResult is null.
  2. EndReceive(IAsyncResult) was previously called for the asynchronous read.
  3. An error occurred when attempting to access the socket.
  4. Someone ddosing you and unexpectedly has closed the connection during the receive operation.... (i think that what happened)
FIX
  • You will have to rewrite the full operation or just try catch around endreceive function.
07/23/2021 22:40 zxvoyeu2#13
Quote:
Originally Posted by bimbum* View Post
this exception happens during the asynchronous read operation which was started at beginreceive.

CAUSES
  1. asyncResult is null.
  2. EndReceive(IAsyncResult) was previously called for the asynchronous read.
  3. An error occurred when attempting to access the socket.
  4. Someone ddosing you and unexpectedly has closed the connection during the receive operation.... (i think that what happened)
FIX
  • You will have to rewrite the full operation or just try catch around endreceive function.
I appreciate your help so much :)