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 … 12 13 14 15 16 … 18 Next »
Starfall Bugs
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Starfall Bugs
20-07-2015, 02:43 PM, (This post was last modified: 20-07-2015, 04:47 PM by SuperPlayer.)
#1
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
Starfall Bugs
Today i had a very strange bug with the SF editor. I had so many tabs open that i closed all of them. After that I opened 4 new tabs. But the first tab had a problem. Its seems like it didnt knew what code to show. When changing between the tabs it first showed the right code then the code of a different script then now code. I also couldnt close the tab. I tried to reset the SF editor but the issue was still there. There was no console error. I fixed it by opening and closing multiple tabs.

I also found a bug/problem with the function Ply:inVehicle and stargate.isInVehicle( ply ). Both doesnt show if someone is in one of the Star Trek shuttles. I used following code to test it:


local Owner = ents.owner()
timer.create("1",1,0,function()
if Owner:inVehicle() then
print("ok")
elseif stargate.isInVehicle(Owner) then
print("ok2")
end
end)

The normal Ply:inVehicle() just works on chairs. The stargate thing works just on CAP ships.

EDIT:
There is another bug that i discovered. It seems like the Ori beam weapons are not calling the damage hook. But the ship takes damage. It works with every other weapons but not with beam weapons. Is that possible to fix?

I also will continue posting issues under this thread because i feel bad to open a new thread for every new issue. So everyone feel free to post SF issues here.


SuperPlayer
Find
Reply
20-07-2015, 08:11 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Starfall Bugs
Ok, let's see...
  • First bug, should be fixed after the next server restart.
  • Second issue is not a bug. Strictly speaking, the shuttles are not vehicles, and the Stargate library is obviously only going to account for Stargate ships. However, there is a second return value to stargate.isInVehicle, which is the current "view entity". When in a shuttle, this will return the shuttle.
  • Third issue, I can't reproduce. When firing at a target with an Ori beam, the damage hook fires with the inflictor as an "energy_beam2" entity. Perhaps you're not expecting that as the inflictor?
Find
Reply
21-07-2015, 09:19 AM,
#3
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Starfall Bugs
Thanks for fixing the first issue.

For the second issue why isnt the shuttle a vehicle? Anyways i fixed that.

Also i found the problem in my Code for the third issue. I was expecting a player as the Attacker. But damn CAP made the attacker the weapon itself. So i am now checking for the owner twice.

Thanks for your help!
Find
Reply
21-07-2015, 05:48 PM,
#4
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Starfall Bugs
Vehicle means Source engine vehicle, i.e chairs, the jeep and the airboat.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


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

Powered By MyBB, © 2002-2026 MyBB Group.