SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Kwarde
Forum: Scripting Help 01/06/2020, 10:34 PM
Replies: 20
Views: 503
Posted By Kwarde
Re: Server is crashing

Ubuntu, CentOS, Red Hat, ZorinOS, Elementary OS, SUSE, Fedora Server, Debian. Those are all Linux. Those operation systems (CentOS included) are all running Linux; Linux is just a family of OSes...
Forum: Scripting Help 01/06/2020, 09:00 PM
Replies: 4
Views: 115
Posted By Kwarde
Re: Help.

Ah yes, ofc, that is right. Totally forgot that!
Forum: Server Support 01/06/2020, 02:20 PM
Replies: 7
Views: 187
Posted By Kwarde
Re: error with ColAndreas_static.so

Oh I thought that was libc6's part?

Just checked, I never installed libstdc++6 but appearantly it came with the OS. I withdraw my last message I sent here then :P
Forum: Server Support 01/06/2020, 01:29 PM
Replies: 7
Views: 187
Posted By Kwarde
Re: error with ColAndreas_static.so

I was about to say the same thing, except you would need the 32 bit (i386) library: lib32stdc++6
Forum: Scripting Help 01/06/2020, 09:04 AM
Replies: 4
Views: 115
Posted By Kwarde
Re: Help.

That is now how sscanf works.
g = IEEE Float
e = MySQL escape specifier, however that only works in mysql_format() and not in sscanf
t = As far as I know, no specifier at all.

Check this out...
Forum: Everything and Nothing 01/06/2020, 08:58 AM
Replies: 30
Views: 3,711
Posted By Kwarde
Re: Favourite Genre of Music

Hehehe good game \m/
Forum: Scripting Help 31/05/2020, 09:49 PM
Replies: 3
Views: 113
Posted By Kwarde
Re: Problem pSlot

You could, but you also could use one column and store the data of all 4 into one column.
Let's say someone has two vehicles; An NRG (522) and a turismo (451). Slots 3 and 4 are unused (0)
You...
Forum: Scripting Help 31/05/2020, 08:54 PM
Replies: 2
Views: 83
Posted By Kwarde
Re: argument type mismatch (argument 1)

CreateRobberyCheckpoint uses "szName[ 32 ]".
CreateBusiness uses "const szName[ 32 ]", that's what is up ;)

You can safely remove the constant declaration in the CreateBusiness() function.
Forum: Server Support 31/05/2020, 05:11 PM
Replies: 7
Views: 203
Posted By Kwarde
Re: portforwarding but still not working

Check if your firewall allows incoming and outgoing connections aswell for samp-server
Forum: Server Support 31/05/2020, 05:03 PM
Replies: 7
Views: 187
Posted By Kwarde
Re: error with ColAndreas_static.so

You might have the wrong linux release, there is:

ColAndreas_static
ColAndreas_static_ubuntu
ColAndreas_ubuntu

(keep in mind that ubuntu for example is linux too, as is RedHat, CentOS etc)
Forum: Screenshots and Videos 31/05/2020, 04:48 PM
Replies: 4
Views: 273
Posted By Kwarde
Re: [showcase/map] Some wild west things

Ohhh this looks so sweet!
Forum: Scripting Help 31/05/2020, 04:40 PM
Replies: 6
Views: 110
Posted By Kwarde
Re: [ERROR] exception 0XC0000005 (ACCESS_VIOLATION) from Vectored Exception Handler catched; shutting log-core down

