Jump to content

madmax765

Members
  • Posts

    64
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Posts posted by madmax765

  1. Once you get all moved into the new sub folder, how often will you update it ? I only used it once. (right before you moved it) downloaded it, added a ahbot patch complied it, work grate, now after this move. what will be different. ?? how will this all work now ???

  2. Your English is fine SyriosOne :D Better then mine, And im from the U.S. Ok i still cant get it right, I'm not sure what i am doing wrong. There a way you can upload or post the auctionhousebot.patch file ?

    i did as you said in post above

    git clone git://github.com/xeross/mangos.git ahbot ok

    cd ahbot ok

    git checkout origin/ahbot

    Note: moving to 'origin/ahbot' which isn't a local branch

    If you want to create a new branch from this checkout, you may do so

    (now or later) by using -b with the checkout command again. Example:

    git checkout -b (new_branch_name)

    HEAD is now 000c60e... * Added reload command to ahbot * Some ahbot cleanups

    git checkout -b ahbot ok

    then

    git diff master ahbot > auctionhousebot.patch

    it made patch file auctionhousebot.patch 3,636 KB

    Then when i try to applay pacth using command

    patch -d . -p1 < auctionhousebot.patch

    can't find file to patch at input line 5

    Perhaps you used the wrong -p or --strip option ?

    The text leading up to this was:

    ---------------------------------------

    :Diff --git a/.gitignore b/.gitignore

    :index d785f4f..68180f9 100644

    :--- a/.gitignore

    :+++b/.gitignore

    -----------------------------------

  3. git clone git://github.com/xeross/mangos.git ahbot
    git checkout -b ahbot origin/ahbot

    That will make it switch to the ahbot code.

    Updated patch: http://www.mediafire.com/?tzmztgzyotk

    I tryed code above... And link

    Updated patch: http://www.mediafire.com/?tzmztgzyotk

    says patch for 9652_AHBbot ??? still get 2 errors there as Mrelfire

    git clone git://github.com/xeross/mangos.git ahbot ... works ok, but when i tryed git checkout -b ahbot origin/ahbot i get error

    Fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'origin/ahbot' which can not be resolved as commit?

    i get same error as Mrelfire

    Today we have 2 merge conflict with the latest core :

    world.cpp

    world.h

    used patch from post 679

    Running core 9754

    Hmm wonder what im doing wrong ? lol SyriosOne got it to work, so i must be doing something wrong

  4. hmm i have soap troubles too look and look only a few post on soap...

    i get this error Fatal error: Class 'SoapClient' not found in

    running it on win 2003

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]">
    <html xmlns="[url]http://www.w3.org/1999/xhtml[/url]">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <?php
    /*
    * MaNGOSsoap client example
    *
    * a simple example how to invoke commands using SOAP
    */
    $username = 'myusername';
    $password = 'mypassword';
    $host = "localhost";
    $soapport = 7878;
    $command = "server info";
    $client = new SoapClient(NULL,
    array(
    "location" => "[url]http://$host:$soapport/[/url]",
    "uri" => "urn:MaNGOS",
    "style" => SOAP_RPC,
    'login' => $username,
    'password' => $password
    ));
    try {
    $result = $client->executeCommand(new SoapParam($command, "command"));
    echo "Command succeeded! Output:
    \\n";
    echo $result;
    }
    catch (Exception $e)
    {
    echo "Command failed! Reason:
    \\n";
    echo $e->getMessage();
    }
    ?>
    <body>
    </body>
    </html>
    

  5. ok i hope someone can help me with this.. noob class 101

    ok none links work for me... so i just copyed and pasted from post #1

    iff --git a/src/game/Group.cpp b/src/game/Group.cpp
    index 4090d91..69f6cb2 100644
    --- a/src/game/Group.cpp
    +++ b/src/game/Group.cpp
    @@ -290,6 +290,16 @@ bool Group::AddMember(const uint64 &guid, const char* name)
                        player->SendRaidDifficulty(true);
                    }
                }
    +       // Group Interfactions interactions (test)
    +            if(sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_GROUP))
    +            {
    +                Group *group = player->GetGroup();
    +                if(Player *leader = sObjectMgr.GetPlayer(group->GetLeaderGUID()))
    +                {
    +                    player->setFactionForRace(leader->getRace());
    +                    sLog.outDebug( "WORLD: Group Interfaction Interactions - Faction changed (AddMember)" );
    +                }
    +            }
            }
            player->SetGroupUpdateFlag(GROUP_UPDATE_FULL);
            UpdatePlayerOutOfRange(player);
    @@ -335,6 +345,12 @@ uint32 Group::RemoveMember(const uint64 &guid, const uint8 &method)
                    data << uint64(0) << uint32(0) << uint32(0) << uint64(0);
                    player->GetSession()->SendPacket(&data);
                }
    +        // Restore original faction if needed
    +        if(sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_GROUP))
    +        {
    +                player->setFactionForRace(player->getRace());
    +                sLog.outDebug( "WORLD: Group Interfaction Interactions - Restore original faction (RemoveMember)" );
    +        }
    
                _homebindIfInstance(player);
            }
    @@ -391,6 +407,12 @@ void Group::Disband(bool hideDestroy)
                    player->SetOriginalGroup(NULL);
                else
                    player->SetGroup(NULL);
    +            // Restore original faction if needed
    +            if(sWorld.getConfig(CONFIG_BOOL_ALLOW_TWO_SIDE_INTERACTION_GROUP))
    +            {
    +                player->setFactionForRace(player->getRace());
    +                sLog.outDebug( "WORLD: Group Interfaction Interactions - Restore original faction (Disband)" );
    +            }
            }
    
            // quest related GO state dependent from raid membership

    saved it as group-trade.patch

    went to GIT Bash open my MaNGOS sorce folder

    typed it patch -d . -p1 < group-trade.patch

    screen reads as

    patching file 'src/game/group.cpp'

    hunk #1 succeeded at 325 (offest 35 lines)

    patch unexpectedly ends in middle of line

    hunk #3 succedded at 442 ith fuzz 1 (offset 35 lines)

    then i go to complile it

    get this

    ========== Build: 11 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

    post #17 says use patch command

    post # 7 says

    Yes, you have only to delete your Group.cpp and paste the patched-Group.cpp in the /src/game/ folder. obviously recompile mangos.

    so then i tryed it this away.. deleted file group.cpp copyed group-trade.patch

    rename it to group-trade.cpp still did not work...

    tryed group.cpp still did not work

    What is the right way ??? please help this noob

  6. i get the fallowing error when just trying to load it

    The following error has occurred during XML parsing:

    File: D:\\Romania\\win\\VC90\\game.vcproj

    Line: 1062

    Column: 5

    Error Message:

    No attribute name may appear more than once in the same start tag or empty element tag.

    The file 'D:\\Romania\\win\\VC90\\game.vcproj' has failed to load.

  7. hmmm what am i doing wrong..

    git clone git://github.com/Naicisum/mangos.git ahbot

    cd ahbot

    git checkout origin/ahbot

    git checkout -b ahbot

    git diff master ahbot > auctionhousebot.patch

    but that auctionhousebot.patch file is 0 in size

    and its not adding the line's to the mangosd.conf.dist file

    never mind i got it..but Thank You

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use