Jump to content

SplinterC

Members
  • Posts

    11
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by SplinterC

  1. Hi,

    First of all, thanks a lot for your work Shadez, it's truly great!

    But I have a problem, the 3D viewer doesn't work. I've uploaded all the models in the wowarmory/models directory, the viewer shows "Loading..." then stops loading, sometimes 10%, sometimes 50%, sometimes 80...

    Does someone have the same issue?

    Thanks

    I've found solution.

    Need to add permissions for path to models

    In my case it was chown -R apache:apache /path/to/models/

  2. Hi,

    First of all, thanks a lot for your work Shadez, it's truly great!

    But I have a problem, the 3D viewer doesn't work. I've uploaded all the models in the wowarmory/models directory, the viewer shows "Loading..." then stops loading, sometimes 10%, sometimes 50%, sometimes 80...

    Does someone have the same issue?

    Thanks

    I have same problem.

  3. don't think about it :)

    FreeBSD 7.2 amd64

    # pkg_info
    UserManager-2.1     Easily create, change, or delete virtual PureFTPd users
    ace-5.5.2_3         The Adaptive Communication Environment for C++
    apache-1.3.41       The extremely popular Apache http server. Very fast, very c
    apr-gdbm-db42-1.3.3.1.3.4_1 Apache Portability Library
    autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms
    autoconf-2.62       Automatically configure source code on many Un*x platforms
    autoconf-wrapper-20071109 Wrapper script for GNU autoconf
    automake-1.10.1     GNU Standards-compliant Makefile generator (1.10)
    automake-1.4.6_5    GNU Standards-compliant Makefile generator (1.4)
    automake-1.5_5,1    GNU Standards-compliant Makefile generator (1.5)
    automake-1.6.3_1    GNU Standards-compliant Makefile generator (1.6)
    automake-1.7.9_2    GNU Standards-compliant Makefile generator (1.7)
    automake-1.8.5_3    GNU Standards-compliant Makefile generator (1.8)
    automake-1.9.6_3    GNU Standards-compliant Makefile generator (1.9)
    automake-wrapper-20071109 Wrapper script for GNU automake
    autotools-20080819  Autotools meta-port
    bash-4.0.10_2       The GNU Project's Bourne Again SHell
    bigreqsproto-1.0.2  BigReqs extension headers
    bison-2.4.1,1       A parser generator from FSF, (mostly) compatible with Yacc
    ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
    cclient-2007e,1     Mark Crispin's C-client mail access routines
    curl-7.19.4         Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
    cvsps-2.1           Create patchset information from CVS
    db42-4.2.52_5       The Berkeley DB package, revision 4.2
    expat-2.0.1         XML 1.0 parser written in C
    fontconfig-2.6.0,1  An XML-based font configuration API for X Windows
    freetype2-2.3.9_1   A free and portable TrueType font rendering engine
    gamin-0.1.10_1      A file and directory monitoring system
    gdbm-1.8.3_3        The GNU database manager
    gettext-0.17_1      GNU gettext package
    gio-fam-backend-2.20.1 FAM backend for GLib's GIO library
    git-1.6.2.2         Distributed source code management tool
    glib-2.20.1         Some useful routines of C programming (current stable versi
    gmake-3.81_3        GNU version of 'make' utility
    help2man-1.36.4_2   Automatically generating simple manual pages from program o
    inputproto-1.5.0    Input extension headers
    jpeg-6b_7           IJG's jpeg compression utilities
    kbproto-1.0.3       KB extension headers
    libICE-1.0.4_1,1    Inter Client Exchange library for X11
    libSM-1.1.0_1,1     Session Management library for X11
    libX11-1.2.1,1      X11 library
    libXau-1.0.4        Authentication Protocol library for X11
    libXaw-1.0.5_1,1    X Athena Widgets library
    libXdmcp-1.0.2_1    X Display Manager Control Protocol library
    libXext-1.0.5,1     X11 Extension library
    libXft-2.1.13       A client-sided font API for X applications
    libXmu-1.0.4,1      X Miscellaneous Utilities libraries
    libXp-1.0.0,1       X print library
    libXpm-3.5.7        X Pixmap library
    libXrender-0.9.4_1  X Render extension library
    libXt-1.0.5_1       X Toolkit library
    libcheck-0.9.6      A unit test framework for C
    libiconv-1.11_1     A character set conversion library
    libltdl-1.5.26      System independent dlopen wrapper
    libmcrypt-2.5.8     Multi-cipher cryptographic library (used in PHP)
    libpthread-stubs-0.1 This library provides weak aliases for pthread functions
    libsigsegv-2.5      Handling page faults in user mode
    libslang2-2.1.4_1   Routines for rapid alpha-numeric terminal applications deve
    libtool-1.5.26      Generic shared library support script
    libtool-2.2.6b      Generic shared library support script
    libxcb-1.2_1        The X protocol C-language Binding (XCB) library
    libxml2-2.7.3       XML parser library for GNOME
    libxslt-1.1.24_2    The XSLT C library for GNOME
    m4-1.4.12,1         GNU m4
    makedepend-1.0.1,1  A dependency generator for makefiles
    mc-4.6.2            Midnight Commander, a free Norton Commander Clone
    mercurial-1.1.2     A fast, lightweight source control management system
    mhash-0.9.9         An easy-to-use library for strong hashes such as MD5 and SH
    mysql-client-5.0.77_1 Multithreaded SQL database (client)
    mysql-server-5.0.77_1 Multithreaded SQL database (server)
    neon28-0.28.3       An HTTP and WebDAV client library for Unix systems
    openssl-0.9.8k      SSL and crypto library
    p5-Error-0.17015    Perl module to provide Error/exception support for perl: Er
    p5-IO-Socket-SSL-1.24 Perl5 interface to SSL sockets
    p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
    p5-Net-SMTP-SSL-1.01 An SMTP client supporting SSL
    p5-Net-SSLeay-1.35_1 Perl5 interface to SSL
    p5-gettext-1.05_2   Message handling functions
    p7zip-4.65          File archiver with high compression ratio
    pcre-7.9            Perl Compatible Regular Expressions library
    pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
    perl-threaded-5.8.9_2 Practical Extraction and Report Language
    php5-5.2.9          PHP Scripting Language
    php5-ctype-5.2.9    The ctype shared extension for php
    php5-dom-5.2.9      The dom shared extension for php
    php5-exif-5.2.9     The exif shared extension for php
    php5-extensions-1.3 A "meta-port" to install PHP extensions
    php5-filter-5.2.9   The filter shared extension for php
    php5-ftp-5.2.9      The ftp shared extension for php
    php5-gd-5.2.9       The gd shared extension for php
    php5-gettext-5.2.9  The gettext shared extension for php
    php5-hash-5.2.9     The hash shared extension for php
    php5-iconv-5.2.9    The iconv shared extension for php
    php5-imap-5.2.9     The imap shared extension for php
    php5-json-5.2.9     The json shared extension for php
    php5-mbstring-5.2.9 The mbstring shared extension for php
    php5-mcrypt-5.2.9   The mcrypt shared extension for php
    php5-mhash-5.2.9    The mhash shared extension for php
    php5-mysql-5.2.9    The mysql shared extension for php
    php5-pcre-5.2.9     The pcre shared extension for php
    php5-pdo-5.2.9      The pdo shared extension for php
    php5-pdo_sqlite-5.2.9 The pdo_sqlite shared extension for php
    php5-posix-5.2.9    The posix shared extension for php
    php5-session-5.2.9  The session shared extension for php
    php5-simplexml-5.2.9 The simplexml shared extension for php
    php5-spl-5.2.9      The spl shared extension for php
    php5-sqlite-5.2.9   The sqlite shared extension for php
    php5-tokenizer-5.2.9 The tokenizer shared extension for php
    php5-xml-5.2.9      The xml shared extension for php
    php5-xmlreader-5.2.9 The xmlreader shared extension for php
    php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
    php5-zlib-5.2.9     The zlib shared extension for php
    pkg-config-0.23_1   A utility to retrieve information about installed libraries
    png-1.2.35          Library for manipulating PNG images
    printproto-1.0.4    Print extension headers
    proftpd-1.3.2       Highly configurable ftp daemon
    proftpd-mysql-1.3.2 Highly configurable ftp daemon with MySQL support
    python25-2.5.4_1    An interpreted object-oriented programming language
    renderproto-0.9.3   RenderProto protocol headers
    screen-4.0.3_6      A multi-screen window manager
    sqlite3-3.6.11      An SQL database engine in a C library
    subversion-1.6.0_2  Version control system
    t1lib-5.1.2_1,1     A Type 1 Rasterizer Library for UNIX/X11
    tcl-8.5.6_3         Tool Command Language
    tcl-modules-8.5.6   Tcl common modules
    tk-8.5.6_1          Graphical toolkit for TCL
    unixbench-4.1.0_1   The BYTE magazine's Public Domain benchmark for UNIX
    unrar-3.80,5        Extract, view & test RAR archives
    vsftpd-2.1.0        A FTP daemon that aims to be "very secure"
    xcb-proto-1.4       The X protocol C-language Binding (XCB) protocol
    xcmiscproto-1.1.2   XCMisc extension headers
    xextproto-7.0.5     XExt extension headers
    xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
    xorg-macros-1.2.1   X.Org development aclocal macros
    xproto-7.0.15       X11 protocol headers
    xtrans-1.2.3        Abstract network code for X
    

    today a try to compile 5.7.0 and made comments on strings with errors

    So I compile it successfully but have a problem with install:

    libtool: install: warning: relinking `libACE_ETCL.la'
    (cd /usr/local/customers/webs/alter/trinity/ACE/ACE_wrappers/build/ace/ETCL; /bin/sh ../../libtool  --tag=CXX --mode=relink g++ -W -Wall -Wpointer-arith -I/usr/local/include -g -O2 -pthread -pipe -I. -I.. -o libACE_ETCL.la -rpath //usr/local/customers/webs/alter/trinity/ACE/.sys//lib -release 5.7 libACE_ETCL_la-ETCL_Constraint.lo libACE_ETCL_la-ETCL_Constraint_Visitor.lo ../../ace/libACE.la )
    g++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/libACE_ETCL_la-ETCL_Constraint.o .libs/libACE_ETCL_la-ETCL_Constraint_Visitor.o  -Wl,--rpath -Wl,//usr/local/customers/webs/alter/trinity/ACE/.sys//lib -pthread -L//usr/local/customers/webs/alter/trinity/ACE/.sys//lib -lACE -L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -Wl,-soname -Wl,libACE_ETCL-5.7.so.0.0 -o .libs/libACE_ETCL-5.7.so.0.0
    /usr/bin/ld: cannot find -lACE
    libtool: install: error: relink `libACE_ETCL.la' with the above command before installing it
    *** Error code 1

    I have a epic problem with libtool :)

    Try to remove package ace-5.5.2_3, it's unnecesary.

  4. Why not this:

    @@ -5973,7 +5973,19 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    // 4 damage tick
                    basepoints0 = triggerAmount*damage/400;
                    triggered_spell_id = 61840;
    -                break;
    +
    +                Unit::AuraList const &periodicAuras = target->GetAurasByType( SPELL_AURA_PERIODIC_DAMAGE );
    +                for( Unit::AuraList::const_iterator i = periodicAuras.begin(); i != periodicAuras.end(); ++i )
    +                {
    +                     if ((*i)->GetCasterGUID() == GetGUID() && (*i)->GetSpellProto()->SpellIconID == 3025 &&
    +                         (*i)->GetSpellProto()->SpellVisual[0] == 5652)
    +                     {
    +                         int32 tickremains = int32((*i)->GetAuraDuration() / (*i)->GetModifier()->periodictime );
    +                         basepoints0 += int32((*i)->GetModifier()->m_amount * tickremains /4);
    +                         break;
    +                     }
    +               }
    +               break;
                }
                // Sheath of Light
                if (dummySpell->SpellIconID == 3030)
    

  5. Can you paste these linker errors?

    I've resolved linker errors. Problem was in flag adding:

    -L/usr/local/mangos/lib (prefix path)

    After I input command to link mangos without this library path - compile has been succesfull.

    On 7.2 x86 mangos + ace-5.7.4 runs normal.

    On x64 not tested yet.

  6. Hello. In this patch many places with same code like this function:

    bool OutdoorPvPSI::HandleAreaTrigger(Player *plr, uint32 trigger)
    {
       switch(trigger)
       {
       case SI_AREATRIGGER_A:
           if(plr->GetTeam() == ALLIANCE && plr->HasAura(SI_SILITHYST_FLAG,0))
           {
               // remove aura
               plr->RemoveAurasDueToSpell(SI_SILITHYST_FLAG);
               ++ m_Gathered_A;
               if(m_Gathered_A >= SI_MAX_RESOURCES)
               {
                   BuffTeam(ALLIANCE);
                   sWorld.SendZoneText(OutdoorPvPSIBuffZones[0],objmgr.GetMangosString(LANG_OPVP_SI_CAPTURE_A,-1));
                   m_LastController = ALLIANCE;
                   m_Gathered_A = 0;
                   m_Gathered_H = 0;
               }
               UpdateWorldState();
               // reward player
               plr->CastSpell(plr,SI_TRACES_OF_SILITHYST,true);
               // add 19 honor
               plr->RewardHonor(NULL,1,19);
               // add 20 cenarion circle repus 
               plr->GetReputationMgr().ModifyReputation(sFactionStore.LookupEntry(609), 20);
               // complete quest
               plr->KilledMonster(SI_TURNIN_QUEST_CM_A,0);
           }
           return true;
       case SI_AREATRIGGER_H:
           if(plr->GetTeam() == HORDE && plr->HasAura(SI_SILITHYST_FLAG,0))
           {
               // remove aura
               plr->RemoveAurasDueToSpell(SI_SILITHYST_FLAG);
               ++ m_Gathered_H;
               if(m_Gathered_H >= SI_MAX_RESOURCES)
               {
                   BuffTeam(HORDE);
                   sWorld.SendZoneText(OutdoorPvPSIBuffZones[0],objmgr.GetMangosString(LANG_OPVP_SI_CAPTURE_H,-1));
                   m_LastController = HORDE;
                   m_Gathered_A = 0;
                   m_Gathered_H = 0;
               }
               UpdateWorldState();
               // reward player
               plr->CastSpell(plr,SI_TRACES_OF_SILITHYST,true);
               // add 19 honor
               plr->RewardHonor(NULL,1,19);
               // add 20 cenarion circle repu
               plr->GetReputationMgr().ModifyReputation(sFactionStore.LookupEntry(609), 20);
    
               // complete quest
               plr->KilledMonster(SI_TURNIN_QUEST_CM_H,0);
           }
           return true;
       }
       return false;
    }
    

    Maybe better something like this (cause smaller)? :

    bool OutdoorPvPSI::HandleAreaTrigger(Player *plr, uint32 trigger)
    {
       if(!trigger)
               return false;
    
       if(plr->GetTeam() && plr->HasAura(SI_SILITHYST_FLAG,0))
       {
           // remove aura
           plr->RemoveAurasDueToSpell(SI_SILITHYST_FLAG);
           plr->GetTeam() == ALLIANCE ? ++m_Gathered_A : ++m_Gathered_H;
           if(m_Gathered_A >= SI_MAX_RESOURCES || m_Gathered_H >= SI_MAX_RESOURCES)
           {
               BuffTeam(plr->GetTeam());
               sWorld.SendZoneText(OutdoorPvPSIBuffZones[0],objmgr.GetMangosString((plr->GetTeam() == ALLIANCE) ? LANG_OPVP_SI_CAPTURE_A : LANG_OPVP_SI_CAPTURE_H, -1));
               m_LastController = plr->GetTeam();
               m_Gathered_A = 0;
               m_Gathered_H = 0;
           }
           UpdateWorldState();
           // reward player
           plr->CastSpell(plr,SI_TRACES_OF_SILITHYST,true);
           // add 19 honor
           plr->RewardHonor(NULL,1,19);
           // add 20 cenarion circle repus 
           plr->GetReputationMgr().ModifyReputation(sFactionStore.LookupEntry(609), 20);
           // complete quest
           plr->KilledMonster((plr->GetTeam() == ALLIANCE) ? SI_TURNIN_QUEST_CM_A : SI_TURNIN_QUEST_CM_H,0);
                   return true;
       }
       return false;
    }
    

  7. For apply patch.. isn't it ? git apply ?

    You may use as

    git apply < outdoor_pvp_v38.patch

    as

    patch -p1 < outdoor_pvp_v38.patch

    there is no difference to use :)

    But on some windows systems

    git apply

    can't create a new files(like OutdoorPvP.cpp, etc.), as the same time patch -p1 create with no problems

×
×
  • 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