Register for your free account! | Forgot your password?

You last visited: Today at 19:17

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

Advertisement



OldDarkobit Server

Discussion on OldDarkobit Server within the DarkOrbit forum part of the Browsergames category.

Closed Thread
 
Old 07/11/2016, 13:28   #16
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by 45the45 View Post
Why the server restart accounts?



I can't atack enemies
for slove another bug
steppdroid is offline  
Old 07/11/2016, 16:43   #17
 
MagierDesGrauens's Avatar
 
elite*gold: 2
Join Date: Aug 2012
Posts: 1,031
Received Thanks: 1,109
Quote:
Originally Posted by steppdroid View Post
how slove this ****?!
U serious? The image he made is the solution. If you can't fix this little bug, take down your server and delete it.

One tip: You see that he shoots very often. So now search where they shoot and check how this could be. Btw: The bug is in the SERVER not in the Client.
MagierDesGrauens is offline  
Old 07/11/2016, 16:49   #18
 
elite*gold: 0
Join Date: Dec 2015
Posts: 40
Received Thanks: 15
I killed off the pushers and now I'm the only one left on the server. Me, Myself, and I.
ForSworn™ is offline  
Old 07/11/2016, 17:49   #19
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by MagierDesGrauens View Post
U serious? The image he made is the solution. If you can't fix this little bug, take down your server and delete it.

One tip: You see that he shoots very often. So now search where they shoot and check how this could be. Btw: The bug is in the SERVER not in the Client.
The problem i think is on this code.. the exploit attack the timer ?
LaserAttackTimer

