Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Lucian03 on June 25, 2019, 12:52:54 am

Title: [3.3.5] - Creating a Custom Experience-Like Feature
Post by: Lucian03 on June 25, 2019, 12:52:54 am
Greetings,

I'm looking forward to make a new bar that's similar to the experience bar, stock the values somewhere (I don't know where the XP is handled per character), make quests bring values to that bar (Let's call it Ranking Experience). So basically I had that idea where your character starts with rank 1 in alliance or horde, and there are quests that bring ranking experience (like reputation) to your character, and you can also rank up (level up) and get different perks.

I'm not quite sure how can I manipulate an UI from an addon into the serverside. Is there anyone who can explain a little more detailed?

Thanks!
Title: Re: [3.3.5] - Creating a Custom Experience-Like Feature
Post by: bizzlesnaff on July 01, 2019, 08:38:40 pm
May it a solution for you, if you just edit one reputation faction which is unused or "unusual" for player? That would be the easy (and a little bit dirty) way I guess.
Title: Re: [3.3.5] - Creating a Custom Experience-Like Feature
Post by: Grymskvll on July 01, 2019, 09:31:42 pm
You can use AIO to communicate between server and client (for UI updates): https://github.com/Rochet2/AIO
Have a look at this Eluna VIP token system to get an idea of how you can manage your new resource: https://github.com/BlackWolfsDen/Eluna-Grumboz_VIP_System-Complete

Check the readme, notice how they add columns to the account table for tracking values per account.