Login announcer menu

Shout-Out

User Tag List

Results 1 to 13 of 13
  1. #1
    Kallblodig's Avatar Contributor
    Reputation
    113
    Join Date
    Dec 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Login announcer

    Hello, I saw on a private server earlier that they had a system that annouced when a player logs in, example my char is named ''Xilas''
    Then the server annouce
    '' Player Xilas just logged in!''

    Any ideas how to install that to your system?

    Login announcer
  2. #2
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep. There is a script for it (C++ or Lua). I can't remember were I saw it. I think on the old OpenAscent archives.

  3. #3
    Kallblodig's Avatar Contributor
    Reputation
    113
    Join Date
    Dec 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, + rep to the one who finds me a script and help me get it working

  4. #4
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll make one instead:

    Code:
    #using "StdAfx.h"
    
    void LoginAnnounce(Player* plr)
    {
          char announce[512];
          snprintf(announce, 512, "%s, Logged in.", plr->GetName());
          sWorld.SendWorldText(announce);
    }
    
    void SetupAnnounces(ScriptMgr * mgr)
    {
          mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_WORLD, &LoginAnnounce);
    }

  5. #5
    Kallblodig's Avatar Contributor
    Reputation
    113
    Join Date
    Dec 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ty

    Thanks! + rep, LUA script?
    How to install it?

  6. #6
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a C++ script, you can't register server hooks like this in Lua,
    You need to compile it into an DLL file, search around. Bounch of guides to do it

  7. #7
    Kallblodig's Avatar Contributor
    Reputation
    113
    Join Date
    Dec 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem

    Originally Posted by Link_S View Post
    This is a C++ script, you can't register server hooks like this in Lua,
    You need to compile it into an DLL file, search around. Bounch of guides to do it
    Didnt work, I putted the DLL file in Scripts_bin folder in ArcEmu folder.
    When I start the server this comes up,
    Program or DLL file C:/arcEmu/ArcEmu/Script_Bin/Playerloginannounce.dll is not a valdiate windows- memorybla bla. Control this aiganst the installationsdisk

    Help!

  8. #8
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    something wrong with Compilation..

  9. #9
    Kallblodig's Avatar Contributor
    Reputation
    113
    Join Date
    Dec 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you make a new one? (a)

  10. #10
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you just save the File as a .DLL lol?

  11. #11
    Kallblodig's Avatar Contributor
    Reputation
    113
    Join Date
    Dec 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes, how come?
    I saved is as a DLL file then putted the file in to scripts_bin folder

  12. #12
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lololol. You need to learn how to compile a server, and then how to COMPILE (Keyword) a DLL.

    Renaming doesn't work like that :P

    I live in a shoe

  13. #13
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look trough the forum after compile guides, you can't compile a DLL by renaming the file extension. A DLL is encrypted code. (DYNAMIC LINK LIBRARY)

Similar Threads

  1. Login screen News Announcments. How to??
    By SteelWolf in forum WoW EMU Questions & Requests
    Replies: 11
    Last Post: 06-04-2009, 05:33 PM
  2. ANNOUNCING THE MMOWNED RE-PACK by Bloodofwar, Krazzee, and Dave-ead!!!
    By bloodofwar in forum World of Warcraft Model Editing
    Replies: 37
    Last Post: 11-05-2006, 03:54 PM
  3. Require a login to view ALL threads
    By Piratewolf in forum Suggestions
    Replies: 4
    Last Post: 08-24-2006, 06:14 AM
  4. can't login.
    By robtuner in forum World of Warcraft General
    Replies: 2
    Last Post: 07-21-2006, 12:44 PM
  5. [Program] Re-login on Disconnect
    By Cypher in forum World of Warcraft Bots and Programs
    Replies: 4
    Last Post: 05-14-2006, 01:01 AM
All times are GMT -5. The time now is 06:01 AM. 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