In der Desc muss man noch den #include befehl von spyglass rausnehmen
Beiträge von ZiegeRette
-
-
Log wirft dadurch eben den Fehler aus : 21:56:53 Scripting function 'db_fnc_persorequest' is not allowed to be remotely executed
bei mir auch so ähnlich weiß aber nicht ob es was mit Dyn zutuhen hat
22:12:01 Scripting function 'bis_fnc_setidentity' is not allowed to be remotely executed
-
An sich gute Idee, geht blos leider nicht
noch ein paar infos:
Die Items werden alle richtig angezeigt
wenn ich die notification in der config auf true stelle wird auch alle 5 minuten (wurde auch so eingestellt) im Spiel gesagt das er die Preise updated
Die Datenbank macht einträge
Wenn ich selbst einen wert in der Datenbank ändere (zb: ["heroin_processed",5000,0], würde 5000 bringen und wird zu ["heroin_processed",5500,0],)
dann aktualisiert das Marksystem dies auch nach den eingestellen 5 Minuten und bringt den Preis ins Spiel
hier sonst nocheinmal die einträge die die Datenbank AUTOMATISCH gesetzt hat:
[["apple",25,0],["peach",50,0],["goldbar",95000,0],["oil_processed",1200,0],["copper_refined",1700,0],["iron_refined",1650,0],["salt_refined",1850,0],["glass",1450,0],["diamond_cut",2530,0],["cement",2350,0],["heroin_processed",5000,0],["marijuana",5250,0],["cocaine_processed",5300,0],["baumwolle_p",9050,0],["tabak_p",2542,0],["oliven_p",1950,0],["reis_p",2678,0],["holz_p",2271,0],["bier_p",2925,0],["erde",1150,0],["wein_p",2260,0],["goldkrone_p",4050,0],["vodka_p",3850,0],["oldesloer_p",3650,0],["whisky_p",3350,0],["salsa_p",2350,0],["titan_p",5150,0],["carbon_p",3350,0]]
vielleicht erkennt ja jemand ein Problem
-
Die Links gehen alle nicht mehr, naja wohl schon zu lange her^^
-
Bei meinen Preisen tut sich nix aber erros sind meines wissens nach nicht ( config:
Spoiler anzeigen
/*
##################### DYNAMIC MARKET SCRIPT #####################
### AUTHOR: RYAN TT. ###
### STEAM: http://www.steamcommunity.com/id/ryanthett ###
### ###
### DISCLAIMER: THIS SCRIPT CAN BE USED ON EVERY SERVER ONLY ###
### WITH THIS HEADER / NOTIFICATION ###
#################################################################
*/
// ███████████████████████████████████████████████████████████████████████
// █████████████████ DYNAMIC MARKET BASIC CONFIGURATION ██████████████████
// ███████████████████████████████████████████████████████████████████████
DYNMARKET_Serveruptime = 05; // Serveruptime after restart in hours
DYNMARKET_UseExternalDatabase = true; // Should the script use the External Database?
DYNMARKET_PriceUpdateInterval = 01; // After how many minutes should the price be updated?
DYNMARKET_CreateBackups = true; // Should the server save write the prices regulary into the Database? If false, it will save the prices before Server-restart?
DYNMARKET_CreateBackupInterval = 03; // After how many updates (PriceUpdateIntervals) should the prices be saved into the Database?
DYNMARKET_UserNotification = false; // Should the user be informed with a hint whenever the prices got updated?
// █████████████████ USER NOTIFICATION TEXTS █████████████████
DYNMARKET_UserNotification_Text =
[
"Your prices have been updated!",
"The new prices are being calculated by the server..."
];
// █████████████████ ITEM GROUP CONFIGURATION █████████████████
DYNMARKET_Items_Groups =
[
["Legal",
[
["apple",-1,30,50],
["peach",-1,30,100],
["oil_processed",-1,1200,1999],
["copper_refined",-1,1700,2254],
["iron_refined",-1,1650,2500],
["salt_refined",-1,1850,2700],
["glass",-1,1450,2400],
["diamond_cut",-1,2530,4200],
["cement",-1,2350,2900],
["baumwolle_p",-1,2050,2500],
["tabak_p",-1,2542,3400],
["oliven_p",-1,1950,2505],
["reis_p",-1,2678,3300],
["holz_p",-1,2271,3000],
["bier_p",-1,2925,4300],
["erde",-1,1150,1300],
["wein_p",-1,2260,2950],
["goldkrone_p",-1,4050,5200],
["vodka_p",-1,3850,4970],
["oldesloer_p",-1,3650,4606],
["whisky_p",-1,3350,4500],
["salsa_p",-1,1950,2900],
["titan_p",-1,4300,6000],
["carbon_p",-1,2500,3500]
],
0.5
],
["Illegal",
[
["goldbar",-1,70000,110000],
["heroin_processed",-1,4200,5900],
["marijuana",-1,3900,4900],
["cocaine_processed",-1,3500,6500]
],
0.5
]
];
// █████████████████ ALL SELLABLE ITEMS █████████████████
DYNMARKET_Items_ToTrack =
[
["apple",25],
["peach",50],
["goldbar",95000],
["oil_processed",1200],
["copper_refined",1700],
["iron_refined",1650],
["salt_refined",1850],
["glass",1450],
["diamond_cut",2530],
["cement",2350],
["heroin_processed",5000],
["marijuana",5250],
["cocaine_processed",5300],
["baumwolle_p",2050],
["tabak_p",2542],
["oliven_p",1950],
["reis_p",2678],
["holz_p",2271],
["bier_p",2925],
["erde",1150],
["wein_p",2260],
["goldkrone_p",4050],
["vodka_p",3850],
["oldesloer_p",3650],
["whisky_p",3350],
["salsa_p",2350],
["titan_p",5150],
["carbon_p",3350]
];
//███████████████████████████████████████████████████████████████████████
//██████████████████ DO NOT MODIFY THE FOLLOWING CODE! ██████████████████
//███████████████████████████████████████████████████████████████████████
DYNMARKET_Items_CurrentPriceArr = [];
DYNMARKET_sellarraycopy = DYNMARKET_Items_ToTrack;
DYNMARKET_Serveruptime = (DYNMARKET_Serveruptime * 3600) - 300;
{
_currentArray = _x;
DYNMARKET_Items_CurrentPriceArr pushBack [_currentArray select 0,_currentArray select 1,0];
} forEach DYNMARKET_Items_ToTrack;
publicVariable "DYNMARKET_UserNotification";
publicVariable "DYNMARKET_UserNotification_Text";
if (DYNMARKET_UseExternalDatabase) then {[1] call TON_fnc_HandleDB;};
DYNMARKET_UpdateCount = 0;
if (DYNMARKET_UseExternalDatabase) then {
[] spawn {
sleep DYNMARKET_Serveruptime;
diag_log "### DYNMARKET >> CURRENT PRICES ARE BEING WRITTEN TO THE DATABASE ###";
diag_log "### DYNMARKET >> AS PLANNED, AWAITING RESULT... ###";
[0] call TON_fnc_HandleDB;
};
};
sleep 5;
[] call TON_fnc_sleeper;
-
Hab das Problem dass wenn ich auf den Server connecte einen black screen stehen habe mit "überpruefe daten des personalausweis" ich benutze altis life 5.0.0 und extdb3 hoffe irgendwer kann mir helfen rpt im anhang (ja ich weis das ich ne menge errors in der log hab
ich versuche es alles mit der zeit zu fixen ^^)
-
-
-
-