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 »
Starfal bug x2 !
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Starfal bug x2 !
21-10-2015, 02:51 PM,
#1
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
Starfal bug x2 !
Hey all,

I again found 2 new bugs on starfall, however not sure if bug #2 is realy a bug.

So for bug #1, that's simple create a starfall processor and call wire.createInputs inside it. Then on another starfall processor get the instance of the firstly created starfall processor and do getWirelink()["NameOfInput"] = 1, you'll see that nothing is set on the first processor.

For bug #2 : simple to reproduce, create two starfall processors one with some inputs and the other with some outputs then call on the second one instanceToFirstProcessor:createWire(ents.self(), "InputOfFirstEntity", "OutputInEnts.Self()") and you'll constantly keep getting a false, "invalid self" error when calling the functions. This seams a bug for me because calling deleteWire works perfectly.

Don't know if you can do something thorugh Person, but I hope you can. I'm not the only one with bug #1, T-17 also get it.

Thanks by advance,
Yuri6037
Find
Reply
21-10-2015, 05:46 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Starfal bug x2 !
Cannot reproduce the first one. I spawned two chips with the following code:

Chip 1:
wire.createInputs( { "Bleh" }, { "normal" } )
hook( "input", "Bleh", print )
Chip 2:
local Other = find.byClass( "starfall_processor", function( Ent ) return Ent ~= ents.self() end )[ 1 ]
Other:getWirelink().Bleh = 1
When the second chip is run after placing the first I get a correct print of "Bleh 1".

As for the second issue, it should be fixed when the server(s) next restart.
Find
Reply
21-10-2015, 07:41 PM,
#3
Yuri6037 Offline
TSCM Member
***
Posts: 216
Threads: 45
Joined: Feb 2015
RE: Starfal bug x2 !
Thank you.

Also I have a question, not related to that. Anyways, I'm planing to make my own door button using a starfall emitter with 3D2D screen. I already succeeded rendering the 3D2D screen, however I'm facing some issues when trying to get the cursor position relative to this 3D2D screen in air.

Normaly on GMod you could do it using util.IntersectRayWithPlane. Is there any way you can add this function ?
Find
Reply
21-10-2015, 08:40 PM,
#4
Garbius Offline
That guy
*****
Posts: 10
Threads: 0
Joined: Oct 2013
RE: Starfal bug x2 !
That is easy to do with a Line-Plane intersection calculation. I did it a long time ago and it works really well.

I've also heard that T-17 is creating a framework for touch input on emitters using my code. Ask him if you want to walk the easy street.
Find
Reply
23-10-2015, 05:25 AM,
#5
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: Starfal bug x2 !
This is what Garbius mentioned and it's more of a port to Link's screen button framework that most/some are currently using.

Although i believe his issue is now fixed.

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
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.