PDA

View Full Version : [C++] [Mangos]Lich King Script



SerialKiller
29-03-10, 02:37 PM
Credits : Me

EDIT: None Of those scripts are Blizzlike Scripted

Hey, just wanted to share my Script, It suppose to be an script on the boss Lich King with phases ( Timers and Yells and maybe some other things need editing cause i aint sure about how retail Lich King is )


Please tell me all wrong things i made i am VERY NEW at this


C++ | // Script : 2010-03-29 14:11:2 - Mangos Lich King Test - qVJneGfg - Pastebin.com (http://pastebin.com/qVJneGfg) <-- is link

C++ | // Script Generated: 2010-03-2 - Professor Putricide ICC - 0y5BTJ7y - Pastebin.com (http://pastebin.com/0y5BTJ7y) <--- Professor Putricide


Feel free to edit / add / improve it

SerialKiller
29-03-10, 03:40 PM
9viewes no reply :(?

Noblebeastx
29-03-10, 04:32 PM
Hmmm ill look at it and check it over

SerialKiller
29-03-10, 05:13 PM
ok tyvm :)

SerialKiller
30-03-10, 04:03 AM
Bump 39 views only 1 reply :S

Cocain
30-03-10, 05:49 AM
Good job mate.

SerialKiller
30-03-10, 07:38 AM
tyvm :) Anyone tested it?

Cocain
30-03-10, 08:56 AM
I didn't, I'll try doing it soon. If I have time, not a promise though.

fleak
31-03-10, 09:09 AM
Where do i place this? im kinda new to this :P.

Cocain
31-03-10, 09:22 AM
Where do i place this? im kinda new to this :P.

You don't simply place it somwhere. You compile it INTO your core, I'm not sure how it works with ManGOS, but I suppose the same way as it works with Trinity, when you're on the compiler, you right click your scriptdev folder I believe, and than you press 'Add Existing' and you link the file in there.

DeSWE
01-04-10, 01:07 PM
Is it for mangos or SD2?

namesis
20-04-10, 04:05 PM
Good jab,ty

Happymeal
21-04-10, 07:24 AM
Is it for mangos or SD2?

I think SD2
btw thanks for the script +rep

StickyIcky
22-04-10, 10:04 AM
I think SD2
btw thanks for the script +rep
And sd2 is made for mangos...

So either way your using this if you use mangos...
It also works for trinitycore due to them having SD2 built in.

J2k0b0
14-08-10, 09:34 AM
good job m8.. but can u post link to sql files.. not codes.. cuz im a bit new.. cant make om on sql ^^

EDIT: Btw.. good job m8

Bing
15-08-10, 01:12 AM
This script is a little bare, but it's a good start don't get me wrong!

#include "precompiled.h" #inc - C++ Lich King [MaNGOS] - thsjhrnM - Pastebin.com (http://pastebin.com/thsjhrnM)

Is the one I use, edited it a bit myself, fixed some of the timing for the phases and correct debuffs. Built off the script by RSA!

Up from 200 lines of code to 1144! Enjoy!

J2k0b0
15-08-10, 12:38 PM
This script is a little bare, but it's a good start don't get me wrong!

#include "precompiled.h" #inc - C++ Lich King [MaNGOS] - thsjhrnM - Pastebin.com (http://pastebin.com/thsjhrnM)

Is the one I use, edited it a bit myself, fixed some of the timing for the phases and correct debuffs. Built off the script by RSA!

Up from 200 lines of code to 1144! Enjoy!

Pff i have problems with those scripts...


Error occured at:2010-08-15 20:36:00
Line no.:65
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enum BossSpells
{
SPELL_INFEST = 70541,
SPELL_NECROT' at line 1



Help to 1 noob pls ; /

Bing
15-08-10, 06:31 PM
Pff i have problems with those scripts...


Error occured at:2010-08-15 20:36:00
Line no.:65
Error Code: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enum BossSpells
{
SPELL_INFEST = 70541,
SPELL_NECROT' at line 1



Help to 1 noob pls ; /

You don't execute this into your database, you have to compile this wit Scriptdev2. If you have a noob repack, compile your own.

joseiem
03-09-10, 08:07 PM
Talot ;)

musiman
25-11-10, 07:34 AM
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(5) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'KingAI'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(5) : error C2079: 'Lich' utilise une struct de 'The' non défini
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(7) : error C2470: 'PutricideAI' : similaire à une définition de fonction, mais aucune liste de paramètres ; corps apparent ignoré
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(5) : error C2470: 'KingAI' : similaire à une définition de fonction, mais aucune liste de paramètres ; corps apparent ignoré
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(166) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Putricide'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(5) : error C2059: erreur de syntaxe : 'public'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(167) : error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(203) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Lich'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(168) : error C2512: 'Professor' : aucun constructeur par défaut approprié disponible
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(203) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'King'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(168) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'PutricideAI'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(203) : error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(168) : warning C4508: 'Putricide' : la fonction doit retourner une valeur ; type de retour 'void' pris par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(168) : error C3861: 'PutricideAI' : identificateur introuvable
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(171) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Putricide'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(171) : error C2182: 'AddSC_Professor' : utilisation non conforme du type 'void'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(172) : error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(176) : error C2440: '=' : impossible de convertir de 'CreatureAI **' en 'CreatureAI *(__cdecl *)(Creature *)'
1> Aucun contexte dans lequel cette conversion est possible
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(203) : error C2086: 'int Lich' : redéfinition
1> ..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(5) : voir la déclaration de 'Lich'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(176) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Putricide'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(176) : warning C4551: liste d'arguments manquante dans l'appel de fonction
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_professor_putricide.cpp(178) : warning C4508: 'Putricide' : la fonction doit retourner une valeur ; type de retour 'void' pris par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(204) : error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(205) : error C2512: 'The' : aucun constructeur par défaut approprié disponible
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(205) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Lich'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(205) : warning C4508: 'King' : la fonction doit retourner une valeur ; type de retour 'void' pris par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(205) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'KingAI'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(205) : error C3861: 'KingAI' : identificateur introuvable
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(208) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Lich'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(208) : error C2182: 'AddSC_The' : utilisation non conforme du type 'void'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(208) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'King'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(208) : error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(208) : error C2086: 'int Lich' : redéfinition
1> ..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(5) : voir la déclaration de 'Lich'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(209) : error C4430: spécificateur de type manquant - int est pris en compte par défaut. Remarque : C++ ne prend pas en charge int par défaut
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(213) : error C2440: '=' : impossible de convertir de 'CreatureAI **' en 'CreatureAI *(__cdecl *)(Creature *)'
1> Aucun contexte dans lequel cette conversion est possible
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(213) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'Lich'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(213) : error C2146: erreur de syntaxe : absence de ';' avant l'identificateur 'King'
1>..\scripts\northrend\icecrown_citadel\icecrown_cit adel\boss_the_lich_king.cpp(213) : warning C4551: liste d'arguments manquante dans l'appel de fonction

kernum
23-12-13, 04:09 AM
Speaks for itself