OpenTibiaBR
GithubDiscordSponsor
  • Home
    • 📖Welcome!
    • 💵Donate
  • OpenTibiaBR
    • 🖥️Projects
      • 🐦Canary
        • About
        • Getting Started
          • Compiling
            • Linux
              • [Linux] Compiling Canary Sources
            • Windows
              • Visual Studio
                • [Windows][VC2022][CMake] Compiling Canary Sources
                • [Windows][VC2022][Solution] Compiling Canary Sources
              • WSL
                • [WSL] Compiling Canary Sources
          • Installing
            • aaPanel
              • [Linux] Canary + aaPanel + MyAAC
            • Docker
              • [Docker] Canary + MariaDB + MyAAC
            • Linux
              • Nginx + MariaDB + MyAAC
            • Windows
              • Uniform Server
                • [Windows][Basic] Canary + Uniform Server + MyAAC
              • XAMPP
                • [Windows][Advanced] Canary + XAMPP + MyAAC
        • Tutorials
          • Basic
            • Auto Backup Server Database
            • Auto Restart and Linux Logs
            • Custom Bestiary / Prey with Canary Monster Editor
            • Event Schedule Canary / OTServBR-Global
            • How to make a custom server with Canary
            • How to reset players in your database
            • How to secure a Linux server
            • SSL Certificates
            • Webhook Discord
            • [Outdated] Custom Bestiary / Prey
            • [Linux] Backup + Upload - Google Drive
            • [Linux] How to install Linux headers
            • VPS Linux
            • [Windows] SSL/HTTPS Certificate with XAMPP
          • Mapping
            • [Windows] Remere's Map Editor - Opening Canary / OTServBR-Global Map
            • [Windows] Remere's Map Editor - Converting map server id to client id
          • Programming & Scripting
            • How to add a new vocation
            • Revscriptsys
            • Guide Lua Objects
            • How to get raceId for monsters
          • Websites
            • [Canary][OTServBR-Global][GesiorAAC][MyAAC] Set up Initial Character
          • Miscellaneous
            • Useful Tutorials
            • Video Tutorials
      • 🗺️Remere's Map Editor
        • About
        • Getting Started
          • Linux
            • [Linux] Compiling Remere's Map Editor Sources
          • Windows
            • WSL
              • [WSL] Compiling Remere's Map Editor Sources
            • Visual Studio
              • [Windows][VC2022][CMake] Compiling Remere's Map Editor Sources
              • [Windows][VC2022][Solution] Compiling Remere's Map Editor Sources
      • 🎮OTClient Redemption
        • About
        • Getting Started
          • Android
            • [Android] Compiling OTClient Redemption Sources
          • Linux
            • [Linux] Compiling OTClient Redemption Sources
          • Windows
            • WSL
              • [WSL] Compiling OTClient Redemption Sources
            • Visual Studio
              • [Windows][VC2022][CMake] Compiling OTClient Redemption Sources
              • [Windows][VC2022][Solution] Compiling OTClient Redemption Sources
          • Web
            • [Web] OTClient Redemption
        • Tutorials
          • Basic
            • Client Updater
    • 🔗Downloads
      • 🎮Clients
        • Client 11
        • Client 14
          • Tutorials
            • Client with HexEditorXVI32
            • Client with Notepad++
            • Client with config.ini
            • [Windows] How to change client background
        • OTClientV8
          • About
          • Getting Started
            • Android
              • [Android] Compiling OTClientV8 Sources
            • Linux
              • [Linux] Compiling OTClientV8 Sources
            • Windows
              • WSL
                • [WSL] Compiling OTClientV8 Sources
              • Visual Studio
                • [Windows][VC2022][CMake] Compiling OTClientV8 Sources
                • [Windows][VC2022][Solution] Compiling OTClientV8 Sources
          • Features
            • Health and Mana bar backgrounds
            • HTTP support
            • OTML Improvement
            • Simple cam recorder and player
            • Updater, encryption and compression
            • WebSockets
        • Minimap
      • 📑Codes
        • C++
        • Events
        • Functions
        • Libs
        • Modules
        • Others
      • 🖼️Images
        • PSDs
        • Others
      • 🗺️Maps
        • Custom
        • Global
      • 📑Revscripts
        • Actions
        • CreatureEvents
        • GlobalEvents
        • MoveEvents
        • NPCs
        • Spells
        • Systems
        • TalkActions
      • ⚔️Sprites
      • ⚙️Tools
        • Editors
        • Launchers
          • Canary Launcher
            • About
            • Getting Started
              • Windows
                • [Windows][VC2022][Solution] Compiling Canary Launcher Sources
          • Slender Launcher
            • About
            • Getting Started
              • Windows
                • [Windows][Go] Compiling Slender Launcher Sources
        • Login Server
          • About
          • Getting Started
        • Map Generators
      • 🌐Web Packages
        • Linux
        • Windows
      • 🌐Website Applications
        • Websites
          • CanaryAAC
            • About
            • Informations
              • Features
              • Functions
              • API
              • Routes
              • Middleware
            • CanaryAAC Bot
          • Gesior2012
            • About
          • GesiorAAC Global
            • About
          • MyAAC
            • About
          • MyAAC Global
            • About
          • SlenderAAC
            • About
          • ZnoteAAC
            • About
        • Applications
        • Layouts
        • APIs and SDKs
