![]() |
|
Ship Drive Wire bug and issue - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Help and Support (https://teamscm.co.uk/forum-8.html) +--- Thread: Ship Drive Wire bug and issue (/thread-1121.html) |
Ship Drive Wire bug and issue - Yuri6037 - 20-07-2015 Hello all, Again posting this for Person. I already asked an Admin, but he does not realy know he think it's intentional, so I just want to be sure that's realy the case. So first of all, I'd like to thank you very much for your help with Transporter pad and Starfall net error. By your answers I'll add an helper function to manage all the beaming systems (well it's realy hard to read hardcoded systems)... Also about the Net problem, I applyed my method (helper function StartNet (in lib safe_net.txt)), and for the moment no longer any problems with AI II. Sometimes the other screens connected still crashs but because they haven't the function I made (cause : they use the AI II lib which does not provide any ways to use StartNet method (for the moment). Now I have 2 problems with the Ship Drive, please also note that these bugs were not appearing on the previous 2 versions of GMod. The first problem is the input problem, when you use Angle Offset input with no vectors it will not work, you must set a vector input. Well I'd like to be able to rotate my ship using the screen I made (Manoever), but I absolutely need to warp a first time (to the same location) so I can after rotate the ship. Now about the second problem, It's more a real issue, that seams to be touching not only me, sometimes on some large ships warping results in ship not completely warped. That means a part of it will not teleport. The error is random and rare however it happened two times to me and my friend General oniel. Thanks by advance, Yuri. RE: Ship Drive Wire bug and issue - Person8880 - 20-07-2015 For the first issue, you mean the destination is 0,0,0, and you have an angle offset input? That is intentional, because you're telling it to go to 0,0,0. However, it wasn't allowing jumping to the same location with an angle set. It should now allow this, so just set the destination vector to the ship drive's position (or its parent's position if you've parented it) to allow rotating on the spot. As for the second issue, the parts must have lost their constraints to the ship. I can't see a reason for it to drop any part that is constrained. RE: Ship Drive Wire bug and issue - Yuri6037 - 21-07-2015 (20-07-2015, 07:59 PM)Person8880 Wrote: For the first issue, you mean the destination is 0,0,0, and you have an angle offset input? That is intentional, because you're telling it to go to 0,0,0. However, it wasn't allowing jumping to the same location with an angle set. It should now allow this, so just set the destination vector to the ship drive's position (or its parent's position if you've parented it) to allow rotating on the spot. Ok thank you for your help about first issue it's already fixed with AI II v7.0 (I included a helper function so that the Manoever can directly use AI II libs instead of using infernal timers which are creating conflicts together. As for the beam problem, I advanced, the timers are indeed entering in conflict causing the transporter pad to understand to teleport me back and to teleport me at another location, that's why it bugs... About the issue of ship parts, well it's realy rare (like the chat crashing problem). The best way to get this part problem is to warp into the map ! Unfortunatly I can't arrive to find a way to know "Will ship be inside the map bounds or not ?". The fact is that this requires BoundingBox check (which I already do with buttons on the screen), but I can have the ship bounding box but not the map bounding box... So is there any way I can get the map bounding box ? Like the method you created on ship core (getShipSize()). That would be amazing if I could have those two bounding boxes, so I can cancel warping to an "out of the map" warp. RE: Ship Drive Wire bug and issue - pho - 22-07-2015 i have galaxy bouding boxes if you are interested Pegasus (-15806,-15758,-8); (15824,-30,15457) Universe (15795,-12606,-223); (-15816,1189,-13902) Milkway (-15792,889,40); (15738,14361,15591) RE: Ship Drive Wire bug and issue - Yuri6037 - 25-07-2015 (22-07-2015, 07:48 PM)pho Wrote: i have galaxy bouding boxes if you are interested Thank you so much I don't even know how you could get those values. I assume it's (min vector); (max vector), if so then it's PERFECT ! Now I just need to know why getShipSize won't work in Starfall. But that's another subject I'll post on Starfall section. |