Welcome to AC Web.
Results 1 to 3 of 3

Thread: C++ Teleporter

Threaded View

  1. #1


    Join Date
    Sep 2014
    Location
    nloli#6788 - I dont answer PMs
    Posts
    446

    C++ Teleporter

    Trying to make a C++ teleporter but im getting an error ive never experienced before, since I was somewhat inactive with C++ in the past 2 years and trinitycore functions have changed again and Im generally very bad with C++, I just know how to copy paste and do simple edits, this error is confusing me, never saw it before:
    Code:
    error C2259: 'Teleporter': cannot instantiate abstract class
    note: due to following members:
    note: 'CreatureAI *CreatureScript::GetAI(Creature *) const': is abstract
    note: see declaration of 'CreatureScript::GetAI'
    here's the teleporter script:
    https://pastebin.com/x0gH8NUb

    Got an updated TC version (last 1month~ ago)
    I put in a lot of #includes because I thought that would help
    Last edited by Project2k14; 08-10-2019 at 05:50 PM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •