Giter Site home page Giter Site logo

jonathanhecl / argentum-online-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ao-org/argentum-online-server

0.0 0.0 0.0 17.84 MB

Código fuente del servidor de Argentum20

Home Page: http://argentum20.com/

License: GNU Affero General Public License v3.0

Shell 0.03% VBA 5.56% Visual Basic 6.0 94.40%

argentum-online-server's Introduction

⚔️ Please consider supporting us at https://www.patreon.com/nolandstudios ⚔️

ao20 logo

🛡️ Argentum Online Server

image

🛡️ How to Run My Server:

Create a new folder named C:\AO20 and navigate to it. Follow these steps:

  1. Clone the repository git clone https://github.com/ao-org/argentum-online-server.git

  2. Rename the file Example.Server.ini to Server.ini

  3. Rename the file Example.feature_toggle.ini to feature_toggle.ini

  4. Rename the file Empty_db.db to Database.db

  5. Clone Recursos (https://github.com/ao-org/Recursos)

  6. Open Visual Basic 6 as an administrator

  7. Open the file Server.VBP

🔛 Feature Toggle/Flag (Turn ON/OFF features)

When introducing new functionality to the server, it should include the capability to be disabled. To achieve this, we implement the feature flags design pattern, which is configured within the file Example.feature_toggle.ini.

🎬 Game Scenarios

In the following folders, you will find configuration files for events. When programming a new type of event, it must have its own configuration file. https://github.com/ao-org/Recursos/tree/master/Dat/Scenarios

🗄️ SQL Migrations

To modify the schema of the database or make alterations to existing tables, it is essential to create a new SQL migration file within the ScriptsDB directory. The project is configured to automatically detect and execute the required migration scripts. This process ensures that the database is systematically updated to reflect the latest schema changes without manual intervention. This approach not only maintains database integrity but also streamlines the update process, enabling seamless transitions between different database schema versions.

🛡️ Pull Requests

Precommit-hook

We have a pre-commit hook for the project, Visual Basic 6 IDE changes the names of the variables and it makes the Pull Requests very difficult to understand.

Please run the following commands with git bash or the client you are using.

chmod +x .githooks/pre-commit
git config core.hooksPath .githooks

Basically the pre-commit hook runs when you make a git commit and it will run the file git_ignore_case.sh to avoid false changes in the Pull Request. Is not perfect but it helps a lot. Please send the Pull Requests with only the neccesary code to be reviewed.

In case you have problems setting locally your pre-commit hook you can run the file git_ignore_case.sh by just doing double click.

🛡️ Requisitos

Database SQLite

Installing SQLite ODBC Driver for 32-bit Systems

To integrate SQLite with ODBC on a 32-bit system, please download the appropriate driver from the following link:

Optimizing Database Performance

To enhance the performance of your SQLite database, consider changing the journal mode to Write-Ahead Logging (WAL) by executing the following SQL command:

PRAGMA journal_mode=WAL;

Write-Ahead Logging can significantly improve the write performance and concurrency of your database. For more information on how WAL mode benefits your database operations, please visit the SQLite WAL documentation:

This mode enables most read operations to proceed without locking and allows updates to occur without interfering with reads, thus increasing the performance and scalability of your application when using SQLite.

Networking

Registrar manualmente libreria Aurora.Network.dll Abrir CMD como Administrador regsvr32 Aurora.Network.dll

Cryptography

CryptoSys is used in Argentum Online to cipher sensitive data.

Please note this is not free software and you will have to buy your own license to use CryptoSys

Microsoft Visual C++ Redistributable

🛡️ Logs

Los logs están en la carpeta de Logs, Errores y en Windows Events.

Star History

Star History Chart

argentum-online-server's People

Contributors

wyr0x avatar martintrionfetti avatar recox avatar joaquinodz avatar reyarb avatar matiascalegaris avatar emancu avatar morgolock avatar pablodjj avatar wolftein avatar vancleff97 avatar bragargg avatar plusin avatar zavilor avatar brunodeangelis avatar carlospaezp avatar ao-20 avatar haracinn avatar linqen avatar sensui avatar facuceli avatar jmarinelli avatar cuicuieb avatar yindsoft avatar jonathanhecl avatar temis-gt avatar mars69696969 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.