1. #1

    what programming language is wow written in?

    I'm playing wow and it occured to me that I don't know what language it's written in. It comes to mind because I notice on things like flight paths or quest mobs that you have to ride sometimes they automatically dismount or unshapeshift you and other times it makes you do it. I'm curious why it's so inconsistant? is it an oversight by blizzard? I'm quite an amateur about programming but could they not just include an if then else statement in cases like these? I mean couldn't they just make the if then else statement to auto dismount or unshapeshift you?
    Last edited by the game; 2014-07-13 at 12:16 AM.

  2. #2
    Deleted
    As far as I know C/C++ for the core game engine with LUA, perl and PHP in other areas

  3. #3
    I have heard C++ for the back end and Lua for the front end (the GUI). Whether that is accurate or not...

  4. #4

  5. #5
    Deleted
    Quote Originally Posted by mayhem008 View Post
    I'm playing wow and it occured to me that I don't know what language it's written in. It comes to mind because I notice on things like flight paths or quest mobs that you have to ride sometimes they automatically dismount or unshapeshift you and other times it makes you do it. I'm curious why it's so inconsistant? is it an oversight by blizzard? I'm quite an amateur about programming but could they not just include an if then else statement in cases like these? I mean couldn't they just make the if then else statement to auto dismount or unshapeshift you?
    The language question has already been answered (C/C++).

    However the observed behavior is not really connected to the programming language used but the result of the networking involved.

    Some of the stuff is calculated on the client side other on the server side and depending on what you do, what client and server think should be happening and latency you might see (mostly) minor inconsistencies.

  6. #6
    Immortal Stormspark's Avatar
    7+ Year Old Account
    Join Date
    Jun 2014
    Location
    Columbus OH
    Posts
    7,953
    The game itself is written in C/C++. The UI and all scripting (scripting for game events, quests, etc) is Lua.

  7. #7
    Quote Originally Posted by lloewe View Post
    However the observed behavior is not really connected to the programming language used but the result of the networking involved.
    There are many people working on abilities/quests, not all of them follow the same "protocol". Plus, WoW has gone through a lot revisions (including one for auto-shapeshift), a lot of old abilities may not have been grandfathered in properly.

  8. #8
    Quote Originally Posted by yurano View Post
    a lot of old abilities may not have been grandfathered in properly.
    I'd pretty much guarantee that a lot of them weren't
    Still wondering why I play this game.
    I'm a Rogue and I also made a spreadsheet for the Order Hall that is updated for BfA.

  9. #9
    i think its tottaly depends upon individual capabilty and interest.
    But personally i go with java programming as i am working on it.

    [Infracted]
    Last edited by Cilraaz; 2019-02-12 at 03:22 PM.

  10. #10
    Quote Originally Posted by the game View Post
    I'm playing wow and it occured to me that I don't know what language it's written in. It comes to mind because I notice on things like flight paths or quest mobs that you have to ride sometimes they automatically dismount or unshapeshift you and other times it makes you do it. I'm curious why it's so inconsistant? is it an oversight by blizzard? I'm quite an amateur about programming but could they not just include an if then else statement in cases like these? I mean couldn't they just make the if then else statement to auto dismount or unshapeshift you?
    Probably I mean mmos are one of the hardest things to produce and the pay off gets worse each year.

    - - - Updated - - -

    Quote Originally Posted by rakhimishra View Post
    i think its tottaly depends upon individual capabilty and interest.
    But personally i go withjava programming as i am working on it.
    Why is c++ better than java for example. I've never bothered to look this up. I also don't like java just doesn't click with me. Json is pretty awesome though its faster than xml.
    Last edited by Varvara Spiros Gelashvili; 2019-02-11 at 07:35 AM.
    Violence Jack Respects Women!

  11. #11
    The game engine is written in c/c++. This was the go-to and only available and true way for game development back in the 90's. It holds true to this day.
    The GUI is written in Lua.
    World of Warcraft as many other online games is built as a distributed system. This mean there is no central hub for business logic. The logic is calculated as a process on the host machine and the data is communicated to other hosts that depends on that information.

    The networking is also probably built with c/c++ or some other language that supports low-latency, concurrency and parallelism, like (Erlang, Clojure, Java, Haskell, Scala)

    What it is not built in and never will be is PHP..

    - - - Updated - - -

    Quote Originally Posted by foofoocuddlypoopz View Post
    Probably I mean mmos are one of the hardest things to produce and the pay off gets worse each year.

    - - - Updated - - -



    Why is c++ better than java for example. I've never bothered to look this up. I also don't like java just doesn't click with me. Json is pretty awesome though its faster than xml.

    Java has a garbage collector that collects and throws memory away automatically.

    c/c++ you do memory managment manually. It makes sofware well written incredibly fast. Thats wahy c/c++ is the go to in most circitcal software areas.

  12. #12
    Quote Originally Posted by foofoocuddlypoopz View Post
    Why is c++ better than java for example. I've never bothered to look this up. I also don't like java just doesn't click with me. Json is pretty awesome though its faster than xml.
    C++ gives you ability to write abstractions (class, module, sub-system, routines, etc.), similar to Java, with little to no overhead. This isn't achievable with Java. By overhead, it is often meant memory and speed.

    - - - Updated - - -

    Quote Originally Posted by the game View Post
    It comes to mind because I notice on things like flight paths or quest mobs that you have to ride sometimes they automatically dismount or unshapeshift you and other times it makes you do it. I'm curious why it's so inconsistant? is it an oversight by blizzard? I'm quite an amateur about programming but could they not just include an if then else statement in cases like these? I mean couldn't they just make the if then else statement to auto dismount or unshapeshift you?
    Could be an expected behavior, could be a minor bug that they do not care to solve. You can't solve every problem by handling specific cases, it's not a scalable solution. Some problems arise due to poor handling of resources, some due to failing to handle a specific case, some due to arithmetic operations (wrong calculation, overflow) and some due to logic errors. From outside, even for programmers, it's impossible to speculate the source of that behavior within the code.
    Last edited by Kuntantee; 2019-02-12 at 02:59 PM.

  13. #13
    Moderator Cilraaz's Avatar
    15+ Year Old Account
    Join Date
    Feb 2009
    Location
    PA, USA
    Posts
    10,139
    Thread is from 5 years ago. Locking.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •