Jump to content

Xenithar

getMaNGOS Staff
  • Posts

    1395
  • Joined

  • Last visited

  • Days Won

    3
  • Donations

    0.00 GBP 

Posts posted by Xenithar

  1. Actually on zero, the config files go into "server-root/etc". I am fairly confident that his issue lies within the built-in iptables firewall that ships with Ubuntu. I use Debian, which comes with iptables, but nothing configured by default, so it is wide-open. I then use FWBuilder to setup my firewalls. I even have one on my zero server box, which only allows incoming connections on eth0 on ports 3724, 8085, and of course, SSH since this is a server and has no input devices or monitor! I imagine once he flushes his chains clean and sets the default policies to accept, he will be fine. The problem is, he has to do it at each reboot, and it leaves him without a firewall.

    Oh, and I think his configuration is fine. His pasted boot-sequence from above shows everything is in pretty good shape. Besides, he can add accounts from the server terminal, so it is running. He just can't connect.

  2. I did it your way. I once again delete the entire directory-tree, recreated, initialized, and went down your list. I was sure (I checked prior to switching to working) I was on master. I then switched to working, merged mmaps with no problems, configured, built, and got the database issue. If you merged them the same way as in your guide, it will expect the old version. However, if you compile the mmaps by itself it expects an even older version (14xx I believe). So it boils down to this for me.

    • MoveMaps by itself wants 14xx
    • MMaps merged into master expects 17xx
    • Zero by itself uses 1809, which my server and characters live on

    I may try yours, but before I waste another hour, is it possible for us to check whatever source file contains the database version to see which version it expects? This may save me another hour if it wants that 17xx version. I don't know which file has that info though, do you?

    *EDIT*

    By the way, don't I have to add something for scriptdevzero? I used to get an sd0 configuration file upon installation. I don't get one now. Am I missing something?

    *UPDATE*

    Yes, we need sd0. I added remote as follows:

    git remote add -f -t master sd0 git://github.com/mangos-zero/scriptdev0.git
    

    I will do the obligatory "git branch sd0 --track sd0/master" once it finishes the initial download. I assume that then I must switch to working, merge mmaps, then merge sd0?

    *UPDATE*

    Done!

    <hidden>@WoW01:~/wow-src$ git remote add -f -t master sd0 git://github.com/mangos-zero/scriptdev0.git
    Updating sd0
    warning: no common commits
    remote: Counting objects: 35567, done.
    remote: Compressing objects: 100% (6137/6137), done.
    remote: Total 35567 (delta 27805), reused 35518 (delta 27764)
    Receiving objects: 100% (35567/35567), 7.87 MiB | 46 KiB/s, done.
    Resolving deltas: 100% (27805/27805), done.
    From git://github.com/mangos-zero/scriptdev0
    * [new branch]      master     -> sd0/master
    <hidden>@WoW01:~/wow-src$ git branch sd0 --track sd0/master
    Branch sd0 set up to track remote branch master from sd0.
    <hidden>@WoW01:~/wow-src$ git branch
    * master
     mmaps
     sd0
     working
    <hidden>@WoW01:~/wow-src$
    

    Should be good now. Will try a build soon. I did download your zip however, and may try it if I get aggravated enough to give up. I am a VERY persistent, gun-toting, mad-man! Wait, I mean programmer, yeah, programmer...

    *UPDATE*

    Alright, I changed from master to working and tried to merge sd0. Got four conflicts. Two I can ignore (LICENSE.mdown and README.mdown), but the other two are .gitignore and CMakeLists.txt. These are not C/C++, so I haven't a clue how to fix them. What should I do?

  3. Alright, I'm about worn out with all of this building and rebuilding, no errors but nothing works mess. How can I integrate mmaps without reverting to old code? Also, couldn't I setup the working branch to track origin/master instead of adding another remote entry?

  4. Problem. It all went smoothly, even building. However, I get the following when I start the server.

     [A] You have: --> `z1809_xxxxx_01_mangos_spell_affect_event.sql`
    
     [b] You need: --> `z1765_xxxxx_01_mangos_spell_affect.sql`
    

    Somehow mmaps is degrading something in zero so I am unable to use my database. I don't want to downgrade. Is there a way to just tell the server to use the latest version? I fail to see how the movement maps should care about my database version. I assumed the data I spent a day generating was all the mmaps stuff needed. So why is it requiring outdated stuff and how can I fix it?

  5. I already redid the steps in your guide and this time the merge with mmaps spewed a bunch of info. No errors though. It is already building with mmaps support. Glad I burned the vmaps, dbc, maps, and mmaps to CD last week! Should just plop them into my data directory and enable them in the config and cross my fingers. I will update this post once the build completes and I can test everything.

  6. I started from scratch, new directory and all. It is building right now. I was in master when I created working. May try it again for good measure.

    *UPDATE*

    I stopped the build process, performed a clean, moved to the root of my home directory, and deleted ~/wow-src. I then recreated it, moved into it, ran git init, and am currently adding the remotes. Will update once I get back to the end of the guide again.

  7. Ah! That would be one of my problems. I found a thread on these forums started by yourself pointing me to your branch, and I assumed it was the latest and greatest. I just realized also that I could not pull from the branch that UncleNuke gave me (mangos-server/server.git) because it is the wrong one. The one you linked is downloading as we speak. Oh and I am using his advice and following the guide he posted above right now.

    By the way, it's nice to see that the devs actually respond to posts here. I have given up on other projects (not WoW-related) due to the lack of developer support. Thanks for your efforts and your help!

    *UPDATE*

    followed the guide to the end and all is good. I created the working branch and did the checkout, then when I merged the others, I got this:

    <hidden>@WoW01:~/wow-src$ git branch working
    <hidden>@WoW01:~/wow-src$ git checkout working
    M       dep/libmpq/win/VC100/libmpq.vcxproj
    M       dep/libmpq/win/VC90/libmpq.vcproj
    M       dep/libmpq/win/libmpq_VC100.sln
    M       dep/libmpq/win/libmpq_VC90.sln
    M       dep/tbb/build/vs100project/makefile.sln
    M       dep/tbb/build/vs100project/tbb.vcxproj
    M       dep/tbb/build/vs100project/tbbmalloc.vcxproj
    M       dep/tbb/build/vs100project/tbbmalloc_proxy.vcxproj
    M       dep/tbb/build/vsproject/makefile.sln
    M       dep/tbb/build/vsproject/tbb.vcproj
    M       dep/tbb/build/vsproject/tbbmalloc.vcproj
    M       dep/tbb/build/vsproject/tbbmalloc_proxy.vcproj
    Switched to branch 'working'
    <hidden>@WoW01:~/wow-src$ git merge master
    Already up-to-date.
    <hidden>@WoW01:~/wow-src$ git merge mmaps
    Already up-to-date.
    

    So nothing was merged? Trying to figure this out. If this is good, then I am ready to build.

    Don't know why the code block is ignoring my carriage returns...

  8. My way did not work. It still complains about the maps files, so I don't think that my merge worked correctly. It's OK though. I just deleted everything in home directory except the system files (.bash_profile, .bash_history, etc) and the zip archives of scriptdevzero and the database. I will start fresh now and try not to go murder the git team. Will post back in a bit with the results. Thanks for the help!

    *EDIT*

    Wait, is the mmaps you listed the one for zero or the one for newer releases? I can't even pull from it. Fails to resolve. I have this for mmaps_zero:

    https://github.com/faramir118/mangos/tree/mmaps_zero

    git://github.com/faramir118/mangos.git

    Is one of those correct? I am assuming the https one is what I need.

  9. Alright, been fighting with this all morning. I think I did it right finally, but have no clue and was looking for advice. My steps follow.

    • Created ~/src
    • Went into ~/src and did "git init"
    • Cloned the zero repo, which fell into ~/src/server
    • Cloned the mmaps zero repo, which fell into ~/src/mangos
    • Performed "git add ./server" followed by "git commit -m "Initial server commit""
    • Added the mmaps branch with "git branch mangos"
    • Switched to the new branch with "git checkout mangos"
    • Added the mmaps with "git add ./mangos" followed by "git commit -m "Initial mmaps commit""
    • Switched back to master with "git checkout master"
    • Did "git merge mangos"

    All I got from the merge is listed below. Why is this so hard? SVN smokes this crap!

    Updating d23f08f..0274b48
    Fast-forward
    mangos |    1 +
    1 files changed, 1 insertions(+), 0 deletions(-)
    create mode 160000 mangos
    

    *UPDATE*

    I think I figured it out. I didn't realize git was so stupid that when you added a directory, it didn't include the files inside of it. I made a backup (via cp -R) of the ~/src directory after cloning the two repos into it before I started. I deleted the ~/src directory, then restored my backup and did the following.

    • git add ./server/.
    • git commit -m "Inital server commit"
    • git branch mmaps
    • git checkout mmaps
    • git add ./mangos/.
    • git commit -m "Initial mmaps commit"
    • git branch master
    • git merge mmaps

    After that, I got a ton of output. So much in fact, that PuTTY wouldn't let me scroll up to the start of it. I checked for errors using "git merge next", but there were none, so I am assuming I did this correctly. I am about to attempt a build and will post the results in a bit.

  10. Yes mine works, but I am now trying to add mmaps support and thanks to git, it has had me down for quite a while, but I digress.

    WINE can work, but with almost every commercial title I own, it is a pain to make work. Even older titles sometimes don't cooperate. It's not a good setup that is my issue, it is WINE not liking a majority of titles without mods here and there. I can't remember which one I tried last, but I had to install a package like "mdns" or something to get networking up. This was my thought when you told me you were running the client from within WINE. Still, if you can simply edit your realmlist.wtf file and connect to another server, my thoughts go back to one of two things. One, a firewall, and two, a problem with WINE connecting to localhost.

    Also, did you use winetricks to install the Visual Studio 2005 SP1 runtime? I know that is required after version 3.3.0 of the client, but not sure about earlier versions. Have you run 'ipconfig' in the WINE command shell? Perhaps WINE is configured with an address on a different subnet or something, which could explain being able to connect to external servers but not one on your own network.

    *UPDATE*

    If you are using Ubuntu, I believe there is a firewall enabled by default. You can check by doing "iptables -S" as root. If a firewall exists, a bunch of rules will show up. If not, it will have three default chains, all set to "ACCEPT". If you do have a firewall and want to remove the rules, issue "iptables -F" as root. Note that once you reboot, you will have your firewall back, so you may want to add rules to accept connections from localhost on the WoW ports.

  11. Are you trying to play on the machine your server is running on? If so, then 127.0.0.1 is fine. If your server is on one machine and you are playing on another machine, you need to use the IP address of the machine hosting the server. As far as WINE goes, I know there is some extra crap to do to make networking work. WINE is far too immature for my gaming needs right now due to things like that, which is why I game on Windows and do everything else in Debian. I would try to verify that WINE is working properly as far as networking goes before you suspect your server as the culprit.

  12. Seems odd that it would idle using that much CPU with nobody in the world playing. Is there an iptables firewall on your Linux box?

    Wait, did you edit the IP address of the realm in your realm database to the IP of the Linux box? If the realm server tells your client computer to connect to "127.0.0.1" then your computer is trying to connect to itself, not the server! Check that.

  13. I know how to use git, it just sucks. Just google for "git sucks" and you will begin to understand the level of frustration most developers have with it. I am not bashing any team for using it, but I am with the majority in believing that it was written by the few coding gods out there, for the few coding gods out there. I even saw a few posts stating that it was for use by Linus only (joking posts, mocking the difficulty and learning curve). I just despise it and avoid it at all cost.

    As for the merging, I think that I am screwed and may just quit and go back to NWN2. I code for a living along with managing AD domains and networks, and I just want to play and relax at home. So far it has been a real pain and I am still on #1 on my bug list, getting rockbiter to behave like rockbiter. Now I am forced to either spend six weeks fighting git to merge two projects just to make NPCs behave correctly or I have to spend six weeks coding the changes manually. Just aggravated with it right now is all. If this was Subversion (or any other standard tool), I'd be on my way. Instead I am sitting here playing Oblivion, waiting for my GTX590 to arrive for Skyrim, and trying to forget about git and the trouble I am having here!

    *EDIT*

    I made up my mind to try the merge thing, but nobody has any info on how to do this. Hell I don't have either one locally to begin with, so that may be a start, but how the heck do I do this? Why the heck is Subversion so dang easy and this is such crap?

    *EDIT*

    Extremely pissed now. I have spent hours trying to get git to do ANYTHING useful. I create a directory, go into it, do "git init". I then do "git clone <zero git address>". Wait for it to finish. Then I do "git clone <mmaps git address>". Wait for it to finish. I have no branches, I cannot commit, and the one time I did get the stupid thing working, git decided to delete my mmaps branch directory! It should not be this difficult to download some stupid code and merge it! I am ready to kill whomever invented this retarded tool!

    Now that I got that out, what the heck do I do? I cannot get git to just merge what I downloaded. I can easily grab stuff with git, but I get all kinds of errors beyond that.

  14. The problem is that it doesn't come with VS2005 solutions. I know whole corporations who refuse to go to VS2008 and VS2010 due to problems. I personally feel that way, so compiling isn't just a click and go process for many of us. This is especially true for the hordes of gamers who, like myself, continue to use XP/XP x64 for insane levels of performance over Vista/7, where 2008 and 2010 target Vista and 7. Not only that, bust VS2005 is the last IDE by MS to actually compile code that will run on NT4, 2000, and 98, if that matters any more.

    If the project included the 2005 solutions, this would be fine by me. It took me a full day to compile this stuff though, due to editing and duplicating projects and solutions. Granted, if we were running only Linux, this would be a moot point!

  15. I don't use git and dislike it with a passion. I also don't have it on any of my real servers, making that nearly impossible. I have the current zero release in zip format as well as the mmaps release in zip format. Is there some way to merge them without git?

  16. I initially just placed the maps onto the server. Then I compiled the server sources in with the mmaps stuff, but now it won't start because I have database version 18xx and it wants 14xx. Is there a patch version of this somewhere? I am not going back to an earlier revision of the database. I want to run the current zero stuff with this mod. Is it possible?

  17. It may be a limitation due to the type of variable used. If the variable used is a signed short, the value ranges from -32768 to 32767. However, if it is a signed int you have around 2.1 billion as the max value and if it is an unsigned int, you can double that. I am not sure myself, but in D2 it was a signed short if I remember, making hacking useless above the 32k mark!

  18. It's not birthing pains, my girl and I both have official accounts. Well, until Cataclysm came out and ruined the original world. She knew she had to feed those pets but for some reason didn't. Hope she doesn't get that way with our live cats o_O! As far as bugs, I have found very few "bugs", but a lot of minor things like the bouncing mobs that just take you back out of the immersion into the game world. So far my only genuine bug is that rockbiter procs flametongue damage instead of boosting AP. I am still trying to figure out what to do here. Other than that, I feel that MaNGOS is very well done. In fact my plans are to run 1.12.1 on my dual Athlon MP server and then add a second server at the current version of MaNGOS so I can go as far as Lich King on my dual quad-core Xeon system later. This way I can always play a true Blizzard shaman on the old version and if I want to go farther I can play as far as LK without worrying about the Cataclysm crap, such as the new talent system catered to infants and those still in the womb!

    I may take a look at the code when I get caught up in my personal and professional projects and try to contribute then, but right now I just want to enjoy the original game.

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