Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - ninekorn

#41
discontinued 2023 july 29th . by ninekorn
#42
discontinued 2023 july 29th . by ninekorn
#43
discontinued 2023 july 29th . by ninekorn
#44
Bug reports / Some bugs/issues Reports!
March 09, 2018, 11:40:43 PM
removed.
#45
There is a message in the console that is beeing displayed ever since I've created my test server today. It's never happened as much as it was doing so today. The message says
"[ERR] Ship not found: 0"
I think in the past, AI_enabled fixed one debug message like that but it was for Asteroids, if I remember correctly.
How does the fuel work in VoidExpanse?
Somehow, it feels like both the energy consumption and fuel consumption are linked together? I'm not sure if I'm wrong there.
#46
The channel is free. I am not there to show that I am good at scripting nor to make money... I don't think I am that good. In fact I believe I have a LOT left to learn. But I made a mistake starting those mods. And that was to "disregard" the "haste" that is pretty much required for keeping an audience interested... I am talking about the community of course. It's been 6 months that I've release a video of my Galaxy Market in Void Expanse and 3 months later I had received 2 responses of the community on youtube here https://www.youtube.com/watch?v=Hp6zYf-7AzM . Also someone was interested in my drones mod here http://steamcommunity.com/workshop/discussions/18446744073709551615/2183537632735962702/?appid=324260 and I didn't respond. I have been working hours upon hours trying to make the best thing possible but I've just hit a wall of reality this weekend. I mean, I wasn't focusing on the right project, my idea was wrong from the start for the Drone Formation. I mean it's still a good idea that I will "convert" for other projects but it wasn't going to be effective for Drone Formations. And so this weekend I've decided to "burn" my whole Drone Formation project V1 and start with V2. It took me 1 day to create V2 and 3-4 months to make V1. So my whole project was taking too long. The tiny pathfind got me distracted. And the function StickToPoint wasn't giving me the perfect position at the right of the player and that's why I wasn't using it. In fact, I was using my own trigonometry functions to get the formation points. I am now using StickToPoint to make the drone Formations work and I will just offset the points a little bit to increase the number of formation points near the player. I am now starting V2 with StickToPoint and the V2 project is already way more advanced than V1. This is a good sign. Here's approx my current goals and a LOT of those functions already work, if not ALL OF them:

In the Drone Formation V1: worked 30 days just on the pathfind and the rest took 3-4 months
1. All different behaviors of the drones were separated and weren't even working together yet.
2. I worked 1 whole month for the AI Simple Pathfind and was able to make it work but it was completely USELESS for the project for what I wanted to use it for. The work on it is done
    though and so I will reuse it later anyway.
3. In that month, I was also able to put the drone in formation by following the best path it found from the pathfind it generated. The path was extra small and very effective. But as I
    said I was using this whole stuff the wrong way.
4. I had made a basic "Drone Go Mine" script that was working and don't remember where I put it in 2.5 terabyte of folders and projects and backups and whatnot....
5. I had made a basic "Drone Evade Projectiles" script that was working and don't remember where I put it in 2.5 terabyte of folders and projects and backups and whatnot....

In the Drone Formation V2: worked 1 day on it and it's already better than V1

      1.1 - AI Pick Formation:
         1.1.1 - The drone can follow the player. (coded)
         1.1.1 - If the drone is too far from the player it will go back to the player.
         1.1.2 - If the drone is getting in range of the player, it will get in formation.
         1.1.3 - If the drone is In formation but is ordered to go mine or attack, it will do so. (but V2 had a bug here where you could only send it mine once, after that it bugged)
         1.1.4 - If the drone is in formation but the player is "docking", it will dock with the player.
         1.1.5 - If the drone is in formation but the player is entering a jumpgate, the drone will jump with the player. (I might switch that later so if the drones are too far from the player
                    to remove their jumping capabilities)

      1.2 - AI Go Mine.
         1.2.1 - If the drone is commanded to go mining, it will go mine.
         1.2.2 - When the drone is mining, it gets a 2 seconds delay for each mining laser activation. For the moment, each mining laser activation gives them a minimum of 10 "Glepsite".
                    To be modified later.
         1.2.3 - Each 2 seconds, the mining laser yield is full and so the drone deposits the minerals in it's own cargo. Once it's own cargo is full, it will move towards the player and dropoff
                    it's own cargo unless the player's inventory is full.
         1.2.4 - If the player's cargo is full, the drone will not "try" to empty it's mining laser "yield" on the player. It will just stop mining once it's inventory is full and then go back to
                    formation instead of mining again.
         1.2.5 - If the player's cargo is NOT full, it will stop mining, and move towards the player until it hits a certain distance from the player to where it would stop.
         1.2.6 - Once the drone is stopped near the player, it will droppoff it's materials and then BAM it returns mine...
         1.2.7 - As long as there is space in the players cargo and an asteroid to find in the system, the drone will keep mining.
         1.2.8 - The drone is stopping it's mining operation if the player is too far, and if that happens, the drone returns near the player in Formation, instead of going back to mine.
     

      1.3 - AI Go Pick Containers.
         1.3.1 - to fill soon.

     1.4 - AI Go Combat.
         1.4.1 - to fill soon.


