SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Lordzy
Forum: Everything and Nothing 25/01/2018, 02:50 PM
Replies: 116
Views: 7,005
Posted By Lordzy
Forum: SA-MP 0.3.DL 17/12/2017, 02:59 PM
Replies: 1
Views: 1,021
Posted By Lordzy
Replacing faster skin's walk-style

Tutorial:

Although UsePlayerPedAnims() uses standard walk-style for every skins, there are few skins like Truth(1), Maccer(2) and Big Bear(5) that have faster movement. It's now possible to set...
Forum: Includes 21/02/2017, 02:43 AM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

I've been in a tour which is why I haven't posted any updates in this topic. I'll reach home today and will be releasing the latest commit.

The problem with the current version is that it resets...
Forum: Everything and Nothing 18/02/2017, 06:12 PM
Replies: 42
Views: 4,804
Posted By Lordzy
Re: Anti-Cheat (Why are people so greedy tho...)

The idea of open sourcing client sided anti-cheat shows how ignorant you're being. You do realize that your client sided project could be forked to a version that returns false positives where a...
Forum: Includes 15/02/2017, 02:51 AM
Replies: 948
Views: 179,895
Posted By Lordzy
Re: Nex-AC - Anticheat system

I haven't viewed your code completely but the idea of having this to be included on every filterscripts is a bad idea. You could rather have a secondary include which contains remote calls to the...
Forum: Includes 14/02/2017, 03:02 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

I got confused when you said that you don't call OnDialogResponse anywhere. But yes, that's what I meant earlier whether you're calling explicitly. I looked into the code and realized that if...
Forum: Includes 14/02/2017, 02:50 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

You should have OnDialogResponse defined in your script, even if there's nothing to do with it, for now.
Forum: Includes 12/02/2017, 11:58 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

Are you using multiple filterscripts that uses dialog features? If so, please wait because I'll have to change the data structure to use PVars. I'm currently on a tour and will be updating as soon as...
Forum: Includes 11/02/2017, 08:23 AM
Replies: 27
[Include] Missile Launcher
Views: 6,892
Posted By Lordzy
Re: Missile Launcher

A better way would be to set a boolean variable true upon missile hitting the player. Reset the boolean in case if the player has inflicted damage by something else. Under OnPlayerDeath, if the...
Forum: Filterscripts 09/02/2017, 01:29 PM
Replies: 4,672
Views: 1,817,969
Posted By Lordzy
Re: Useful Functions

I'm not sure if you referred to my version (http://forum.sa-mp.com/showpost.php?p=3830589&postcount=4618) but just clarifying that mine is slightly faster than yours. I can still see rooms for that...
Forum: Scripting Help 09/02/2017, 01:02 AM
Replies: 13
Views: 687
Posted By Lordzy
Re: While loop - extremely slow?

The more data you add in, the more slower it goes. I suggest you to consider what NaS has stated, you can use database management system to fetch your result in few milli-seconds which is ALOT faster...
Forum: Includes 08/02/2017, 05:17 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

safeDialogs - v1.0.3 (optional/minor update) released!

- Added a static-global array to handle huge strings, thereby freeing more heap space. If you were facing any heap space related warning...
Forum: Includes 06/02/2017, 03:35 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

EDIT : Never mind this function - v1.0.3 supports a better version of this function.



I wrote a function that can get you the whole inputtext line for tablists and header using this include. I...
Forum: Includes 05/02/2017, 03:36 AM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

The first issue you stated was fixed on v1.0.1 of this include because strings would be compared up to the length of inputtext only. Color embedding is something I've forgot - fixed now!

v1.0.2...
Forum: Includes 04/02/2017, 06:21 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

I didn't consider using PVars because of their slow performance and also I saw no use of having dialog-string over other scripts. I know there are bulk of data unused which is why I've considered...
Forum: Includes 04/02/2017, 03:21 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Re: safeDialogs - Complete protection against spoofed dialog data!

Thanks for reporting, it has been fixed! I suggest everyone to re-download the latest commit.
Forum: Includes 04/02/2017, 02:53 PM
Replies: 28
Views: 7,022
Posted By Lordzy
Forum: Scripting Help 04/02/2017, 02:28 PM
Replies: 4,533
Views: 496,483
Posted By Lordzy
Re: Little coding questions - For general minor queries 5

This won't work because "Hello" has a word-length of 5 and strings end with a NULL character. So 5+1=6 should be the string size of your string.
new string[6] = "Hello";
'H', 'e', 'l', 'l', 'o',...
Forum: Includes 04/02/2017, 01:13 PM
Replies: 28
Views: 7,022
Posted By Lordzy
safeDialogs - Complete protection against spoofed dialog data!

safeDialogs
Complete protection against spoofed dialog data (id, list-item and input-text)
Version - 1.0.3 (use v1.0.2 until a stable version is released)
Last update - 8th of February, 2017
NOTE...
Forum: Bug Reports 03/02/2017, 03:26 AM
Replies: 14
Views: 7,911
Posted By Lordzy
Re: streamed in paused players facing north

I only read the first post, my bad.

SetPlayerPos/SetPlayerFacingAngle will not work for paused players AFAIK so there's no way in correcting it. However, I've experienced that setting virtual...
Forum: Scripting Help 02/02/2017, 04:49 PM
Replies: 6
Views: 368
Posted By Lordzy
Re: How crash RakSampClient?

I believe the OP was asking to crash players who connect using RakSAMP client. If so - crashing players using RakSAMP client won't really help. It's an open source project and can be easily updated....
Forum: Bug Reports 02/02/2017, 03:49 PM
Replies: 14
Views: 7,911
Posted By Lordzy
Re: streamed in paused players facing north

OnPlayerUpdate will not be called for paused players. So you can use the last received angle update of the player.
new
Float:g_PlayerLastAngle[MAX_PLAYERS];

public OnPlayerUpdate(playerid)...
Forum: Scripting Help 02/02/2017, 11:00 AM
Replies: 7
Views: 232
Posted By Lordzy
Re: Timer

Then you've to reset your bmsgTDswitch variable to zero under 3rd (or last) case. Post your Topcash() function here if it's not working.
Forum: Scripting Help 02/02/2017, 10:44 AM
Replies: 7
Views: 232
Posted By Lordzy
Re: Timer

Because it keeps getting reset to 0 at the end of RandBotMsgs.
Forum: Scripting Help 02/02/2017, 08:31 AM
Replies: 2
Views: 316
Posted By Lordzy
Re: Getting string from inputtext

Extracting data from inputtext of a list-type dialog is not safe. Players can modify the inputtext you get as response. It's not recommended unless you plan on saving the content shown in dialog...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:40 PM.


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