Welcome credits file not doing anything ~ help needed

LTGManny

New Member
Hi, I am running Epoch server v.1.0.4.2 and I am having trouble with the welcome credits for when people join the server.

The scripts are from here ~ http://opendayz.net/threads/dayz-welcome-message-credits-style.13071/

Since it was not working, I tried moving the Server_WelcomeCredits.sqf to another folder called 'welcome' in the same directory. That is the only reason why my files say 'welcome\Server_WelcomeCredits.sqf'

My mission.pbo init.sqf file ~ here.
My mission.pbo \welcome\Server_WelcomeCredits.sqf file ~ here.


Per instruction, I placed [] execVM "welcome\Server_WelcomeCredits.sqf"; between the lines

Code:
if (!isDedicated) then {
//Conduct map operations

to make

Code:
if (!isDedicated) then {
[] execVM "welcome\Server_WelcomeCredits.sqf";
    //Conduct map operations

I have tried seeing if the [] execVM "welcome\Server_WelcomeCredits.sqf"; was actually executing in the first place by making it search for the server_welcomecredits in the wrong folder, and it came up as a script not found error. So that tells me it's seeing the script but it's not doing anything.

I have tried looking around for an answer but haven't found one, any help would be most appreciated, and if anyone has had experience with Epoch and wouldn't mind helping a new guy in the field that would be awesome.

Thanks in advance :D


EDIT: RESOLVED - Thanks to SchwEde's comment ~

Basically by using v1.3.4 of Server_WelcomeCredits.sqf -

Code:
/* *********************************************************************** */

/* =======================================================================
/* SCRIPT NAME: Server Intro Credits Script by IT07
/* SCRIPT VERSION: v1.3.4 BETA
/* Credits for original script: Bohemia Interactive http://bistudio.com
/* =======================================================================

/* *********************************************************************** */

// ========== SCRIPT CONFIG ============

_onScreenTime = 6; //how long one role should stay on screen. Use value from 0 to 10 where 0 is almost instant transition to next role
//NOTE: Above value is not in seconds!

// ==== HOW TO CUSTOMIZE THE CREDITS ===
// If you want more or less credits on the screen, you have to add/remove roles.
// Watch out though, you need to make sure BOTH role lists match eachother in terms of amount.
// Just take a good look at the _role1 and the rest and you will see what I mean.

// For further explanation of it all, I included some info in the code.

// == HOW TO CUSTOMIZE THE COLOR OF CREDITS ==
// Find line **** and look for: color='#f2cb0b'
// The numbers and letters between the 2 '' is the HTML color code for a certain yellow.
// If you want to change the color of the text, search on google for HTML color codes and pick the one your like.
// Then, replace the existing color code for the code you would like to use instead. Don't forget the # in front of it.
// HTML Color Codes Examples:
// #FFFFFF (white)
// #000000 (black) No idea why you would want black, but whatever
// #C80000 (red)
// #009FCF (light-blue)
// #31C300 (Razer Green)
// #FF8501 (orange)
// ===========================================


// SCRIPT START

waitUntil { alive player };
sleep 2;
waituntil {!isnull (finddisplay 46)};
sleep 35; //Wait in seconds before the credits start after player loads into the game

_role1 = "Welcome to";
_role1names = ["123"];
_role2 = "Admins";
_role2names = ["SchwEde"];
_role3 = "Server mod";
_role3names = ["DayZ Chernarus"];
_role4 = "Useful Information"; //The "by" in this row will be shown one row below "Server antihack". Can be applied to any role
_role4names = ["Bla Bla hier"];
_role5 = "Server Mods";
_role5names = ["Bla Bla nicht hier"];
_role6 = "Website";
_role6names = ["asddde.de"];
_role7 = "Teamspeak";
_role7names = ["pssss"];
_role8 = "Email Support";
_role8names = ["@gmail"];
_role9 = "Special Thanks";
_role9names = ["OpenDayZ.net", "rosska85", "infiSTAR"];

{
sleep 2;
_memberFunction = _x select 0;
_memberNames = _x select 1;
_finalText = format ["<t size='0.40' color='#FF8501' align='right'>%1<br /></t>", _memberFunction];
_finalText = _finalText + "<t size='0.65' color='#FFFFFF' align='right'>";
{_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
_finalText = _finalText + "</t>";
_onScreenTime + (((count _memberNames) - 1) * 0.5);
[
_finalText,
[safezoneX + safezoneW - 1.8,0.35],
[safezoneY + safezoneH - 0.8,0.7],
_onScreenTime,
0.5
] spawn BIS_fnc_dynamicText;
sleep 7;
} forEach [
//The list below should have exactly the same amount of roles as the list above
[_role1, _role1names],
[_role2, _role2names],
[_role3, _role3names],
[_role4, _role4names],
[_role5, _role5names],
[_role6, _role6names],
[_role7, _role7names],
[_role8, _role8names],
[_role9, _role9names] //make SURE the last one here does NOT have a , at the end
];
 
Last edited:
it came up as a script not found error. So that tells me it's seeing the script but it's not doing anything.
It means it looked for the file but didnt find it... basically it was in fact looking but you have to change the pathway so it actually finds it and my best guess why it isnt working is just a bug somwhere in the script itself because it probably finds and it loads to early befor you can even see it.. contact the dude who made the script manny

Btw Noob change it to LTG Manny...
 
It means it looked for the file but didnt find it

Noob. It only says script not found after I deliberately changed the pathway to NOT find it. Showing that when the pathway is correct the execution is working but the script isn't.

Have contacted author. Hopefully he knows what's up :)
 
"file doesn't exist" means the server can't find the file in the given path
"file can't be loaded" means, the path for the server is correct, but in most cases the file is missing on client side.

exist a rpt log of the error?
 
try this welcomeCredits:
/* *********************************************************************** */

/* =======================================================================
/* SCRIPT NAME: Server Intro Credits Script by IT07
/* SCRIPT VERSION: v1.3.4 BETA
/* Credits for original script: Bohemia Interactive http://bistudio.com
/* =======================================================================

/* *********************************************************************** */

// ========== SCRIPT CONFIG ============

_onScreenTime = 6; //how long one role should stay on screen. Use value from 0 to 10 where 0 is almost instant transition to next role
//NOTE: Above value is not in seconds!

// ==== HOW TO CUSTOMIZE THE CREDITS ===
// If you want more or less credits on the screen, you have to add/remove roles.
// Watch out though, you need to make sure BOTH role lists match eachother in terms of amount.
// Just take a good look at the _role1 and the rest and you will see what I mean.

// For further explanation of it all, I included some info in the code.

// == HOW TO CUSTOMIZE THE COLOR OF CREDITS ==
// Find line **** and look for: color='#f2cb0b'
// The numbers and letters between the 2 '' is the HTML color code for a certain yellow.
// If you want to change the color of the text, search on google for HTML color codes and pick the one your like.
// Then, replace the existing color code for the code you would like to use instead. Don't forget the # in front of it.
// HTML Color Codes Examples:
// #FFFFFF (white)
// #000000 (black) No idea why you would want black, but whatever
// #C80000 (red)
// #009FCF (light-blue)
// #31C300 (Razer Green)
// #FF8501 (orange)
// ===========================================


// SCRIPT START

waitUntil { alive player };
sleep 2;
waituntil {!isnull (finddisplay 46)};
sleep 35; //Wait in seconds before the credits start after player loads into the game

_role1 = "Welcome to";
_role1names = ["123"];
_role2 = "Admins";
_role2names = ["SchwEde"];
_role3 = "Server mod";
_role3names = ["DayZ Chernarus"];
_role4 = "Useful Information"; //The "by" in this row will be shown one row below "Server antihack". Can be applied to any role
_role4names = ["Bla Bla hier"];
_role5 = "Server Mods";
_role5names = ["Bla Bla nicht hier"];
_role6 = "Website";
_role6names = ["asddde.de"];
_role7 = "Teamspeak";
_role7names = ["pssss"];
_role8 = "Email Support";
_role8names = ["@gmail"];
_role9 = "Special Thanks";
_role9names = ["OpenDayZ.net", "rosska85", "infiSTAR"];

{
sleep 2;
_memberFunction = _x select 0;
_memberNames = _x select 1;
_finalText = format ["<t size='0.40' color='#FF8501' align='right'>%1<br /></t>", _memberFunction];
_finalText = _finalText + "<t size='0.65' color='#FFFFFF' align='right'>";
{_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
_finalText = _finalText + "</t>";
_onScreenTime + (((count _memberNames) - 1) * 0.5);
[
_finalText,
[safezoneX + safezoneW - 1.8,0.35],
[safezoneY + safezoneH - 0.8,0.7],
_onScreenTime,
0.5
] spawn BIS_fnc_dynamicText;
sleep 7;
} forEach [
//The list below should have exactly the same amount of roles as the list above
[_role1, _role1names],
[_role2, _role2names],
[_role3, _role3names],
[_role4, _role4names],
[_role5, _role5names],
[_role6, _role6names],
[_role7, _role7names],
[_role8, _role8names],
[_role9, _role9names] //make SURE the last one here does NOT have a , at the end
];

Its an older version but working fine. Just need some customization from you and should be done ;)
 
Hi Guys I am try to get this to run but it wont show up when I respawn.
I have added the code above and entered my info in the places it needs to be , and added this to the init where I think it should be is this correct ?

if (!isDedicated) then {[] execVM "Scripts\kh_actions.sqf";
[] execVM "compile\Server_WelcomeCredits.sqf";
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");

If this is correct any idea why it wont show up.
thanks
MegaZ
 
OK update using SchwEde version it works but in using Helo Spawn and have scroll to display name tag in game and both opions dissapear while spawning after 5 -10 seconds and the only option i get is the sever Credits option and of course plumit to my death. Any idea why it cancel out the other items thanks
MegaZ
 
Try to put in your in init.sqf
Code:
DZE_ForceNameTags = true;
Somewhere in the configs near the top.
 
Back
Top