

Sleepy3103
Members-
Content Count
3 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Sleepy3103
-
Rank
On the Coast
-
-
So after adding a few mods none of the items that have tropic camo or color will work in the trader. I noticed that a few things on the mortys weapon pack didn't work but I thought it was just those items. After adding Suad MSF-C and trader fixes and features I went back into the game to see if everything was working and now I notice everything tropic besides Multicam Tropic is just not working. I will post some screenshot of what I see in the traders, but it's not just the modded items either. All items including vanilla that have tropic color are missing. I didn't mess with any vanilla items so I don't know what's going on. Has anyone seen anything like this before? The Squad MSF-C mod took forever to get everything organized and added so hopefully I don't have to redo all that. If anyone has any idea where to start looking for the problem or has had an issue like this before let me know, please. Thanks in advance for any replies.
-
Just started a server, looking for admins. PC US East coast.
Sleepy3103 posted a topic in Server Advertisement
Hey guys and gals, I just started a server and I'm looking for people who know how to mod and admin. I got most of the mods I want working but I am having trouble with getting ATMs to spawn for the banking mod and Items from mods into the traders inventory. This is a Nitrado server and only 20 slots for now until its all set up and working correctly. I am only home 2 days a week so Its gonna be impossible to admin by myself once it goes public. Here are my ideas for the server, if you like the ideas and want to help send me a message. I want this to be a PVE server with lots of PVP zones. I want to increase the loot a little, mainly simple weapons, food, water containers and medical supplies. I want to add weapon and item mod packs and add them to the traders, edit the starting load out to include a knife, rags, pants, a coat, hat, small backpack, a bottle of water, and a couple food items. I want to start player off with a couple thousand in the bank so they can get a few basic supplies when starting out but not anything they want like some servers. I'll include a list of mods I am thinking about when I get home on Monday. If anyone is interested though let me know as soon as you can, I will be working on the server Monday and Tuesday November the 23rd and 24th. I hope to have all the mods done and be able to test it out with some people before I have to leave on Wednesday so hopefully it will be able to go public this week or next. My ultimate goal is to buy a real enterprise grade server and have it colocated in a data center near me so I can run a few game servers on it at once. Thats going to take time and lots of money so for now I am renting a Nitrado server. Also if you want to just play on the server once its live join our discord. https://discord.gg/Qbfd9qU4TG Thanks Sleepy3103 -
So all I am trying to do is add a couple of ATMs to the traders. I have tried editing the init.c file different ways searched for hours and tried suggestions I found on this forum and elsewhere and I still cant get them to spawn. This is my init.c file. Can anyone help me figure out what is going on here? //Spawn helper function void SpawnObject( string type, vector position, vector orientation ) { auto obj = GetGame().CreateObject_WIP( type, position, ECE_CREATEPHYSICS ); obj.SetFlags( EntityFlags.STATIC, false ); obj.SetPosition( position ); obj.SetOrientation( orientation ); obj.SetOrientation( obj.GetOrientation() ); //Collision fix obj.Update(); obj.SetAffectPathgraph( true, false ); if( obj.CanAffectPathgraph() ) GetGame().GetCallQueue( CALL_CATEGORY_SYSTEM ).CallLater( GetGame().UpdatePathgraphRegionByObject, 100, false, obj ); } void main() { //Your custom spawned objects SpawnObject( "DC_BankingATMRed", "3710.000000 402.010986 5992.000000", "142.000000 0.000000 0.000000" ); SpawnObject( "DC_BankingATMRed", "8351.200195 292.010986 5978.299805", "-140.000000 0.000000 0.000000" ); //INIT WEATHER BEFORE ECONOMY INIT------------------------ Weather weather = g_Game.GetWeather(); weather.MissionWeather(false); // false = use weather controller from Weather.c weather.GetOvercast().Set( Math.RandomFloatInclusive(0.4, 0.6), 1, 0); weather.GetRain().Set( 0, 0, 1); weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0); //INIT ECONOMY-------------------------------------- Hive ce = CreateHive(); if ( ce ) ce.InitOffline(); //DATE RESET AFTER ECONOMY INIT------------------------- int year, month, day, hour, minute; int reset_month = 9, reset_day = 20; GetGame().GetWorld().GetDate(year, month, day, hour, minute); if ((month == reset_month) && (day < reset_day)) { GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); } else { if ((month == reset_month + 1) && (day > reset_day)) { GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); } else { if ((month < reset_month) || (month > reset_month + 1)) { GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); } } } } class CustomMission: MissionServer { void SetRandomHealth(EntityAI itemEnt) { if ( itemEnt ) { float rndHlt = Math.RandomFloat( 0.25, 0.65 ) itemEnt.SetHealth01( "", "", rndHlt ); } } override PlayerBase CreateCharacter(PlayerIdentity identity, vector pos, ParamsReadContext ctx, string characterName) { Entity playerEnt; playerEnt = GetGame().CreatePlayer( identity, characterName, pos, 0, "NONE" ); Class.CastTo( m_player, playerEnt ); GetGame().SelectPlayer( identity, m_player ); return m_player; } override void StartingEquipSetup(PlayerBase player, bool clothesChosen) { EntityAI itemClothing; EntityAI itemEnt; ItemBase itemBs; float rand; itemClothing = player.FindAttachmentBySlotName( "Body" ); if ( itemClothing ) { SetRandomHealth( itemClothing ); itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" ); if ( Class.CastTo( itemBs, itemEnt ) ) itemBs.SetQuantity( 4 ); SetRandomHealth( itemEnt ); string chemlightArray[] = { "Chemlight_White", "Chemlight_Yellow", "Chemlight_Green", "Chemlight_Red" }; int rndIndex = Math.RandomInt( 0, 4 ); itemEnt = itemClothing.GetInventory().CreateInInventory( chemlightArray[rndIndex] ); SetRandomHealth( itemEnt ); rand = Math.RandomFloatInclusive( 0.0, 1.0 ); if ( rand < 0.35 ) itemEnt = player.GetInventory().CreateInInventory( "Apple" ); else if ( rand > 0.65 ) itemEnt = player.GetInventory().CreateInInventory( "Pear" ); else itemEnt = player.GetInventory().CreateInInventory( "Plum" ); SetRandomHealth( itemEnt ); } itemClothing = player.FindAttachmentBySlotName( "Legs" ); if ( itemClothing ) SetRandomHealth( itemClothing ); itemClothing = player.FindAttachmentBySlotName( "Feet" ); if ( itemClothing ) SetRandomHealth( itemClothing ); } }; Mission CreateCustomMission(string path) { return new CustomMission(); }