Powered by GitBook
On this page
  • Tutorial to help set up the "event schedule" feature that was added to the Canary / OTServBR-Global 12+ repository
  • MyAAC / GesiorAAC installation
  • 1) Event name:
  • 2) Start date and End date:
  • 3) Modifier of values within the server: (EXP/SPAWN/LOOT/SKILL)
  • 4) Event description:
  • 5) Event colors: (COLORDARK/COLORLIGHT)
  • 6) Priority: (DISPLAYPRIORITY)
  • 7) Seasonality: (ISSEASONAL)
  • 8) Special event: (SPECIALEVENTS)
  • 9) Proof:
  1. OpenTibiaBR
  2. Projects
  3. Canary
  4. Tutorials
  5. Basic

Event Schedule Canary / OTServBR-Global

Tutorial to help set up the "event schedule" feature that was added to the Canary / OTServBR-Global 12+ repository

MyAAC / GesiorAAC installation

It is necessary to have your myaac / gesioraac updated with the newest version of login.php, here you can find the download link of the most up-to-date version of gesior or myacc. Obviously it is also necessary to have the updated version of the Canary / OTServBR-Global 12+ repository at least until the implementation of this feature, but I always recommend having the most up-to-date version whenever possible.

Event setup

Go to your-SERVER/data/XML/events.xml:

<event name="Event name" startdate="Start date" enddate="End date" >
     <ingame exprate="Experience modifier" lootrate="Loot modifier" spawnrate="Spawn modifier" skillrate="Skill modifier" />
     <description description="Event description" />
     <colors colordark="Primary color" colorlight="Secondary color" />
     <details displaypriority="Priority Value" isseasonal="Seasonal Event" specialevent="Special Event" />
</event> 

Where:

1) Event name:

The first is very simple, is the name of your event. This name appeared in:

2) Start date and End date:

The start date should be the day you want to start your event, it is worth remembering that the event will start counting as soon as the server restarts that day.

The same goes for the end date, this will say when the event will end, it is worth remembering that the event will end the day after that date, that is, if you have an event scheduled with the end date 12/30/2020 then when you restart your server on the 31st, the event will no longer be valid.

Important: The date format is the international standard, i.e. we put Mes/Day/Year.

3) Modifier of values within the server: (EXP/SPAWN/LOOT/SKILL)

The modifier is given by multiplying the value divided by 100, that is, if you have configured exprate="250"," this means that the experience received by the players will be multiplied by 2.5. If you want any of these values without change you will have to spawnrate="100", where the spawn time will be multiplied by 1.0, that is, no change.

4) Event description:

As well as step number 1, here you have defined the description of the event.

5) Event colors: (COLORDARK/COLORLIGHT)

5.1) COLORLIGHT:

Example with colorlight="#FF5733"

5.2) COLORDARK:

Example with colordark="#46FF33". This color is only in this small window when the event is not yet active.

6) Priority: (DISPLAYPRIORITY)

The priority is the order in which events will appear in the two windows, the event that has the highest priority will appear last in the list of events, that is, it is from the smallest to the largest. In this example we have the event in blue with displaypriority="0" and the red event with displaypriority="1"

7) Seasonality: (ISSEASONAL)

Dictates whether the event will appear in a simplified way or with the colored tab equal to the previous images. This field is marked by yes or no, with yes represented by isseasonal="1" and not with isseasonal="0".

8) Special event: (SPECIALEVENTS)

With the same formatting as the previous step, the value is given by specialevent="1" being yes and specialevent="0" being no. With this value equal to 1 the central image of the client will change, in the following image we have first this value equal to 0 and the second image with the value equal to 1.

As seen, this value is for cipsoft tournaments.

9) Proof:

After you have configured, if your event is active at the time you start the server, this text will appear in your server log, in my example the image was placed

exprate="50" lootrate="100" spawnrate="150" skillrate="200"

END

Credits: marcosvf132.

Here we choose the color of the event that will appear within your client, the color values are in HEX format. You can use any website to find a color, but if you want a .

🖥️
🐦
click here