Team Spartan Cookies & Milk Forums
Release PCPU Rev2 - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Expression 2 (https://teamscm.co.uk/forum-6.html)
+--- Thread: Release PCPU Rev2 (/thread-1340.html)

Pages: 1 2 3 4 5 6 7


RE: PCPU Rev2 - Yuri6037 - 13-01-2016

Ok. Thanks.

My idea was to make a timer 1 second which updates a list of players inside the ship. The timer is intended to constantly run and never stop this is for 3 reasons :
- First of all, it's not intended to each one second TP/Jail players it just records them on a list.
- Second, this list is intended to be accessed by the interior sensor which will basicaly display those player positions on the 2D screen.
- Also the list will after be able to accessed by API. The TP system is handled by lanai/processor/beamdevice.txt which checks for stargate.isLocationJammed before running anything on the device's wire inputs.

The algorythm itself now is based on trace.trace : the idea is to trace two lines one from player to up vector * 9999 and a second line from player to down vector * 9999 those traces will have physics mask. If those 2 traces hits each an entity recorded inside SHIP_CONSTRAINTS (I will also probably establish two maps SHIP_CONSTRAINTS and SHIP_CONSTRAINTS_BOOL which will assign ConstrainedEntity->true during first startup process or ConstraintsRetriever V1.0) array then LanAI will consider the player as inside the ship and able to be then touched by the kickall command (of course if his rank is Unauthorized, as Guest is allowed but is not allowed to touch anything of LanAI not even open LanAI Next protection).
Also if LanAI Next auto analysis systems does something unexpected I can always stop it using !ai selfkill to force terminate LanAI Next processor. The Screen can't be stopped but it's a vulgary program that just obeys to another big program running on a processor, the Screen basicaly can't do anything by itself excluding switching screens, rendering, system sounds, windows, ...

But normaly the !ai selfkill command should not be needed because if the algorythm fails it will more likely push a nil error or something similar before I can even selfkill it...

I added that command due to the public API, there is a risk that someones finds a way to interact directly with the processor and maybe change some routines which would cause for example a fake number of players in the ship, and would also be able to cause instant self destruct in battle (yeah I realy said that someone which doesn't own any entities in my ship could access Ship.Core["Self Destruct"] wire input through LanAI public API, fortunatly this person will probably fail as he has not my access key). There is also something else behind the command, the case where the battle auto warp intended to save ship is starting to warp in loop or warps too quickly/too late (but in that case the ship would Explode...).


RE: PCPU Rev2 - warhammer - 24-05-2016

.....


RE: PCPU Rev2 - warhammer - 30-05-2016

Does anyone know if there is a way to use the watercollector position that is saved in the lib file eg by teleporter?


RE: PCPU Rev2 - TheOneAndOnlyTee - 30-05-2016

The command for that is /collector i believe.


RE: PCPU Rev2 - pho - 13-06-2016

(30-05-2016, 08:30 AM)T-17 Wrote: The command for that is /collector i believe.

[Image: CRIcP.gif]


RE: PCPU Rev2 - warhammer - 17-06-2016

Yea you have to spawn the collector then you can do the command eg /collector hiigara


RE: PCPU Rev2 - pho - 18-06-2016

(17-06-2016, 11:12 PM)warhammer Wrote: Yea you have to spawn the collector then you can do the command eg /collector hiigara

"/collector" will do it chose the closest water spot from your ship



Btw, I have a bit of time to update the pcpu to version 2.2 and fixe some bugs and optimize stuff.. ,no new features.. i'm not into gmod like i used to.

So if you have any bug to report, or anything else, (i eard about a spelling mistake somwhere ?) tell me please

i already fixed the warp not working



RE: PCPU Rev2 - тѕсм.Tradedoodle - 03-08-2016

how do i wire the apts?


RE: PCPU Rev2 - iNoPeRaTiVe - 22-01-2017

Hi, iNoPeRaTiVe here, I would like to report a bug with APTS. After I've wired everything correctly, when I go to hit R (Engage) it gives me the "Error" sound that says it can't teleport. I've wired Pod [WIRELINK] to my pod controller, which is connected to a chair. I've wired Drive [WIRELINK] to a Wire Teleporter. I figured it might be because I would materialize inside a wall? I'm not sure though, some help would be greatly appreciated. Big Grin



RE: PCPU Rev2 - The17thDoctor - 23-01-2017

I dont thin you will have much replys , this chip is old . maybe pho is still active on the forum but i dont see him anymore on the server.