Jump to content

Skirnir

Members
  • Posts

    220
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Skirnir

  1. @cyanidel337: You should have a look at the files cmakelist.txt, world.cpp and game.vcxproj.filters. in cmakelist.txt folders are added and you have to make sure you load both ahbot and playerbot, just merge the conflicting lines. In world.cpp you have to merge them as well. You have to initialize playerbot and ahbot loading (it should be enough to remove the lines starting with <<<<, ==== and >>>>). For the VS2010 file, I have no clue, I don't use VS. And these errors aren't stupid Think of it this way, you invite some friends to your party and say I live in the BLUE house with the BROWN roof between the two RED houses in MYSTREET. Late at night they are on their way to your party, they are in MYSTREET and see two RED houses, but there is a BLUE house with a BLACK roof (you changed the color of your roof because you were sick of these brown roof tiles). Now they phone you "we are at MYSTREET, but there is no BLUE house with a BROWN roof, there is a BLUE house with a BLACK roof between these two RED houses. Where exactly do you live?" You have two patch files for a clean core, but both apply to the same files. Make sure you change the second patch, or manually fix these merge errors and you should be good to go Regards Skirnir
  2. Well it's possible to use YTDB without being registered at their forum. As non russian speaking guy there is a English speaking section where you can report bugs (super fast fixing if possible) etc., other than that it's testing how well google translate works. As side note, which database you choose is part of a ideological decision. UDB follows MaNGOS more conservative FreeBSD like development way. If something can be done perfect it gets in, else not. YTDB follows a more liberal Linux way, if something can be implemented via a (ugly) workaround and maybe fixed later it gets in. Once I read YTDB is for good making quests and UDB is perfect for PVP. Guess that sums it pretty well and I'm using YTDB for making quests and having a fun time, weeks before the correct spell gets implemented into MaNGOS core. Anyways, both great projects To choose a over b is like to choose beer or wine. You have to try both before you know what suites you best. Regards Skirnir PS: The somewhat sad thing is that there seems to be no exchange between database devs. Maybe because of speech barriers, but as observer I might be wrong. PPS: Haven't tried UDB for quite some time, so things might as well have changed.
  3. I was thinking about the idea of a mangos foundation and lately (mainly since I wont ever use paypal and therefore can't donate money). For Germany it currently doesn't look like it's anyhow realistic. A month ago I didn't feel like this, but if you read current Sony PS3 news, about a guy hacking the console and his problems with our beloved legal system, that is somewhat shocking. First Sony got this "GeoHot" guy stateside. Felt like the hero of the internet and now faces the Digital Millennium Copyright Act and "old Europe" was like "lol USA, can't happen to us". Last week a guy in Germany "Graf Chokolo" had some unpleasant police visit. They executed a search warrant and took at least his computer and PS3. He's facing a penalty of 1 million dollars and his crime is/was trying to restore/improve the "Other OS" function at PS3. This would allow you to run a Linux at your console, for watching youtube, or mkv-files etc. In case he would be able to completely restore this function (or makes it available to PS3 slim users) this would cost Sony ~nothing. During his research he has to get past the Sony built in security system, since the failoverflow guys and GeoHot have opened this box of Pandora Sony reacts like a elephant on ecstasy. So far no trouble for MaNGOS foundation, but if a German court (well Hamburg is known for their industry friendly judgments) agrees to make a house search (you can say about our legal system a bunch of stuff, but the security of our personal house is sacred) for this and accepts this penalty, I highly doubt they and Blizzs lawyers would turn a def eye to a MaNGOS foundation in Germany. I still have a bit hope left, that the judge finally declines the complain, but since they house searched this guy, it does not look that good. Regards Skirnir PS: I'm no expert for German law nor do I know what has been done already to fulfill our goal towards a MaNGOS foundation, it's just what I feel like reading news lately.
  4. Skirnir

    MMaps Redux

    Well I removed them, that's why it works like a charm, but imho they are supposed to compile. Anyways thanks for your reply. Regards Skirnir
  5. Skirnir

    MMaps Redux

    In file included from /home/skirnir/source/mangos/src/game/ChargeMovementGenerator.cpp:2: /home/skirnir/source/mangos/src/game/ChargeMovementGenerator.h: In member function 'MovementGeneratorType ChargeMovementGeneratorMedium<T, U>::GetMovementGeneratorType() const': /home/skirnir/source/mangos/src/game/ChargeMovementGenerator.h:25: error: 'CHARGE_MOTION_TYPE' was not declared in this scope compilation terminated due to -Wfatal-errors. make[2]: *** [src/game/CMakeFiles/game.dir/ChargeMovementGenerator.cpp.o] Error 1 make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2 ChargeMovementGenerator does not build on Debian 6.0 and I couldn't fix it Otherwise it still works like a charm +1 for "under review"! Regards Skirnir
  6. That's client build 12340, fetch "ad" the map dbc extractor programm. Insert it to your game installation folder and run it. If that still doesn't work you should first start reading some more guides to gain some more knowledge. Regards Skirnir
  7. @Locario3: The name is Skirnir ... This is a client version independent installation guide. If you have a 3.3.5 client you should be able to follow this guide w/o any problem. Current database providers are linked @ www.getmangos.eu and guides how to install a database should be at their respective forums. Regards Skirnir
  8. @Locario3: All you need to know and probably more http://getmangos.eu/wiki/Compile_MaNGOS_On_Linux All glory to our Wiki! Regards Skirnir
  9. Well IF you really need to know who was the initial author of the patch (AND I have no doubt you do) Änderung: 3440:a499c80e78d9 Zweig: trunk Nutzer: megamage Datum: Thu May 21 10:00:44 2009 -0500 Zusammenfassung: *Load gobject display info from dbc to check go boundaries. Änderung: 3441:bc8c8144276b Zweig: trunk Nutzer: megamage Datum: Thu May 21 10:01:03 2009 -0500 Zusammenfassung: *Implement spell effect wmo damage. Commit on Bitbucket is here: [1] Hopefully I got the right one (you know C++ and me ... ), was the oldest rev hg blame referenced. Regards Skirnir PS: Afterwards the code was changed a few times by megamage and maybe someone else. If you have a question about a special code line, just ask. [1] https://bitbucket.org/KPsN/trinitycore/changeset/bc8c8144276b [Edit] how != who ...
  10. https://gist.github.com/833988 < adds ahbot to cmake. MaNGOS [11187] and cyberiums last push 90640f9a45a499f40015 mangos>ahbot status Name is set to AhBot Items loaded for Alliance=5000, Horde=5000, Neutral=4000. Total = 14000 On Archlinux w/ gcc (GCC) 4.5.2 20110127 (prerelease) Regards Skirnir PS: "AHBot> Boost value used to fill AH! (if this happens often adjust both ItemsPerCycle in mangosd.conf)" this should be changed to ahbot.conf
  11. Skirnir

    MMaps Redux

    https://gist.github.com/833897 Here are the basic cmake files to include detour in mangos core. Builds detour lib and links it while building src/game. Maybe someone could check them, it compiles and seems to work, but I'm a first time cmake user as well. Tested on my Arch x86_64 workstation w/ cmake version 2.8.4, gcc (GCC) 4.5.2 20110127 (prerelease), mysql Ver 14.14 Distrib 5.5.9 and ace 6.0 and my Ironforge guard was using mmaps Regards Skirnir
  12. 2011-02-13 17:07:12 Using DataDir ./ This comes from mangosd.conf. Check if your path is correct. I usually have my folders like: bin/ data/ etc/ lib/, that's why I have to change my path in mangosd.conf to: DataDir = "../data" (One folder above mangosd bin file and inside the folder data) Regards Skirnir
  13. From dep/tbb/build/Makefile.tbb #------------------------------------------------------------ # Define static pattern rules dealing with .cpp source files #------------------------------------------------------------ # MaNGOS changes # $(warning CONFIG: cfg=$(cfg) arch=$(arch) compiler=$(compiler) os=$(tbb_os) runtime=$(runtime)) # MaNGOS changes end It's a built in warning. Guess you can delete it, if not wanted. Regards Skirnir
  14. Compiled MaNGOS + SD2 with cmake version 2.8.2, gcc (Debian 4.4.5-8) 4.4.5 this cmake command cmake ../ -DPREFIX=/opt/mangos -DDEBUG=1 -DACE_USE_EXTERNAL=1 -DTBB_USE_EXTERNAL=1 and got a bunch of warnings, like this: /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'pVictim' /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'damage' /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'triggeredByAura' /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'procSpell' /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'procFlag' /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'procEx' /home/skirnir/source/mangos/src/game/Unit.h:1857: warning: unused parameter 'cooldown' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'pVictim' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'damage' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'triggeredByAura' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'procSpell' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'procFlag' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'procEx' /home/skirnir/source/mangos/src/game/Unit.h:1862: warning: unused parameter 'cooldown' Full build warnings here (2.7MB [make 2> make.log]): [1] Regards Skirnir [1] http://filebeam.com/7a9a06fca34530c98416044d72620eb4 PS: pasdVN you can't thank developers announcements, must be a FluxBB "feature"
  15. We all were once newbies, but some of us tried reading and others just tried questioning stuff that has been written dozens of times. You do it like this: mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 mangos < 10551_01_mangos_spell_proc_event.sql Every file has to be applied to the correct database. This file has to be applied to the mangos database. mysql --host=127.0.0.1 --user=mangos --password=mangos --port=3306 characters < 10568_01_characters_character_tutorial.sql This to the characters database. After applying every pending file you should not get startup errors. Regards Skirnir PS: I'm outta this thread, ur on ur own pal. G'luck!
  16. pls is please ;-) Either way you should do what Patman128 suggested. Read it. 1. You have: --> `10537_01_mangos_command.sql` 2. You need: --> `11117_01_mangos_world_template.sql` It isn't that complicated. Look inside your mangos sql/updates folder and apply all pending sql updatefiles in order of appearance. 10551_01_mangos_spell_proc_event.sql 10568_01_characters_character_tutorial.sql 10582_01_mangos_spell_proc_event.sql ... 11115_01_mangos_command.sql 11117_01_mangos_world_template.sql 11117_02_characters_world.sql By the way this ain't a problem of installing MaNGOS with one of the linux distributions of the title. Regards Skirnir
  17. Skirnir

    MMaps Redux

    I've done some testing, just me and a friend on an i7 server with 8GB ram. We were most of our time in Alliance capitals and different places in Northend. Server was using a bit more cpu and ram, but nothing extra ordinary, guess with only two there is nothing really interesting to tell. Just as question would it be possible to have NPCs using mmaps on their default movement? On ytdb there is a certain Ironforge guard moving right through the great forge, if it was using mmaps it should not move through lava and fly across the air. Other than that, these special places (like in bootybay) where movement is blocked by "strange" environment can be fix after adding the mmaps patch to the core. They are spotted by coincidence. Now again playing around with playerbot and ahbot. Regards Skirnir
  18. Hi blueboy, it helped :-) Compiled fine w/o any problem. Thanks Skirnir
  19. Sorry, one shouldn't watch superbowl live in europe and expect to write understandable postings the night after (at least not in CET). I was trying to compile Mangos with blueboy/portal master (the last branch you merged) and SD2. No other custom modification Now I tried flight branch and I have the same error: http://paste2.org/p/1235125 Date: Tue Feb 8 08:17:58 2011 +0100 Merge branch 'flight' of git://github.com/blueboy/portal into meister2 Now heading to work. Regards Skirnir
  20. Hi, tried compiling, but it didn't work: http://paste2.org/p/1234476. Latest MaNGOS 11116, gcc 4.4.5-8 on Debian 6.0. Could you please have a look? I tried to include GridNotifiers.h, but got even more errors and since I don't know what I'm doing ... :-) Thanks & Regards Skirnir
  21. Start searching here: http://code.google.com/p/trinitycore/source/detail?r=dabd3bb43a Obvious others followed. I don't follow this project just searched this revision for you, hoping something productive follows :-) Regards Skirnir
  22. You could ask here: [1] .server info MaNGOS/0.17.0 (* * Revision 11057 - 8129dd7588d4e3a16de0e816f0c347863fc06298) for Linux_x64 (little-endian) World-DB: YTDB_0.14.1_R581_MaNGOS_R11043_SD2_R1952_ACID_R307_RuDB_R38.6 No problem here, guess you somehow screwed up. Regards Skirnir [1] http://ytdb.ru/forumdisplay.php?f=17
  23. @Schmoozerd: I was using it in console with "./cleanIT h" or "./cleanIT cpp" this way only cpp or header files are used ofc default types are an improvement. ls isn't needed :-) Didn't thought about tabs to 4 blanks. @Lynx3d: don't know that much about sed. I tried using the same file name and it didn't work, that's why I used it my way. I'll see if I can improve it a bit. Regards Skirnir [EDIT] I came up with this one: #!/bin/bash cd mangos for i in `find $PWD -name "*.h" -or -name "*.cpp" | grep -Ev 'dep/'` do sed -i 's/\\t/ /g;s/[ \\t]*$//' $i cd .. done patch is here: [1] but hmm before applying someone has to manually recheck and clean many lines (or someone finds a clean way to do it via awk for instance), thus comments positioned with tabs are moving and afterwards it might look terrible. [1] http://paste2.org/p/1200977
  24. Patch: Fixes whitespaces Author: me Erase the remaining whitespaces in mangos source code excluded was "dep/". Nothing big :-) Link: https://gist.github.com/785127 Regards Skirnir PS: In case someone wants to know how I did it, I used "my" script: https://gist.github.com/722672 modified it to check every mangos file (tree -if, removed binary files, folders and removed dep/ as well).
  25. Skirnir

    MMaps Redux

    Transports ... just checked some (no problem spotted), is there any special complain, or anything to reproduce? Anyway, just pushed latest mmaps to my 2 player testserver (thank you university upload :-) (1.3GB in less than 5 minutes)) will report soon. Regards Skirnir PS: MaNGOS 10994 - ScriptDev2 - AHBot - YTDB R579 [Edit] The extracted patch file I used, w/o RecastDemo and w/o visual studio files and w/o 13xx whitespaces : http://paste2.org/p/1186017
×
×
  • 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