1. Ok first you compile the latest revision of mangos by following this guide[Only registered and activated users can see links. ] up until
Quote:
Now go into your src/bindings/scriptdev2 and compile same way as this (except without the tools>options part)
and folllow these directions instead.
2. Go to "your source folder->ScriptDev2->scripts->custom" and place [Only registered and activated users can see links. ] inside.
3. Now got to "your source folder->Scriptdev2" and open up "Makefile.am" with wordpad or notepad. Now scroll down until you see "scripts/custom/test.cpp". and add this line "scripts/custom/teleguy.cpp " without the quotes on a new line underneath. So it looks like:
6. Now we need to link up the build files:
Open scriptVC80.sln or scriptVC71.sln depending on your version of VS. In the browser on the left expand ScriptDev2, then Scripts, then custom. It should look like this:
Drag the teleguy.cpp from your ScriptDev2/scripts/custom folder and drop it into the custom folder in VC Studio (the folder in above pic). 7. Now in Configuration Manager change the build from Debug to Release. Then Build Solution.
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: Sep 2008
Posts: 3
Reputation: 1
Everything went fine untill step 7, i use Quice exept of Navicat, cuz Navicat had problems while downloading or somthing, and the script of step 7 doesnt work on Quice so i made my own World Teleporter, but added teleguy script... but when i talk to the guy he just says Hello (name) how can i help you? nothing more...
help?
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: Aug 2008
Posts: 1
Reputation: 1
im getting this error
1>..\scripts\custom\teleguy.cpp(1) : warning C4627: '#include "sc_gossip.h"': skipped when looking for precompiled header use
1> Add directive to 'precompiled.h' or rebuild precompiled header
1>..\scripts\custom\teleguy.cpp(799) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "precompiled.h"' to your source?
1>mob_anubisath_sentinel.cpp
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: Mar 2009
Posts: 10
Reputation: 1
i have this error when i compile the swcriptdev2 :
Extracting Revision
Compiling...
precompiled.cpp
c:\SVN\MaNGOS\src\bindings\ScriptDev2\include\sc_creature.h(62) : error C2664: 'CreatureAI::CreatureAI(const CreatureAI &)' : cannot convert parameter 1 from 'Creature *' to 'const CreatureAI &'
Reason: cannot convert from 'Creature *' to 'const CreatureAI'
No constructor could take the source type, or constructor overload resolution was ambiguous