-
Posts
18 -
Joined
-
Last visited
Content Type
Profiles
Forums
Servers
Downloads
Gallery
Everything posted by GrimReapaa
-
-
Version 1.0.0
19 downloads
Ember's Discord User Authentication Integration (LUA/PYTHON) This is a mod for intended for Azerothcore's Eluna module, and should be compatible with Eluna's TrinityCore branch as well. This mod is intended to be used in junction with Ember's Discord Registration Bot, or if you do not want to satisfy that requirement, users must have their discord ID associated with their email in your accounts database. This somewhat acts as a whitelist for your World of Warcraft server. On server startup, the server starts "DUA.py" which runs a discord bot (ideally the registration bot in this case). You must configure your Discord API key in the PY file. DUA_DB.DUA is made, which is a file that holds all member IDs and relevant roles, if they have any. You must configure relevant role IDs in both the PY and LUA file. When a player logs in, the LUA script runs DUA.py, but this time DUA.py is only searching for that player's associated Discord role in the DUA_DB.DUA file. If any relevant roles are found, the server does nothing. But if no relevant roles are found, or if the user does not exist, then the server will inform the player and they will be kicked for failing to authenticate via Discord. The intended purpose of this module is to ensure all players accessing your World of Warcraft server are registered via Discord. Some relevant role comments remain to provide ideas that might identify a use case for your server. Current Compatibility - Eluna TrinityCore 3.3.5 - Azerothcore Eluna Module 3.3.5 Requirements - Python3 - Pip Packages: `mysql.connector`, `discord` via `pip install` - Easy Linux Command that installs the packages for you: `pip install mysql.connector && pip install discord` Installation Instructions Create a Discord Bot 1. Access Discord's [Developer Portal](https://discord.com/developers/applications) and create a `New Application`. 2. Navigate to the `Bot` section of your application settings and click `Add Bot`. - Set the username and profile icon of the bot. - Reset and save your bots `Token`. - No permissions are required, as the bot interacts via direct messages with users. 3. Navigate to `OAuth2` -> `URL Generator`. - In the `Scopes` section: - [x] `bot` - Copy the `Generated URL` and paste it into your browser to invite it to your server. 4. The bot should now be visible (_though offline_) in the server you invited it to. Edit DUA.py 1. In `DUA.py`, there is a list called "relevant_roles" where placeholder values "123" exist. 2. Replace the contents of this list with the Role ID you desire. 3. Ensure the values you enter are NOT in quotes. 4. Save and exit. Edit DiscordUserAuthentication.lua 1. In `DiscordUserAuthentication.lua`, find the array "relevant_roles" where placeholder values "123" exist. 2. Replace the contents of this list with the Role ID you desire. 3. Ensure the values you enter are kept in quotes. 4. Replace `PATH_TO_DUA_EVENT = "/home/server/bin/DUA.py"` with the location of your `DUA.py` file. - Temporary `.DUA` character files are stored in the bin directory and may appear there. 6. Save and exit. To Do - Provide a check for staff and validate their RBAC roles. - Output log information to discord channels. Disclaimer This is still in active development and will see updates in the future. There are some things in there like mysql connector when it doesn't use it. I just feel this feature is important to release and will lose opportunity in other areas if I spend too much time here. Contribute If you'd like to contribute, please fork and create a pull request. Your code will be reviewed and then merged with the main branch. -
Version 1.0.0
47 downloads
I'm not sure if this content will help anyone, but it's here in an effort to keep the content I create open-source. This feature is intended for the original gameplay loop of World of Warcraft, rather than roleplay functions that I've made before. The terms are explained below in CONFIG values, but I'll use english here. Basically, a player can walk up to a vendor to buy the item Wisp of Rain. They can learn the spell Wisp of Rain. When killing any creature within XP range, there's a 1% chance a wisp will spawn. The wisp autocasts arcane explosion currently. If the player has the optional Wisp of Rain : Wisp Buff item, the wisp is invulnerable unless stunned or interrupted. When killed, the wisp rewards all party members who have Wisp of Rain with a random buff or debuff such as -1 strength, +1 dodge, -1 expertise, etc, etc. If the player has an optional Wisp of Rain : No Debuffs item, the wisp only distributes buffs to that player. Thanks for reading. If you find any use for this I hope you enjoy it. Downloading the file will take you to a Github repo where the code for this feature is stored. elunamod-wispofrain This is a mod for Eluna for Azerothcore/TrinityCore. Description: When a user kills a creature, they have CHANCE_TO_SPAWN_WISP / MAX_CHANCE chance to spawn a wisp, provided they have the RISK_OF_RAIN spell. WISP_ENTRY will autocast from SPELL_ARRAY until killed or WISP_DURATION seconds have passed. If the killer or any party members have RISK_OF_RAIN_MOD_HARDMODE, then SHIELD_SPELL is on WISP_ENTRY until interrupted or stunned. If WISP_ENTRY is killed, then killer and party members will receive a random ID from BUFF_ARRAY / DEBUFF_ARRAY. As the buff is distributed, if RISK_OF_RAIN_MOD_NODEBUFFS is held by the unit, then that unit will only receive buffs. All of the above values can be changed in the LUA file itself. Select your world database Import the code at the beginning of RiskOfRain.lua, specifically from where it says "SQL STARTS" to "SQL ENDS" If you have a spell_dbc_12340 table from WDBX Editor or Stoneharry's Spell Editor, import the SPELL.DBC SQL from where it specifies start to end. If using AzerothCore, you can instead edit these queries to insert into spell_dbc rather than the above table. You will NOT need to recreate the DBCs for the server or the client. If you do not have a spell_dbc_12340 table, you will need to edit the contents of your spell.dbc to match these SQL values. Good luck! (It will be much easier to do the above) Recreate spell.dbc and import it to your sever and client -
This is a gallery from Ember's Stranglethorn Vale phase. It is currently out of commission, but the screenshots and custom content collaborated by the community is worth sharing in its imagery. Discord - https://discord.gg/yQbQyDc Twitter - https://twitter.com/EmberRP1 Youtube - https://www.youtube.com/@emberRP
-
HUGE UPDATE! This bot now supports all cores that support SOAP. Rather than manipulating userdata and trying to inject passwords directly, the bot now is able to login via SOAP and process commands through the server directly. This means it will be compatible with any core that has the SOAP feature. I can personally confirm that TC and AzerothCore both support SOAP. Just pull the update, set "SOAP.ENABLED=1" in worldserver.conf, set up the registration for your SOAP user account in the config file, and all should work! The bot also now supports account password management. To change the password, a user just has to message "account set password $newpassword $newpassword" where $newpassword is the same for confirmation.
-
[WotLK] All M2s/Textures/Tilesets from all expacs
GrimReapaa commented on GrimReapaa's file in Models
Update V5 is out! Thanks to @Implave's long term work, determination, and patience, this patch now has functioning WMOs from 8.2-10.1. Not all are functioning, but a lot more than what was previously working should be available now. New patch is in the readme download and alternative/redundant links will be up ASAP. I'll have to investigate this further to find direct comparisons, should be simple - just a matter of getting to this task. -
I put OpenAI in WoW! Check it out! (click video on profile)
-
Damn mate, no words. Simply incredible!
I assume this is a private project? I would love to know how you did this!
-
Thank you! It is currently a private project and I'm working on making the AI more capable in-game. Once it's more finished, it will be a public feature but anyone hosting it will need to support the AI quota themselves (which I will layout how to do so once it's out).
-
-
-
it appears your Map IDs are both 727 in the dbc - is that intentional? this could be the issue.
-
[WotLK] All M2s/Textures/Tilesets from all expacs
GrimReapaa commented on GrimReapaa's file in Models
-
Thanks for the feedback! The idea was just to get registration up and going for anyone as fast and as easy as possible. Yes more features are planned. I'm working on Ember alongside this bot, and this is the barebones version that will work for any user to get into the game. Details such as password management and even using discord modals/forms are planned in the future. Just don't expect it too soon™. It might be a couple months out until an update like that comes. Speaking of updates, a new version has been released on the GitHub. For anyone wondering, there are two separate versions now. TrinityCore changed their password creation method in January 2022, so if you have a core created on or after that date, please use the 2022 version on the github. Older cores can use the OLD version also labelled on the GitHub. If anyone has questions, let me know. I'll get to them eventually!
-
[WotLK] All M2s/Textures/Tilesets from all expacs
GrimReapaa commented on GrimReapaa's file in Models
This content should replace/update tilesets that were updated by Blizzard and that should be the most noticeable change. The m2s, objects, etc, are all from future expansions and would require a world editing tool like noggit to edit them into the game, but you should be able to use them and do exactly that with this patch. -
Great post. In case anyone is wondering, it's worth digging through 'worgoblin.patch' to see how a custom race is made in the core, if you can tackle the dbc issues.