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.


Messages - 4zurewolf

Pages: [1]
1
Editing & Coding / Re: Gun Store only shows a couple weapons
« on: Aug 05, 2017, 07:14 AM »
Sorry for the keys comment, Iv'e seen people who never changed verification to 2 and not set keys, hence the errors.

I can only assume you are using someone else's .sqf setups, likely for loot tables and such. In which case you would have to ask that person/people directly about the donation errors. As far as I can see everything looks okay now, if your server doesn't have a big player base you can always revert to original formats and figure it out from there. If you are confident that the extra third party code isn't the issue, Id say it may be an issue with CUP files; either client side, or server.

That being said, I'm seeing plenty of third party interference with store tables.

2
Editing & Coding / Re: Gun Store only shows a couple weapons
« on: Aug 05, 2017, 04:36 AM »
This may be a trivial question, but have you added the keys to your server for CUP?

3
Editing & Coding / Re: Gun Store only shows a couple weapons
« on: Aug 05, 2017, 02:00 AM »
I just tested the same exact thing on my server:

The first part of your array has a section that is "", ex. seen below:

["", "CUP_hgun_PB6P9", 25],

You need to add a name for them to show up in the trader, otherwise they are invisible due to the way CUP does not have weapon avatars.


Try something like this: they do not need to have any specific name - just a name to find them in the store for.

["PB6P9 Handgun", "CUP_hgun_PB6P9", 25],


If you do not believe me, you say that you have flawless General and Vehicle stores:

 ["K40 Ababil-3 Missile UAV", "I_UAV_02_dynamicLoadout_F", 90000, "vehicle", "variant_greyhawkMissile"],

Take note that the above  has the name K40 Ababil-3 Missile UAV, and therefore shows up in the trader. Not all mods are like CUP in the fact that they require a name, but like I said, CUP has no avatars and therefore you cannot see them.

4
In addition, after removing added loot from LSlootLists.sqf, the error went away.

I guess my real question is: How can I add additional loot?

5
Hello!

I am new to this forum but joined to receive help on a few errors I am having with wasteland. Currently I have added multiple items in to be spawned as loot in LSlootlists.sqf; and have not received any console errors from that file.

I have however received an error, since adding additional loot, in Lootspawner.sqf.

The following error pops up:

16:35:23 Error in expression <ddons\Lootspawner\Lootspawner.sqf"
 
getListBuildingnames = {
{
spawnBuilding>
16:35:23   Error position: <getListBuildingnames = {
{
spawnBuilding>
16:35:23   Error Missing ]
16:35:23 File mpmissions\__cur_mp.Altis\addons\Lootspawner\Lootspawner.sqf, line 83

And the code inside looks like this:

//Buildings that can spawn loot go in this list
#include "LSlootBuildings.sqf"
//Loot goes in these lists
#include "LSlootLists.sqf"

//-------------------------------------------------------------------------------------
//function only runs once on beginning of mission, not really needs a compile
//fill spawnBuilding_list with buildingnames only
getListBuildingnames = {
   {
      spawnBuilding_list pushBack (_x select 0);
      //diag_log format["-- LOOTSPAWNER DEBUG add to spawnBuilding_list: %1 ", (_x select 0)];
   }forEach Buildingstoloot_list;
};

Does anyone know what I can do to fix these errors?

Pages: [1]