2021-07-16, 08:33 PM
(2021-07-16, 08:26 PM)Kwarde Wrote:Quote:i simply removed the ip[] = "192.168.1.255" variable, and replaced it with the player's ip and now it works perfectly
That was exactly what you should had done in the first place.. I'll make sure to explicitly mention that an eventual next time ;-).
agreed, should have thought a bit better about it, and ultimately, sscanf was the best solution to this problem. that function really helped and i even learned something new from it.