CRC missing during login?
I noticed in some recent packet captures between my machine and the Emu's login server that the CRC key isn't being set (0x11223344) on the OP_SessionResponse (the server's first packet back to the client) and that the subsequent packets from the client do not include a CRC. I looked at some notes from a year ago and those definitely had an extra 2 bytes for the CRC.
I haven't checked the behavior between the client and game server yet. Why was this change made? |
Resolved
Posting this because I hate threads that go dormant and unanswered, and I figured the 200+ views and 0 responses meant that nobody had the answer.
Short answer. The emu source doesn't exhibit this behavior and instead sets the CRC Key as expected. Logging in from the public login server to an emu server appears to set the CRCKey, so my concern that a change caused the CRCKey to get dropped entirely are not valid. Oh, and on an unrelated note. If any of you have MSDN subscriptions, make sure to use your monthly Azure credit. I set up my Emu dev and test environment on an Azure VM and it's fantastic. =) |
Hah, I never thought of hosting it on Azure. I missed my chance to be put into the draw for an Aston Martin though. They make them literally down the road from me so I see lots, but they are sooo nice :)
|
Quote:
Ok, so not really tough. Just a, "damnit. Why the hell can't I just put in a hyphen like I can in the Windows Firewall Rule wizard." You'd have to use a non-MSDN Azure instance to host a non-dev Emu to avoid violating the MSDN terms of use, but for dev and test it's ideal. |
I would have thought it would be cost prohibitive to host a live server that way. Can you PM me that PS script? I'm dead lazy hehe
|
Quote:
Does Azure hosting cost more than Akkadius's hosting business? Probably, but then again, I haven't checked the cost compared to the various Azure VM pricing models. Now, if you re-wrote the whole Emu to run as a series of Azure Worker roles on SQL Azure instead of using VMs, you might see a huge cost reduction, but now're you facing the difficulty of rewriting some or all of the entire Emu. That becomes cost prohibitive for entirely separate reasons. =P I'll post the script in this thread. |
Heh well no home hosting for me that's for sure. It'd be nice to have a euro based server though, I get ping times of 250+ on most eqemu servers, which is what I got with 56k dialup "back in the day".
And to be honest there's more than enough dev work for me to do without having to host Yet Another Server with 5 players ;) |
How to install and configure Windows Azure Powershell
http://azure.microsoft.com/en-us/doc...re-powershell/ 1. On your VM navigate to: http://go.microsoft.com/fwlink/p/?li...76&clcid=0x409 2. Run the file you are prompted to download. At this moment it will open the Web Platform Installer 4.6. 3. Click Install. 4. Click I Accept. 5. Wait for it to finish. Time varies based on your chosen VM size. An A1 (1 core, 1.75 GB RAM) will take a bit. On my A3 (4 cores, 7GB RAM) it went pretty quickly. 6. Click Finish. 7. Click Exit. Get your Publish Settings file (there is also an option to use Azure AD, but I didn’t) 1. Open a Powershell window. 2. run the following command “Get-AzurePublishSettingsFile” (without quotes) 3. You will be prompted to log into your Azure Subscription. When you’ve logged in, you will be taken to a page where your subscription file is generated. Download it somewhere (I chose desktop). For the next steps I am assuming that you named your subscription file “azuresubscriptioncredentials.publishsettings”. You can name it whatever you want, but you’ll have to put in the correct filename. Import your Publish Settings file 1. In the same Powershell window (or a new one if you closed it), run the following command “Import-AzurePublishSettingsFile azuresubscriptioncredentials.publishsettings” (without quotes) 2. To verify installation, run the following command “Get-AzureSubscription” and you should see a page of details including your Certificate and Subscription ID. Now, run the script. It will take a while, so don’t be impatient. =) Code:
# Import the necessary powershell module |
I've added this guide to the wiki as it works perfectly. However, expect it to eat up your credit every month!
|
All times are GMT -4. The time now is 06:40 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.