Code:
private static void LaserAttackTimer(object attacker)
        {

            //Output.WriteLine("laser attack still running");
            Session Session = (Session)attacker;
            MapInstance Instance = MapManager.GetInstanceByMapId(Session.CurrentMapId);
            Session Ennemy = SessionManager.GetSessionByCharacterId(Session.CharacterInfo.SelectedPlayer);

            if (Instance != null)
            {
                MapActor Actor = Instance.GetActorByReferenceId(Session.CharacterInfo.SelectedPlayer, MapActorType.AiBot);
                if (Actor != null)
                {
                    Npc Npc = (Npc)Actor.ReferenceObject;
                    //Output.WriteLine("Npc name : " + Npc.Name);
                    AttackNpc(Session, Npc);
                    //Output.WriteLine("do the action for npc");
                    return;
                }
            }
steppdroid is offline  
Old 07/11/2016, 18:25   #20
 
MagierDesGrauens's Avatar
 
elite*gold: 2
Join Date: Aug 2012
Posts: 1,031
Received Thanks: 1,109
Quote:
Originally Posted by steppdroid View Post
The problem i think is on this code.. the exploit attack the timer ?
LaserAttackTimer

Code:
private static void LaserAttackTimer(object attacker)
{
    ....
}
Can't see any error in this code, because I don't know the other code.
The bug is in the Server when you receive the packet-id "a".
When the Server receives a|ID then it exectues the damage-script. You have to make that a shoot can only be done every second.
The client should only send "a|ID" for the first time it attacks, not every second.
The server should send the client that there was damage on a npc.
So the server should send every second after the Attack-Packet that the player shooted.

Example:
Player Attacks NPC-ID 5.
Client: Send a|5
Server:
If attack_timer is not running Then
-> do attack
-> can_attack = true;
-> Run attack timer with 1000ms (1 sec.)

Timer after 1 sec.:
-> if(can_attack == true)
---> do attack
---> run timer to check attack with 1000ms again

Client: Send G|5
Server: Only abort attack (can_attack = false). Don't reset timer for attack. Otherwise we could send a|5, G|5, a|5, G|5, a|5... so i would re-run

This is only pseudo-code how it could work, but there are many other ways.
MagierDesGrauens is offline  
Thanks
2 Users
Old 07/11/2016, 18:35   #21
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by MagierDesGrauens View Post
Can't see any error in this code, because I don't know the other code.
The bug is in the Server when you receive the packet-id "a".
When the Server receives a|ID then it exectues the damage-script. You have to make that a shoot can only be done every second.
The client should only send "a|ID" for the first time it attacks, not every second.
The server should send the client that there was damage on a npc.
So the server should send every second after the Attack-Packet that the player shooted.

Example:
Player Attacks NPC-ID 5.
Client: Send a|5
Server:
If attack_timer is not running Then
-> do attack
-> can_attack = true;
-> Run attack timer with 1000ms (1 sec.)

Timer after 1 sec.:
-> if(can_attack == true)
---> do attack
---> run timer to check attack with 1000ms again

Client: Send G|5
Server: Only abort attack (can_attack = false). Don't reset timer for attack. Otherwise we could send a|5, G|5, a|5, G|5, a|5... so i would re-run

This is only pseudo-code how it could work, but there are many other ways.
This is the intere code of attack manager..


You can share the exploit for bug damage? so i can test it, if i solve the problem. Thank u
Maybe i sloved the problem... Test please
steppdroid is offline  
Old 07/11/2016, 19:21   #22
 
cryz35's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,718
Received Thanks: 2,382
Quote:
Originally Posted by steppdroid View Post
This is the intere code of attack manager..


You can share the exploit for bug damage? so i can test it, if i solve the problem. Thank u
Maybe i sloved the problem... Test please
no you didn't in the code you posted
cryz35 is offline  
Thanks
1 User
Old 07/12/2016, 12:09   #23
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
DAMAGE HACK FIXED!
ADDED ANTI PUSH!
steppdroid is offline  
Old 07/12/2016, 13:35   #24
 
elite*gold: 0
Join Date: Aug 2013
Posts: 229
Received Thanks: 69
thats no nice anti push, me and my brother cant 1 vs 1 because of it

is it because we have the same ip?

Regards Stefan

+ You are banned for : Detected by the server : using speedhack..

i got banned for using speed hack?

i used nothing, i think i got banned because of an lag and for the server i was like teleporting or ****, can u unban me?

so close to quit this..
stefan717359 is offline  
Old 07/12/2016, 15:56   #25

 
721560329's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,949
Received Thanks: 1,254
funny your antipush system is a joke 2 firends cant play cause your IP restriction (btw if i want to push i can just get trial VPS for free and im all set) your "speedhack detection" is another joke as you can just teleport around the map if you want without being detected by system... but atleast you trying and i appriciate that (i would still recomend closing it and create your own emulator there are so many known ones on your current one ..)
721560329 is offline  
Thanks
1 User
Old 07/12/2016, 16:42   #26
 
elite*gold: 0
Join Date: Oct 2014
Posts: 42
Received Thanks: 0
did u fix the space ball as u will need hit it 120k+ just to move it?
supraturbo92 is offline  
Old 07/12/2016, 18:16   #27
 
steppdroid's Avatar
 
elite*gold: 0
Join Date: Sep 2014
Posts: 280
Received Thanks: 42
Quote:
Originally Posted by 721560329 View Post
funny your antipush system is a joke 2 firends cant play cause your IP restriction (btw if i want to push i can just get trial VPS for free and im all set) your "speedhack detection" is another joke as you can just teleport around the map if you want without being detected by system... but atleast you trying and i appriciate that (i would still recomend closing it and create your own emulator there are so many known ones on your current one ..)
Hi, you can try if hack dmg is fixed?
steppdroid is offline  
Old 07/12/2016, 19:19   #28

 
721560329's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,949
Received Thanks: 1,254
Quote:
Originally Posted by steppdroid View Post
Hi, you can try if hack dmg is fixed?
i cant cause i cant shoot my second account and nobody in game is willing to help me
721560329 is offline  
Old 07/12/2016, 19:41   #29
 
elite*gold: 0
Join Date: Aug 2013
Posts: 229
Received Thanks: 69
can u unban me i got banned for nothing
stefan717359 is offline  
Old 07/12/2016, 21:01   #30
 
MagierDesGrauens's Avatar
 
elite*gold: 2
Join Date: Aug 2012
Posts: 1,031
Received Thanks: 1,109
Quote:
Originally Posted by steppdroid View Post
[B...
ADDED ANTI PUSH![/B]
Remove "Speedhack" detection. The server should calculate the new position, so there can never be any "speedhack". And the client should ONLY send where it wants to move. Only 1|DX|DY, NOT 1|X|Y|DX|DY.
The server then tells the client where it is now to update in client.

Remove the "Anti-Push"-System. You can log if there are 2 connections on same IP. After a while you check when 2 same IPs killed themself. You shouldn't do this automatically.

Everything has to be managed by the server. The client only draws how it seems or tries to calculate what can be next (like movement).
Like 721560329 said, you should start creating your own emulator or use some other good ones.
MagierDesGrauens is offline  
Closed Thread




All times are GMT +2. The time now is 19:18.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.