SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: wups
Forum: Server Support 30/08/2019, 04:28 PM
Replies: 14
Views: 1,938
Posted By wups
Re: All clients looses connection

Having the same issue. A chunk of players lose connection and then immediately reconnect. Using debian 9 x64, server 0.3.7 R2

The players get disconnect reason 0. They do not get any lag before...
Forum: Server Support 25/08/2019, 06:22 PM
Replies: 0
Views: 362
Posted By wups
UDP Send Buffer errors and high Netstat_PacketLossPercent

Hi everyone,

Changed host recently, so new setup and new OS but been having some issues with packetloss.

netstat -su shows a very high "send buffer errors".



Did not have this problem on...
Forum: News and Updates 10/09/2017, 03:08 PM
Replies: 110
Views: 88,797
Posted By wups
Re: SA-MP 0.3.7 R2-2 server update

Can someone provide more info on what issue was fixed? Thanks
Forum: Scripting Help 24/09/2015, 07:58 PM
Replies: 2
Views: 296
Posted By wups
Re: [Compiler] Calling a function from an include

Yes, tried public, stock and empty headers
Forum: Scripting Help 24/09/2015, 07:36 PM
Replies: 2
Views: 296
Posted By wups
[Compiler] Calling a function from an include

I get errors when trying to use a function in an include, whereas the function is defined in the gamemode.
include.inc(1276) : error 017: undefined symbol "ReturnName"
I lost my compiler...
Forum: Plugin Development 08/03/2015, 02:23 PM
Replies: 415
Views: 84,712
Posted By wups
Re: ColAndreas - (Release Development)

This! Finally, I've been literally waiting for these functions for years! Thanks a lot, dude.
Would be nice if you could provide a description of the algorithms you used, because reading the source...
Forum: Tutorials 20/07/2014, 01:34 PM
Replies: 69
Views: 43,607
Posted By wups
Re: PAWN for SA-MP in Sublime Text 2

Great tutorial, however i have one small problem with the text colors:
If i use this format:

#define SOME_NUMBER 20
SendClientMessage(playerid,COLOR," Something text something...
Forum: Includes 06/07/2014, 09:39 AM
Replies: 12
Views: 2,627
Posted By wups
Re: rit_Hasher [String/Text/Password Hasher] v1.R

Cheers! Udb_hash is much more complicated than this. I have yet to see a working decoder for it, I tried to make such, no luck though :(
Forum: Includes 05/07/2014, 06:24 PM
Replies: 12
Views: 2,627
Posted By wups
Re: rit_Hasher [String/Text/Password Hasher] v1.R

Challenge accepted:
http://i.imgur.com/XppyJN5.png
Sorry, but it really does suck.
Java version, if anyone wants to test:
public static String rit_DeHash(String buffer)
{
int length =...
Forum: General 27/06/2014, 09:49 AM
Replies: 61
Views: 6,009
Posted By wups
Re: Question about DDoS threats.

As posted above, it IS legit.

Anyway, whilst fighting DDoS reporting is usually NOT going to work. From personal experience, cyberpolice have other, "more important" things to take care of than...
Forum: Filterscripts 27/04/2014, 08:54 PM
Replies: 9
[FilterScript] Anti-Capital Letters
Views: 2,042
Posted By wups
Re: Anti-Capital Letters

Change

for(new i = 0; i < strlen(str); i++)

to

for(new i=0,j=strlen(str); i<j; i++)

With this code you have strlen(str)-1 less function calls.
Forum: Bug Reports 02/03/2014, 04:39 PM
Replies: 9
Views: 1,582
Posted By wups
Re: netstats_ functions doesn't work in OnPlayerDisconnect.

Most of the player data is only erased after this callback is called, so no, not very normal. I think the devs should stick to a standard to avoid problems(either erase the data before or after for...
Forum: Bug Reports 27/02/2014, 02:15 PM
Replies: 8
Views: 2,842
Posted By wups
Re: [urgent] Two people using the same id and even name

The script is good tho you should make some adjustments and release it in the include section, not many server owners will see it here.
Forum: Bug Reports 27/02/2014, 09:55 AM
Replies: 8
Views: 2,842
Posted By wups
Re: [urgent] Two people using the same id and even name

Thanks a lot! Still the problem of connecting with different ids persists. As far as I can see in that script it only deals with using the same ids. There still needs to be an anti-namechange hack.
Forum: Bug Reports 27/02/2014, 09:43 AM
Replies: 8
Views: 2,842
Posted By wups
[urgent] Two people using the same id and even name

I don't know if this is fixed in 0.3z but on my server a hacker can somehow join the server then connect multiple accounts using the same id and even name! that opened countless ways of making money...
Forum: Filterscripts 16/02/2014, 07:28 PM
Replies: 31
Views: 9,177
Posted By wups
Re: A really Advanced C4 System [Nice Timers,Defusers,AND MORE!]

Please share a download link, if anyone has this.
Forum: Includes 16/02/2014, 11:19 AM
Replies: 23
Views: 9,145
Posted By wups
Re: Traffic signs (RP) (No custom objects)

A little logical mistake with destroying signs:
Say you create 2 signs(#1 and #2), thus SignCounter = 2.
then you decide to destroy sign #1; SignCounter becomes 1.
Then if you add another...
Forum: Filterscripts 16/02/2014, 10:24 AM
Replies: 17
[FilterScript] Tazer system. [0.3z R2]
Views: 11,492
Posted By wups
Re: Tazer system. [0.3z R2]

You need to include this:

public OnPlayerUpdate(playerid)
{
new iCurWeap = GetPlayerWeapon(playerid); // Return the player's current weapon
if(iCurWeap != GetPVarInt(playerid,...
Forum: Scripting Help 12/02/2014, 08:24 PM
Replies: 24
Views: 3,594
Posted By wups
Re: Improve audio streaming?

I agree, the audio system should definitely be operated in a different thread. Now, the game freezes until you get connected to the stream, or a time-out occurs.
Forum: Includes 04/02/2014, 06:09 PM
Replies: 42
Views: 6,507
Posted By wups
Re: Meteor system - A source based on scripting "meteors"! - (Recommended mostly for RP, and TDM servers)

Haha, that would be cool

Yeah, it's a curved path unlike the one in your script.
http://www.glynn.k12.ga.us/~pmcveigh/projectile.gif
Forum: Includes 03/02/2014, 07:01 PM
Replies: 42
Views: 6,507
Posted By wups
Re: Meteor system - A source based on scripting "meteors"! - (Recommended mostly for RP, and TDM servers)

You wanted something challenging? Try making them fall in a curved path, such as a parabola, because currently it doesn't look realistic.
Nice work, anyway.
Forum: Filterscripts 01/02/2014, 08:07 PM
Replies: 14
Views: 6,584
Posted By wups
Re: M-Gear - Manual Transmission

Ever heard about variables? Your code under the callback OnPlayerUpdate is VERY inefficient.
Forum: Maps 01/02/2014, 08:03 PM
Replies: 7
Views: 4,960
Posted By wups
Forum: Filterscripts 24/10/2013, 06:41 PM
Replies: 4,021
Views: 2,243,462
Posted By wups
Re: Useful Functions

This is the most distracting style I have ever seen:

for (new idx, count = numargs(); -- count > 0;)

It just hurts my eyes lol
Forum: Includes 19/10/2013, 07:48 PM
Replies: 23
Views: 9,998
Posted By wups
Re: AW: Linked lists in PAWN

If you're answering that to me, It's not what i meant.
List:

push(1);
push(2);
push(3);
pop(); // returns 1
pop(); // returns 2
pop(); // returns 3
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 05:45 AM.


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