Giter VIP home page Giter VIP logo

Comments (24)

3ddelano avatar 3ddelano commented on August 25, 2024

Currently the Anti cheat functions are not implemented in the wrapper but there isn't reason why it shouldn't work.

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano How would I make it work? I am not that experienced with C#.

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

The c# version of the EOS SDK was used for Godot 3 Mono and the wrapper for Godot 3 is deprecated. Right now for Godot 4 we use the EOS C SDK v1.15. The general steps to wrap a new interface like Easy Anti Cheat are the following:

  1. Read about the interface in EOS docs
  2. List all the functions that need to be wrapped from the EOS C SDK
  3. Wrap each function in gdextension so that it is available inGDScript. Refer the previous wrapped interfaces, it will mostly be similar syntax to those. We also have helpful macros to easier convert data structures.
  4. Test each function works as expected in GDScript
  5. Optionally make a sample scene for the interface with a UI

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano Can I just use it with Godot Mono? I just learned a bit of C#

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

Yes you definitely can! For the Godot mono it saves some time as you can directly code in c#. EOS C# requires a setup function where you initialise the SDK, following which you can then call the interface functions. A good reference would be IEOS.cs script initialisation function. Also read the Readme.md file of the godot3-mono branch for the installation steps (editing the .csproj, etc).

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano ummmmm IEOS.cs
image

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

What are the steps to reproduce this? Did you follow the installation steps in the readme? Also note this is for Godot 3. I haven't tested it out with Godot 4 where the .NET version was upgraded.

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano That's my project folder: https://github.com/techsideofficial/XanEngine/tree/main/XanTestProjects/TestProj

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

The project looks fine. But Im unable to debug the issue. Does running the game from Godot work?

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano that's what I'm doing. I'm using Godot 3.5.2 LTS

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

Can you try cloning the repo and running the sample project?

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano The sample project runs fine.

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

Try deleting the .mono folder, sometimes the mono cache gets messed up.

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

I'll try it tomorrow.

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano
image
Screenshot 2023-09-09 071842

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

The issue is that somehow the project was converted to Godot 4 mono. Did you perhaps run the auto convert the project by opening it in Godot 4 mono?

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

Here 'RefCounted' is from Godot 4 while the Godot 3 equivalent is 'Reference'.

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

To resolve it, replace the existing files with a re-clone of the godot3-mono branch.

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

@3ddelano nvm its fixed. How would I check if the game was launched via anticheat then?

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

How do I check if the game has been launched from EAC?

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

EOS provides protected game session notifications. See this https://dev.epicgames.com/docs/game-services/anti-cheat/using-anti-cheat#protected-game-session-notifications

from epic-online-services-godot.

techsideofficial avatar techsideofficial commented on August 25, 2024

How do I quit the app if it hasn't been launched through EAC?

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

A starting point would be to check out the official anti cheat sample project. https://dev.epicgames.com/docs/game-services/anti-cheat/anti-cheat-samples#step-1-configure-the-samples

from epic-online-services-godot.

3ddelano avatar 3ddelano commented on August 25, 2024

@techsideofficial Anticheat features are implemented in v2.1.2 https://github.com/3ddelano/epic-online-services-godot/releases/tag/2.1.2

from epic-online-services-godot.

Related Issues (17)

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.