Jump to content

xrystal

Members
  • Content Count

    29
  • Joined

  • Last visited

  • Days Won

    3

xrystal last won the day on May 11

xrystal had the most liked content!

Community Reputation

29 Fine

2 Followers

About xrystal

  • Rank
    Master of Antimony

Previous Fields

  • Favorite pizza topping
    42
  • Why do you want to join DarkMatters?
    Technical Discussions
  • Country
    Germany

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Most of them should be back now, I'll check in detail this evening. I had to restart most of the servers on thursday and some did not came up again which I unfortunatly did not notice.
  2. That option is still work in progess, to be more precise ;) But thanks for the idea, I think the server startup itself is pretty fast, so that might be an interesting idea to consider/test, too. For those suicidal (or invincible?) of you, cm patched servers now have additional variants running in HC mode (free/campagin), plus one of each difficulty in free HC mode for vanilla. For now, these 15 servers more in total should be fine in terms of ressources. That's nice, thanks Also, great mobile gets some love, almost every of my characters these days is planned and constructed by searching that wiki...
  3. Fyi, if you encounter a bug or have feature requests of any kind, you can of course post them here, but also in case you are used to github, you could as well put those directly in it's related issue section. I track every known bug or possible improvements in the usual feature branch workflow manner there. Not only, to keep it transparent and easy to get into it or to get a quick overview of "construction sites" in case somebody is interested in joing the codeing, but even more as a reliable reminder to myself about what I actually wanted to do every now and then*... As you can see there are a few things I still want to change and most of them are related to server side infrastructure, I.e. easier deploy and better monitoring of server health and status. Quality-of-life stuff for hosting in general. For the client side, the currently rather static server list (docker .env file) is sometimes not optimal. Because for example, due to most players playing with new characters, at some peek times at weekends the bronze or silver campagin servers were either full or not usable for everyone because the single server beeing active for a selected difficulty was not of their alignment (for example having a shadow char but everyone else plays light and thus "blocks" the campaign server for shadow players). Accordingly, the thing I am working on right now is a small daemon which will start additional instances of server configurations on demand saving me from having to keep more servers open than actually needed by default, but still being able to have more room whenever needed. Since this is technically optional and I dont want to pollute the lobby code more than neccassary with my additional requirements, that daemon will run in a separate process. As a nice side effect, because I need a communication layer between those two and feel like a separete database will fullfill that purpose better than a direct api, it will most likely be possible to use that additional database to provide an external list of servers on some web page as well with the same list of servers as ingame but viewable in your browser. *btw. now working on it again, I finally did the small change from the text config file to a xml file - just to notice that the .config files for .NET applications really lack flexibillity and even if they are an improvement I still don't really like them, but well, better than before at least...
  4. So, full 'story': Almost half a year ago now, as soon as this all started to look like 'it might just work...' (when cocomed posted his source code and Negative One his bugfixes), I made an initial offer on a domain trading platform to the owner of the original sacred2 lobby. I am used to simply buy any cheap, random domain which fits my purpose and is registered fast if I happen to need one. The occassion never occured to me that I felt compelled to go after a very specfic one already belonging to someone else. And well, nothing much of relevance happened for quite a while. But somehow, a few weeks ago, I got an email alert stating that my offer had been accepted. And today (or yesterday, appearently me typing this took too long :)), after going through a mindshattering slow process of waiting, reading, waiting, writing and constantly hoping for an answer or event to happen and please not abort the whole transfer to my registrar it is finally completed successfully. Yes! Why is this wonderful? Having control of the sacred2.net domain which is embedded by default into the games config files allows me to make a lobby instance way more accessible to the average player who does not know about the forums, obscure titled threads like this one or did not even want to mess with configfiles of his brand new game. But nethertheless 'out of the box' a clean sacred2 installation running without any modifications will be provided now with the emulated lobby the technically same way like with the original one back then. No one will be spared I know none of this is about lobby coding itself (after all, I am still in debt of at least some small promised & postponed improvements to the lobby ;)), but yet I think in the meanwhile getting some more players to actually know about this and giving those who just want to play together a nice playground will have it's purpose, too. It would be kind of a waste to just tinker on this in some dark forums corner with only a few enthusiasts experimenting with it while it could be already out there doing it's job good enough for most ;) For those who are already using my s2cm domain, nothing changes, because sacred2.net redirects now to the same servers. Whoever has a mod installed, which is the only minor nuisance remaining, might still need that additional file for the OpenNet button. But that is the only client side hassle remaining at all now and I guess if the modders see this working reliable enough they might be willing to enable the multiplayer buttons in their next releases by default again if asked kindly. The opening post has been updated, title and thread tags, too, to make it a bit more appealing to actual players and easier to find for them. After all, since you have already been so nice to pin this, it might catch a few eyes more that way. Seems like this also has reset thread following, whoops. As far as I have been able to gather the list of subdomains, eu.sacred2.net:6800 es.sacred2.net:6810 ru.sacred2.net:6820 ee.sacred2.net:6850 us.sacred2.net:6900 should be all combinations of ports and domain this needs to cover to work for everyone. Please write me if some country specific url is missing. I will try to do a few minor improvements, especially to documentation soon, but aside from that, I will probably just play for a while and will meet you all on the servers, I suppose... ;)
  5. Hey, just a little update on a short notice as I just got the email notificiation I have been waiting for a very long time: Of course after all this time it had to happen of all things on a monday morning! But this evening when I am back from work I should be able to finally get it ready and update quite a bit of outdated information. After that domain is configured then, no one will need to change a URL in his config files anymore, it will just work because that domain I finally got registered is the original offical lobby address, which will very soon point to the emulated one. It is all coming back together, horray!
  6. Hi azukaar, I have just looked into it and can confirm there was a server-side issue with joining. I didn't notice it as it caused no entry in the log files. Sorry for the inconvenience, if you don't mind, please try again to join a gamserver and report back if it works now as expected. For the self hosted server, maybe that was related to the same issue as well, if you are sure about the port redirection beeing fine. Usually, this error arises if the server cannot be reached from the client which tries to connect to it.
  7. Yeah sure, even through I am not entirely confident I will be able to actually help you with that undertaking in detail as I am not that deep into the reverse engineered code and I don't think ClosedNet will be an easy task. Actually, I am already amazed OpenNet works this good. Otherwise, a few months earlier even that seemed impossible, so... ;) Anyway, for everything I can give support for, just write me a private message with the name of the messenger you prefer and your contact data, I will just install & setup that one (because currently I just use things like Steam/TS3 for communication as none of my friends has used IRC and alike messenging for years rendering it kind of pointless for me even through I really liked those things... :P). Since I have tinkered the whole night with my server (luckily I have holidays right now :)), I will probably sleep over the day and be back online sometime in the evening, maybe ~10 hours from the time of this post or something like that. Btw., the Lobby URL has been updated from hex41.de to (this is an image because the forum messes around with this specific address) as I finally put most things together on the new server which did nothing but idle for the last three months - good to have been reminded of the things which had to be done ;). The old domain is currently still working, because I will continue to use it for testing and have not restricted the access, but it will probably not be usable anymore someday in the future, so use the new one instead from now on, please. That one will stay online.
  8. Hey @firelite91, you are not the first one to notice my rather lacking documentation, sorry for that I will try to make a few tutorials with videos + structured text and in general try to finish the things still on my todo-list, but for now, a few images should hopefully help you as well as they are the fastest way for me to provide you with an answer to host a server with my currently running lobby: I just tried it myself with a second server connecting to the lobby server and with an external gameserver host it works, with following configuration for example: First, firewall, in my case ufw but it should not be difficult to express that directly via iptables: 7100/udp ALLOW Anywhere # Gameservers Port For multiple servers, just open port ranges accordingly, for the the one example server I have chosen 7100 randomly. Then, the folder structure: The docker files (these are not from the repo but just a copy of the currently running config with my local adjustments, but they should not differ in terms of networking stuff ): Configure your instance(s); SERVER_IP/SERVER_URL are the address of your ovh server. LOBBY_NAME/LOBBY_PASSWORD are from your created account. The LOBBY_IP is currently hex41.de (will change in the future) or your locally hosted instance if you have a complete lobby running yourself. Remember to set GS1_TYPE to the folder name of your sacred 2 gameserver files in case you are using another mod. Running it: Probably important: Since docker uses the kernel of its host and wine is rather fragile, I should mention that in my case the kernel of debian 9 (4.9.0-8-amd64) for example worked, while under debian 10 (4.19.0-6-amd64) wine would not be able to succesfully startup a server, so you might need to check out a different kernel depending on your situation. I have an additional VPS at OVH aswell, so if you have specific questions regarding that host, just ask and I might be able to test there. (and generally speaking, yes, this is not dead, time just passes by way too fast... ;))
  9. Nice, I put it into the repo and will apply it to the test server later on. Also, thanks again for your help with my ip configuration mess ;)
  10. Hello @NegativeOne, after all this distracting Christmas and new-year stuff I have finally merged your changes... In the development branch they are now usable with the Mysql setup, too. However, since I see that Mysql might just be an additional hassle for most users - especially for those who just want to host a lobby directly under windows right out of the box -, I will make a patch soon which will render Mysql an configurable option but keep Sqlite as default database driver. So you don't need to setup Mysql but can keep working on your base or the branch I put your changes into . I will put everything together in case anything diverges afterwards and also try to make the configuration files a bit nicer to use. Those lobby changes will be applied to the testing server probably later today. I am currently setting up the new server which will replace the testing server in the long run and should have a few more mods supported. Edit: The changes are now on the lobby server and I have some issues with the lobby chat which sometimes is not connecting (still have to figure out depending on which condition the connections works or does not work). Since it locally seems fine, I assume the issues are solely related to networking in my hosting instance or might be related to my Mysql-merge, not your original diff. Also I noticed yesterday I totally oversaw you already wrote about the SqLite/MySql topic. I was too focused on your list of changes apparently, forgive me my ignorance. But good to read we think the same about that . Anyway that improved lobby looks already very nice, thank you.
  11. Hello Kadolek, "can't select" as in the OpenNet Button is greyed out and unclickable or as in the complete button does not exist? If it is the later one and you are sure your game is unmodded I.e. not community patched which would require the file from step 4, I would try to validate the game files via steam to restore from potential file changes as it really should be there in the default installation. If it is just grayed out, the button should be clickable if you enter your credentials. In a vanilla installation with the additional file "OptionsCustom.txt", it should look like this for you. If that still does not work, please be patient until we have a better setup guide ready or if you find something which differs on your screens from mines post again and we might figure it out ;)
  12. Are you sure these are actually old? From the date I saw for example in the packet data of "net_dump - 3.txt" I guessed he had created them with his lobby code in progress just recently, not back in the days and thus we should be able to create the same kind of packets with our lobby instances. The client actions on game servers should at least produce unhandled packages logged by the debugging compilation of the lobby. I am not sure, If it would help you, but after Silvester I could try to install tcpdump (I just have to see if I can kind of pre-filter it because I don't want private stuff in there or have to wait a few days more for the new server which would be cleanly separated) to the test server and make it accessible as a wire shark packet capturing source to you, too for remote debugging together with the log of unhandled packages. That way there would at least be some additional package data from a few players and different servers a day to the testing input we do ourselves on purpose on our local development environments.
  13. Honestly, it is a joy seeing you work, you're making visible progress so fast even with these difficult things and thanks to you the usability of the lobby has already improved a lot in a short time (and judging by that screenshot, it will improve even further). I suspect it will take me about a week more until I will finally able to contribute something useful on the code part again, too, but at least in the meanwhile I am making a bit progress on the infrastructure stuff: In probably a few days I will have access to my new slightly more powerful server which - other than the current testing one - will be dedicated to the purpose of sacred 2 only now that I can roughly estimate performance usage and am sure this all will turn out nice and is worth the investment. Hosting the lobby and 20 servers (vanilla + cm) currently boils down to roughly 33% of cpu usage on an i7-6700k. On the new System, I should be able to host most of the Mods listed by Flix additionally, depending on how much performance I want to reserve for load caused by user hosted servers to the lobby and depending on the capability of the lobby to handle that many servers (if I remember right, back in the days there never have been so many servers registered to just one lobby). From my observations, players on a server don't increase cpu usage much compared to their idle state (also, there will never be that many players as there are slots on servers), so you don't have to arrange for many resources in spare (I will try to target around 80% of load on my server without players and see how that works out). Only one thing that really bothers me: For a few weeks now, I have tried to purchase the old lobby domain (because that of course would make setup even easier for the clients, because they would not have to do anything), but until now, the seller never responded despite me offering to pay his desired price. Probably inactive on that domain selling platform. I hope that will change someday, but for now it seems like we will have to stay entering our own domains as lobby ip.
  14. @NegativeOne: Yes sure, your diffs are good to work with, thank you, I'll just keep merging them into the repo to have it all together. And imho that behavior of your patch is already very nice - even if the player is kicked out of the lobby after a wrong password attempt, because of the symbol and question for the password before he knows why he was kicked and thus should not be confused anymore. @Flix: Thanks for the overview. In case Fallen Angel is actually still used without all the patches, I'll have to see if I can find & install my old retail disk version to get game servers up for that one, too. However, as all the other mods you mentioned seem to be based on Sacred 2 Gold version, I would suggest to split the Fallen Angel Lobby to another lobby address & list from the Gold Edition list hinting in both the setup instructions and the lobby welcome message of FA that there is a newer version with patches out as probably most players will be found there.
  15. That's looks very promising, thank you - I will try that out in a few hours and merge it afterwards. Also in case you have been wondering and send me the diff because of that: the development branch is locked for direct commits because I know and like that workflow from work, but if you want to push something every user can create pull requests from a feature branch to development in that repository. The only restriction is that every pull request has as least to be approved by one other person (doesn't matter which one) before it is possible to merge it into development. Edit: Yes, works fine. I have merged the diff and updated the test servers with that bugfix of yours. Ah, and aside from that: merry christmas! ;)
×
×
  • Create New...