Questions tagged [world-of-warcraft]

World of Warcraft is an MMORPG created by Blizzard Entertainment.

World of Warcraft is an Massive Multiplayer Online (MMO) game owned by Blizzard Entertainment. It supports the LUA scripting language and a Community Platform API.


References:


Books:


Related Tags:

215 questions
33
votes
7 answers

Apache HttpClient on Android producing CertPathValidatorException (IssuerName != SubjectName)

I'm developing an Android application for accessing some battle.net (https://eu.battle.net) account data (for World of Warcraft) and I'm using the org.apache.http.client.HttpClient to do so. This is the code I'm using: public static final String…
Saran
  • 3,845
  • 3
  • 37
  • 59
18
votes
4 answers

Developing addins for World of Warcraft - Getting started?

As a long time World of Warcraft player, and a passionate developer I have decided that I would like to combine the two and set about developing some addins. Not only to improve my gameplay experience but as a great opportunity to learn something…
Martin
  • 39,569
  • 20
  • 99
  • 130
10
votes
5 answers

Where is Blizzards official World of Warcraft API?

I want to know if I can access World of Warcraft in an API. My requirements are very precise: MUST be official blizzard API MUST be accessible out-of-game.
hunterp
  • 15,716
  • 18
  • 63
  • 115
9
votes
3 answers

WoW - rounding to two decimal places in Lua

I'm trying to display my total experience points as a percentage rounded to two decimals. I have come up with a solution, but its quite clunky. There has to be a better way. Here is what I have: local xpPercentage = (((UnitXP("player") /…
BWayne
  • 161
  • 1
  • 2
  • 10
9
votes
3 answers

Convert Lua data to JSON

This EPGP World of Warcraft addon outputs an epgp.lua database file. I wrote a plugin to convert the Lua data into a JSON object for display on a guild website. It was working in older versions of the addon, but now I'm having trouble trying to get…
Mottie
  • 84,355
  • 30
  • 126
  • 241
8
votes
2 answers

Finding a number in a string lua

A simple question. When a roll has been done it shows as: "Need Roll - 150 for [SomeItem] by [SomePerson] + role bonus" I wish for some way to isolate the number 150. However there is no such thing as a split in lua (as far as I know) so what's the…
Theun Arbeider
  • 5,259
  • 11
  • 45
  • 68
8
votes
1 answer

How to find a duplicate string with Pattern Matching?

I have a string similar to this: [13:41:25] [100:Devnull]: 01:41:20, 13:41:21> |Hunit:Player-3693-07420299:DevnullYour [Chimaera Shot] hit |Hunit:Creature-0-3693-1116-3-87318-0000881AC4:Dungeoneer's Training DummyDungeoneer's Training Dummy 33265…
dev404
  • 1,088
  • 13
  • 34
7
votes
5 answers

Primary source for WoW lua API?

I've been looking for first-hand information on the World of Warcraft addon API. There are a couple wikis that are pretty good, but their reference links only point internally. Surely there is some information published by Blizzard on the topic. Can…
bukzor
  • 37,539
  • 11
  • 77
  • 111
7
votes
6 answers

How do you make a combo of two emotes in lua in World of Warcraft work?

How do you make a combo of two emotes in lua in World of Warcraft work? function Button2_OnClick() PlaySoundFile("Interface\\Addons\\Fart\\common_fart[1].wav"); DoEmote("moon"); DoEmote("sit"); DoEmote("dance"); …
Vlad Martin
  • 73
  • 1
  • 4
6
votes
12 answers

Accessing World of Warcraft data from the web

I'm aware of the WoW add-on programming community, but what I can find no documentation on is any API for accessing WoW's databases from the web. I see third-party sites like WoWHeroes.com and Wowhead use game data (item and character databases,) so…
Yes - that Jake.
  • 16,725
  • 14
  • 70
  • 96
6
votes
2 answers

wowarmory.com API help

I'm developing a simple application that fetches some data from wowarmory.com. What I need to do is fetch reputations for a character. I know where's the api located: http://www.wowarmory.com/character-reputation.xml?r=Realm&cn=CharacterName I can…
Richard Knop
  • 81,041
  • 149
  • 392
  • 552
5
votes
4 answers

How to remove last line from a string in Lua?

I am using Lua in World of Warcraft. I have this string: "This\nis\nmy\nlife." So when printed, the output is this: This is my life. How can I store the entire string except the last line in a new variable? So I want the output of the new variable…
Jstation
  • 407
  • 4
  • 14
5
votes
2 answers

WOW Addon commands

I'm learning about wow addons and I would like to create a command that shows in chat "Hello World" when I typed "/cht". I checked http://wowwiki.wikia.com/wiki/Creating_a_slash_command but my code does not work. My code: SLASH_CHAT =…
Pablo Expósito
  • 162
  • 1
  • 11
5
votes
2 answers

WoW Lua - Get Data from URL (Vanilla)

In a World of Warcraft Vanilla Lua Addon Development, how can I issue an HTTP call to receive data back? If not, how can I get data from a web source into the game while playing? I have a feeling the answer is tragically short, but would like the…
Suamere
  • 5,691
  • 2
  • 44
  • 58
5
votes
2 answers

Lua emulating the require function

In the embeded lua environment (World of Warcraft - WoW) is missing the require function. I want port one existing lua source code (an great OO-library) for the use it in the WoW. The library itself is relatively small (approx 8 small files) but of…
cajwine
  • 3,100
  • 1
  • 20
  • 41
1
2 3
14 15