Editors Depot - Mission Editing and Scripting > ArmA - Editing/Scripting Resources Beta Testing & Submission

Local MP edit no CD key plugin

(1/3) > >>

alef:
FIRST: "no CD key" here doesn't mean you can play illegal copies with this plugin! Please read!

This plugin simulate what you usually can do just dropping your connection to the internet, using -host mode. You can't use kickduplicate=0 because the -config=server.cfg doesn't get read in -host mode.
This is a file called ws2_32.dll to put in the same arma.exe directory, and get enabled using -nocdkey and -host arguments on the command line. It will intercept the host name resolution for gamespy service, returning a "not found" answer. This is the same effect you can obtain disconnecting the network cable.

Info at BIKI: http://community.bistudio.com/wiki/User:Alef/nocdkey
BI thread:http://forums.bistudio.com/showthread.php?t=70538
video @ Xfire

I release the ws2_32.dll with source code. You need Cygwin to build it.

Edit: DOWNLOAD REMOVED. A guy told me he got his CD Key invalidated online using the DLL. To avoid problems, don't use it for now.

Manzilla:
I have no clue what this does. Is this a script of some kind?

schuler:
ws2_32.dll is a shared file, he must mean theres a pluging for the error "gamespy service, returning a "not found" answer."
other wise ws2_32.dll is on your pc anyways in win sys 32

alef:
Sorry for not being much descriptive. I'll try to be more precise.
To connect to the Internet, like all the other programs on Windows, ArmA uses a DLL called ws2_32.dll, that is a file installed in C:\Windows\System32. If you put another file with the same name in the ArmA installation directory, ArmA will use that instead of the Windows one. It is like the Armalib from Kegetys (OFPWatch too?).
I've modified a program, that intercept the functions ArmA does to connect other computers. One of these functions is gethostbyname, which usually is used to obtain an internet address given a name, like www.ofpec.com returns 85.17.58.182. Now, if ArmA asks for gamespy.com to check for duplicated CD keys, if the address it's found and valid, the check will happens.
You can usually avoid this in server.cfg (-config) with kickduplicate=0, BUT if you run arma.exe with -host, you can't avoid the check. server.cfg only works with -server, the dedicated one.
Why run arma.exe with -host? Because you will jump directly at start in the Multiplayer page "Create Game", and choose a mission to edit. There, you can edit your mission, your scripts, etc. Then, you can run another arma.exe to connect the former (on LAN, server "localhost" or "127.0.0.1") . On this you will see the multiplayer page (LAN) with your server in state "Editing". As you click "Preview" in the editor arma, the other game can join. On abort, both return the mutiplayer lobby. In this way you speed up a lot the testing of multiplayer game.

Spooner:
Ah, took me a while to work out what you were doing, but the fact that I can only test with multiple clients on my local machine with a dedicated server using a pboed mission has been a real annoyance for a long while! It will be nice to be able to do local MP tests directly from the MP editor at last. Glad to see that it also annoyed someone with the knowledge to fix it :D

Erm, although you say you've released a DLL and source, nothing is attached to the post. No indication of a download on your BIKI page either.

Navigation

[0] Message Index

[#] Next page

Go to full version