Search found 14 matches

by Boorik
20 Jan 2018, 09:01
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Agree with rewb0rn. This way the haxe and flash api will be always up-to-date. Here one port of simple mmo 2 example ( a bit modified to get scrolling ) : https://github.com/boorik/smartfox-haxe-mmo If someone is interested by haxe port let me know. BTW here is one interesting article about switchin...
by Boorik
23 Nov 2017, 11:49
Forum: SFS2X Questions
Topic: where is com.smartfoxserver.grid package?
Replies: 8
Views: 9911

Re: where is com.smartfoxserver.grid package?

Ok, The issue comes when haxe generate java classes. It's a pure haxe issue. That will be fixed in the future version. Here is the related thread : https://github.com/HaxeFoundation/haxe/issues/3397 I will say when problem will be fixed. Meanwhile I will publish some externs that fix this issue.
by Boorik
22 Nov 2017, 14:32
Forum: SFS2X Questions
Topic: where is com.smartfoxserver.grid package?
Replies: 8
Views: 9911

Re: where is com.smartfoxserver.grid package?

I mean how are you able to compile an extension the "normal" way just using sfs2x and sfs2x-core jars without the same exception? Haxe compiler generate .java files and then do : javac "-sourcepath" "src" "-d" "obj" "-g" "-classpath&qu...
by Boorik
22 Nov 2017, 11:42
Forum: SFS2X Questions
Topic: where is com.smartfoxserver.grid package?
Replies: 8
Views: 9911

Re: where is com.smartfoxserver.grid package?

Ok thank you, I solved it by stopping the compiler earlier : getGridManager return a com.smartfoxserver.v2.grid.IGridManager so the compiler go to this direction and stuck on missing definitions. I made a handmade extern that solve the issue, changing the IGridManager to Dynamic prevent the compiler...
by Boorik
22 Nov 2017, 08:20
Forum: SFS2X Questions
Topic: where is com.smartfoxserver.grid package?
Replies: 8
Views: 9911

Re: where is com.smartfoxserver.grid package?

Hi! I use sfs2x 2.13 In haxe compilation we can add command like : -java-lib whatever.jar It creates extern definitions of classes and look recursively for dependencies. The class it doesn't find : Type not found : com.smartfoxserver.grid.events.IGridEvent and everything in the grid package. I don't...
by Boorik
20 Nov 2017, 17:37
Forum: SFS2X Questions
Topic: where is com.smartfoxserver.grid package?
Replies: 8
Views: 9911

where is com.smartfoxserver.grid package?

Hi, I compile server side code with haxe. I'm facing an issue where compiler doesn't find any of the com.smartfoxserver.grid package files. In most of the cases I just have to add the matching jar file as dependency. But I can't find in what jar file is this package. Can you help me on this? Best re...
by Boorik
01 Jun 2016, 10:00
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Thanks,

Update is done.
by Boorik
01 Jun 2016, 08:45
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Nice!

My real name is Vincent Blanchet. I'm working for chapatiz company : http://www.chapatiz.com
We are editing a Casual Free2play MMOG since 12 years and we are moving from flash to mobile.
by Boorik
31 May 2016, 13:17
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Hey!

I have an early version.
What a pleasure of being able to compile to flash, windows and android!
A lot faster than air on android.

https://github.com/chapatiz/smartfox-haxe-client

Pull requests are welcome.

Cheers
by Boorik
30 May 2016, 11:40
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

I'm interested but can it be opensourced on github?

updates and community improvements are really easier with it.

Anyway it must work correctly before spreading :)
by Boorik
30 May 2016, 07:26
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Sorry, That's not what I was trying to say. I'm sure data.length is the good answer. But I have done a first version of the haxe client, currently compiling to flash and c++, using openfl framework. I was wondering if you have some kind of unit tests to validate that everything I have done is workin...
by Boorik
27 May 2016, 12:59
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Thank you for answer.

I have no idea too :)

Have you some sort of test classes to validate my translation?

It is compiling but I need to know if everything is working fine.
by Boorik
27 May 2016, 07:33
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Hi,

I'm back, on this conversion.
Currently I'm facing an issue on the meaning of this code in SFSIOHandler.as, function handleNewPacket :

L138 :
// Resize the array
return resizeByteArray(data, 1, length - 1)

What does the length refer to? is it data.length?

Thank you for helping
by Boorik
02 Dec 2014, 16:45
Forum: SFS2X ActionScript 3 API
Topic: AS3 API port to Haxe ?
Replies: 21
Views: 39324

Re: AS3 API port to Haxe ?

Hi, I'm using this subject to ask If someone now has already made the port of the client to http://haxe.org/ or as created an extension for http://www.openfl.org/ ? With my company we are already using smartfox with haxe and the flash client but we need to go multiplateform. For this port haxe is pr...

Go to advanced search