Menu

Welcome, Guest. Please login or register.
July 20, 2019, 04:52:55 am

Login with username, password and session length

Author Topic: [3.3.5] - Creating a Custom Experience-Like Feature  (Read 101 times)

Lucian03

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 1
    • View Profile
[3.3.5] - Creating a Custom Experience-Like Feature
« 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!

bizzlesnaff

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 121
    • View Profile
Re: [3.3.5] - Creating a Custom Experience-Like Feature
« Reply #1 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.

Grymskvll

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 66
    • View Profile
Re: [3.3.5] - Creating a Custom Experience-Like Feature
« Reply #2 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.