Code Monkey home page Code Monkey logo

daemonforge / dayz-univeralapi Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 9.0 2.82 MB

The DayZ Universal Api Mod and Web Service this is my attempt to make a Universal Api Backend for the server hosters, allowing for a robust, easy to use and set up backend. and for modders an easy to use API wrapper to help them make hived and cross-server mods more easily. With the mod and API I handle authentication and client tokens allowing you to ensure that the data you are accessing and using is secured, preventing rouge and unwanted access to the APIs.

Home Page: https://steamcommunity.com/sharedfiles/filedetails/?id=2237983606

License: GNU Affero General Public License v3.0

JavaScript 61.73% C++ 0.28% C 32.37% EJS 4.39% CSS 1.18% Batchfile 0.05%
dayzstandalone dayz dayz-server dayzsa

dayz-univeralapi's Issues

[BUG] GUID

We tested it multiple times: when we go from server a to server b there is no problem, when we go back to server a there could be this problem but when we go back to server b the problem is more then 85%. We get an error (0x00040033) You got kicked from the server. Login-Error: A player with your UID is in the Game.

Our Steps: we take the Terminal to the other Map. There we waited about 5 min. Then we go back to the first Server. Then we waited 5 min again and go back to the Second Server. Now i could happen but most of the time it happens by the next Time.

Screenshots

Additional context
ServerPanel_16-11-2022_22-41-32.log
MapLink_2022-11-16_22-41-35.log
serverconsole.log

Add any other context about the problem here.

Include Logs
Make sure to include logs from the DayZ Server, and WebService
20221116233335_1

Server mods

Hey @DaemonForge! Me again, with another question! 😄
I'm interested in understanding more about how you link mods with a server and their Steam Workshop IDs.

I started exploring Valve server queries, using gamedig library. By requesting server rules, I got a response like this:

"rules": {
  "\u0001\n": "\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0002\"���\u0004\u0004]�k�\u0013Rearmed Server Packa�D�\u0004�\u0007��\u0010Rearmed Licensedʉ��\u0004�\u0013��\rCare Packages\u001bY��\u0004�{��\u0011Basic Territories�\u0001\u0001��\u0004�b\t�\u0013Re",
  "\u0002\n": "armed Helicopters\u0014�\"f\u0004�^L�\bCarCover=�\u0004_A��\u0013InventoryMoveSounds-\b!\u0016\u0004`��g\u000bSaline Bag+���\u0004P���\u0012Stranded-NVG-Fixes\u000f,\u001c�\u0004����\nWorn",
  "\u0003\n": "Repair���C\u0004�O�^\nTrader Mod0B\u001a\u0017\u0004�1\u0002�\u0016TraderFixesAndFeatures\u0005�g\u0006\u0004hM!z\nMuchCarKey�\u001c\u0002L\u0004�\u0014\u000b^\u0010Increased Lumensg<��\u0004��8m\rFlipTransport",
  "\u0004\n": "�p@�\u0004��sl\tEar Plugs\"ҝ�\u0004�Z�n\u0010BuildAnywhere_v3ڌ�l\u0004c0\u001e�\u0012ZT Vending Machine\u001a�\"�\u0004���\u0016Advanced Weapon Scopes�U��\u0004�8Bx\u000fzSpawnSelect",
  "\u0005\n": "ion`n�\u0006\u0004�>�e\nCPBWeapons�g�_\u0004\u000b_�j\u001d[Remastered] Arma Weapon Pack$�\u001e�\u0004\u0005~�l\u000fBreachingcharge\b\u0007:�\u0004��\u001eb\bCodeLock�ж\u0017\u0004\u0001\u0002\b'k\u0012WindstrideC",
  "\u0006\n": "lothing\u001f�}\u0004(��v\rMuchStuffPack�T��\u0004�p�e\u0010BaseBuildingPlus\n$XY\u0004�*e]\u0016Mass'sManyItemOverhaulÑ\u000e�\u0004A���\u0005FP IV�&e�\u0004�96a\u0015Cl0ud's Milita",
  "\u0007\n": "ry Gearo3\u0016�\u0004ƹ�e\rVPPAdminTools}�GS\u0004�MU]\fBuilderItems�\n\\\u0010\u0004\u0004��\\\u0013Community Framework����\u0013Ԓ\u0011\u000bLivonia DLC#\u000bA2Weaponsv3\u0003BBP\u0007BorizzK\u000b",
  "\b\n": "cftoolsRoot\u0007Cl0udV3\nCodeLockv3\u000bCooltrainV3\fCPBWeaponsV3\u000bdaemonforge\tDannyDoom\u0004dayz\ndayztrader\tdesignful\u0005FIDOv\u0004HDSN\tHelkhiana\u000bHe",
  "\t\n": "lkhianaV2\u0007Hunterz\fInclementDab\u0019Indi_Increased_Lumens_1.5\u0006Inkota\u000eJacob_Mango_V3\u0004Mass\fNotABananaV3\u000fNoVehicleDamage\u0012PattowieSSelec",
  "\n\n": "tion\u000eServerPanel_V3\bsimonvic\u0007sn0wLow\bViodugir\u0003VPP\tWardog.v3\nWindstride\u0012www.ZombieToast.de\u0005zysen"
}

This is the server I used: https://daemonforge.dev/Server/?ip=198.251.83.51&port=2405

But this response only gives me weird chars with the mod's names, but no Steam Workshop IDs.
I thought this could be a case of filtering this response and finding another method to link IDs, but I see you don't even request server rules with gamedig, but rather connect to an external MongoDB.

So I was wondering, how do you do this? What's the process to get these mod's info and link to a server?
Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.