Code Monkey home page Code Monkey logo

wire-extras's People

Contributors

abigailbuccaneer avatar adosikas avatar ananace avatar anticept avatar astralcircle avatar cheezuschrust avatar derelictdrone avatar divran avatar dvdvideo1234 avatar edotm avatar garbius avatar georgeravenholm avatar hobnob11 avatar immibis avatar jack37 avatar keever50 avatar kingleonide avatar liddulbofh avatar mista-tea avatar mms92 avatar nebual avatar octothorpeobelus avatar philxyz avatar python1320 avatar saobunk avatar thegrb93 avatar uavxp avatar unknao avatar vurv78 avatar wallopingewe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wire-extras's Issues

HoloAnim on TF2 sentry

Enabling the fire animation not only flips the holo by 90 degrees, but also resets the facing set by holoSetPose, which makes it basicly pointless to use.

holoCreate(1,entity():pos(),vec(1,1,1),ang())
holoModel(1,"models/buildables/sentry3.mdl")
holoAnim(1,"fire")

(This affects all 3 levels of the sentry, but not all animations)
Is this something that can be fixed here, or is it how the model gets read by GMod? In TF2 it obviously works.

E2 effects extension could use some sort of manual, and maybe an overhaul?

E2 effects extension seem to have a great potential, however, the lack of a comprehensive manual for it makes it very hard to use. I managed to figure out the basics by myself, I can play certain effects at a desired position and set the angle of some, but that's about it.

Most effects that I tried, even though they are probably valid, won't play at all. Most effect related functions seem to have no effect at all either, I suspect them to be broken, but maybe it's just the lack of information, and consequently my lack of knowlege that makes them appear to be like that. Examples are (sorry if the function names are not entirely correct, I write them off the top of my head) setAngle, setScale, setMagnitude, setDamageType, setFlags, setStart.

The effects extension could really use some explaination, and fixing where necessary.

Changeable models for servo (maybe others too)

Do you think you could add a function to which allows changing the models for servo (or other tools) to a model not in the preset model-list?

Simple Servo allows it already by using console command wire_simple_servo_model but there is no command for Servo.

Or instead of using console commands, you could do it the same way the CD Disk uses, by right clicking a spawned prop.

Keypad toggle doesn't work

Hi,
sorry for my english.

I need to use keypad for doors, but when i set Toggle in keypad settings, keypad still sends 1 for short time. Doors will close quick.
I hope, you understand me.

errors

[ERROR] addons/wire-extras-master/lua/autorun/shared/lib-gui-panel-shared.lua:6: attempt to call field 'FindInLua' (a nil value)

  1. unknown - addons/wire-extras-master/lua/autorun/shared/lib-gui-panel-shared.lua:6
    1. include - [C]:-1
    2. unknown - addons/wire-extras-master/lua/autorun/client/lib-gui-panel-client.lua:1

[ERROR] addons/wire-extras-master/lua/autorun/client/lib-gui-panel-client.lua:154: bad argument #2 to 'CreateFont' (table expected, got number)

  1. CreateFont - [C]:-1
    1. unknown - addons/wire-extras-master/lua/autorun/client/lib-gui-panel-client.lua:154

(@addons/wire-extras-master/lua/entities/gmod_wire_hud_indicator_2/cl_init.lua (line 1))

[ERROR] addons/wire-extras-master/lua/entities/gmod_wire_hud_indicator_2/cl_init.lua:1: Module not found!

  1. require - [C]:-1
    1. unknown - addons/wire-extras-master/lua/entities/gmod_wire_hud_indicator_2/cl_init.lua:1

Error Report

[ERROR] addons/wire-extras/lua/wire/uwsvn/updatecheck.lua:82: attempt to index u
pvalue 'cvar' (a nil value)

  1. unknown - addons/wire-extras/lua/wire/uwsvn/updatecheck.lua:82

Timer Failed! [Wire_Tags][@addons/wire-extras/lua/wire/uwsvn/updatecheck.lua (li
ne 81)]

E2 function holoSetPose cannot affect multiple pose parameters

Hello,
So I noticed a while back that the holoAnim extension had E2 functions for pose parameters, and I decided to try and make a model that uses them. I got halfway through making it work when I discovered a very strange problem; it seems that the holoSetPose() function can only affect one pose parameter at a time.

A more technical way of describing the problem is that when holoSetPose() is used to set a pose parameter, all other pose parameters appear to reset to their "zero" position.

