SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Zw
Forum: Scripting Help 01/06/2020, 07:41 PM
Replies: 12
Views: 4,669
Posted By Zw
Re: mysql_pquery vs mysql_tquery

Just to update this thread and enlight people

Don't use pquery when you are not sure, don't ever use pquery for loading data, especially for your users.

Imagine you use mysql_tquery to update...
Forum: Plugin Development 11/05/2020, 07:57 AM
Replies: 260
[Plugin] Pawn.RakNet
Views: 120,517
Posted By Zw
Re: Pawn.RakNet

It's copying memory executed by mov, cmp and jmp CPU operations, this is amx_Exec:
https://i.vgy.me/2Ra0hb.png
https://i.vgy.me/ke6R7M.png

I don't expect you to understand these.

My server...
Forum: Plugin Development 10/05/2020, 07:31 AM
Replies: 260
[Plugin] Pawn.RakNet
Views: 120,517
Posted By Zw
Re: Pawn.RakNet

There is no difference in checking on all bytes or just one byte, from that I know your knowledge is just limited to PAWN scripting. By the way compare server tick rate and not CPU usage and I think...
Forum: Plugin Development 09/05/2020, 01:43 AM
Replies: 260
[Plugin] Pawn.RakNet
Views: 120,517
Posted By Zw
Re: Pawn.RakNet

Yes because you haven't a lot of players and your single core CPU power is good or you use this for regular RPCs not sync packets, amx_Exec is an expensive call and since PAWN VM is inside the main...
Forum: Plugin Development 22/04/2020, 10:05 PM
Replies: 260
[Plugin] Pawn.RakNet
Views: 120,517
Posted By Zw
Re: Pawn.RakNet

This plugin is not recommended in anyhow for servers with high amount of players, especially when you redirect a sync packet to pawn VM public, both network and pawn VM run on the main thread of the...
Forum: Scripting Help 27/09/2019, 05:47 AM
Replies: 10
Views: 494
Posted By Zw
Re: How to ban countries? Please help me. [+REP]

Run performance profiler plugin and see what's taking so long to execute
Showing results 1 to 6 of 6

 

All times are GMT. The time now is 03:16 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.