[Release] [Patchfile] New GM commands: Block .summon, Block .appear menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Twisted7's Avatar Active Member
    Reputation
    63
    Join Date
    Aug 2008
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] [Patchfile] New GM commands: Block .summon, Block .appear

    Twisted's AppearOff/SummonOff GM Commands v1.01


    Background Info[IMGR]http://i40.tinypic.com/282mk5c.jpg[/IMGR]
    Hai everyone, this release is a small addition I made to my server's core today and I figured it might be useful to other people.

    The owner of the server I develop for accepts donations for GM powers (bad idea, I know) which of course means there are crappy GMs running around all over the place. As the sole developer of the server, GMs would constantly be nagging me when they came across any stupid problem, usually a pressing issue like "lul wats teh dsiplayid for illidan???". Ignoring them sometimes worked, but the persistent ones who thought I just might not have seen their message will then helpfully proceed to .summon or .appear to me, interrupting whatever important work I'm doing for their trivial problem.

    But no more! I've gotten fed up with this, so I added these commands. Basically what this patchfile does is add two new GM commands, available to everyone with the "t" access tag, though you can change that. The "t" access tag is the one that lets GMs use .gm on and .gm off.


    Usage Info
    Here are the commands, like I said, they are available to any GM with the "t" tag.

    .gm toggleappear - Toggles allowing other GMs to appear to you.
    .gm togglesummon - Toggles allowing other GMs to summon you.

    Any GMs with the "az" access tag (aka admins) are unaffected by these commands and can appear to or summon anyone regardless of whether or not they are set.


    Installation Instructions
    This is the semi-annoying part. This patch was created on ArcEmu revision 2047. The whole point of patchfiles is for them to work with other revisions but if it doesn't want to apply due to conflicts you can just copy and paste the code into the files yourself.

    IMPORTANT: You cannot apply this release if you are using a repack. Sorry.

    1) Install TortoiseSVN or some other SVN client, if you don't already have one.
    2) Download patchfile, from here.
    3) Right click on the patchfile you downloaded, go to TortoiseSVN->Apply Patch.
    4) TortoiseMerge will open and ask you for a folder. Navigate to wherever you have your ArcEmu source code, then select the folder \src and then \arcemu-world. Then hit OK.
    5) The FilePatches window will open. Double-click on each file in that window and make sure the changes look good, i.e. no errors or conflicts.
    6) Right click anywhere in the File patches window and select Patch all.
    7) After it finishes that in about one second, close TortoiseMerge and compile ArcEmu as normal.


    Updates
    1.02 - February 2, 2009: BUG FIX: Fixed issue where .gm togglesummon and .gm toggleappear both linked to the HandleToggleSummon function. If you have already applied 1.01, just open up Chat.cpp in your server's source and Ctrl+F toggleappear. Then change HandleToggleSummon to HandleToggleAppear.
    1.01 - February 2, 2009: Simplified code, there are now two toggle commands instead of four on/off commands. I will add an incremental patchfile soon. In the meantime, if you already used the previous patchfile I posted just revert the files that were modified and then reapply the patch.


    Don't have ArcEmu, or does TortoiseMerge show conflicts?
    This patchfile doesn't add very much so it's pretty easy to just manually copy/paste the code in yourself. Open up each file in the patch in TortoiseMerge, select the new code highlighted in orange and then copy it into your original file in Visual Studio.

    Sorry that this is kinda complex, but hopefully you get it working. If you need help installing it (please read the steps carefully first!) then post here and I'll see what I can do. Or if you want to suggest something for me to add/change, or if you want to report a problem, post here and I'll take a look.

    Hope you enjoy these commands, and feel free to check out my SwiftDiscipline GM addon!
    Last edited by Twisted7; 02-02-2009 at 07:09 PM.

    [Release] [Patchfile] New GM commands: Block .summon, Block .appear
  2. #2
    CoolManBob's Avatar Active Member
    Reputation
    92
    Join Date
    Jul 2006
    Posts
    208
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    link doesnt work

  3. #3
    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)
    Cool patch man. Obviously getting my 2 cents


  4. #4
    Twisted7's Avatar Active Member
    Reputation
    63
    Join Date
    Aug 2008
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fix'd link, sorry. I'll be back online tomorrow to answer questions, I need sleep, NOW, lol.

    Glad you like the patch vindicated
    Last edited by Twisted7; 02-02-2009 at 01:16 AM.

  5. #5
    FireWolfz's Avatar Banned
    Reputation
    96
    Join Date
    Jan 2009
    Posts
    114
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really Awesome patch +rep

  6. #6
    fastelf's Avatar Active Member
    Reputation
    44
    Join Date
    Apr 2007
    Posts
    279
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very cool, but i thought this was to appear online/offline, or atleast off the /who list. lol, oh well, but still good work.

  7. #7
    Snailz's Avatar Contributor Authenticator enabled
    Reputation
    239
    Join Date
    Nov 2007
    Posts
    941
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i like it please add my msn : [email protected] =]
    Cheese Cake?

  8. #8
    Twisted7's Avatar Active Member
    Reputation
    63
    Join Date
    Aug 2008
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added Snailz, I will be offline for the rest of the day until I get back from school however.

    Also, changed the thread title to avoid further confusion (fastelf )

  9. #9
    BlackEagle's Avatar Member
    Reputation
    15
    Join Date
    Dec 2008
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks nice. +Rep for making it.
    BTW can you also make other custom commands? I made a topic but no one replied.
    http://www.mmowned.com/forums/reques...n-command.html

  10. #10
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    150/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    One word, fantastic, +Rep

  11. #11
    Flake0207's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2008
    Posts
    221
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyway anyone has this alrdy pre compiled and kinda naked DB
    i want to do it myself +Rep for the time on the code and +Rep for the person who can give me DL link




    urewin:
    :icon_matrixfight:




  12. #12
    Twisted7's Avatar Active Member
    Reputation
    63
    Join Date
    Aug 2008
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Wespinator:
    I'm not sure about making other custom commands. Like my signature says, I'm still learning C++. This is a very simple addition since all it involves is basic stuff like defining variables and assigning values to them and some if/then logic. More complex stuff may be beyond my reach, though if you ask I'll see what I can do.
    I checked out your topic, the custom command you were requesting already exists, it's called .char setstanding.

    @Flake:
    There's little point in providing a pre-compiled version of this since it is a simple core modification to arcemu-world.exe and not a dll that you drop in script_bin. It's extremely easy to compile it yourself, check out the Arcemu code (I recommend revision 2047), apply the patchfile, and follow the instructions on the Arcemu wiki to compile.

    Also, I uploaded a small update to the patch, instead of there being 4 commands (on/off, on/off) there are two toggle commands.

  13. #13
    Flake0207's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2008
    Posts
    221
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont want to go through all the work to do make it i just want to test it




  14. #14
    Twisted7's Avatar Active Member
    Reputation
    63
    Join Date
    Aug 2008
    Posts
    91
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    BUG FIX POSTED: Sorry, release 1.01 had an issue where both toggle commands linked to the same function, as a result of my copy/pasting. This has been fixed in 1.02, you can fix it manually simply by opening up Chat.cpp, Ctrl+F for "toggleappear" and then change HandleToggleSummon to HandleToggleAppear.

    Everything works fine now, last release I promise lol.



    @Flake:
    Well here's the compiled core I'm using on my server, it has this patch as well as some other changes but if you're just testing it should be enough.
    http://leetsoft.net/downloads/arc204...ummonpatch.rar
    Last edited by Twisted7; 02-02-2009 at 07:17 PM.

  15. #15
    Flake0207's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2008
    Posts
    221
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    should make it only for admins im not sure how to compile scripts into the core still very hazy about compiling
    Last edited by Flake0207; 02-03-2009 at 12:09 AM.




Page 1 of 2 12 LastLast

Similar Threads

  1. [Selling] Selling 4k Archeage Gold New Guy on Block 100 GOld for 1.50USD
    By gaju.of.sunwoo in forum ArcheAge Buy Sell Trade
    Replies: 0
    Last Post: 06-22-2015, 11:38 PM
  2. [Release] New GM Command List
    By Cursed in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-06-2008, 12:03 PM
  3. [Release] The most important new ascent commands with explanations
    By coldmouth in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 03-27-2008, 09:08 AM
  4. [Ascent]Added New GM command !! Change Gender of characters!
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 27
    Last Post: 11-07-2007, 05:37 AM
  5. [RELEASE] Auction House loading, Commands to load items into Auction Houses
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 10-30-2007, 03:53 PM
All times are GMT -5. The time now is 03:28 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search