Search found 8 matches

by Swinkels
28 August 2024, 15:42
Forum: Developers
Topic: [solved] Permission Denied
Replies: 5
Views: 361

Re: [ADMIN HELP NEEDED] Permission Denied

Thank you!
by Swinkels
28 August 2024, 13:22
Forum: Developers
Topic: [solved] Permission Denied
Replies: 5
Views: 361

Re: [ADMIN HELP NEEDED] Permission Denied

I changed the owner of the file to the expected value, you should be able to upload the file now. Thank you! However, I'm still not able to access the project because I accidentally removed myself as an administrator. The project currently has "No team member". Do you have the privileges ...
by Swinkels
28 August 2024, 11:53
Forum: Developers
Topic: [solved] Permission Denied
Replies: 5
Views: 361

[solved] Permission Denied

I am developing Dale of Merchants (project name "dale") and lost permission to my "dale.js" file. Weirdly enough, I did still have writing access to my other files (such as "dale.game.php"). Since there was a SFTP maintenance operation this week, I thought switching fro...
by Swinkels
23 August 2024, 09:25
Forum: Developers
Topic: Why use a database
Replies: 4
Views: 361

Re: Why use a database

Thanks! I already suspected that, but I just wanted to verify it.
by Swinkels
22 August 2024, 23:45
Forum: Developers
Topic: Why use a database
Replies: 4
Views: 361

Why use a database

Sorry for the naïeve question, but what's the point in storing small amounts of data in a database when you can store them in php memory instead? It seems like php memory is way faster than db queries. Is it true that the server thread might die and another thread needs to be able to recover the sta...
by Swinkels
24 July 2024, 14:13
Forum: Developers
Topic: Deck autoreshuffle in a deck builder
Replies: 2
Views: 218

Re: Deck autoreshuffle in a deck builder

If the cards can be exchanged between players and are off the same kind, I would definitely go to one Deck and custom reshuffle. Just make a custom pick cards function, that check the number of cards in players deck, take what's remaining, do the shuffle you want is needed, and pick the others card...
by Swinkels
23 July 2024, 20:04
Forum: Developers
Topic: Deck autoreshuffle in a deck builder
Replies: 2
Views: 218

Deck autoreshuffle in a deck builder

I'm implementing a 4-player deck builder, where each player has its own deck/discard pile. There will be a lot of cards that trigger a reshuffle from a discard pile to a deck (e.g. draw 3 from a deck with < 3 cards). This is why I would like to use the "autoreshuffle" function of a php Dec...
by Swinkels
22 July 2024, 10:32
Forum: Developers
Topic: Minor bug in Hearts tutorial?
Replies: 2
Views: 188

Re: Minor bug in Hearts tutorial?

The code in states.inc.php is from the template and does not model the state machine of the hearts tutorial: "possibleactions" => array( "playCard", "pass" ), "transitions" => array( "playCard" => 2, "pass" => 2 ) Only later in the tutorial...

Go to advanced search