-
Posts
720 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Defent
-
-
Epoch can use them. The default epoch files from the site does not come with it but I know that for example Dayz.st uses them and they work.
I copied the tables from an old backup I had and inserted them and it worked. -
Yeap, I found the problem to my .dll & .exe crashing!
It's calling for these database tables:
default_loadout
custom_loadout_players
custom_loadout_types
I added them to my databse (they don't really do anything since I don't use them for default loadout anyway) and it seems to be working perfectly.
-
Makes sense.
I guess one way to mitigate it though is to make the sell prices rather low. Say for example you buy a vodnik for 10x10oz but it only sells for like 5 gold bars.
And after that adapt the buy prices. Supply and demand :)
-
Well you can always just change everything to cost x amount of gold bars and 10oz gold bars.
This would nullify the need for any of the other currencies.
I've been thinking of doing it, but I am not great with economy so stuff would probably be weirdly priced at first. -
http://www.dayzsuperhive.co.uk/object-library.html
Here is a list of all the class names of pretty much all Arma 2 items, vehicles etc.and when you add it to the dynamic_vehicle.sqf you just do
["CLASSNAME",3],
The number 3 decides how many vehicles of that type spawns if I remember correctly, in this case 3 vehicles of this certain class will spawn.
-
<t size='1.15' font='Bitstream'align='center' color='#5882FA'>Restart in %10 Minutes</t><br/>",
and at the part where you define the different types of %1, %2 etc.
add this:
(round(180-(serverTime) / 60))
180 defines the amount of seconds its counting down from. 180 minutes is 3 hours.
-
They work. It's similar to the Player2 spawn system which I use.
They don't have to be similar. Look at around line ~236 in the server_playerSetup.sqf and you'll find:
dayzPlayerLogin2 = [_worldspace,_state];
change to:
dayzPlayerLogin2 = [_worldspace,_state,_randomSpot];
and in server_playerLogin.sqf at around line 89:
if (!(_model in AllPlayers)) then {
change that to:
if (!(_model in ["SurvivorW2_DZ","Survivor2_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","BanditW1_DZ","Bandit1_DZ","Survivor3_DZ","TK_INS_Soldier_EP1","CZ_Soldier_DES_EP1","US_Soldier_EP1","Rocket_DZ","BAF_Soldier_MTP","BAF_Soldier_L_MTP","BAF_Soldier_Officer_MTP","BAF_Soldier_Sniper_MTP","Worker1","Soldier_Crew_AllWeaponSlots_PMC","Villager1","Citizen3","TK_CIV_Takistani05_EP1","TK_CIV_Takistani01_EP1"])) then {
or use the lines in this post:
http://opendayz.net/threads/release-scroll-menu-pick-your-own-spawn-point-class-and-loadout.13143/#post-89459
I had problems using the Player2 spawn script for a while before I realized that the variable for epoch wasPVDZE_plr_LoginRecord
and not
PVDZ_plr_LoginRecord
as in this example:
Works for epoch: p2_newspawn = compile preprocessFileLineNumbers "newspawn\newspawn_execute.sqf"; waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; if (dayzPlayerLogin2 select 2) then { player spawn p2_newspawn; };
This is not a full guide, just an example on how you can do it.
-
did you get it solved cuz none of the following posts seem to give an answer on the cfgweapon error, and thats where i am stuck at my self
Yea, I don't get that error anymore. I added them through the Nightmare(?) php trading tool and it seems to work just fine.
People can buy them and use them without any trouble.
Can not remember if that was the fix to be honest.
-
-
What I did was, I downloaded @namalsk island from PlayWithSix and moved that one in to the server folder and then also downloaded it for my client.
After that, I just used the default start line in the bat file:"-mod=@namalsk;@DayZ_Epoch;@DayZ_Epoch_Server;"
This works for me and I can use all traders etc.
So if you want to join a server with this mod just use
-mod=@Dayz_Epoch;@namalsk
-
I run Namalsk and epoch perfectly, I use the files listed on the epochmod.com install guide page.
You must have worked on some setting, this is my init:
http://pastebin.com/n4gNjtyP -
You're using a custom init.sqf right?
The code does not recognize the * sign, please post row ~60 to ~65 so I can see whats up with the code.
-
Solve the problem, it was not related to the database at all.
It was the launching .bat file, it didn't point towards the correct profile path.@echo off start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=4444 "-config=Configs\instance_11_Chernarus\config.cfg" "-cfg=Configs\instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
changed to
@echo off start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=4444 "-config=Configs\instance_11_Chernarus\config.cfg" "-cfg=Configs\instance_11_Chernarus\basic.cfg" "-profiles=Configs\instance_11_Chernarus" -name=Configs\instance_11_Chernarus "-mod=@DayZ_Epoch;@DayZ_Epoch_Server;"
-
This is how it looks right now, even if I add any of the above (other than root) it does not work.
I am 100% sure I type the password and everything right.can it be that HiveExt.ini doesnt want to connect to an external IP?
-
It is possible to set hive to use another username & password otherwise the setting wouldnt be there...
also
Most likely u haven't setup the user dayz & given them permissions to the epoch database
Also use a password for root etc its generally a good idea
Well that is exactly what I have done but the HiveExt.ini refuses to accept any other account other than root without a password.
I have fully set up accounts of all types and of all possible settings afaik, I can access the epoch database from my home computer and I can access it to localhost (with different usernames, not just root).
I understand that having a password on root is a good idea but it's sort of hard to use since my dayz servers seems like it doesn't accept that.
-
Create an User and give him excess to the database. Ive done it with Navicat...works pretty well.
I did that through the Phpmyadmin panel, should work the same way afaik
Still no result :(
Edit: Just downloaded the cfgdayz folder from Pwnoz0rs dayz github because I noticed that I lacked a few of the setting files that he had. Will attempt again now.
Edit 2: Didnt work :/
-
I have encountered a slight problem.
I am using xampp for apache and mysql and my HiveExt.ini refuses to establish a solid connection to the database in with any other account details other thanIp: Localhost Database: dayz Username: root Password: <no password>
I've tried changing these settings to both the public IP aswell as the local IP (all ports are forwarded and are accessible from the outside).
I do not wish to use the root username and especially not keeping it without a password but HiveExt.ini refuses any other username.
The message I get when I attempt to change is:(This happens with and without password)
I've changed the allowed IP in phpmyadmin to everything from localhost to public ip to % and nothing changes.
Right now the server functions when I use root without a password on localhost, whats up with this? -
I was confused because I saw this vehicle being used by a player today. He flew around and killed loads of people. I know I don't have it at any trader and I've never seen it spawn, even when the vehicle limit wasn't full. I was so sure that it was a hacker that I banned him. The vehicles are not added in the dynamic spawn either.
Am I in the wrong now or was it actually intended to spawn in the game? I'm confused.
-
You would need something that tells it where to put the price back too, or to increase so a default amount!
That could be solved aswell.
If the qty drops to 1 then update back to qty=100 and price to default
so basically:
UPDATE `Traders_DATA` SET buy='[1,"ItemGoldBar",1]'and qty=100 where qty <1 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat'
I'm not 100% sure you can do it like that, but you get the general idea.
-
I think that would be possible in a SQL event actually.
Say you take the update stock daily and remake it abit:
(Updates stock)UPDATE `Traders_DATA` SET qty=100 WHERE qty<50 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat'
and make it
UPDATE `Traders_DATA` SET buy='[10,"ItemGoldBar",1]' where qty <10 AND afile<>'trade_any_vehicle' AND afile<>'trade_any_boat'
This would of course set ALL items to cost 10 gold bars when quantity is below 10.
THE ONLY PROBLEM IS THAT THIS IS NOT APPLIED UNTIL AFTER RESTART.
I'm not sure if you can make price update instant but if you have a server that restarts often it might be ok.This means that you cant update trader quantity every restart but instead have to have it on like a daily schedule.
-
Cheers for this, I was looking for something to add to NWAF. I will try this out!
-
Move it server side and add it in server_functions.sqf.
Mine looks like this:
call compile preProcessFileLineNumbers "z\addons\dayz_server\buildingsepo\epochbalota.sqf"; sleep 2.0; call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildingsepo\epochkamenka.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildingsepo\epochcherno.sqf"; sleep 2.0; [] execVM "\z\addons\dayz_server\Maps\kacastle.sqf"; [] execVM "\z\addons\dayz_server\Maps\otmel.sqf"; sleep 2.0; [] execVM "\z\addons\dayz_server\sectorfng\sectorfng.sqf"; //execs Sector FNG
and it works.
-
I was thinking in the line of using the daytime command (if it exists in dayz too) and implement it with yours (@maca134) safezone script.
Basicly meaning that at a certain time of the day, with the daytime command the script becomes active and deletes all vehicles parked inside the zone. Acting just like a safezone works.
So the script is initialized but lays dormant till that time.
Dunno if that would work, just a theory.
daytime > 19
http://www.kylania.com/ex/?p=97
Just a snippet:
if daytime > 19 = true { // should it really be ">" and not "="? (24h) SafeZoneEnable = { hintSilent "Do not park you cars here, traffic wardens are watching."; player setDamage = 1; // cant remember the vehicle damage function :) }; };forEach _safezones; //Seemd important so I used it.
As you can see, I am terrible at scripting and have no real talent in it so I'll just leave this here as theoretical scenario.
If my ideas are completely out of bounds, disregard them :) -
It's not that hard to find guys:
ItemMixOil
for the oil needed
Also @MatthewKYou just gave me a splendid idea, ikea missions - mind if I borrow that concept?
[Release] Multiple Character Support (now compatible with Epoch 1.0.5.1)
in A2: Epoch Mods (1.0.5.1)
Posted
Yea, that's what I meant. However, I only noticed that after I added your .dll file and at the instance of the crash. The .rpt file wrote a few lines about not finding those tables. And the only place I've ever seen those tables were on dayz.st :)
Sorry if I cause any confusion, it's just the way I solved the problem for me.