
Results 11 to 17 of 17
Thread: MiscNPC
Hybrid View
-
09-09-08, 08:04 PM #1
well... im stupid so i need to know for future refrence!
-
09-09-08, 11:10 PM #2
@ alex just look in GossipScripts and find setup.h and setup.cpp. in setup.cpp find SetupGuardGossip(mgr); and the part in red you can change to the script name in this case its MiscNPC and open setup.h and find void SetupGuardGossip(ScriptMgr * mgr); and again you may change that to the name.
-
10-09-08, 05:25 PM #3
i got likee 14 errors with compleing it xD
3>..\src\GossipScripts\MiscNPC.cpp(64) : error C2043: illegal break
3>..\src\GossipScripts\MiscNPC.cpp(66) : error C2046: illegal case
3>..\src\GossipScripts\MiscNPC.cpp(79) : error C2043: illegal break
3>..\src\GossipScripts\MiscNPC.cpp(81) : error C2046: illegal case
3>..\src\GossipScripts\MiscNPC.cpp(82) : error C2065: 'plr' : undeclared identifier
3>..\src\GossipScripts\MiscNPC.cpp(82) : error C2227: left of '->SaveToDB' must point to class/struct/union/generic type
3> type is ''unknown-type''
3>..\src\GossipScripts\MiscNPC.cpp(85) : error C2059: syntax error : 'break'
3>..\src\GossipScripts\MiscNPC.cpp(87) : error C2059: syntax error : 'case'
3>..\src\GossipScripts\MiscNPC.cpp(88) : error C2447: '{' : missing function header (old-style formal list?)
3>..\src\GossipScripts\MiscNPC.cpp(104) : error C2059: syntax error : 'break'
3>..\src\GossipScripts\MiscNPC.cpp(107) : error C2059: syntax error : 'case'
3>..\src\GossipScripts\MiscNPC.cpp(108) : error C2447: '{' : missing function header (old-style formal list?)
3>..\src\GossipScripts\MiscNPC.cpp(118) : error C2059: syntax error : 'break'
3>..\src\GossipScripts\MiscNPC.cpp(120) : error C2059: syntax error : 'case'
3>..\src\GossipScripts\MiscNPC.cpp(121) : error C2447: '{' : missing function header (old-style formal list?)
3>..\src\GossipScripts\MiscNPC.cpp(367) : error C2061: syntax error : identifier 'MiscNPC'
-
10-09-08, 11:47 PM #4
-
11-09-08, 06:08 AM #5
-
11-09-08, 01:14 PM #6
-
11-09-08, 02:11 PM #7
im new to c++ tryin to learn here! lol