SA-MP Forums Archive
[Plugin] Shoebill 1.1 - SA-MP Java Development Kit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Shoebill 1.1 - SA-MP Java Development Kit (/showthread.php?tid=397735)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - DrumYum - 19.12.2014

I used wget to download samp server and I connected to it from FTP. Is it mean that server hasn't blocked?


AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - 123marvin123 - 19.12.2014

No, it means you server has the ability to connect to the internet.
If you are sure that offlineMode is set to false, the only thing that could be blocking shoebill is the server's firewall.


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - DrumYum - 20.12.2014

Oh, I reinstalled JRE, redownloaded samp server and shoebill. Now it works fine, I think. Thanks!
I'll post link (and sources) here when I finish at least test version of my server.


AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - 123marvin123 - 20.12.2014

Nice to hear!

We are looking forward to see your test server. We are currently working on Shoebill 1.1


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - 123marvin123 - 25.12.2014

Here is a video tutorial for the people that need help to setup a server:

https://www.youtube.com/watch?v=FLlFeNXPPN8


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - DrumYum - 10.01.2015

Wow, 1.1! There are examples of usage of new features?


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - mk124 - 10.01.2015

@DrumYum:
Hey,

there are is not mutch to show new. You can now use pawn gamemodes and filterscripts with shoebill.
And you can call public methods from java and receive the return value. A example will follow.
If you want to update, make sure you replace all relevant files and update with update-shoebill.bat to get the newest dll because there is a new version already with a few bug fixes. Make sure you change shoebill-api to version 1.1-SNAPSHOT in your pom.xml and change resources.yml that you use shoebill-runtime version 1.1-SNAPSHOT.


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - slicknslick - 14.01.2015

I downloaded "Full server package", and started startup.bat.
I am having an errors - err.log http://pastebin.com/YJSAMiZ7 what could be the problem?


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - Meta - 16.01.2015

I'm back on the train. Feels good to finally return to my home base with Java.

Nice work with the newer versions 123marvin123 and mk124


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - mk124 - 16.01.2015

@Meta:
@DrumYum:
Thanks for you support! The bug with "addPlayerClass" should now be fixed. You can update your Plugin with the provided update-shoebill.bat/sh in the server folder.


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - SetupDLL - 18.01.2015

When I use dialogs in PlayerConnectEvent, my server in most cases crashes.
I'm using Shoebill 1.1
P.S. without Shoebill dialogs work well


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - CoaPsyFactor - 18.01.2015

Quote:
Originally Posted by SetupDLL
Посмотреть сообщение
P.S. without Shoebill dialogs work well
how do you run Java based gamemode without shoebill?


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - SetupDLL - 19.01.2015

Quote:
Originally Posted by CoaPsyFactor
Посмотреть сообщение
how do you run Java based gamemode without shoebill?
I run vanilla server


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - CoaPsyFactor - 19.01.2015

okay, but how did you connected gamemode with samp server?


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - SetupDLL - 19.01.2015

Quote:
Originally Posted by CoaPsyFactor
Посмотреть сообщение
okay, but how did you connected gamemode with samp server?
I didn't connect it, I wrote a test pawn gm.
I only wanted to say, that there are no problems with this on vanilla server


AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - BigETI - 19.01.2015

AFAIK dialogs causes internally to raise up exceptions, which basicly crashes your server. (I've been chatting a lot with Meta in TS)
But afterall it should be fixed ASAP IMO.


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - mk124 - 19.01.2015

Thanks for you bug reports. Can you please update the plugin with the shoebill-updater (update-shoebill.bat/sh) and try it again?

//Edit: This was not the error, sorry. I will push a new fix in the next 10 ~20 minutes

//Edit2: Ok, I pushed new fix now. Please update again with updater.


AW: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - BigETI - 19.01.2015

I would like to suggest something:

Actually you can gain the weapon slot from a weapon, which is actually good. But IMO it would be better to have a enum of the weapon slots.

Example: http://pastebin.com/fhrtHWi7


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - mk124 - 19.01.2015

Thanks for your support. Next time you could just do a pull request on github.
I adopted your changes into the newest shoebill-api build, so you can update it now or download it manually here: http://ci.gtaun.net/job/shoebill-api/


Re: [SNAPSHOT][Java 8] Shoebill 1.0 - SA-MP Java Development Kit - SetupDLL - 21.01.2015

I tested spawn system on vanilla server:
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetTimerEx("SkipSpawn", 1, 0, "i", playerid);
	return 1;
}

forward SkipSpawn(playerid);
public SkipSpawn(playerid)
{
	SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
	SpawnPlayer(playerid);
	return 1;
}
And with Shoebill:
Код:
eventManagerNode.registerHandler(PlayerRequestClassEvent.class, (e) ->
{
	Player player = e.getPlayer();
	PlayerData playerData = playerLifecycleHolder.getObject(player, PlayerData.class);

	if(playerData.getSkin() != -1)
	{
		Timer.create(1, 1, (factualInterval) ->
		{
			player.setSpawnInfo(playerData.getSpawnInfo());
			player.spawn();
		}).start();
	}
});
It works right only on vanilla server. On Shoebill when I use player.spawn() event PlayerSpawnEvent calls, but player doesn't spawn (he is still on class selection).