This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [LUA[Chronic Boss/Mics Scripts --  (Read 3759 times)

Chronic

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
[LUA[Chronic Boss/Mics Scripts --
« on: February 03, 2013, 03:06:24 am »
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  

 =========   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

  =========   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 :)
  =========   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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [LUA[Chronic Boss/Mics Scripts --
« Reply #1 on: April 14, 2013, 09:54:22 pm »
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [LUA[Chronic Boss/Mics Scripts --
« Reply #2 on: April 15, 2013, 11:02:15 am »
You go from a script that doesn't even work to one that uses a lot of tables and correct indentation.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [LUA[Chronic Boss/Mics Scripts --
« Reply #3 on: April 15, 2013, 11:35:06 am »
Code: [Select]
pUnit:SendChatMessage(42, 0, "Sindragosa says: Kelus is gay!") --Original Message is "Sindragosa calls forth two frost wyrms!"
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

iindigo

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 198
    • View Profile
Re: [LUA[Chronic Boss/Mics Scripts --
« Reply #4 on: April 15, 2013, 05:58:57 pm »
Quote from: "schlumpf"
Code: [Select]
pUnit:SendChatMessage(42, 0, "Sindragosa says: Kelus is gay!") --Original Message is "Sindragosa calls forth two frost wyrms!"
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.

I'm guessing Blizzard's scripts pull localized strings from the DBCs?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [LUA[Chronic Boss/Mics Scripts --
« Reply #5 on: April 15, 2013, 06:17:42 pm »
Yes, the scripts reference an id which is resolved from a database.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »