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: dusk
Forum: Plugin Development 23/10/2016, 01:13 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Oh I didn't even notice the cool new logging system! Now I see.. it was just a typo :(
Forum: Plugin Development 23/10/2016, 12:46 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Hey again, I'm unable to connect to mysql on windows.

I'm running a 32 bit MySQL server. I checked the Task Manager and the process mysqld.exe is running. I created a database which I specify in...
Forum: Plugin Development 17/10/2016, 06:11 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Thanks! As for cache_set_active, I've seen people explicitly calling it after every query. Does it need to be done, even for simple queries?
Forum: Plugin Development 17/10/2016, 11:23 AM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Sub-caches? Are they accessed in a different way?
Forum: Plugin Development 16/10/2016, 07:45 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Hey, good job on the R40. I'm loving it!

I see it finally supports multiple statements in one query. So if I execute multiple select statements, will all of the results be available in one cache?
Forum: Scripting Help 05/10/2016, 09:25 PM
Replies: 9
Views: 326
Posted By dusk
Re: Errors in define

Show us an example of how are you using those defines?
Forum: Scripting Help 05/10/2016, 08:28 PM
Replies: 9
Views: 326
Posted By dusk
Re: Errors in define

No, but you cannot use the same defines for both in text(inside strings) and for functions(for example SendClientMessage)
Forum: Plugin Development 26/08/2016, 08:42 PM
Replies: 83
Views: 25,344
Posted By dusk
Re: Discord for SA-MP?

I recently tried using discord in a Lithuanian role-play server. Sadly the community rejected as it was to complicated for them...

I'd love to see some implementation of it in-game.
Forum: Server Support 19/07/2016, 01:30 PM
Replies: 16
Views: 21,364
Posted By dusk
Re: [Tutorial] - how to get meaningful crash reports - linux server

Okay, i'll bump an extremely old thread.

I ran it this way, got my last_crash.log got my hex editor and my .amx open. So what now? None of the addresses in last_crash.log have any meaning in my...
Forum: Plugin Development 18/07/2016, 12:07 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Oh :( R40 isn't officially released, is it? If I were to build the plugin myself, how safe for deployment is it?
Forum: Plugin Development 18/07/2016, 12:00 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Thanks, but I just downloaded R39-5 and a_mysql.inc doesn't declare that function!
Forum: Plugin Development 18/07/2016, 11:47 AM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

What was the mysql_connect from file function named again?
Forum: Scripting Help 15/07/2016, 10:40 PM
Replies: 3
Views: 524
Posted By dusk
Forum: Scripting Help 15/07/2016, 10:27 PM
Replies: 3
Views: 524
Posted By dusk
Dialog style TABLIST doesn't show columns if second column isnt present in first row

ShowPlayerDialog(playerid, 1, DIALOG_STYLE_TABLIST, "header", "row1\nrow2\tcolum1\now3\tcolum1\nrow4\tcolumn1", "Okay", "No");


This dialog will not show the "column1" at all.

Is this a bug?...
Forum: Scripting Help 14/07/2016, 09:37 PM
Replies: 1
Views: 1,832
Posted By dusk
Re: cache_get_field_content_int - invalid datatype

Simple, there is no data. Always check if there are any rows with cache_get_row_count to prevent these warnings.
Forum: Plugin Development 11/07/2016, 05:27 PM
Replies: 6,159
Views: 2,367,960
Posted By dusk
Re: [REL] MySQL Plugin (Now on github!)

Quick question: does the plugin support multiple caches? For example if in one tquery/pquery callback I send a unthreded query?

Sample code

for(new i = 0; i < cache_get_row_count(); i++)
{
...
Forum: Scripting Help 11/07/2016, 05:21 PM
Replies: 6
Views: 699
Posted By dusk
Forum: Scripting Help 11/07/2016, 11:56 AM
Replies: 6
Views: 699
Posted By dusk
Re: Passing an array through CallLocalFunction

@Konstantinos well that's quite an issue!
Forum: Scripting Help 11/07/2016, 10:06 AM
Replies: 6
Views: 699
Posted By dusk
Passing an array through CallLocalFunction

Hello,

The Wiki says that it only supports strings. Well since strings are arrays I tried passing an array with "s", the server crashes. As far as I know it never worked, is there any kind of...
Forum: Plugin Development 04/07/2016, 05:54 AM
Replies: 945
Views: 126,918
Posted By dusk
Re: Shoebill 1.1 - SA-MP Java Development Kit

@Chaser98 Is the streamer plugin loaded?
Forum: Plugin Development 18/06/2016, 07:14 AM
Replies: 945
Views: 126,918
Posted By dusk
Re: Shoebill 1.1 - SA-MP Java Development Kit

Docummentation takes time. A lot of it! Marvin also said he is rewritting shoebill in Kotlin language so it will change.
Forum: Scripting Help 06/06/2016, 07:26 AM
Replies: 1
Views: 284
Posted By dusk
Re: Mysql problem

That's nt how UPDATE queries work.


mysql_format(handle, sqlSaveString, 2048, "UPDATE table_name SET `Inviter` = '%s', `Name` = '%s', Password = '%s', Sex = %d, Skin = %d",...
Forum: Plugin Development 15/05/2016, 04:36 PM
Replies: 945
Views: 126,918
Posted By dusk
Re: Shoebill 1.1 - SA-MP Java Development Kit

Why did you create your own implementations of Shoebill objects?
Forum: Plugin Development 10/05/2016, 07:05 PM
Replies: 945
Views: 126,918
Posted By dusk
Re: Shoebill 1.1 - SA-MP Java Development Kit

About slack, I can not join. I'm pretty sure that to join slacks team one needs an invitation from an administrator. AFAIK slack doesn't support open, invitationless chats.
Forum: Plugin Development 28/04/2016, 06:45 PM
Replies: 945
Views: 126,918
Posted By dusk
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

Ah finally!!! I did manage to get it to work with UTF8. It's funny how I built my gamemode to use Baltic-1257 from the start thinking it's the same like with Pawn.... Anyway, thanks for the support!
Showing results 1 to 25 of 500

 

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


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