At first I thought it was a problem with just my model, so I did a test using the HL2 Jeep/buggy model, which uses pose parameters to move the wheels up and down (among other things).

This is the test E2 I made, as you can see it's pretty simple.

@name Pose Parameter Test
@inputs Left Right
@outputs 
@persist 
@trigger 

if(first()){
    holoCreate(0,entity():pos(),vec(1),entity():angles(),vec(255),"models/buggy.mdl")
}

holoSetPose(0,"vehicle_wheel_fl_height",Left)
holoSetPose(0,"vehicle_wheel_fr_height",Right)

Controlling the first pose parameter works fine. This is what happens when I lowered the first wheel:
alt text

This is what happens when I try the other one independently:
alt text

This is where the bug occurs. Setting the First, then the Second, does this:
alt text

When the sequence is reversed, the same thing happens, but it affects the other wheel:
alt text

Examining the model in HLMV shows both wheels being controllable at the same time; This only makes sense as both source vehicles and certain addons such as Simfphys use all necessary pose parameters to make their vehicles work.
alt text

I have not tested holoGetPose() to see if it correctly retrieves the pose parameter info.

Thanks for your time and attention, and please let me know if you need any more information relating to the issue.

Promotion of Wire-extras to Wire

I'd like to nominate the following ent concepts for promotion. None of them are WireToolObj, MakeWireEnt, or Single Entity File'd, so they'll basically just be rebased off more modern ent code. If you guys want we can argue for awhile about licensing and ownership of code, that was fun last time, I don't mind if we skip it though.

  • Exit Points, "lets you hook up any number of chairs at once. Exits to a single position (either locally from the chair's point of view or globally)"
  • Facer. @AbigailBuccaneer suggested renaming it to Wire Gimbal for no reason, I support this. It should have both Vector and Angle inputs.
  • Freezer, would be rebased off the Weld Latch I guess. Unless the weld latch only supports a single pair of ents, in which case both should probably be rewritten off the Adv Entity Marker.
  • Nocollider? Should that be an input for the freezer perhaps?
  • Wire Motor: Like a gmod motor (apparently people use those?) with a controller allowing for variable speed (since wheel's speed control isn't great)
  • Keypad, probably needs to be rewritten to use the Wire Keyboard's keypress detection.
  • Lever, its like an analog button, outputs a gradient number based on its current angle.
  • Multiwire should be integrated into Adv wire.
  • Holo model any

If anyone else has any suggestions feel free to add em.

Advanced HUD Indicator Broken

When placed, the indicator turns white. It is then no longer considered to be an actual entity, not appearing in the undo menu and not being able to be wired properly.

No Collide

On the front page is says that there is No Collide but i cannot seem to find it?

Find a better name

seriously, caps in there are unacceptable.
why don't we name it wiremodextras again?

Dupe port error

[ERROR] addons/wire-extras/lua/weapons/gmod_tool/stools/wire_dupeport.lua:40: attempt to index global 'wire_dupeport' (a nil value)

  1. LeftClick - addons/wire-extras/lua/weapons/gmod_tool/stools/wire_dupeport.lua:40
  2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:240

Fixing Modular Panels (GUI Panels)

Opening this issue because there is a wire extra called Modular Panels, which was incredibly impressive waaaay back when they worked (prior to the creation of UWSVN).

They were panels that you could add "widgets" to, which created, interacted with, and deleted inputs/outputs for the panel. These were incredibly useful for spaceship cockpits and such because you could put controls into a few panels, instead of putting individual buttons all over the place.

I had to purge the panels in the following commits due to problems it was creating in the repo:

4840e76

4082dbb

@thegrb93 did some fixes to them in PR #71

ed04148 is the commit when I first merged the branches together. This might make things a little easier than combing two different commits and changes, but keep in mind that there are also a couple of other broken things that were in that old branch too (adv hud indicator, wire hud indicator 2).

Wire RTCamera lua error

Now the RTCamera causes lua errors : "Attempt to index global UpdateRenderTarget : a nil value" !

It happens everytime you spawn an RTCamera. It's happening on server, with the latest WireMod/WireModExtras versions.

The error happens always on line 50 of the wire_rtcam.lua in weapons.

Wire magnet's prop filter not working.

