SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 46
Search took 0.00 seconds.
Search: Posts Made By: dotSILENT
Forum: Plugin Development 12/05/2020, 03:47 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

Haven't really tested it with any bigger amount of players. It should perform well though, especially on the server side there isn't any heavy logic involved that could cause performance problems. On...
Forum: Plugin Development 17/04/2020, 07:02 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

Just checked out of curiosity and not a single vehicle added by AddStaticVehicleEx got respawned, even after changing it's handling. I'd rather say it's some issue in your gamemode as I don't really...
Forum: Plugin Development 12/04/2020, 10:22 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

The plugin takes care of reseting every vehicle right after calling CreateVehicle, so you don't need to reset anything.



With this plugin, handling values are kept server-side, so you don't...
Forum: Plugin Development 06/04/2020, 05:44 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

I pushed an update that should fix this, the offsets were correct but I accidentally put too many bytes into the version signature.
Forum: Plugin Development 18/12/2019, 08:05 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

I took a quick peek at the disassembler and updated the offsets.ini file to handle 0.3.7 R4 (at least in theory, I haven't even launched the game because I'm not playing it anymore):...
Forum: Plugin Development 25/01/2019, 08:42 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

There is no other way to do it unless it's done by Kalcor, and I wouldn't count on that.
In my opinion, client sided modifications (ehm..SAMP Addon, but I'll give a very very bad stare at the guy...
Forum: Plugin Development 22/01/2019, 07:56 AM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

I know why it's not working when you put it after SKY.
It's because SKY uses the exact same GetPacketId hook (which I actually took from Whitetiger's sampACv2). But SKY hooks the function directly...
Forum: Plugin Development 21/01/2019, 09:30 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

That's caused by sampgdk, although I don't know why would it happen with CallRemoteFunction. I just tested it and called a remote function from the filterscript and nothing happened. Only index...
Forum: Plugin Development 21/01/2019, 06:55 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

It's very likely, however afaik it's not hooking the server's raknet but creating it's own instance so I don't know what would be the problem. Is it even being updated? I think it's outdated for a...
Forum: Plugin Development 21/01/2019, 03:40 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

That's really weird, I just tested it on both linux & windows, vehicles created with both CreateVehicle and AddStaticVehicle worked fine.
The current value shown (0.0) is not valid, and it appears...
Forum: Plugin Development 21/01/2019, 02:28 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

Make sure you input float values with a dot and not a period (0.1 etc)
Also, there are value-correctness checks, you can see the proper value ranges here: Handling attributes...
Forum: Plugin Development 21/01/2019, 01:30 AM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

It's possible, I see that MTA did it but as far as I can see it's global, which makes sense. So one modification of weapon property is applied for every player.
I'm not sure about syncing the shoots...
Forum: Plugin Development 20/01/2019, 09:25 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Re: CHandling - Server control of handlings & per-vehicle handlings

Known bugs


Some things such as various handling/model flags and suspension lines don't work for players that had the vehicle already streamed in unless it's re-streamed for them
Forum: Plugin Development 20/01/2019, 09:01 PM
Replies: 40
Views: 13,672
Posted By dotSILENT
Lightbulb CHandling - Server control of handling.cfg & per-vehicle handlings

CHandling client & server plugin

CHandling is a client & server sided plugin which allows the server to have control over vehicle handlings. In addition, it modifies the default behaviour of GTA,...
Forum: Plugin Development 05/01/2019, 12:00 AM
Replies: 35
Views: 15,214
Posted By dotSILENT
Re: AntiAimbot - Artifical Intelligence

I haven't checked into the code, but I'd like to point out one possible scenario where I think a problem could appear:
1. Player id 0 is using aimbot
2. submit_vector is called for player id 0 and...
Forum: General 25/11/2018, 03:55 PM
Replies: 12
Views: 1,865
Posted By dotSILENT
Re: Is internet tab back?

http://lists.sa-mp.com/0.3.7/hosted
http://lists.sa-mp.com/0.3.7/internet
Forum: Scripting Help 16/11/2018, 10:47 AM
Replies: 2
Views: 228
Posted By dotSILENT
Re: if a player are facing a player

If you mean to check if both players are facing themselves (only then you cannot be "behind" someone), check if player A faces player B, and if player B faces player A using IsPlayerFacingPlayer...
Forum: Scripting Help 14/11/2018, 04:22 PM
Replies: 3
Views: 291
Posted By dotSILENT
Re: Clearing entire string with strcpy()?

Just do str[0] = '\0', there's no need to overwrite the entire array and just adds an unneccessary overhead.
C-style strings should be always ended with an EOS ('\0), that's how all string...
Forum: Scripting Help 14/11/2018, 03:02 PM
Replies: 2
Views: 244
Posted By dotSILENT
Re: How to load maps from website

You can write your own file parsing code to load objects from files. I use sscanf for parsing the lines, like that:

if(!strcmp(funcName, "CreateDynamicObject") && paramLen)
{...
Forum: Scripting Help 14/11/2018, 10:05 AM
Replies: 5
Views: 480
Posted By dotSILENT
Re: ShowPlayerDialog getting weird

If hardcoding works, then it's not any SAMP limitation or bug, that's why I tried it with hardcoded colors.
Your formatting code is just bad.
If you allow the player to type in their custom hex...
Forum: Scripting Help 13/11/2018, 11:51 PM
Replies: 3
Views: 198
Posted By dotSILENT
Re: Question about mysql saved data

Single query should be faster, although it can get pretty confusing if you need to update a really large set of data.
If you don't care about the result and you are using tquery (as I see in the...
Forum: Scripting Help 13/11/2018, 11:40 PM
Replies: 5
Views: 480
Posted By dotSILENT
Re: ShowPlayerDialog getting weird

I've used this code:

CMD:test(playerid)
{
new text[300] = "Setting\tInformation\nStatus\tCivilian\nPM\t{33AA33}ON\nMusic\t{33AA33}ON\nCar HUD\t{33AA33}ON\nHit Effect Sound\t{33AA33}ON";
...
Forum: Plugin Development 13/10/2018, 11:03 PM
Replies: 25
Views: 14,597
Posted By dotSILENT
Re: SAMP_AC_v2: Most advanced Client-Side Anti-Cheat for SA-MP. (2014-2017)

waysemir this isn't a 'please do this' thread but a release of a project that isn't maintained anymore.

I think the whole process of packing/Enigma protecting this ac was kinda pointless. Some may...
Forum: Server Support 23/09/2018, 03:00 PM
Replies: 4
Views: 495
Posted By dotSILENT
Re: Server Crasher / Server doesn't Ping

If the entire server isn't responding then its obviously not a player crasher. It looks like it makes the raknet thread go into an infinite loop and the server basically stops responding to anything....
Forum: Plugin Development 14/08/2018, 03:44 PM
Replies: 312
Views: 138,221
Posted By dotSILENT
Re: Socket plugin (v0.2b released)

I don't encourage anyone to use this plugin if you want it to be reliable. This code is poorly written and has no socket error checking at all, if I recall correctly there was a case where a socket...
Showing results 1 to 25 of 46

 

All times are GMT. The time now is 08:55 PM.


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