I will be trying to code all nights from 09h00pm to 01h00am every night of the week and more in the weekends. I might also in the weekends. I have a job during the afternoon and so I can't work there for the moment. At some point, I might switch from night to morning.

If you people have any ideas as to how I could "better" my mods please feel free to contact me. You can also come in the TwitchTV channel and just give me a flurry of "swears" or a flurry of "you suck buddy" and that's gonna make my day!  ;D

Anyhow, it's free, and it's for Void Expanse's Community!
nine








#47
discontinued 2023 july 29th . by ninekorn
#48
discontinued 2023 july 29th . by ninekorn
#49
Bug reports / Too many Heap sections crash!
December 26, 2017, 06:42:18 AM
Hi guys, I have no clue what happened as I left my private server and game opened for the night. When I woke up this morning I had a Void Expanse crash. I wonder if it's due to my market mod? It worries me a bit since I have cleaned the 17 scripts that make the buy section of the market mod and got rid of every uneeded functions and variables and arrays and also I've removed all hiddenInStationNPCs from the game to just spawn a series of 15 of them in the starting station to test the market mod. The market mod was running fast but it seems that there is something that lags the server periodically... I have no clue if it's my market mod. I have put a sharable link of my google drive for the too many heap sections crash report. When you guys have the time to look at it.

Thank you!
nine

https://drive.google.com/file/d/1TpPtSUbVqBcpWf1A_Gw1Gg8KEIrr69zq/view?usp=sharing
#50
discontinued 2023 july 29th . by ninekorn
#51
discontinued 2023 july 29th . by ninekorn
#52
discontinued 2023 july 29th . by ninekorn
#53
Help section / How to use ship.SetEquipmentCacheValue?
August 01, 2017, 08:15:16 PM
discontinued 2023 july 29th . by ninekorn
#54
Hi,

The Scripting API doesnt seem to recognize items.RemoveItem not recognized as a function! I've also tried station.RemoveItem or generator.RemoveItem or game.RemoveItem but none seem to work. items.RemoveCargo won't work because im trying to remove items from the station shop container. This is for my galaxy market mod.

Thank you in advance.
nine
#55
discontinued 2023 july 29th . by ninekorn
#56
Hi. just this little detail before I go sleep.

GetStationShopContainerId() is not working. is there another solution? i need the shop containers.

nine
#57
Modding info / Getting the name of Systems?
July 18, 2017, 11:05:25 PM
Hi,

How can I get the name of a system. While they are generated with "var id = generator.AddSystem(0, 0, "SystemName", 123)" they dont seem to be tags so is there a function in the API that is available for us to use?

Ive searched the Wiki API and couldnt find anything.

Thank you.
nine
#58
discontinued 2023 july 29th . by ninekorn
#59
discontinued 2023 july 29th . by ninekorn
#60
Neither of my container spawning lines work (containerid  or cont_id)... They give me an error in the console when i try to use my device? If anybody knows what im doing wrong id really love to know. Thanks for the help in advance. I try to spawn a container to test the NPC behavior after that on the crate. I also try to spawn them away from the player ship so that no collision occurs.

nine


function OnStart(args)
{
   var shipID = args.ship_id;
   var name = game.GetShipOwner(shipID);
   var sysID = args.sys_id;
   var coords = ship.GetCoordinates(shipID);

   var item_list = "droplist_empty";

   //var containerid = generator.AddContainer(sysID,coords.x+5,coords.y+5,"crate_02",item_list);
    var cont_id = generator.AddContainer(sysID, coords.x+5,coords.y+5,"crate_02", item_list, { itemlist: item_list });

   //console.Print(shipID);
   //console.Print(name);
   //console.Print(coords.x);
   //console.Print(coords.y);
}





EDIT: I found my mistake. !  ;D