Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 11 12 13 14 15 … 18 Next »
Sorry Person, I found another SF bug...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Sorry Person, I found another SF bug...
25-10-2015, 04:42 PM,
#1
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
Sorry Person, I found another SF bug...
Hey Person,

I'm sorry if I annoy you by making as much topics on SF bugs, but again I found a bug...

Steps to reproduce :
- spawn an entity compatible with the bug (ex gate iris, SBEP door, I believe there are more).
- Spawn a starfall chip and server side do : get the entity's wirelink and call addOutputCallback on it (don't forget print(Output) inside the callback), you'll see some outputs does not fire the callback.

Right now the only entity that seams working with it is Stargate.

I don't know why it's causing that...

Thanks by advance,
Yuri6037
Find
Reply
25-10-2015, 05:18 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Sorry Person, I found another SF bug...
Can't reproduce. I spawn a chip with the following code:
local Ent = ents.self():isWeldedTo()
Ent:getWirelink():addOutputCallback( "Bleh", function( Wirelink, Name, Value )
print( Wirelink, Name, Value )
end )
on an SBEP door and an iris and both print every time an output changes.
Find
Reply
25-10-2015, 09:27 PM,
#3
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Sorry Person, I found another SF bug...
I use that :
Also note that I'm changing inputs of Stargate and Iris and also of SBEP doors at runtime on net receive.
Code:
--@name Test --@author Yuri6037 --@sharedscreen if (SERVER) then local Stargate = nil local Iris = nil local Test = nil wire.createInputs({"Stargate", "Iris", "TestSBEP"}, {"Wirelink", "Wirelink", "Wirelink"}) if (not(wire.ports["Stargate"] == nil)) then Stargate = wire.ports["Stargate"] Stargate:addOutputCallback("SGCTRL", function(w, out, var) print(out) --so far no problems it prints all different output changes when dialing/being dialed. end) end if (not(wire.ports["Iris"] == nil)) then Iris = wire.ports["Iris"] Iris:addOutputCallback("SGCTRL1", function(w, out, var) print(out) --Not working at all no print thrown end) end if (not(wire.ports["TestSBEP"] == nil)) then Test = wire.ports["TestSBEP"] Test:addOutputCallback("TestSBEP", function(w, out, var) print(out) --When open/close by SF will print, but when lock by SF then no print at all end) end end

I wrote that from my iPad so this can sometimes be strangely formed...
Find
Reply
25-10-2015, 09:56 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Sorry Person, I found another SF bug...
I've found the problem now and it should be fixed after the next server restart.
Find
Reply
26-10-2015, 06:25 PM,
#5
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Sorry Person, I found another SF bug...
Thank you, I saw that works now.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.