[req]Teleporter Npc Ascent 

I have made my teleporter yet it comes up with error i set up it properly i think:

Code:
1>c:\users\wow\documents\globalnpc\globalnpc.cpp(424) : error C2065: 'Warpnpc' : undeclared identifier
1>c:\users\wow\documents\globalnpc\globalnpc.cpp(424) : error C2059: syntax error : ')'
1>Setup.cpp
1>c:\users\wow\documents\globalnpc\setup.cpp(6) : error C2065: 'SCRIPTLIB_VERSION_MAJOR' : undeclared identifier
1>c:\users\wow\documents\globalnpc\setup.cpp(6) : error C2065: 'SCRIPTLIB_VERSION_MINOR' : undeclared identifier
1>c:\users\wow\documents\globalnpc\setup.cpp(6) : error C3861: 'MAKE_SCRIPT_VERSION': identifier not found
 
use from here:


Don't got my allready compiled one anymore.. Server PC crashed yesterday..
 
these 100% work i use them for ascent here you go(they also include 2.4 locations:
WarpNPC:
Code:
INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Teleporter NPC', 'Moon Plus Plus', '', '0', '0', '3', '0', '20748', '0', NULL, '55555');
INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('70', '70', '35', '100000', '100000', '100', '1', '1', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '55555');
BuffNCP:
Code:
REPLACE INTO `creature_names` VALUES (55559, '[Name of Server]', 'BuffNPC', '', 0, 7, 0, 0, 0, NULL, 18565, 0, 0, 0, 1, 1, 0, NULL);
REPLACE INTO `creature_proto` VALUES (55559, 1, 1, 35, 2300, 2300, 0, 1, 1, 1400, 0, 3, 3.87, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, '2.5', 8, 14, 0);
CoinNPC:
Code:
INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Coin NPC', 'Moon Plus Plus', '', '0', '0', '3', '0', '21015', '0', NULL, '55560');
INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('70', '70', '35', '100000', '100000', '100', '1', '1', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '55560');
HealNPC:
Code:
INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `civilian`, `Leader`, `entry`) VALUES ('Heal NPC', 'Moon Plus Plus', '', '0', '0', '3', '0', '21015', '0', NULL, '55557');
INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `auras`, `invisibility_type`, `death_state`, `entry`) VALUES ('70', '70', '35', '100000', '100000', '100', '1', '1', '1500', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '36000', '0', '0', '0', '55557');
MorphNPC:
Code:
REPLACE INTO `creature_names` VALUES (55556, '[Name of Server]', 'MorphNPC', '', 0, 7, 0, 0, 0, NULL, 18565, 0, 0, 0, 1, 1, 0, NULL);
REPLACE INTO `creature_proto` VALUES (55556, 1, 1, 35, 2300, 2300, 0, 1, 1, 1400, 0, 3, 3.87, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, '2.5', 8, 14, 0);
MounterNPC:
Code:
REPLACE INTO `creature_names` VALUES (55558, '[Name of Server]', 'MounterNPC', '', 0, 7, 0, 0, 0, NULL, 20670, 0, 0, 0, 1, 1, 0, NULL);
REPLACE INTO `creature_proto` VALUES (55558, 1, 1, 35, 2300, 2300, 0, 1, 1, 1400, 0, 3, 3.87, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, '2.5', 8, 14, 0);
StripperNPC:
Code:
REPLACE INTO `creature_names` VALUES (55554, '[Name of Server]', 'StripperNPC', '', 0, 7, 0, 0, 0, NULL, 18785, 0, 0, 0, 1, 1, 0, NULL);
REPLACE INTO `creature_proto` VALUES (55554, 1, 1, 35, 2300, 2300, 0, 1, 1, 1400, 0, 3, 3.87, 0, 0, 0, 0, 0, 0,  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, '2.5', 8, 14, 0);
Add Portals:
Code:
DELETE FROM `gameobject_names` WHERE `entry` IN (20000000,20000001,20000002,20000003,20000004,20000005,20000006,20000007,20000008,20000009,20000010,20000011,20000012,20000013,20000014,20000015,20000016,20000017);

-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    gameobject_names    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

-- Portal 1 (Orgrimmar to Undercity)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000000,10,4394,'Orgrimarr Portal to Undercity');

-- Portal 2 (Undercity to Orgrimarr)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000001,10,4394,'Undercity Portal to Orgrimarr');

-- Portal 3 (Orgrimmar to Grom'Gol)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000002,10,4394,'Orgrimarr Portal to Grom Gol');

-- Portal 4 (Grom'Gol to Orgrimarr )
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000003,10,4394,'Grom Gol Portal to Orgrimarr');

-- Portal 5 (Undercity to Grom'Gol)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000004,10,4394,'Undercity Portal to Grom Gol');

-- Portal 6(Grom'Gol to Undercity)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000005,10,4394,'Grom Gol Portal to Undercity');

-- Portal 7 (Ratchet to Booty Bay)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000006,10,4394,'Ratchet Portal to Booty Bay');

-- Portal 8 (Booty Bay to Ratchet)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000007,10,4394,'Booty Bay Portal to Ratchet');

-- Portal 9 (Auberdine to Menethil Harbor)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000008,10,4394,'Auberdine Portal to Menethil Harbor');

-- Portal 10 (Menethil Harbor to Auberdine)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000009,10,4394,'Menethil Harbor Portal to Auberdine');

-- Portal 11 (Menathil Harbor to Theramore Isle)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000010,10,4394,'Menathil Harbor Portal to Theramore Isle');

