SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 110
Search took 0.01 seconds.
Search: Posts Made By: valych
Forum: Plugin Development 31/05/2016, 11:42 AM
Replies: 945
Views: 125,166
Posted By valych
Re: Shoebill 1.1 - SA-MP Java Development Kit

It is possible, that you haven't updated the streamer-wrapper. The version of the plugin in 1.1-snapshot wasn't changed in initial commit. Try to update streamer-wrapper once more (in case you have...
Forum: Plugin Development 30/05/2016, 04:56 AM
Replies: 945
Views: 125,166
Posted By valych
Re: Shoebill 1.1 - SA-MP Java Development Kit

@Su37Erich: make sure that you are using the latest version of streamer plugin, then make sure that you compile you java code with streamer wrapper 1.1, and finally - make sure that you add...
Forum: Plugin Development 14/05/2016, 02:34 PM
Replies: 945
Views: 125,166
Posted By valych
Re: Shoebill 1.1 - SA-MP Java Development Kit

@mk124: could you please give us more information about threads? I've seen some posts where you've written that using multiple threads and not running them on SAMP one may cause a server to crash. I...
Forum: Plugin Development 19/04/2016, 03:54 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@dusk: of course, modules help to separate your app logic, but you are making it more painful cause you have to create an intermediate API (as you did).
As work a around, there are packages which...
Forum: Plugin Development 18/04/2016, 05:40 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@dusk, why do you have to separate your app into large amount of modules? Also, if there are modules that are depend on each other, it means they are not separate. I'm not very good at software...
Forum: Plugin Development 25/02/2016, 09:00 AM
Replies: 945
Views: 125,166
Posted By valych
Forum: Plugin Development 21/02/2016, 06:13 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@mk124: dammit, forgot to check player's methods, thanks :)
Forum: Plugin Development 21/02/2016, 04:31 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

I'm wondering about PlayerKeyStateChangeEvent... Why is there only getOldState() method? What about getNewState()?
Forum: Plugin Development 18/02/2016, 11:34 AM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

New question:
How to output a message to a player if he typed CommandGroup command without any other parameters? For example in lvdm, with a command /test. You type "/test", and how to show a player...
Forum: Scripting Help 16/02/2016, 09:10 AM
Replies: 5
Views: 392
Posted By valych
Re: Filterscript issue (rep)++

Could you give us more details about your problem?

First thought, that came to my mind: check public OnPlayerCommandText - each should return 0 at the end of the public:

public...
Forum: Scripting Help 16/02/2016, 04:07 AM
Replies: 9
Views: 627
Posted By valych
Re: Leg Break help, Please help. (+rep)

Try to replace all 1's with 0's in ApplyAnimation function:
ApplyAnimation(playerid, "PED", "CLIMB_jump2fall", 4.1, 0, 0, 0, 0, 0);
Forum: Scripting Help 15/02/2016, 12:16 PM
Replies: 2
Views: 382
Posted By valych
Re: radio faction problem

Try to change your if condition in SendCopMessage to this:
stock SendCopMessage(col, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pFaction] == 1)
...
Forum: Scripting Help 15/02/2016, 10:30 AM
Replies: 4
Views: 478
Posted By valych
Re: Question +rep

@GhostHacker, actually it is.
@Banditul18, you should define your function in this way:
stock GetPlayerRank(playerid, rank[], len)
{
new tirist = APlayerData[playerid][StatsTruckerJobs];
...
Forum: Plugin Development 14/02/2016, 06:11 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@mk124, I tried that, but I got the following message:
[SHOEBILL] Calling java_TestArray with 3 parameters, but was expecting 2 parameters.
array[0] = 0
array[1] = 0
array[2] = 0
array[3] = 0...
Forum: Plugin Development 14/02/2016, 05:06 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@mk124, found an issue with passing arrays to java function - it is impossible to pass other values except for an array and size of the array to java function. Server is being crashed.
Java code:
...
Forum: Plugin Development 11/02/2016, 01:56 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@mk124, the gamemode is already being compiled with -d3 option (I even tried to compile with pawn, the result was the same - no any references to lines or components where error is being occured). ...
Forum: Scripting Help 11/02/2016, 11:40 AM
Replies: 3
Views: 305
Posted By valych
Re: Weird Stuff, Please help.

I haven't work with Dini include, but I guess the problem is here:

dini_Int(SaveFile, "House Name") - dini_Int - according to the function's name, it loads an integer value. You should use...
Forum: Plugin Development 11/02/2016, 08:38 AM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

Back to my problem with sampgdk error (link to post: http://forum.sa-mp.com/showpost.php?p=3652115&postcount=681)
@mk124, I ran my server on a bare gamemode and that error didn't come up.
Btw, now...
Forum: Plugin Development 10/02/2016, 04:57 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@mk124, thanks
P.S. Wrote this message just to confirm that it is fixed :)
Forum: Plugin Development 10/02/2016, 11:49 AM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@dusk, try to load streamer plugin earlier than Shoebill. In server.cfg (at "plugins" line) place streamer (or streamer.so) before Shoebill.
Forum: Filterscripts 09/02/2016, 04:12 PM
Replies: 44
Views: 10,034
Posted By valych
Re: Dynamic Military Landmines System

Nice one. But you should take a look at this thread: http://forum.sa-mp.com/showthread.php?t=571153 - how to hook a function in pawn, so people won't need to do this steps:
//to hook functions ...
Forum: Plugin Development 09/02/2016, 03:14 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

@mk124, nope. I even tried to remove all events from java code, but the result was the same, unfortunately.
Forum: Plugin Development 08/02/2016, 10:10 PM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

New issue:
The public OnPlayerDisconnect in pawn is not being called when server is running with Shoebill plugin. I tested this on bare.pwn:
public OnPlayerDisconnect(playerid, reason)
{...
Forum: Plugin Development 04/02/2016, 11:34 AM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

As I said

So yeah, it is only in this scenario. For any other function call there is no problems.
And this function never worked properly - error occurred from the very first time I tried to...
Forum: Plugin Development 04/02/2016, 07:47 AM
Replies: 945
Views: 125,166
Posted By valych
Re: [UPDATE][SNAPSHOT][Java 8] Shoebill 1.1 - SA-MP Java Development Kit

I've just bumped into a samp gdk error:
[sampgdk:error] Too many callback arguments (at most 32 allowed)
[sampgdk:error] Too many callback arguments (at most 32 allowed)

Java code:
in...
Showing results 1 to 25 of 110

 

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


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