Exactly like the title of this issue. Everything except the prop filter (except aswell the wire_magnet_targetOnlyMetal) is broken. I have made some small radio transmitter using magnetic radio waves using wire magnet. The force is very weak so doesnt affact anyone that much. That has nothing directly to do with this problem. I can't target specific props as example "models/props_c17/oildrum001.mdl". This causes the magnet to affact everything and lag the server. Or when you use bigger forces it will destroy everything. I have tried looking into the source code gmod_wire_realmagnet. The code looks very messy and aswell doesnt work correctly.

RFID cannot be duplicated.

I'm making a Super Market and i'm using RFID Implementer to Tag my products.

But when i save my products with Adv Duplicator, when i paste it back the RFID Reader do not remember the product's tag.

Gui Wiring tool breaks game

When I use said tool on unwired parts, it works perfectly. The second I try to use it on already wired together parts, it whites out my screen and sends the following error:

[wire-extras] addons/wire-extras/lua/weapons/gmod_tool/stools/gui_wiring.lua:157: attempt to concatenate local 'port' (a nil value)

  1. GUIWiring_GetEntPortKey - addons/wire-extras/lua/weapons/gmod_tool/stools/gui_wiring.lua:157
  2. GUIWiring_ShowGUI - addons/wire-extras/lua/weapons/gmod_tool/stools/gui_wiring.lua:266
    3. func - addons/wire-extras/lua/weapons/gmod_tool/stools/gui_wiring.lua:127
    4. unknown - lua/includes/extensions/net.lua:32

I don't know enough Lua to understand exactly what happened, so please explain to me if I'm doing anything stupid.

Modular Panel - Wire Tab Category

NOTE: this is a minor visual issue

The modular panel STool (lua/weapons/gmod_tool/stools/wire_modular_panel.lua) has category set to "Wire - I/O". However, the slash is interpreted as a separator for sub-categorization; thus, instead of the tool appearing in the "Wire - I/O" category, it appears in the "O" subcategory of "Wire - I".

HoloAnim prevents e2 from being spawned

I can't find a lua error :s, they're not showing up for some strange reason, otherwise i'd have just put in a pull request and fixed it myself.

Any E2 that has holoAnim code in it will not spawn.

Wire Motor errors

Similar to issue #12 - wire freezer. This errors after motor is pasted using duplicator. The motor works after.

[AdvDupe2NotifyPaste]    Player: Jack Pasted File, 16_3 with, 478 Entities and 761 Constraints.
[AdvDupe2Notify]    Pasting...
Wire error (Entity [525][gmod_wire_motor]): addons/wire-extras/lua/entities/gmod_wire_motor/init.lua:37: attempt to index local 'Motor' (a nil value)
stack traceback:
    addons/wire-extras/lua/entities/gmod_wire_motor/init.lua:37: in function <addons/wire-extras/lua/entities/gmod_wire_motor/init.lua:32>
    [C]: in function 'xpcall'
    addons/wire/lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
    addons/wire/lua/wire/server/wirelib.lua:499: in function 'Wire_Link'
    addons/wire/lua/wire/server/wirelib.lu[AdvDupe2Notify]  Finished Pasting!

Also sorry but the error is gettin cut off and I don't know why..
Second try, cut again.

    [C]: in function 'xpcall'
    addons/wire/lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
    addons/wire/lua/wire/server/wirelib.lua:499: in function 'Wire_Link'
    addons/wire/lua/wire/server/wirelib.lufinding crtl for this wired mot const