-- Portal 12 (Thereamore Isle to Menethil Harbor)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000011,10,4394,'Theramore Isle Portal to Menethil Harbor');

-- Portal 13 (Auberdine to Azuremyst Isle)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000012,10,4394,'Auberdine Portal to Azuremyst Isle');

-- Portal 14 (Azuremyst Isle to Auberdine)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000013,10,4394,'Azuremyst Isle Portal to Auberdine');

-- Portal 15 (Auberdine to Teldrassil)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000014,10,4394,'Auberdine Portal to Teldrassil');

-- Portal 16 (Teldrassil to Auberdine)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000015,10,4394,'Teldrassil Portal to Auberdine');

-- Portal 17 (Stormwind to Ironforge)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000016,10,4394,'Stormwind Portal to Ironforge');

-- Portal 18 (Ironforge to Stormwind)
INSERT INTO `gameobject_names` (`entry`,`type`,`displayid`,`name`) VALUES (20000017,10,4394,'Ironforge Portal to Stormwind');

-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX     gameobject_spawns    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

-- Portal 1 (Orgrimmar to Undercity)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000000,1,1322.011963,-4638.138672,54.512932,5.585752,1);

-- Portal 2 (Undercity to Orgrimmar)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000001,0,2069.507813,283.250397,97.031502,4.280417,1);

-- Portal 3 (Orgrimmar to Grom'Gol)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000002,1,1368.40454,-4646.730469,54.291367,2.660515,1);

-- Portal 4 (Grom'Gol to Orgrimmar )
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000003,0,-12442.848633,228.773758,32.021626,5.032833,1);

-- Portal 5 (Undercity to Grom'Gol)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000004,0,2061.267334,241.865860,99.767365,1.40822,1);

-- Portal 6(Grom'Gol to Undercity)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000005,0,-12409.104492,215.795135,31.527250,3.874365,1);

-- Portal 7 (Ratchet to Booty Bay)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000006,1,-986.216003,-3831.011230,5.633424,2.446515,1);

-- Portal 8 (Booty Bay to Ratchet)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000007,0,-14296.986328,551.905518,8.695939,5.960384,1);

-- Portal 9 (Auberdine to Menethil Harbor)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000008,1,6422.215332,821.354004,5.480999,5.55541,1);

-- Portal 10 (Menethil Harbor to Auberdine)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000009,0,-3734.417236,-584.786438,4.9997908,1.463867,1);

-- Portal 11 (Menathil Harbor to Theramore Isle)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000010,0,-3889.680420,-596.451721,6.260849,4.549423,1);

-- Portal 12 (Thereamore Isle to Menethil Harbor)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000011,1,-3990.916748,-4733.024414,4.9997908,1.463867,1);

-- Portal 13 (Auberdine to Azuremyst Isle)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000012,1,6548.476563,924.657959,6.046269,4.281991,1);

-- Portal 14 (Azuremyst Isle to Auberdine)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000013,530,-4259.575684,-11333.785156,5.789986,4.583838,1);

-- Portal 15 (Teldrassil to Auberdine)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000014,1,6577.7773344,763.997742,5.741073,5.815087,1);

-- Portal 16 (Auberdine to Teldrassil)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000015,1,8551.734375,1023.275146,5.642698,2.354622,1);

-- Portal 17 (Stormwind to Ironforge)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000016,369,14.795420,2490.307861,4.292574,6.253338,1);

-- Portal 18 (Ironforge to Stormwind)
INSERT INTO `gameobject_spawns` (`Entry`,`map`,`position_x`,`position_y`,`position_z`,`Facing`,`Scale`) Values (20000017,369,14.673943,8.185436,-4.489475,0.031412,1);
 
got this error:

Code:
1>..\src\NonBlizzLikeScripts\Setup.cpp(6) : error C2065: 'SCRIPTLIB_VERSION_MAJOR' : undeclared identifier
1>..\src\NonBlizzLikeScripts\Setup.cpp(6) : error C2065: 'SCRIPTLIB_VERSION_MINOR' : undeclared identifier
1>..\src\NonBlizzLikeScripts\Setup.cpp(6) : error C3861: 'MAKE_SCRIPT_VERSION': identifier not found
1>..\src\NonBlizzLikeScripts\VipAccounts.cpp(36) : error C2039: 'GetGUIDLow' : is not a member of 'Player'
1>        c:\users\wow\documents\trunk\src\ascent-world\Player.h(624) : see declaration of 'Player'
1>..\src\NonBlizzLikeScripts\HellfirePVP.cpp(38) : error C2084: function 'GameObjectAIScript *create_go(GameObject *)' already has a body
1>        ..\src\NonBlizzLikeScripts\HellfirePVP.cpp(19) : see previous definition of 'create_go'
1>..\src\NonBlizzLikeScripts\HellfirePVP.cpp(62) : error C2039: 'GetMapID' : is not a member of 'Player'
1>        c:\users\wow\documents\trunk\src\ascent-world\Player.h(624) : see declaration of 'Player'
1>..\src\NonBlizzLikeScripts\HellfirePVP.cpp(94) : error C3861: 'ShowMsg': identifier not found
1>..\src\NonBlizzLikeScripts\HellfirePVP.cpp(99) : error C2065: 'HellfirePVP' : undeclared identifier
 
Delete HellfirePVP.cpp out the compile list and edit setup.cpp and setup.h by deleting the HellFirePVP tags.

in setup.cpp on line 6, delete the whole line. Then try.
 
Back