Search found 12 matches

by stylix
28 November 2019, 20:11
Forum: Developers
Topic: Unexpected error: Wrong formatted data from BGA gameserver 1
Replies: 9
Views: 707

Re: Unexpected error: Wrong formatted data from BGA gameserver 1

Hello, Een My latest commit version do not has 'echo' statement, however, I met that error. Yesterday, I was testing for all commits. At some commit version that has 'echo' statement, I stopped testing. You probably saw my old commit version. Anyway, error message has gone even with latest commit ve...
by stylix
28 November 2019, 09:19
Forum: Developers
Topic: Unexpected error: Wrong formatted data from BGA gameserver 1
Replies: 9
Views: 707

Re: Unexpected error: Wrong formatted data from BGA gameserver 1

There are no issues found with phpcodechecker.com For debugging, Is there any information about php function call order when creating a new table? Which are "setup" functions? I didn't chagne code setupNewGame function in xxx.game.php. I didn't change DB structure much, I just add one simple table f...
by stylix
25 November 2019, 03:13
Forum: Developers
Topic: Unexpected error: Wrong formatted data from BGA gameserver 1
Replies: 9
Views: 707

Re: Unexpected error: Wrong formatted data from BGA gameserver 1

I don't mean my code is perfect. I just want to know which part of my code change cause that error. That message doesn't give any useful information like line number, erroneous object name... Actually I change many codes in "playing state" in my turn with continuously refreshing page. In that page, ...
by stylix
24 November 2019, 21:18
Forum: Developers
Topic: Unexpected error: Wrong formatted data from BGA gameserver 1
Replies: 9
Views: 707

Unexpected error: Wrong formatted data from BGA gameserver 1

When trying to quick start, I met error message.
Unexpected error: Wrong formatted data from BGA gameserver 1 (method: createGame): {"status":1,"data":true}
What does it mean?
I didn't change setupNewGame function
It doesn't give any clue.
by stylix
14 August 2019, 19:38
Forum: Developers
Topic: Should I support ES5 or old browser when developing?
Replies: 1
Views: 357

Should I support ES5 or old browser when developing?

Hi?
I'm developing some game.
Should I support ES5 or old browser like IE?
If I use ES2015, I can make js code more cleaner.
by stylix
24 December 2017, 00:52
Forum: Developers
Topic: card_id is randomly allocated by Deck module
Replies: 3
Views: 1039

Re: card_id is randomly allocated by Deck module

That is what Deck is doing it purposely randomizes card_id, once it assigned it stays the same. I personally don't like this feature at all, you can write your own sql insert if you don't like it (but in hears tutorial it card_id should not matter, not sure why its a problem) Thank you. I will try ...
by stylix
22 December 2017, 11:11
Forum: Developers
Topic: card_id is randomly allocated by Deck module
Replies: 3
Views: 1039

card_id is randomly allocated by Deck module

Why card_id is randomly allocated by Deck module?
I copied and pasted heartla code. After initializing new game, I found card table in DB has randomly allocated card_id.
It makes mismatch for color, value and card_id mapping.
What's wrong?
by stylix
16 December 2017, 05:47
Forum: Developers
Topic: How can I get a path of resource folder?
Replies: 3
Views: 1087

Re: How can I get a path of resource folder?

If I need to access additional php class file or image resources in xxx.view.php, xxx.game.php or xxx.js, How can I get a path? Simple adding <img src="img/cards.jpg"> doesn't show image properly. You can do it but you probably should not hardcoded paths in these file and use css instead .html <div...
by stylix
15 December 2017, 01:45
Forum: Developers
Topic: How can I get a path of resource folder?
Replies: 3
Views: 1087

How can I get a path of resource folder?

If I need to access additional php class file or image resources in xxx.view.php, xxx.game.php or xxx.js,
How can I get a path?
Simple adding <img src="img/cards.jpg"> doesn't show image properly.
by stylix
13 December 2017, 15:37
Forum: Developers
Topic: Can't access table
Replies: 8
Views: 1763

Re: Can't access table

Same error here. After creating new empty project without modifying any source files, I can't view game page. Only those error messages are displayed Which game?I tried heartshi and it is working It's strange. Yesterday, it shows error message. Now It works fine. Is it cache related problem? Thanks...

Go to advanced search