SolvedHow does this work?

Posts 1–6 of 6 · Page 1 of 1
How does this work?
Code:
hook.Add("Think","ndf",function()
    for k, v in pairs (player.GetAll()) do
        net.Start('PS_SendPoints')
            net.WriteEntity(v)
            net.WriteInt(0, 32)
        net.SendToServer()
    end
end)
^ This crashes / lags the server, now I've been trying stuff like this and it's only crashing me..
Is the reason because this addon has the option to send other players points?

Code:
    for k, v in pairs (player.GetAll()) do
        net.Start('PS_SendPoints')
it basically sends a net request (net.SendToServer) to vDos and sends ur ip
Quote Originally Posted by D3M0L1T10N View Post
it basically sends a net request (net.SendToServer) to vDos and sends ur ip
Yeah that my prob m8 how do I change it? I can't change it from ragebooter to vDos please make a tutorielsww?

thanks1!11!!

edit: wait wait where is the dark comment option ?
Quote Originally Posted by D3M0L1T10N View Post
it basically sends a net request (net.SendToServer) to vDos and sends ur ip
all trolling aside, thank you
Quote Originally Posted by Keepo123 View Post
all trolling aside, thank you
Well, if we take a look at the code you highlighted

player.GetAll() returns a table of all connected players,

for k, v in pairs (player.GetAll()) do basically does a loop in the table, so for each player etc, but k,v stands for key and value, the value is the entity and key is normally some sort of count number or can be anything else, for tables in tables it can be that k is the category and v is the item name, but you don't do that here, so no need to explain


All in all it overflows the server (payload exploit) due to excessive amounts of unoptimised and crappy code

-2cash
Quote Originally Posted by 2cashs View Post
Well, if we take a look at the code you highlighted

player.GetAll() returns a table of all connected players,

for k, v in pairs (player.GetAll()) do basically does a loop in the table, so for each player etc, but k,v stands for key and value, the value is the entity and key is normally some sort of count number or can be anything else, for tables in tables it can be that k is the category and v is the item name, but you don't do that here, so no need to explain


All in all it overflows the server (payload exploit) due to excessive amounts of unoptimised and crappy code

-2cash
Thanks for explaining that <3
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us