If you're going through them all: Look for 'mysql_tquery(', find out what callbacks they are using and then check if those callbacks exist.
Forum: Scripting Help 31/05/2020, 04:02 PM
Replies: 6
Views: 110
Posted By Kwarde
Re: [ERROR] exception 0XC0000005 (ACCESS_VIOLATION) from Vectored Exception Handler catched; shutting log-core down

There is a pretty great chance that there is a threaded query (mysql_tquery) attempting to call a callback that doesn't exist.
Forum: Screenshots and Videos 31/05/2020, 12:35 PM
Replies: 1
Views: 128
Posted By Kwarde
Forum: Screenshots and Videos 31/05/2020, 12:29 PM
Replies: 3
Views: 173
Posted By Kwarde
Re: [MAP] Motorcycle Clubhouse (Welcome To Blueberry Project)

Looking prrretty good mate!


This :P Bloody tight.
Forum: Scripting Help 30/05/2020, 05:57 PM
Replies: 20
Views: 503
Posted By Kwarde
Re: Server is crashing

A public production environment (or anything public) should never have 777 permissions unless if it's something like cache files, upload directory etc.
777 equals: rwxrwxrwx, which is in the format...
Forum: Scripting Help 29/05/2020, 09:14 AM
Replies: 2
Views: 253
Posted By Kwarde
Re: warning 214...

Since it was bumped already anway; the parameter -w disables a specific warning.
Alternatively (if you're using community compiler), you can add this in your script aswell: #pragma warning disable...
Forum: Scripting Help 28/05/2020, 02:43 PM
Replies: 2
Views: 71
Posted By Kwarde
Re: Im immortal on my server

Look for all SetPlayerHealth functions in your script. If there are non constant values, make sure to print those values to see whats going on
Forum: Scripting Help 27/05/2020, 09:14 PM
Replies: 8
Views: 227
Posted By Kwarde
Re: Discord DCC_GetRoleName

Are you sure that there are no more "break"s in the "My actions" part?
The second example should absolutely not be done. break stops a loop and proceeds to code after the loop. If we take this...
Forum: Scripting Help 27/05/2020, 10:29 AM
Replies: 8
Views: 227
Posted By Kwarde
Re: Discord DCC_GetRoleName

DCC_GetGuildMemberRoleCount(guild, author, roleCount);
if(channel == g_Discord_Admin_CMD) {
if(!strcmp(command, "!mycommand", true)) {
//Loop through all roles for this user
...
Forum: Scripting Help 26/05/2020, 10:22 AM
Replies: 4
Views: 104
Posted By Kwarde
Re: can i do this? (||)

Nope.
Tip: Create a filterscript and create a similar code to test it if you wanna know something like this. Example:


#include <a_samp>

enum
{
Role1 = 1,
Role2,
Forum: Gamemode Scripts 25/05/2020, 08:41 PM
Replies: 144
Views: 31,161
Posted By Kwarde
Re: San Fierro Cops And Robbers

https://github.com/Whitetigerswt/SAMP_AC_v2 ?
Forum: Scripting Help 24/05/2020, 09:58 PM
Replies: 7
Views: 108
Posted By Kwarde
Re: Error 022: must be lvalue (non-constant)

1) https://wiki.sa-mp.com/wiki/Strtok :


2) You should use something like Y_COMMANDS or Pawn.CMD instead of dcmd, it's highly outdated aswell

3) You should use something like Y_INI or MySQL...
Forum: Scripting Help 21/05/2020, 02:10 PM
Replies: 14
Views: 413
Posted By Kwarde
Re: I need a working detection of country script

Nope.
Might wanna read this article: https://www.comparitech.com/blog/vpn-privacy/how-easy-is-it-to-detect-a-vpn/

To sum everything up from that article (it's literally a quote of it)
Forum: Scripting Help 21/05/2020, 12:33 PM
Replies: 14
Views: 413
Posted By Kwarde
Re: I need a working detection of country script

https://wiki.sa-mp.com/wiki/HTTP ;

HTTP_ERROR_BAD_HOST 1
HTTP_ERROR_NO_SOCKET 2
HTTP_ERROR_CANT_CONNECT 3
HTTP_ERROR_CANT_WRITE 4
HTTP_ERROR_CONTENT_TOO_BIG 5...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 11:59 PM.


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