Giter Site home page Giter Site logo

Comments (8)

Doxoh avatar Doxoh commented on June 16, 2024

pls check on latest dev its still exists

from coreclr-module.

Doxoh avatar Doxoh commented on June 16, 2024

and pls dont do return new WeaponDamageResponse(true, damage);

do return false or return damage

from coreclr-module.

BluePeer avatar BluePeer commented on June 16, 2024

and pls dont do return new WeaponDamageResponse(true, damage);

do return false or return damage

ill check later this day
but if i only use the damage
it will end in the same

public static implicit operator WeaponDamageResponse(uint val)
{
return new WeaponDamageResponse(notCancel: true, val);
}

from coreclr-module.

Doxoh avatar Doxoh commented on June 16, 2024

and pls dont do return new WeaponDamageResponse(true, damage);
do return false or return damage

ill check later this day but if i only use the damage it will end in the same

public static implicit operator WeaponDamageResponse(uint val) { return new WeaponDamageResponse(notCancel: true, val); }

I know, but its easier for u in ur code

from coreclr-module.

BluePeer avatar BluePeer commented on June 16, 2024

just tested with current dev.

also with the simplified just dmg value return.
But now the score is 1:1, the same incorrect behavior as before
damage is always blocked, the iscript is triggered twice.
So 1:1 no change.

[19:17:02] alt:V Server 16.0-dev16 (dev)
[19:17:02] Starting BluePeer Dev Streams on 91.218.67.182:7722
[19:17:03] Loading resource csharptest
[19:17:03] server running
[19:17:03] Loaded resource csharptest
[19:17:03] Loading resource qa-tools
[19:17:03] Loaded resource qa-tools
[19:17:03] Required server permissions:
[19:17:03] Optional server permissions:
[19:17:03] Starting HTTP server on 91.218.67.182:7722
[19:17:03] Main thread started (ThreadId: 302317)
[19:17:03] EntityStreamer thread started (ThreadId: 302370)
[19:17:03] SyncReceive thread started (ThreadId: 302373)
[19:17:03] SyncSend thread started (ThreadId: 302372)
[19:17:03] Network thread started (ThreadId: 302374)
[19:17:03] Console thread started (ThreadId: 302375)
[19:17:03][Warning] Server started in debug mode
[19:17:40] 2 Sync 543 200
[19:17:40] 2 Sync 543 200
[19:17:40] 2 Sync 543 200
[19:17:40] 2 ASync 543 200
[19:17:43] 2 Sync 25 200
[19:17:43] 2 Sync 25 200
[19:17:43] 2 Sync 25 200
[19:17:43] 2 ASync 25 200
[19:17:46] 2 Sync 25 200
[19:17:46] 2 Sync 25 200
[19:17:46] 2 Sync 25 200
[19:17:46] 2 ASync 25 200
[19:17:51] 2 Sync 25 200
[19:17:51] 2 Sync 25 200
[19:17:51] 2 Sync 25 200
[19:17:51] 2 ASync 25 200
[19:17:57] 2 Sync 25 200
[19:17:57] 2 Sync 25 200
[19:17:57] 2 Sync 25 200
[19:17:57] 2 ASync 25 200
[19:17:57] 2 Sync 25 200
[19:17:57] 2 Sync 25 200
[19:17:57] 2 Sync 25 200
[19:17:57] 2 ASync 25 200
[19:17:59] 2 Sync 25 200
[19:17:59] 2 Sync 25 200
[19:17:59] 2 Sync 25 200
[19:17:59] 2 ASync 25 200

from coreclr-module.

Doxoh avatar Doxoh commented on June 16, 2024

u got it twice, because u registered it twice

Alt.OnWeaponDamage += Scripttest.WeaponDamage; and
[ScriptEvent(ScriptEventType.WeaponDamage)]

from coreclr-module.

Doxoh avatar Doxoh commented on June 16, 2024

should be fixed with 16.0.7-dev

from coreclr-module.

BluePeer avatar BluePeer commented on June 16, 2024

confirmed
works and no more double execution of ISCRIPT

from coreclr-module.

Related Issues (20)

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.