Jump to content

Skirnir

Members
  • Posts

    220
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by Skirnir

  1. Well,

    in case I got you right, you have to update your database quite drastic. I would (first backup the character database and afterwards) update the characters database to the latest. For everything else it is easier to create a fresh database. The core you build the latest and merge your mangosd.conf and realmd.conf. For everything else you better ask mangos wiki or search this forum.

    Regards

    Skirnir

  2. So I guess it wont work only adding the ahbot.conf

    And you guessed that because of what? Ahbot is a MaNGOS feature, independent of your database, meaning IF your core has it implemented your fine. So in favor of your own signature try adding ahbot.conf and enable the bot. Wait for the magic to happen.

    Hth

    Skirnir

  3. commit 5ebd86136a5510a968f70994834ad034858903c6

    Author: Schmoozerd <[email protected]>

    Date: Mon Jan 30 19:13:13 2012 +0100

    Remove old binaries for extraction

    Builds with these on Arch Linux x86_64

    cmake ../ -DPREFIX=/opt/mangos -DPCH=1 -DACE_USE_EXTERNAL=1 -DDEBUG=1 -DTBB_USE_EXTERNAL=1

    gcc 4.6.2 20120120

    ace 6.0.8

    intel-tbb 4.0_20111130

    Regards

    Skirnir

    [EDIT] Builds as well without external libs.

    [EDIT2] Oh nvm you were talking about contrib ... should not post if coffee <= 0

    [EDIT3] It is rather stupid, but MaNGOS is missing ace/config.h that is all. Copy it from a full MaNGOS installation into the ACE_WRAPPER/ace/ folder and compilation works. Missing this "config.h"-file breaks contrib vmaps stuff as well.

  4. @Xenithar: UDB is for client 3.3.5 and you need client 1.12.1 or 1.12.2. Just run this file (its a bash file and will import a full client database) [1]. And there is no realm, because there is no realm running. realmd let you log in and mangos would be the "realm" (the world where you can run around). mangos does not start because of the database mismatch.

    hth

    Skirnir

    [1] https://github.com/mangos-zero/database/blob/develop/mysql_import

  5. Assuming mangos.zip and scriptdev2.zip contain only the files and no subfolder AND that mangos-zero uses cmake.

    ### Unzipping to /opt/mangos first two lines as root/sudo
    
    #mkdir /opt/mangos
    #chown -R $username /opt/mangos/
    
    mkdir -p ~/mangos/src/bindings/ScriptDev2
    unzip -d ~/mangos/ mangos.zip
    unzip -d ~/mangos/src/bindings/ScriptDev2 scriptdev2.zip
    cd ~/mangos
    patch -p1 ~/mangos/src/bindings/ScriptDev2/patches/MaNGOS*.patch
    
    ### Building
    mkdir build
    cd build
    cmake ../ -DPREFIX=/opt/mangos
    make
    make install
    cd ../
    rm -r build/
    

    That's basically what you would do with mangos.zip and scriptdev2.zip. Ofc you have to install all build dependencies and I dunno what happens, haven't checked the above :) . Git is just to get the source code and work with it locally. Setting up the configs and the database does not require git.

    Hth

    Skirnir

    Edit: Cleaned things up a bit, its not usefull to have a complete messed up /opt/mangos folder. Now using ~/mangos. :)

  6. Hello manofwar95,

    could you maybe explain a bit more how your setting up screen? My guess is, you mixed something up :)

    Well just in case, here is the procedure I use:

    • login to server.
    • run "screen -R mangosd" start MaNGOS in this screen and detach it with CTRL+a+d.
    • run "screen -R realmd" start realmd in this screen and detach it with CTRL+a+d
    • log off

    This way I never had a problem with screen (and I have to say, I don't know why screen should block your login).

    Hth

    Skirnir

  7. Hello,

    this produces random numbers between 1 and 1000

    #include <iostream>
    #include <cstdlib>
    #include <time.h>
    
    int main()
    {
       int chosen;
       srand(time(NULL)); //makes it random
    
       chosen=rand() % 1000+1;  //range 1000 and 1
       std::cout << chosen;
    }
    

    Regards

    Skirnir

  8. One of the few active developing members around is rsa. He modified his core, still provided a bunch of patch files, although many never were accepted. This way his core developed and can use things MaNGOS does not have. Seeing the threads at ru-mangos.ru no one was really interested in implementing things he developed into a clean core (not only the moderate changes, but also the more hackish commits). Long time ignoring many of his changes and now asking him to provide clean patches for MaNGOS master is for a non-participant a bit supercilious.

    Obviously he is not as good in English as some others around, still he is commenting at this English speaking forum. From my point of view this shows he is caring about MaNGOS and I see his comments as “ask me or read my commits, no need to reinvent the wheel”. Although I understand, that his postings (maybe by the translation) sometimes seem rude.

    From my opinion MaNGOS has to decide where to go and how to handle what forks did. Until then you have to accept if someone tells you that you reinvent the wheel. This also requires to decide as soon as possible.

    Regards

    Skirnir

  9. The reason why your stuck is, mysql_info and all the other mysql_* files are GNU/Linux bash files. If you look at the first line of each file it contains: "#!/bin/bash". This tells your *nix system to run this file with /bin/bash. As windows user you have to check if you somehow can run bash files or have to import each file hand by hand (alternative: write yourself a batch file to import all sql files).

    Regards

    Skirnir

    [Edit] At github you'll find a link to X-Saviors Full Database [1]. Maybe you are lucky and it's only one file :)

    [1] http://tbc-db.svn.sourceforge.net/viewvc/tbc-db/1.1.0/Full_DB/

  10. I'd like to keep Xp on the mangos dedicated one, since i know Xp 'pretty well'

    That is why. I'm a GNU/Linux User myself, but over the years I got to the conclusion, that "Linux" just isn't something you can convince people to use. Lot's of people I know use their computer just for browsing the web, typing some letters and doing some table calculation stuff. All these could be done on a very small GNU/Linux installation, but if the welcome screen after the boot process does not say 'Windows xyz' and if the Office tools are not 'MS Office' people do not switch.

    Once you "convinced" them at least try to it, they will bomb you with questions how to change hundred dozens of thing you can not even image someone would like to change/modify and you will often hear the sentence "on Windows xzy it always worked that way". My observation is if people want to switch to GNU/Linux they have to start on their own. You can guide them, but making them is only possible if you bought the PC.

    Regards

    Skirnir

  11. Hello,

    yesterday I got some massive falldamage ~9k after dismounting from a flying mount in "The Storm Peaks", ca. a meter above the ground. That happend a few times (noticed it after dying :P), anything mmaps related? I don't run any other patches and couldn't find any other topics in Bug Reports forums section.

    Revision 11786

    YTDB 606

    ACID 3.0.8

    ScriptDev2 2271

    MMAPS just missing "+ Use partial path while under effect of Confused/FleeingMovementGenerator."

    Regards

    Skirnir

  12. users should be getting their data from the source repo (TBC-DB Repo).... why would they get the data from some secondary source repo?

    Beats me as well, but it is obviously one of the new MaNGOS features, one repo with all stuff (to avoid confusion) … nvm I am not using zero or one anyways :)

    Regards

    Skirnir

  13. No, the Luda was right about fixing these errors, he just told you a way how you could fix them on your own. And Schmoozerd told you that UDB will fix them - for you - in their next updatepack.

    There will be an announcement thread at udb.no-ip.org and unless your watching Fox News, it will be on the evening news, … a just kidding about the last part.

    Could you specifiy "sometimes" a bit? Once there was a guy asking why the server shuts down when he shuts down his computer, just saying sometimes is nothing anyone can get you a precise answer. Just for the record, the shown database errors are not the reason for a server shutdown.

    Regards

    Skirnir

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