[

Camera E2 Extension Bug - Camera Parent Deletion

I don't know if this should go here since it is for UWSVN, but I couldn't post there.

If the parent entity for a camera is deleted, the E2 crashes. This is a big problem for 3rd person cameras since the only reliable way to parent to a player is using the weapon, which is deleted upon death.

(Originally posted as wiremod/wire#305 by @Salmonman.)

gmod_wire_freezer/init.lua:36: attempt to index field 'Ent1' (a nil value)

Wire error (Entity [184][gmod_wire_freezer]): addons/wire extras/lua/entities/gmod_wire_freezer/init.lua:36: attempt to index field 'Ent1' (a nil value)
stack traceback:
        addons/wire extras/lua/entities/gmod_wire_freezer/init.lua:36: in function <addons/wire extras/lua/entities/gmod_wire_freezer/init.lua:30>
        [C]: in function 'xpcall'
        addons/wire/lua/wire/server/wirelib.lua:62: in function 'TriggerInput'
        addons/wire/lua/wire/server/wirelib.lua:499: in function 'Wire_Link'
        addons/wire/lua/wire/server/wirEntity:PhysicsInit() - Failed to create physics for entity

Originally reported as wiremod/wire#356 by @nexbr.

Wire modular panel tool out of date

[ERROR] addons/wire-extras/lua/weapons/gmod_tool/stools/wire_modular_panel.lua:68: bad argument #2 to 'Exists' (string expected, got no value)

  1. Exists - [C]:-1
  2. LeftClick - addons/wire-extras/lua/weapons/gmod_tool/stools/wire_modular_panel.lua:68
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:228

NWBeam dependencies.

Networked beams got removed and apparently some stuff still was dependent.

[ERROR] addons/wire-extras/lua/weapons/gmod_tool/stools/multi_wire.lua:453: attempt to call method 'SetNetworkedBeamString' (a nil value)

  1. SelectComponent - addons/wire-extras/lua/weapons/gmod_tool/stools/multi_wire.lua:453
  2. Holster - addons/wire-extras/lua/weapons/gmod_tool/stools/multi_wire.lua:319
    3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:179

Buoyancy tool

Buoyancy tool is semibroken. Doesn't spawn the model and gives an error upon spawning.

Error when spawning Magnet

Originally reported by @00875 on the main Wiremod issue tracker:

When attempting to spawn a Magnet with the Magnet tool, nothing happens, and the following error occurs:

[ERROR] addons/wire-extras-master/lua/weapons/gmod_tool/stools/wire_magnet.lua:73: attempt to index field 'GhostEntity' (a nil value)
  1. LeftClick - addons/wire-extras-master/lua/weapons/gmod_tool/stools/wire_magnet.lua:73
   2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:252

Ram Card dont plug

[ERROR] ...wire-extra/lua/entities/gmod_wire_ramcardreader/init.lua:82: bad argument #2 to '__add' (Angle expected, got userdata)
  1. __add - [C]:-1
   2. PlugCard - ...wire-extra/lua/entities/gmod_wire_ramcardreader/init.lua:82
    3. SearchCards - ...wire-extra/lua/entities/gmod_wire_ramcardreader/init.lua:70
     4. unknown - ...wire-extra/lua/entities/gmod_wire_ramcardreader/init.lua:51

also ram-card stool primary spawn a reader instead spawner and you cannot spawn a spawner

RFID target filter error: attempt to call method 'Setup'

When I try to link a rfid target filter to the target finder I get this error:
[ERROR] addons/wire-extras/lua/weapons/gmod_tool/stools/wire_rfid_filter.lua:95: attempt to call method 'Setup' (a nil value)

  1. RightClick - addons/wire-extras/lua/weapons/gmod_tool/stools/wire_rfid_filter.lua:95
    1. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:278

[Suggestion] Holo anim with negative playback numbers?

Would this be possible to add? Currently playback rate is clamped between 0 and 12. I'm curious if negative numbers would be possible? This would enable stuff like, animating an HL2 character in reverse so that they can walk backwards (currently I'm struggling to find backwards walking animations as they seem to not exist).

Upload to workshop

This issue is tracking an official release of wire-extras onto the workshop.

This is pretty important as to avoid people reuploading it with malicious intent.

Probably will want to do this after I get automatic workshop deployment done for wiremod: wiremod/wire#2647

GUI wiring tool not working

tried it in single player on Materializer and Button

and after selecting the ents and pressing R there is no nodes to connect

EDIT: we could probadly remove it with the new Adv WIre tool, and just merge the wiring visualization part in it?

tools was made by @Doridian

selfchanger Error

[ERROR] addons/wire-extras/lua/weapons/gmod_tool/stools/selfchanger.lua:39: bad argument #1 to 'Float' (number expected, got string)

  1. Float - [C]:-1
  2. sendSetVal - addons/wire-extras/lua/weapons/gmod_tool/stools/selfchanger.lua:39
    3. LeftClick - addons/wire-extras/lua/weapons/gmod_tool/stools/selfchanger.lua:57
    4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:240

Someone put a backdoor in your add-on and is hosting it on workshop

https://steamcommunity.com/sharedfiles/filedetails/?id=799449579
He has a backdoor which allows him to selectively ban people from the server by sending a disconnect con command to the clients.
This exists in his add-on, in servermessage.lua, particularly on line 13. The table for banned users is modified using a tool he has that updates the workshop repo.
Sorry for posting this as an "issue", just thought you should know, and should maybe alert users of this as well.
Thanks.

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.