Comments (8)
pls check on latest dev its still exists
from coreclr-module.
and pls dont do return new WeaponDamageResponse(true, damage);
do return false or return damage
from coreclr-module.
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.
and pls dont do
return new WeaponDamageResponse(true, damage);
do return false or return damageill 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.
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.
u got it twice, because u registered it twice
Alt.OnWeaponDamage += Scripttest.WeaponDamage;
and
[ScriptEvent(ScriptEventType.WeaponDamage)]
from coreclr-module.
should be fixed with 16.0.7-dev
from coreclr-module.
confirmed
works and no more double execution of ISCRIPT
from coreclr-module.
Related Issues (20)
- GetTattooShopDlcItemData crash client HOT 2
- Using PlayerFactory clientside crashes client HOT 3
- CreateVirtualEntity: Attempted to read or write protected memory HOT 3
- IAudioFilter is missing
- Client crash on MValue use HOT 2
- Alt.CreateVirtualEntity Range HOT 1
- player.SetStreamSyncedMetaData crash HOT 1
- Rendering multiple entities OnWorldObjectStreamIn/Out callback gets called multiple times HOT 6
- CreateAudioOutputAttached broken HOT 1
- ScriptEventType Incomplete
- AltAsync.WaitFor crashes HOT 1
- AltAsync.OnScriptRpc throws weird IO exception when either client emits with parameters or server try to answer HOT 8
- [Feature Request] Custom MValue adapter support for RPC event handler HOT 1
- Enums and/or MValue adapters not working properly for VirtualEntities
- AltAsync.OnScriptRpc HOT 1
- Missing Functions like .On and .SetInterval on the Server HOT 2
- [C# client] `ScriptRPCEvent.WillAnswer` does not work HOT 4
- player.SetDecoration is broken HOT 1
- [C# client] This simple `Func<float, float>` crashes the client HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coreclr-module.