SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 42
Search took 0.00 seconds.
Search: Posts Made By: dotSILENT
Forum: Plugin Development 18/12/2019, 09:05 PM
Replies: 25
Views: 7,168
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, 09:42 PM
Replies: 25
Views: 7,168
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, 08:56 AM
Replies: 25
Views: 7,168
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, 10:30 PM
Replies: 25
Views: 7,168
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, 07:55 PM
Replies: 25
Views: 7,168
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, 04:40 PM
Replies: 25
Views: 7,168
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, 03:28 PM
Replies: 25
Views: 7,168
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, 02:30 AM
Replies: 25
Views: 7,168
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, 10:25 PM
Replies: 25
Views: 7,168
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, 10:01 PM
Replies: 25
Views: 7,168
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, 01:00 AM
Replies: 33
Views: 10,411
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, 04:55 PM
Replies: 12
Views: 1,792
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, 11:47 AM
Replies: 2
Views: 201
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, 05:22 PM
Replies: 3
Views: 249
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, 04:02 PM
Replies: 2
Views: 226
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, 11:05 AM
Replies: 5
Views: 417
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 14/11/2018, 12:51 AM
Replies: 3
Views: 173
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 14/11/2018, 12:40 AM
Replies: 5
Views: 417
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 14/10/2018, 12:03 AM
Replies: 25
Views: 10,932
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, 04:00 PM
Replies: 4
Views: 449
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, 04:44 PM
Replies: 312
Views: 132,645
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...
Forum: Plugin Development 25/06/2018, 10:48 PM
Replies: 6,156
Views: 2,271,832
Posted By dotSILENT
Re: [REL] MySQL Plugin (Now on github!)

If only converting things in this plugin was an easy job..I've been using StrickenKids mysql for a long time just because I wasn't willing to f**k around 40-50k lines of code converting stuff, and...
Forum: Plugin Development 03/03/2018, 10:54 PM
Replies: 12
Views: 6,363
Posted By dotSILENT
Re: [FIXED] Fixes2 - timer accuracy

Dan's plugin is faulty, I've been using it for some time and the timers were going crazy after random time intervals.
Just look at the issues here:...
Forum: Plugin Development 02/03/2018, 03:53 PM
Replies: 12
Views: 6,363
Posted By dotSILENT
Re: [FIXED] Fixes2 - timer accuracy

Money hungry people? I don't make a broken penny off of mediafire. I don't consider this any project worth putting onto github, I don't even care about it honestly, just wanted to share it in case...
Forum: Plugin Development 10/12/2017, 06:59 PM
Replies: 90
Views: 28,827
Posted By dotSILENT
Re: Timerfix plugin - A fix for every ttime related issue

The plugin you provided is the exact plugin from this thread. I've used it for some time and it had some known overflow bug which caused timer intervals to mess up (from 1 second to few ms)
Mine...
Showing results 1 to 25 of 42

 

All times are GMT. The time now is 01:16 AM.


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