Garry's Mod

Garry's Mod

143 oy
Contraption Framework
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
İçerik Türü: Eklenti
Eklenti Türü: Sunucu İçeriği
Eklenti Etiketleri: Yapı
Dosya Boyutu
Gönderilme
Güncellenme
35.018 KB
5 Şub 2024 @ 16:46
27 Eki @ 18:16
32 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
Contraption Framework

Açıklama
Contraption Framework (CFW)


Monitors constraints to create "Contraption" objects and adds callbacks for changes made to contraptions for efficient contraption-aware functionality.

For example, in order to calculate the total mass of a contraption traditionally one would need to iterate over every entity on the contraption and store this information somewhere.

With Contraption Framework (CFW), a callback is run whenever an entity is added to or removed from a contraption and the total mass is added to or subtracted from the total stored in memory on the contraption object.



https://github.com/ACF-Team/CFW
53 Yorum
thecraftianman 27 Eki @ 18:23 
I think the error with the tranquilizer gun should be fixed now, but say something if it happens again. If you could share a save that has that issue with this addon, that would be helpful too.
Balooba5000 27 Eki @ 11:45 
this addon is also removing a large amount of objects when i load a save for some reason
Balooba5000 27 Eki @ 11:45 
sorry for long reply but its 'NPC tranqulizer gun"
thecraftianman 21 Eki @ 9:03 
@Balooba5000 What's the addon with the tranquilizer gun that you were using?
Balooba5000 15 Eki @ 19:47 
[Contraption Framework] Contraption Framework Error: Entity had no links. This error generally indicates a deeper problem with CFW.
1. disconnect - lua/cfw/core/connectivity_sv.lua:70
2. SetParent - lua/cfw/core/parenting_sv.lua:108
3. unknown - lua/autorun/sh_tranquilizergun.lua:1119
[TR] James [YT] 3 Ağu @ 13:21 
Getting these script errors:

[Contraption Framework] Contraption Framework Error: Entity had no links. This error generally indicates a deeper problem with C
FW.
1. disconnect - lua/cfw/core/connectivity_sv.lua:70
2. SetParent - lua/cfw/core/parenting_sv.lua:108
3. Function - lua/autorun/parent_childtables.lua:26
4. v - lua/includes/extensions/entity.lua:158
5. unknown - lua/includes/modules/hook.lua:102


[Contraption Framework] lua/cfw/core/connectivity_sv.lua:72: attempt to index local 'links' (a nil value)
1. disconnect - lua/cfw/core/connectivity_sv.lua:72
2. SetParent - lua/cfw/core/parenting_sv.lua:108
3. Function - lua/autorun/parent_childtables.lua:26
4. v - lua/includes/extensions/entity.lua:158
5. unknown - lua/includes/modules/hook.lua:102
thecraftianman 26 Tem @ 8:06 
Would you be willing to send me the dupe you tried this with on Discord? This is probably something specific to your particular dupe.
Serika 26 Tem @ 3:54 
trying to paste in a dupe with advdupe2 causes it to not be undoable with the Z key, and these errors show up
[Contraption Framework] lua/cfw/core/connectivity_sv.lua:47: attempt to call method 'Merge' (a nil value)
1. connect - lua/cfw/core/connectivity_sv.lua:47
2. unknown - lua/cfw/core/constraints_sv.lua:40

Timer Failed! [Simple][@lua/cfw/core/constraints_sv.lua (line 28)]
[AdvDupe2Notify] Finished Pasting!

[Contraption Framework] lua/cfw/core/constraints_sv.lua:76: attempt to call method 'Remove' (a nil value)
1. func - lua/cfw/core/constraints_sv.lua:76
2. Run - lua/includes/modules/hook.lua:267
3. Do_Undo - lua/includes/modules/undo.lua:380
4. unknown - lua/autorun/server/antiundo.lua:104
5. unknown - lua/includes/modules/concommand.lua:54 (x5)
win xp 28 Haz @ 13:14 
[Contraption Framework] lua/cfw/classes/link_sv.lua:72: attempt to call method 'Sub' (a nil value)
1. Sub - lua/cfw/classes/link_sv.lua:72
2. disconnect - lua/cfw/core/connectivity_sv.lua:76
3. fn - lua/cfw/core/parenting_sv.lua:117
4. unknown - lua/ulib/shared/hook.lua:109
cozmo 28 Nis @ 7:33 
I have this downloaded but it says its not installed