Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Banned

    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    652
    Post Thanks / Like
    Rep Power
    0
    Reputation
    103

    Register to remove this ad
    Indeed. Shame someone tried to say they made it on a server I know. Unfortunatly it back-fired on him.. didn't even work and he cant fix it lol.




    › See More: [C++] Shield on Login



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #12
    Banned

    Join Date
    Sep 2009
    Location
    In My Computer
    Posts
    76
    Post Thanks / Like
    Rep Power
    0
    Reputation
    52
    i put this in my latest repack on here......no sheild pops up......so. my question is......whats the fix for it?

  4. #13
    Banned

    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    652
    Post Thanks / Like
    Rep Power
    0
    Reputation
    103
    No idea, didnt work for me either - when I tried to compile it had loads of errors.

  5. #14
    Banned

    Join Date
    Sep 2009
    Location
    In My Computer
    Posts
    76
    Post Thanks / Like
    Rep Power
    0
    Reputation
    52

    Smile error

    somebody else made a variation of this but it roots the player and banishes them....but it still has errors.....and i know one of these works because if you go to exilewow.com their server has a working copy of it.....

    Code:
    
    #include"StdAfx.h"
    #include"Setup.h"
    #ifdef WIN32
    #pragmawarning(disable:4305) 
    #endif
    //_____Defines____\\
    #define Banish 37527
    #define Paralyze 25725
    
    void OnEnterWorld(Player * pPlayer)
    {
    pPlayer->BroadcastMessage("|cFF006400[Login Protection]:|r |cFF00FF00 Welcome to the Server! You've been banished! you will remain invincible for 10 seconds but unable to act.|r");
    pPlayer->CastSpell(pPlayer, Banish, true);
    pPlayer->AddAura(Paralyze);
    // Need to add something here to remove the aura, or just not use it and Root the player?
    //pPlayer->Root();
    //pPlayer->UnRoot();
    }
    
    
    void SetupProtectLogin(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_WORLD, OnEnterWorld);
    }
    

    heres the errors that came with it....maybe somebody can fix them,

    Code:
    
    1>..\src\ExtraScripts\Enterworld.cpp(9) : warning C4010: single-line comment contains line-continuation character
    1>..\src\ExtraScripts\Enterworld.cpp(16) : error C2065: 'Banish' : undeclared identifier
    1>..\src\ExtraScripts\Enterworld.cpp(17) : error C2664: 'Unit::AddAura' : cannot convert parameter 1 from 'int' to 'Aura *'
    

  6. #15
    Beginner

    Join Date
    Sep 2009
    Posts
    10
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1
    nice !

  7. #16
    Contributor
    Lbniese's Avatar
    Join Date
    Aug 2009
    Location
    C# Developer
    Posts
    381
    Post Thanks / Like
    Rep Power
    16
    Reputation
    91
    Very nice, keep up with the good work.

  8. #17
    Beginner

    Join Date
    Dec 2009
    Posts
    11
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1
    Nice and simple.. goodjob

  9. #18
    Elite Member
    Dimman's Avatar
    Join Date
    Apr 2009
    Posts
    1,091
    Post Thanks / Like
    Rep Power
    21
    Reputation
    319
    good work but paladins will get cooldown on their shield Z_z
    No touching please.

  10. #19
    Banned

    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    652
    Post Thanks / Like
    Rep Power
    0
    Reputation
    103
    Screw Paladins! Their too good anyway, well, I'm not on mine.. 80 Prot on Kilrogg

  11. #20
    Beginner

    Join Date
    Jan 2010
    Posts
    7
    Post Thanks / Like
    Rep Power
    15
    Reputation
    2

    Register to remove this ad
    good work

 

 
Page 2 of 2 FirstFirst 12

Visitors found this page by searching for:

C shield player

void OnEnterWorld(Player * pPlayer);

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 05:31 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org