Jump to content

VCP 2.0 (Updated PHP 8.2.1) 2.0


2 Screenshots

About This File

vCP (Version 2.0)

The vCP (Version 2.0) is a point-based voting system designed for the game Ragnarok. This version of the system has undergone significant updates to enhance security, ensure compatibility with the latest PHP version (8.2.1), and improve code organization.

Features

Point-Based Voting: Players can earn points by voting and then exchange them for items that will be delivered directly to their in-game accounts.

Installation

Access install/index.php and fill out the installation form. Upon completion, the system will create all the necessary infrastructure for its operation.

Common Errors and Solutions:

Error when altering the login table: Check if the "vcp_pontos" field does not exist in the table. If it exists, you can delete it and attempt the installation again.

Error when writing the configuration file: If you encounter this error, it may be due to insufficient writing permissions in the "inc" folder. Ensure that your account has the necessary permissions.

Key Improvements

In this version 2.0, the following improvements have been implemented:

Introduction of the vCP class instance: An instance of the vCP class has been introduced to improve code organization and maintenance.

Code improvements in files: The code has been enhanced to make it more secure and robust. Practices such as input sanitization using htmlspecialchars have been adopted.

Updated Charset: The charset has been changed to UTF-8, ensuring support for special characters.

Sql class improvements: The Sql class has been improved to make it more robust and secure.

Transition to MySQLi: The system now utilizes the MySQLi extension for database communication, enhancing query security and efficiency.

How to Contribute

If you wish to contribute to this project or report issues, feel free to open issues or pull requests. Contributions are welcome!

Conclusion

The Point-Based Voting system for Ragnarok is an excellent way to encourage player participation and increase competitiveness among servers. Additionally, it provides a richer and more diverse gaming experience. The system's installation is simple and quick and can be carried out through the install/index.php file.

License

This project is licensed under the MIT License. Please refer to the LICENSE file for more details.

Github: https://github.com/felipemike/vcp

  • Love 4
  • MVP 1

×
×
  • Create New...