Forum > Showoff - what you are working on

[LUA[Chronic Boss/Mics Scripts --

(1/2) > >>

Chronic:
Hello Everyone.

In this thread you`ll find some basic boss fights and even a MISC but still LUA related Hangman script
I have been doing this roughly about a month so i would appreciate for Constructive Critics as i know with  great CC you can improve alot.
On a side note this thread will be updated weekly or 2nd weekly with all my scripts i create and finish

Here they are and we start first with a

#1---Magnus The Destroyer

--- Quote --- Magnus The Destroyer Boss Fight is done as one of my first ever scripts when starting with the programming language of LUA.And i know there might be a few flaws but i guess im just lazy to go and fix them  
--- End quote ---

 =========   PasteBin Link  =========
  ******        http://pastebin.com/gjbJ9Nne        ******

#2---Sindragosa Boss Fight

--- Quote --- This fight was scripted by me with a help from a friend ,and i really appreciate his help as if it wasn`t for him  I doubt I would finish this
Kind Regards
--- End quote ---

  =========   PasteBin Link  =========
   *********    http://pastebin.com/p5X4crY2    *********

#3-- HangMan


--- Quote ---This is a basic script of hangman and yes its non-wow related so don`t hate :)
--- End quote ---
  =========   PasteBin Link  =========
               ********     http://pastebin.com/CHk4wFtZ     ********


Thank you for having the time to read through my annoying post and leave a comment bellow with any flaws or anything other related with CC.
I appreciate this

Kind Regards

Ascathos:
For the completition of the information, there is a LUA engine for TrinityCore (as sort of an addon) in work:

https://github.com/ElunaLuaEngine/Source

stoneharry:
You go from a script that doesn't even work to one that uses a lot of tables and correct indentation.

schlumpf:

--- Code: ---pUnit:SendChatMessage(42, 0, "Sindragosa says: Kelus is gay!") --Original Message is "Sindragosa calls forth two frost wyrms!"
--- End code ---

My biggest hope is that Blizzard's scripts don't look anywhere like this -- oh, wait, they are a huge hack as well. At least they got event handling better and no hardcoded strings.

iindigo:

--- Quote from: "schlumpf" ---
--- Code: ---pUnit:SendChatMessage(42, 0, "Sindragosa says: Kelus is gay!") --Original Message is "Sindragosa calls forth two frost wyrms!"
--- End code ---

My biggest hope is that Blizzard's scripts don't look anywhere like this -- oh, wait, they are a huge hack as well. At least they got event handling better and no hardcoded strings.
--- End quote ---

I'm guessing Blizzard's scripts pull localized strings from the DBCs?

Navigation

[0] Message Index

[#] Next page

Go to full version