[Guide] How to compile your own DLL menu

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 59
  1. #16
    hideko's Avatar Member
    Reputation
    4
    Join Date
    Nov 2007
    Posts
    101
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cursed View Post
    You have to compile Ascent first....
    If you dont have it compiled than you will get that error

    i have compiled ascent before, about 4x actually and im still getting that error =\

    [Guide] How to compile your own DLL
  2. #17
    Murlock.'s Avatar Knight-Lieutenant
    Reputation
    86
    Join Date
    Oct 2007
    Posts
    271
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just copy the gossip files and mod the setups and mod the project. But, if you wanna do it the hard way this works! +Rep

  3. #18
    BillyBob31's Avatar Member
    Reputation
    24
    Join Date
    Feb 2008
    Posts
    231
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i fixed it i went and used a templete project .vproj file and just edited to the the files they were in manually and did my own and it worked ...

    But 1 question

    Where in the script can i change from the message type of

    Code:
    .announce
    To

    Code:
    .wannounce
    Would be so much better cause then would appear above rather then peoples chat ... meaning i can have it appear more often without spamming their chat.
    Just if someone can tell me which line to change i can edit it thx everyone in advance ...

  4. #19
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You mean you have a spam script (like every 50 sec: Players, dont forget to vote on *website*.com or something like that?)
    Or what?

  5. #20
    BillyBob31's Avatar Member
    Reputation
    24
    Join Date
    Feb 2008
    Posts
    231
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here ill give link of what im working on ... and i still get errors when trying to mak project but im getting them when i try to release .. ( compile ) it, but heres what im trying to make maybe someone can edit it and make it for me and upload the .dll here.


    Board Message

    Theres what im trying to make .... if someone does make it for me .... only 3 things i want changed ...... in the message.cpp near top you change where it says what it says before message right now its "SYSTEM" plz remove system and make it blank and set the timer for like 5 minutes ..... and change it from a .announce message to a .wannounce message

  6. #21
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here you go... it should work. (should be wannounce and no 'Server')


    Code:
    //***This script was released under CodeCraft and cannot be redistrubted without giving credits**
    //Title of Script: Anouncer v2
    //Description of Script: Sends a worldwide announcement in timed intervals.
    //Author: Daikenkaiking
    //Credits: Supalosa for his xml script that I learned some functions from.
    
    #include "StdAfx.h"
    #include "Setup.h"
    
    //Configure these as you wish
    #define BREAKTIME 300000 //The amount of seconds * 1000 you want to wait in between messages
    #define HEADERSTR "" //The string to place in front of the message
    
    //Define and create variables
    bool ann_debug = false;
    uint32 ann_next_id = 0;
    char errstr[255];
    char HeadStr[255];
    string body;
    char query[255];
    char display_str[255];
    uint32 id, next_id;
    QueryResult * result;
    
    class Announcement
    {
    public:
    void Run();
    };
    
    void Announcement::Run()
    {
    if(ann_debug) ShowMsg("Debug 1");
    if(ann_next_id == 0)
    {
    sprintf(query, "SELECT * FROM announcer_txt ORDER BY RAND() LIMIT 1");
    } else {
    sprintf(query, "SELECT * FROM announcer_txt WHERE id = %i", ann_next_id);
    }
    QueryResult * result = WorldDatabase.Query(query);
    
    //Uh oh!
    if(!result)
    {
    ShowMsg("Something went wrong!");
    ann_next_id = 0;
    return;
    }
    
    //Is there anything to display?
    if(result->GetRowCount() == 0)
    {
    ShowMsg("There is no data to display!");
    ann_next_id = 0;
    return;
    }
    
    //Lets get the data, and set everyting up
    Field * fields = result->Fetch();
    id = fields[0].GetUInt32();
    body = fields[1].GetString();
    next_id = fields[2].GetUInt32();
    
    //We may need to set next id, and set last id
    if(next_id != 0)
    ann_next_id = next_id;
    else
    ann_next_id = 0;
    
    //Lets format the String to display and then display it!
    sprintf(display_str, "%s %s", HEADERSTR, body.c_str());
    sWorld.SendWorldWideScreenText(display_str);
    
    //Not Tested yet -> to prevent overscope
    delete fields;
    }
    
    void ShowMsg(char * errmsg)
    {
    sprintf(errstr, "nAnnouncer v2: %s", errmsg);
    sLog.outString(errstr);
    }
    
    void SetupAnnouncer(ScriptMgr * mgr)
    {
    Announcement Announcer;
    
    ShowMsg(HeadStr);
    
    //If all is good, set up the timer event and lets roll!
    if(BREAKTIME >= 1000)
    {
    TimedEvent * te = TimedEvent::Allocate(&Announcer, new CallbackP0<Announcement>(&Announcer, &Announcement::Run), 1, BREAKTIME, 0);
    sWorld.event_AddEvent(te);
    ShowMsg("Announcer has been started!");
    } else {
    //Someone has their time set under 1 second. ;P
    ShowMsg("Announcer has been disabled. Please insure you have the config set right!");
    }
    }

    Edit: Ok I get some Errors too. Ill edit this when its fixed

    Edit 2 : Sorry but Ill fix it next week
    Last edited by Cursed; 03-15-2008 at 01:17 PM.

  7. #22
    BillyBob31's Avatar Member
    Reputation
    24
    Join Date
    Feb 2008
    Posts
    231
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what were your errors so i know if they are same as mine

    .. also im running visual 2005 not 2008 does that matter ?

  8. #23
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes... I wrote this guide for 2008 and not 2005 :P

    Try 2008

  9. #24
    BillyBob31's Avatar Member
    Reputation
    24
    Join Date
    Feb 2008
    Posts
    231
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cursed View Post
    Yes... I wrote this guide for 2008 and not 2005 :P

    Try 2008
    Can you give me the links to be able to get everything i need to go from my 2005 > 2008 full version ... i tried to find crap for it for over a hour now and cant seem to find the correct thing ... got a link or info ?

  10. #25
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Google it or look on Microsoft.com :P

  11. #26
    halolouie's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ty soo much now i can compile thnx thnx! +rep

  12. #27
    BillyBob31's Avatar Member
    Reputation
    24
    Join Date
    Feb 2008
    Posts
    231
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cursed View Post
    Google it or look on Microsoft.com :P
    Yeha i want the full version or a proper keygen for it i searched for ove ra hour got 1 but idk .... oh well

  13. #28
    Tristank1's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    excellent work

  14. #29
    Morachop's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    guys...im using ac-web 7.6 repack, how can i compile a dll?

  15. #30
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Morachop just look for a 'How to compile Ascent' guide here and compile it yourself. After that you can compile a dll with my guide and then put that dll in your Ac-Web Repack/script_bin folder...

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [GUIDE] How to compile your own server [MUCH SAFER!]
    By razordemon in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 05-31-2008, 11:27 AM
  2. [Guide] How to compile your own ascent server. 100% work !! TRY IT :D
    By Etzzhy in forum WoW EMU Guides & Tutorials
    Replies: 22
    Last Post: 05-09-2008, 07:04 PM
  3. [Guide] Compiling your own DLL
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 26
    Last Post: 04-22-2008, 09:31 AM
  4. [Guide] How to make your own graveyard
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 02-28-2008, 01:43 AM
  5. [RELEASE] How to compile your own funserver and Patch the source code
    By pepsi1x1 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-26-2007, 06:24 PM
All times are GMT -5. The time now is 03:34 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search