Search Results
Code: if(!strcmp(version, "0.3.7-R3")) add ! in front of the function to change the statement meaning. strcmp return value is 0 if the string matches another string.
81
Hi, I am trying to make an object in a specific virtual world and interior with user-inputted parameters. The problem I have is actually an invisible object that has been 'created' and cached into the...
95
My server was running at 60 players and it suddenly kicked every player for unacceptable nickname. I really can't find a way to find the reason of it. Did anyone had similar problems and what was the ...
91
I am using 3 timers in 3seconds period. One is called every 3000ms and it performs anticheat checks for each player, there's also one fast timer, called every 400ms that also does foreach checks, etc....
142
The slow bandwidth shouldn't be the cause. I remember playing on LSRP with same speed of internet and having stable gameplay for 8hours+ without relogging/etc. I was asking if anyone experienced simil...
142
Hi guys, I've noticed that some players with slower internet desync without a decent reason, also I found out that the host isn't a problem for it.
142
These are some pretty strong facts, thank you all for your time and rendition.
150
Hi guys, I was wondering if (if/else if) in larger callbacks like OnDialogResponse with 400 if/else if statements caused more lag than switch. Is it really more efficient to use switch or is is there ...
150
Hi guys, Im having problem on 120+ players online, after login there's settimer for spawning and it doesn't start. Any solution and what are your experiences?
78
Thanks all. I guess I will stay at this moment with a stock function.
158
For example, I have a stock function which contains over 50 INI_Write. Right. So, I use it many times after a player buys something, etc, so I was wondering if I could use INI_Write for only variables...
158
Alright, thanks for answer, what about last question?
158
Hi guys, I was looking for an answer but I sadly couldn't have found it. I was asking if the sizeof(.) function uses CPU while server is on or is it just processed in Precompiling process. Also what a...
158
Onplayerupdate is almost empty, just a check for a camera movement, nothing else. I have global timer for anticheat that's been called every 3seconds and another one that's being called every second b...
206
Hello guys, I have a problem with my script/server, actually I think the server might cause the problem. Server was running with 170 players online and the samp03svr took roughly ~50% of CPU usage. Th...
206
I just mentioned x as an example, although x will have it's value changed throughout the loop many times since the loop will be performed on over 200 online players.
84
Hello. I have a question about best anticheat checks that are placed inside foreach loops. I need precise and correct answer for usage of variables, since I don't know is it better to use one variable...
84
Код: Type Name Calls Self Time Total Time % Overall Average Worst % Overall Average Worst normal unknown@0000003c 1 0.00% 0.0 0.0 0.0 0.00% 0.0 0.0 0.0 normal unknown@000000ac 1 0.00% 0.0 0.1 0.1 ...
88
Hello, I am experiencing several server lag issues. The lag occurs while my server holds just above 250+ players in-game. I am using linux as OS. The VPS has huge RAM memory and shouldn't represent a ...
88