Jump to content

DaemonCantor

Members
  • Posts

    288
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 GBP 

Posts posted by DaemonCantor

  1. Wow I just had a first in a long time thanks to traponinet's patch!, I merged his patch with ahbot and playerbot with out any conflicts and it compiled perfectly! THANK YOU traponinet for the great job! plus making my life a little easier!

  2. Am I the only one to have these merge conflicts ?

    No mrelfire I had the same problem but I edited out the usual '<<<< Head' bla bla bla coments and then comited it with git gui and compiled fine in 32 bit (I still can't get a 64 bit windows compile out of Mangos core) and my server has been up for aprox 6 hours with no trouble and all AH's are up and running. but then again I haven't really tested just noted that the AH's have items and the buyer is buying items I put into the Allience and Neutral AH's, don't know about Horde AH as I don't have a Horde toon right now.

  3. Here is my latest patch file for mangos r9780.

    http://rapidshare.com/files/379065114/AHBot_for_r9780.zip.html

    But therefore you need to download Tortoise SVN. So it's easier for me to correct merge errors.

    Create a new folder with the name source on the desktop.

    Git Bash

    git clone [url]http://github.com/mangos/mangos.git[/url]

    Copy the two Botfiles to: source / mangos / src / game folder and the Ahbot.patch file on the desktop.

    Right click the patch file ---> Tortoise SVN -----> apply patch.

    A Window opens. Choose Desktop and click on OK.

    It opens a small window. Right-clicking -----> Patch all

    Compile and have fun:)

    I hope you only used to compile the VC90. For VC80 and VC100 paths are not patched.

    and this is what I get from Rapidshare...:

    This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times.

    This limit is reached.

    This is why I don't like Rapidshare...Sorry...

  4. Hi all,

    I'm very interested in your project of Playerbot. Great work! But I have one or two questions. Please, could you tell me where I can download latest source files for Playerbot and is there any tutorial how to apply them to my server? I thing the Playerbot is custom patch, so the installation will be the same like installation of other custom patches, right? I thing, I can handle installation of AuctionHauseBot, so I've decided to try Playerbot. ;-) I didn't read whole thread because it's huge and most of replies are about things that I have no idea what are you talking about. :-D I've been searching Github for source files, but there were only old files from various users that are not compatible with latest mangos.

    Thanks for answer and sorry for my English.

    Try git pull git://github.com/blueboy/mangos.git master ... and it should merge it correctly into your source for you, it did for me...Thank you Blueboy it working again...I was down with log on problems till I remembered to change the realms table in mysql....OOOOOPPPPPPSSSS!

  5. I also have it working...and all I did was a git pull from Xeross's repo and edit out the <<< Head...blah blah statements compiled no problem...Mangos rev. 9772 with Vehicle branch as well. The server has been up for 6 hours aprox now with Buyer working in all three AH's and All three have items (1000 min to 10,000 max 500 in cycle) and oh yes I almost for got no I'm not having issues with Dual Spec or AHbot and THEY HAVE the TOURNAMENT working....

  6. xeross' repo includes jsee's fix. Try fetching from there. I'm still stuck with other patches in my code before I can compile and test.

    Oh yeah! Almost forgot. I did a line-by-line compare of jsee's world.h patch and saw no difference, other than line numbering, between it and xeross' world.h in his repo. So why was this needed? Remember I'm no C++ expert and may not see the reason.

    Thank you UnkleNuke, I have done a pull from xeross's repo and had sent him an email on it, found a bunch of errors on compile, but since then I found the error that caused it an got it fixed...git messed up the pull. Now I have a working pull with 9748 and as soon as I get my DB's updated(haven't since 3.3.2) I'll test it.

  7. Solving merge conflicts and compile errors is easy...afterwards i pull the additional things for vehicles that somehow aren't in the vehicle branch from the master branch (target types and not use pet AI for example)

    I wasn't talking about simple merge errors, but the whole repo is sofar out of date that the DB changes are not even in there. If it was a simple merge error I wouldn't have commented plus this topic is getting so blasted confused I can't even keep up.

  8. Kinda...sorta...maybe...but my C++ is practically non-existant...but I can read it if I compile it first and get an idea of what where and who...but I loose it when I get to fuctions like overloaded... because the compiler seporates them into individual functions with symbols declaring what is who and doesn't really relate to what you or whoever concocted in the first place...kinda like looking at an old C script (you know long before C++). on a lot of this I guess I'm way Old School almost like Caveman Era...

  9. it's the second link there if you already have SP1 and yes your right if they haven't upgraded but for what I listed I have SP1 and fully upgraded system with fully upgraded Windows 7 Ultimate x64 and still get those errors plus if you look at my posting it has a lot more info plus the Error list is from Core only compile no ScriptDev or mods just pure core. If I knew enough of C++ I would have fixed it myself but my knowledge is in Micro-Code not Macro-Code but I did try to figure out what to do and read the instructions that I got from the updated Tao-Ace Repo and that didn't help.

  10. Just pulled and recompiled with 9702. Playerbot is interacting with me but still will not join a party on invite. Same error for me as above, but now the server does not disconnect me, just doesn't join the party. Still get the error in logs however

    2010-04-08 22:10:59 ERROR:ERROR: Attempted to get in ByteBuffer (pos: 12 size: 12) value with size: 4

    2010-04-08 22:10:59 ERROR:WorldSession::Update ByteBufferException occured while parsing a packet (opcode: 110) from client 127.0.0.1, accountid=1.

    Blueboy this is the byte I was referring to in my message to you that they are reversed...

  11. More:

    Database.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Threading.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    ServiceWin32.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Common.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    SARC4.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Hmac.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    BigNumber.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    AuthCrypt.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    mempool.cpp
    Generating Code...
    Compiling...
    dotconfpp.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Config.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Util.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    ProgressBar.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(222) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(207) : see declaration of 'strdup'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(310) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(864) : see declaration of 'putenv'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(59) : warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _access. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\io.h(303) : see declaration of 'access'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(131) : warning C4996: 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(127) : see declaration of 'chdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(156) : warning C4996: 'rmdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _rmdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(129) : see declaration of 'rmdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(377) : warning C4996: 'getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(121) : see declaration of 'getcwd'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4996: 'swab': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _swab. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(865) : see declaration of 'swab'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(1127) : warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdio.h(301) : see declaration of 'unlink'
    MemoryLeaks.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(222) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(207) : see declaration of 'strdup'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(310) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(864) : see declaration of 'putenv'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(59) : warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _access. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\io.h(303) : see declaration of 'access'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(131) : warning C4996: 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(127) : see declaration of 'chdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(156) : warning C4996: 'rmdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _rmdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(129) : see declaration of 'rmdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(377) : warning C4996: 'getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(121) : see declaration of 'getcwd'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4996: 'swab': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _swab. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(865) : see declaration of 'swab'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(1127) : warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\io.h(216) : see declaration of 'unlink'
    Log.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    DBCFileLoader.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(222) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(207) : see declaration of 'strdup'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(310) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(864) : see declaration of 'putenv'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(59) : warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _access. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\io.h(303) : see declaration of 'access'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(131) : warning C4996: 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(127) : see declaration of 'chdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(156) : warning C4996: 'rmdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _rmdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(129) : see declaration of 'rmdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(377) : warning C4996: 'getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(121) : see declaration of 'getcwd'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4996: 'swab': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _swab. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(865) : see declaration of 'swab'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(1127) : warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdio.h(301) : see declaration of 'unlink'
    SQLStorage.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    SqlOperations.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    SqlDelayThread.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    QueryResultMysql.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Field.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    DatabaseMysql.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Generating Code...
    Creating library...
    Build log was saved at "file://c:\\MangosSRC\\win\\VC90\\shared__x64_Release\\BuildLog.htm"
    shared - 0 error(s), 46 warning(s)
    
    ------ Build started: Project: game, Configuration: Release x64 ------
    Compiling...
    pchdef.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    
    Player.cpp
    
    Player.cpp
    ..\\..\\src\\game\\Player.cpp(12809) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
    
    Creature.cpp
    
    Creature.cpp
    ..\\..\\src\\game\\Creature.cpp(1912) : warning C4305: 'return' : truncation from 'double' to 'float'
    Build log was saved at "file://c:\\MangosSRC\\win\\VC90\\game__x64_Release\\BuildLog.htm"
    game - 0 error(s), 3 warning(s)
    
    RASocket.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Master.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    MaNGOSsoap.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Main.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    CliRunnable.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Generating Code...
    Compiling resources...
    Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
    Copyright (C) Microsoft Corporation.  All rights reserved.
    Linking...
      Creating library .\\mangosd__x64_Release\\mangosd.lib and object .\\mangosd__x64_Release\\mangosd.exp
    Embedding manifest...
    Performing Post-Build Event...
    ..\\..\\dep\\lib\\x64_Release\\ACE.dll
    ..\\..\\dep\\lib\\x64_Release\\libeay32.dll
    ..\\..\\dep\\lib\\x64_Release\\libmySQL.dll
    ..\\..\\dep\\lib\\x64_Release\\tbb.dll
    ..\\..\\dep\\lib\\x64_Release\\tbbmalloc.dll
           5 file(s) copied.
    Build log was saved at "file://c:\\MangosSRC\\win\\VC90\\mangosd__x64_Release\\BuildLog.htm"
    mangosd - 0 error(s), 6 warning(s)
    ------ Build started: Project: script, Configuration: Release x64 ------
    Compiling...
    sc_defines.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    sc_default.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    system.cpp
    ScriptMgr.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Generating Code...
    Linking...
      Creating library .\\script__x64_Release/mangosscript.lib and object .\\script__x64_Release/mangosscript.exp
    Embedding manifest...
    Build log was saved at "file://c:\\MangosSRC\\win\\VC90\\script__x64_Release\\BuildLog.htm"
    script - 0 error(s), 3 warning(s)

    I hope this can be fixed so we can get the x64 builds on Windows fixed.

  12. As of today with latest rev 9620 this is what I got on the x64 build compile:

    ..\\..\\dep\\tbb\\src\\tbbmalloc\\MemoryAllocator.cpp(1520) : warning C4018: '>' : signed/unsigned mismatch
    ..\\..\\dep\\tbb\\src\\tbbmalloc\\MemoryAllocator.cpp(1523) : warning C4018: '>' : signed/unsigned mismatch
    ..\\..\\dep\\tbb\\src\\tbbmalloc\\MemoryAllocator.cpp(1526) : warning C4018: '>' : signed/unsigned mismatch
    
    These might be whats causing part of the memory leak as mentioned above and here's the rest of the errors/warnings I get fromr the build including a couple that I see are from the 3_dual_spec_9509.patch because they didn't appear until I compiled that patch in the 32bit compile which I did first one commit/patch at a time:
    
    Ace
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    ObjectLifeTime.cpp
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(110) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(79) : see declaration of 'strcat'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(120) : warning C4996: 'wcscat': This function or variable may be unsafe. Consider using wcscat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(245) : see declaration of 'wcscat'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(178) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(74) : see declaration of 'strcpy'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(188) : warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(252) : see declaration of 'wcscpy'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(222) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(207) : see declaration of 'strdup'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(266) : warning C4996: 'strncat': This function or variable may be unsafe. Consider using strncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(144) : see declaration of 'strncat'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(279) : warning C4996: 'wcsncat': This function or variable may be unsafe. Consider using wcsncat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(268) : see declaration of 'wcsncat'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(320) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(157) : see declaration of 'strncpy'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(329) : warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(275) : see declaration of 'wcsncpy'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(513) : warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(166) : see declaration of 'strtok'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_string.inl(524) : warning C4996: 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\string.h(280) : see declaration of 'wcstok'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(140) : warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(447) : see declaration of 'getenv'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(152) : warning C4996: '_wgetenv': This function or variable may be unsafe. Consider using _wdupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(653) : see declaration of '_wgetenv'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(163) : warning C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(465) : see declaration of '_itoa'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(176) : warning C4996: '_itow': This function or variable may be unsafe. Consider using _itow_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(640) : see declaration of '_itow'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(242) : warning C4996: '_mktemp': This function or variable may be unsafe. Consider using _mktemp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\io.h(206) : see declaration of '_mktemp'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(253) : warning C4996: '_wmktemp': This function or variable may be unsafe. Consider using _wmktemp_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\wchar.h(320) : see declaration of '_wmktemp'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_stdlib.inl(310) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(864) : see declaration of 'putenv'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(59) : warning C4996: 'access': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _access. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\io.h(303) : see declaration of 'access'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(131) : warning C4996: 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(127) : see declaration of 'chdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(156) : warning C4996: 'rmdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _rmdir. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(129) : see declaration of 'rmdir'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(377) : warning C4996: 'getcwd': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _getcwd. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\direct.h(121) : see declaration of 'getcwd'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4996: 'swab': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _swab. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdlib.h(865) : see declaration of 'swab'
    c:\\MangosSRC\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(1127) : warning C4996: 'unlink': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _unlink. See online help for details.
           c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\include\\stdio.h(301) : see declaration of 'unlink'
    Generating Code...
    Creating library...
    Build log was saved at "file://c:\\MangosSRC\\win\\VC90\\framework__x64_Release\\BuildLog.htm"
    framework - 0 error(s), 26 warning(s)

  13. I have also some issues with ACE i think , do you also have memory leak?

    I don't really know on this issue I've been more into trying to figgure out whats causing the ahbot to freeze/crash the server and reconfiguring over and over just to be slammed with compiler errors and warnings with pretty much all of them dealing with dataloss and or corruption pointing to the ace_wrappers, but as I've stated it doesn't show on 32bit builds plus what I listed is only a very small list of the errors which I get in just about all the modules except the ace it self that is clean for some weired reason, and yes it even hits the tbb and tbbmalloc modules

    error PRJ0019: A tool returned an error code from "generating tbbmalloc.def file"

    all in all I get somewhere around 300 warnings/errors( aprox 70 errors and rest are warnings). so there could be a leak.

  14. Mangos Core 9618

    ahbot, 3_dual_spec_9509, vehicles(Tassadar's repo),Item Duration.

    Problem:

    First Player logs in and server Crash/Freeze. Details in the ahbot thread.

    Affects:

    Windows x64 builds.

    Comments:

    what I found is the TAO-ACE net code is damaging packet communication between server and client, and how I came to this conclusion is major amount of compiler errors linked to ace-wrappers in the x64 builds but not in the x32 builds along with the problem of freezing/crashing doesn't exist in the x32 builds. Most of the errors detail data loss.

    This is a small sample from realmd build log on x64

    Main.cpp
    c:\\MangosTest\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    AuthSocket.cpp
    c:\\MangosTest\\dep\\ACE_wrappers\\ace/OS_NS_unistd.inl(983) : warning C4244: 'argument' : conversion from 'ssize_t' to 'int', possible loss of data
    Generating Code...
    

    and this is the same output window for x32 builds

    Compiling...
    WheatyExceptionReport.cpp
    RealmList.cpp
    Main.cpp
    AuthSocket.cpp
    Generating Code...
    Compiling resources...
    Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
    Copyright (C) Microsoft Corporation.  All rights reserved.
    Linking...
      Creating library ..\\..\\bin\\Win32_Release\\realmd.lib and object ..\\..\\bin\\Win32_Release\\realmd.exp
    Embedding manifest...
    

    I've downloaded the latest TAO-ACE Netcode source but haven't a clue as how to fix this.

    Thank you for looking at this

  15. I found it!.....but how to fix now???? it's in the x64 windows build... some how ACE is messing up the packett transport between the server and the Client, I'm getting between 70 to 300 errors from ACE during compile and it's gets worse as the core rev's change. these are errors and warnings of data loss because of argument switches, as of rev 9618 I can't even compile SD2 into the core with out total a total fail. I've downloaded the newest rev of the TAO-ACE libraries but haven't a clue as to how to update the old ACE in the core.

  16. I agree, the main problem as I see it is figguring out why this problem exist and to what extent first, on my side I think I have narrowed it down to MYSQL and a possible glitch between the core and the client. Maybe it's related to the warnings I'm getting with the 64bit compiles vers the 32 bit, example I'm getting aproximately 32 more warnings and complaints with the ace code and also the memory manager in the x64 compiles...who knows the real reason, my guess is nobody yet so if we keep this all in one thread we will have all info about it there, not all over the place.

  17. Blueboy These are the errors I'm talking about...they maybe nothing but then again ...you decide:

    PlayerbotDruidAI.cpp
    ..\\..\\src\\game\\PlayerbotDruidAI.cpp(136) : warning C4305: 'argument' : truncation from 'double' to 'const float'
    ..\\..\\src\\game\\PlayerbotDruidAI.cpp(444) : warning C4305: 'argument' : truncation from 'double' to 'const float'
    
    ..\\..\\src\\game\\PlayerbotAI.cpp(433) : warning C4305: 'argument' : truncation from 'double' to 'float'
    ..\\..\\src\\game\\PlayerbotAI.cpp(1856) : warning C4305: 'argument' : truncation from 'double' to 'float'
    ..\\..\\src\\game\\PlayerbotAI.cpp(1894) : warning C4305: 'argument' : truncation from 'double' to 'const float'
    PlayerbotMgr.cpp
    ..\\..\\src\\game\\PlayerbotMgr.cpp(533) : warning C4018: '>' : signed/unsigned mismatch
    ..\\..\\src\\game\\PlayerbotMgr.cpp(548) : warning C4018: '>' : signed/unsigned mismatch
    
    ..\\..\\src\\game\\Creature.cpp(1912) : warning C4305: 'return' : truncation from 'double' to 'float'
    
    Build log was saved at "file://c:\\MangosTest\\win\\VC90\\game__x64_Release\\BuildLog.htm"
    game - 0 error(s), 9 warning(s)

  18. Blueboy, what I have found on the disable keys thing is with INNODB you need the keys for it to track who, what when and how many for optimazation but the consinsus is turn off keys with MYISLAM engine because it confuses the engine and causes faults...I'm looking for the proper format to use to get key's fully working with the ahbot stuff and hopefully correct the DB stuff. but there is still the player segfaults that people like skinlayers is seeing and my self and I think it might be related to x64 warnings I keep seeing popup in the compiler, not the ace wrapper falts but I'm seeing some in Unit and Player cpp's I've always ignored them till today but I'm looking into them as well.

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