Author Topic: New R4K v2 system and permanent competition  (Read 309 times)


  • Moderator
  • Joe's Friend
  • *****
  • Posts: 488
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
New R4K v2 system and permanent competition
« on: March 26, 2020, 10:45:23 PM »
I've been working for several days on the new, version 2 of Race for Kicks. I have to say it's a great experience. I keep on learning PHP and I'm getting much better at it. I can't believe how fast I manage to add features. It's like I've written an engine with about five to seven times the power of R4K v1.5 and it's only taken me a few days, but of course, there are bugs to fix and I have to beautify it a little bit (something I'm not great at).

As I had said in another forum, the top change will be that a permanent competition will be added and the basic race system will be working on top of it. I already have this working. Only needs some minor touches. For example, while permanent races will allow you to choose any set of rules from a list and any car, the R4K races should require one certain set of rules (normally, always R4K OWOOT) and one or more cars for that race (usually one, or the three of the DTM pack). Until now, the race system is working the same way as the permanent track system.

pipsqueaks will be able to post on the chatroom, but also to send private messages to other pipsqueaks. When something relevant happens, such as a replay or track uploaded by that pipsqueak being verified or rejected, the pipsqueak will receive an automatic PM. The chatroom is already working. The PM system, I still have to build, but it's a lot simpler than what I've already made.

I am very satisfied with the track image generator that now displays tracks with Bliss graphics without me having to create the image outside the website and upload them like I used to do on v1.5.

Races have profiles they can edit, including changing their passwords and including a picture that will be displayed in the chatroom, beside their messages. This is specially comfortable for myself, since administrators can use this section to edit permissions. In the past, I had to do this manually from CPanel.

As I mentioned, now some pipsqueaks will be able to post tracks. When you post a track, an administrator or moderator has to validate it and it becomes available for the permanent competition. Later on, a race manager (usually, the administrator) can create a race out of this track and give it rules and a deadline.

While I don't plan on using this feature much, it is possible in R4K v2 to have more than one race running at the same time. In the future, I might add the option to have a particular pipsqueak moderate a certain race and not others.

When posting a replay, now publicity and verification are separate, which means you can make your replay public even before it's been verified.

Anyway, I just wanted to share what I've got so far and if you want to know anything about it or have suggestions, I'd live to read them and see what I can implement. I also want to make sure that R4K is a cooperative as possible with ZakStunts and does not cause any conflict, so if a feature or the way it's implemented should be inconvenient for ZakStunts, please let me know and I'll make some touches. Thank you!
Earth is my country. Science is my religion.