Chunk. No Captain Chunk.
-
Posts
184 -
Joined
-
Last visited
Reputation Activity
-
Chunk. No Captain Chunk. got a reaction from GaspArt in [Tutorial] Clean Vehicle Flip (Right click Version)
Alot of my players have been asking for Flip vehicle options and i always hated the action menu for it.
Here's a good alternative!
Clean Vehicle Flip (Right click Version)
"I am asuming you already have some scripts set up using the right click option. If not follow this link: http://epochservers.com/viewtopic.php?f=14&t=13"
or Alternatively:
Firstly download: https://www.dropbox.com/s/jwo7mup5chfhond/Vehicle%20Flip.rar?dl=0
and extract it to the root of your mission file / .pbo
Then navigate to your file: extra_rc.hpp, which for me is located:
Mission Pbo > Custom Once you have opened that file, in between these lines:
class ExtraRc { }; add this:
class ItemETool { class usefilp { text = "Flip Vehicle"; script = "execVM 'custom\flip\flipvehicle.sqf'"; }; }; So it should look like this:
class ExtraRc { class ItemETool { class usefilp { text = "Flip Vehicle"; script = "execVM 'custom\flip\flipvehicle.sqf'"; }; }; }; once you've done this save, repack and upload!
Configuration
Images
-
Chunk. No Captain Chunk. reacted to Mendo in [Tutorial] Adding Custom Traders with Single Currency + Extras
Thank you, awesome tutorial, very easy to follow.
-
Chunk. No Captain Chunk. got a reaction from Mendo in [Tutorial] Adding Custom Traders with Single Currency + Extras
Adding Custom Traders with Single Currency
Not too sure if anyone is gonna find this useful.
Worth a shot tho...
Okay, so what I am going to go over is how to add custom traders to anywhere on the map. I'm not too sure on how the other maps work, so I'll be doing this on my servers' Chernarus Overpoch map. I had found load loads of help here: he didn't exactly go into the depth that I needed. So I figured some of it out on my own and solved some of the problems and also removed some steps that wasn't needed. Hope you guys can follow this and make good use of it.
What you are going to need:
- DayZ Epoch / Overpoch Server
- Database Access
- Notepad (or Notepad++)
- Your servers .pbos / files
Luxuries to make it easier:
- InfiStar AntiHack
Onto the tutorial...
Tutorial and Introduction:
Firstly, you will need to join your server to find the location of which you want to place your trader.
So I've reached my destination of where i want to add my trader;
Once I've found the location, use Infistar (If you have it, if not use this: Click me!) to find yourself a Skin for your trader, and also its ID. Within the image below, I'm using: Secretary4
So now, I log out in the position of where i want my trader to stand. Once disconnected from the server I open up my database to find my UID, correct survivor, and also the location of where I logged out. (For my database I use: HeidiSQL) I can find this in my character_data table. Like so:
Once you have made note of the location, head over to your servers pbo, extract it and navigate to this folder (Which is relevant to your server).
Server PBO > Missions > DayZ_Epoch_17.Chernarus (This is relevant to me, if you use the Chernarus 17 map then do the same, but pick the once your server runs). Once you have opened the right mission folder open the mission.sqf then in here, go right down to the bottom of the folder and paste this in:
_unit_10000 = objNull; if (true) then { _this = createAgent ["Your Chosen Skin", [Location], [], 0, "CAN_COLLIDE"]; _unit_10000 = _this; _this setDir DIRECTION; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; you will have to make changed to these values:
- Your Chosen Skin
- Location
- DIRECTION
This is mine for example:
_unit_10000 = objNull; if (true) then { _this = createAgent ["Secretary4", [1313.83,4079.07,0.189], [], 0, "CAN_COLLIDE"]; _unit_10000 = _this; _this setDir 360; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; Once you have completed this, save the file.
After that navigate to:
Mission PBO > server_traders.sqf Once you have opened this file, create a new instance at the top, use this for a template...
//Custom Trader One menu_CHANGE ME = [ [], [], "CHANGE ME" ]; You will have to change each of the parts to your liking. So mine for example...
//Admin Vendor - Weapons menu_Secretary4 = [ [["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642],["Overwatch VIL",1002],["Overwatch TAR",1003],["Overwatch Sniper",1011],["Overwatch SCAR",1004],["Overwatch sidearm",1001],["Overwatch MAS",1007],["Overwatch HK417",1009],["Overwatch HK416",1008],["Overwatch HK416",1008],["Overwatch DMR",1010],["Overwatch ACR",1005],["ACR-Black",1101],["ACR-Snow",1102],["ACR-Tan",1103],["ACR-Woodland",1104]], [], "neutral" ]; You can see within the Server_Traders file that there are certain values you need, so you need to state whether they are a, bandit, hero or neutral trader. Then for the first set of "[]," you need to add value like: ["Assault Rifle",637] which will give the trader the knowledge to sell assault rifles.
Once you are happy with this save it and then go back to your database and go to the "trader_tids" table, then scroll right down to the bottom and add a new value:
Once you've made a new row make sure the ID and the trade id are completely different to the rest, so +1 to the one above.
After you have done that, in your database, go to your server_traders table and go right to the bottom once more and make a new row and use the same principle as above.
Here's mine for an example:
Then once you've done that, quit out of your database. And restart your server.
Once you get back in, go to where your trader is located and you should see them and they should work perfectly.
Here's some images of my added trader:
Hope this helps some people out with adding traders to their map and for them to work with Singe Currency.
Extras
So yeah, Hopefully, this helps some people out, took me a while to make this..
Make good use of it people! :D
Thanks to:
Raymix
-
Chunk. No Captain Chunk. got a reaction from MasterHaxor in [REQUEST] Trade all from Vehicle /w Single Currency
Hey guys, wondered if anyone knows the conversion for this script:
I think It would be a great addon for the single currency. But i guess other people would think other wise.
-
Chunk. No Captain Chunk. got a reaction from Chief501st in Which Server Host to Pick?
Avoid Vilayer at all costs :D
-
Chunk. No Captain Chunk. got a reaction from calamity in Bug Reporting
Found the problem.
Not too sure why it wasn't working before but these changes seemed to speed everything up for the script.
In your custom compiles:
Made sure you've added this at the top:
BIS_fnc_numberDigits = compile preprocessFileLineNumbers "custom\numberDigits.sqf"; BIS_fnc_numberText = compile preprocessFileLineNumbers "custom\numberText.sqf"; Then also in your variables I found that this made the single currency system more responsive and faster with these variables:
Replace this:
DZE_ATM = ["WHATEVER YOUR ITEM IS"]; // objects where u can bank, add them here if u want extra's. with this:
CurrencyName = "CHANGE ME"; // name of your currency DZE_ATM = ["CHANGE ME"]; // objects where u can bank, add them here if u want extra's. LimitOnBank = false; // false = no limits, true = banks are limited on the value below MaxBankMoney = 1000000; // limit on bank for normal players DonatorListZupa = ["CHANGE ME"]; // bigger bank PUID MaxDonatorBankMoney = 1000000; // Bank size donators Since the currency system is now working for myself, also with the added configs which also improves the currency system by changing some values. Which is great.
-
Chunk. No Captain Chunk. reacted to PeterBeer in [Release] Single currency (Souls 2.0) With Fixes All In One And More (v0.5)
Let me point out what this pack / mission file has got and why you should use it
Includes all the fixes that has been posted on this section and more from me No Errors in the logs (RPT) File structure has completely changed for easier navigating though files in future Instant trading Can be turned on and off though the variables.sqf Files been cleaned up for a smaller mission file Banks changed to large Ammo crate and doesn't take damage or move Includes my Custom Debug Monitor
Can be found in the download called ReadMe.txt
-------------------------------------------------------
v0.1 :
Includes all the fixes that has been posted on the forums and more from me No Errors in the logs (RPT) File structure has completely changed for easier navigating though files in future Instant trading Can be turned on and off though the variables.sqf (InstantTrading = false; // True = No Animation / False = Animation) Files been cleaned up for a smaller mission file Banks changed to large Ammo crate and doesn't take damage or move Includes my Custom Debug -------------------------------------------------------
v0.2 :
File Stricture Has been redone (Folders named to what they do) dayz_server.pbo has been cleaned up Duplicated marker removed on one of the banks Changed the prices of most items in traders / added some more guns etc. -------------------------------------------------------
v0.3 : Mission file had some unused files been removed Included Battleye filters (For security and logging) Instant trading option redone should work better now Fixed the message "need scalar more any" Changed more prices on the traders Removed "£" because not everyone is British -------------------------------------------------------
v0.4 :
• Fixed the slow saving time to database -------------------------------------------------------
v0.5 :
• Fixed the storing over 999,999 duplicating -------------------------------------------------------
Can be found here : Scripts\Variables\Variables.sqf
//----------------------------------- Configs Start ---------------------------------// CurrencyName = "Coins"; // name of your currency Bank_Object = ["BAF_VehicleBox"]; // Object to get option to bank LimitOnBank = false; // false = no limits, true = banks are limited on the value below MaxBankMoney = 500000; // limit on bank for normal players DonatorBank = [""]; // Bigger banks, Players ID MaxDonatorBankMoney = 1000000; // Bank size for donators InstantTrading = false; // (True = No Animation / False = Animation) //----------------------------------- Configs End -----------------------------------// If you like it, Like it, Nice to know if people are using this :)
-
Chunk. No Captain Chunk. reacted to Axle in New Limited Edition Tee!
It's time for the sapper.
Help support the mod by picking up a limited edition shirt!
-
Chunk. No Captain Chunk. reacted to Rocu in Self blood bag not working
Agreed. This needs some moderation.
-
Chunk. No Captain Chunk. reacted to Zupa in Self blood bag not working
Who even use that shit xD
Self bloodbag is default in epoch...
just activate it with this:
DZE_SelfTransfuse = true; -
Chunk. No Captain Chunk. reacted to Zupa in Still looking for a tutorial on the 1.8 hud...
This weekend i'm going to look into overiding the gear window dialog. Should be possible.
-
Chunk. No Captain Chunk. reacted to Rocu in error in expression
If you're talking about the fixed trade files, you haven't actually added them to the library yet :)
For Dew: try this
-
-
Chunk. No Captain Chunk. reacted to PeterBeer in [Tutorial] Custom Debug / Stats
Update
Changelog :
Removed the player count
Redo the whole playerhud.sqf
Removed unused image
-
Chunk. No Captain Chunk. reacted to PeterBeer in install instructions
Another pointless Topic opened :angry:
That's is how you install it if you follow it right
-
Chunk. No Captain Chunk. reacted to PeterBeer in [ALL] The Great Library Of Single Currency Scripts & Solutions
"Remove trade animations - Peterbeer, Zupa"
Since when did you help me ? ;P
-
Chunk. No Captain Chunk. reacted to j0sty in [ADDON] Central Chernarus Bank
Use this on my server, thanks for the work!
-
Chunk. No Captain Chunk. reacted to Zupa in Anyone have a Gold Only Currency/Coin Script
lol, digging up old threads are we? ^^
-
Chunk. No Captain Chunk. reacted to Rocu in [FIX] Better trade_ files (proper logging, etc)
I was browsing through the files that SC provided us and I noticed that most of the trade_* files lack some features and have some bugs in them. For me the most annoying thing was logging which made it rather difficult to keep track of who's buying what. So I took the time to review all of the trade_ files and fixed what needed fixing.
Currently these files only work with Soul's DLL.
What did I change?
trade_any_bicycle.sqf - logging fixed trade_any_boat.sqf - logging fixed trade_any_vehicle.sqf - logging fixed trade_backpacks.sqf - logging fixed, added a check if player already has a backpack when buying a new one trade_items.sqf - logging added (didn't have any logging at all) trade_weapons.sqf - logging fixed, added a check that prevents buying 2 primaries in a single slot So instead of these logs:
18:44:11 "EPOCH SERVERTRADE: Player: ROCU[] (xx) sold a Coins in/at trader city Branibor for 1x Coins" You now get something much more readable like:
18:44:11 "EPOCH SERVERTRADE: Player: ROCU[] (xx) bought a FoodmuttonCooked in/at trader city Branibor for 120x Coins" 18:45:12 "EPOCH SERVERTRADE: Player: ROCU[] (xx) sold a FoodmuttonCooked in/at Unknown Trader for 60x Coins" 18:52:33 "EPOCH SERVERTRADE: Player: ROCU[] (xx) bought a DZ_GunBag_EP1 in/at trader city Sabina for 6000x Coins" 19:28:16 "EPOCH SERVERTRADE: Player: ROCU[] (xx) sold a ItemVault in/at trader city Bilgrad for 100000x Coins" On top of that I tidied the code up a bit where possible. I removed the systemChat messages because they were unnecessary and full of grammar errors. Also logs now display "Unknown trader" instead of "Any" if you aren't in a trader zone.
Download
Download available here! [GitHub]
Mirror link available here! [upload.ee]
Edit// Due to popular demand I also made a second version of these files without the trading animation in it. They're in my GitHub (link above) in the folder gold (No Animation). If you don't want to use the "No Animation" files then just ignore/delete that folder.
Copy & replace these files into your \gold\ folder inside your mission's PBO. Remember to back up the old files just in case.
If you want a step-by-step guide instead of copy & replace, check here:
(Note! It is recommended that you use my files instead of doing it step-by-step. Step-by-step only includes the more critical fixes and not much else.)
Be aware
Even tho I tested these files pretty thoroughly I can't guarantee that they work perfectly on your server. It all depends which mods you have installed and how heavily modified your files are. Speaking of which, if you have modified your trade_ files before for a different mod, I suggest applying the mod changes to my fixed files not the other way around. And remember: backup.
-
Chunk. No Captain Chunk. reacted to vbawol in Streaming allowed now?
yes, you may now stream if you have been whitelisted.
-
Chunk. No Captain Chunk. reacted to Rocu in [ISSUE] "player x purchased item y for <null><null> in trade city z"
Currently that's the only fix I've done.
The fix I mentioned you can apply to any trade file. They all have the same error. Atm I have other issues that are more urgent that's why I haven't dealt with this. But I will eventually make all the trade files better.
-
Chunk. No Captain Chunk. reacted to Zupa in [ADDON] Central Chernarus Bank
yes Sir. Dont forget ; at the end though!
-
Chunk. No Captain Chunk. reacted to Zupa in [ALL] The Great Library Of Single Currency Scripts & Solutions
The following topic contains addons or rewritten scripts for single currency.
Core Scripts
Single Currency 3.0 Storage - Zupa
New independet release, RECOMMENDED
Single Currency 1.1 - Zupa
The Scripts that makes this all happen. Currently always start installing the currency with this topic. It will set up your first version for you to choose to update to souls 2.0 updates (recommendend.)
In the close future i will make an officia SC 2.0 release.
Single Currency 2.0 ( Extension) - Soul
The soon to be official release but currently only an update to 1.1. Install 1.1 and update to this version to enjoy the best performace and support on your server.
Single Currency Development functions - Zupa
These functions provide easy implementation of adding and removing money in your script to support single currency. They should be in the 1.1 and 2.0 release but better check to be sure.
Single Currency Traders - Zupa
This folder contains compatible traders with the cfgtraders provided. I'll try to extend it as soon as possible, if someone has working traders and is willing to share them to the list, please do contact me.
SC Traders
Script Extensions
Maintain Single Currency (2.0 only) - Mcgough
This script allows you maintain at a plotpole with cash.
Smelting Items-Coins - Storm
This script allows you to smelt your coins into bars and the otherway arround next to a burning object.
Admins Tools & Infistar AH Single Currency actions on players - Rocu, Chunk
This script allows an admin to remove/give coins from a player.
Infistar AH Spectate players bank and cash - PeterBeer
This script allows an admin to see cash and bank while spectating a person.
Transfer Money from ATM - Rocu
Allows you to transfer money form one account to antother one.
Scripts made compatible with SC
JAEM Chopper Evac SC - Zupa
Changes to the original script to work with single currency.
Axe Cop Service Points SC - Zupa
Changes to the original script to work with single currency.
http://epochmod.com/forum/index.php?/topic/15464-release-single-currency-axe-cop-service-points-for-sc/
Advanced Alchemical Crafting SC - Zupa
Changes to the original script to work with single currency.
http://epochmod.com/forum/index.php?/topic/16203-advanced-alchemical-crafting-v33/?p=126080
Axe Cop Multy Character Select SC - Soul
Changes to the original script to work with single currency.
Map Addons/Changes
Central Chernarus Bank - Chunk, No Captain Chunk
A big bank in stary
http://epochmod.com/forum/index.php?/topic/16004-addon-central-chernarus-bank/
Napf Banks - Pwn3dNexus
Banks for Napf
Napf Banks
Banker NPC's - MGM
NPC's as bankers
http://epochmod.com/forum/index.php?/topic/16597-release-banker-npcs-to-replace-atm-objects/
Sahrani Banks & Changes - KingRaymond795
Banks for Sahrani
http://epochmod.com/forum/index.php?/topic/28432-sahrani-map-addons/
Usefull Guides
Money on AI - Zupa
Allows you to put money on AI.
http://epochmod.com/forum/index.php?/topic/15737-put-coins-on-ai/?p=117979
Freeze Objects & Banks into place - Soul, Storm
Allows you to make an item static, so it will never move. This stops players from knocking over banks.
http://epochmod.com/forum/index.php?/topic/15485-how-to-stop-users-from-knocking-down-the-atm/?p=121203
Custom Debug Monitor - PeterBeer
Guide + files for a more detailed debug monitor.
http://epochmod.com/forum/index.php?/topic/15437-tutorial-custom-debug-stats/
Custom Default Ammount in Fields - Zupa
Allows you to change the default 1 in your bank and give player dialogs.
http://epochmod.com/forum/index.php?/topic/16591-resolved-in-banking-menu-default-amount-is-prepopulated-with-1/
Remove trade animations - Peterbeer, Zupa
Allows you remove the trading animation
http://epochmod.com/forum/index.php?/topic/15911-tutorial-remove-animation-for-trading/
Add Traders and TradersItems with Single Currency - Chunk
Guide how to make new traders and add items to traders.
http://epochmod.com/forum/index.php?/topic/16386-tutorial-adding-custom-traders-with-single-currency-extras/
Common Issues -> Fixed
Bank Not Saving - Rocu, Soul, Zupa
Common Solution to fix bank value not saving to DB.
http://epochmod.com/forum/index.php?/topic/15924-issue-banking-data-not-saving-for-new-players-fixed/
Fix Money And Bank after skin change - Soul
Fixes the reset of money and bank when you change clothes
http://epochmod.com/forum/index.php?/topic/15449-fix-cashmoney-bankmoney-loss-after-skinchangehumanity-morph/
Fix - Better trade files - Rocu
Fixes the issue of the rpt logs when trading. Does bettter logging of trade activties
http://epochmod.com/forum/index.php?/topic/16750-fix-better-trade-files-proper-logging-etc/
More added later
Do you think your scripts/addon/guide should get added? Give me a message and i will evaluate the possibility. -
Chunk. No Captain Chunk. reacted to Axle in ATTN ALPHA TESTERS!!!
Bitsync is now working and has version 0.1 RC3. But this should be a hint that we are super close!
-
Chunk. No Captain Chunk. reacted to Zupa in Advanced Alchemical Crafting v3.3
Try the following ( not tested, i'm at work)
MT_Defines.hpp
custom_builds.sqf