Jump to content

Recommended Posts

How would that work? Would people not be allowed to "take" money from death players?

 

--

@Zupa / Soul: Hope you guys don't mind I'm currently rewriting this script to suit our needs. (which basically means no banks :P)

Share this post


Link to post
Share on other sites

Getting kicked for a Public Variable restriction #3 when I deposit coins into the bank

 

Not updating in banking_data but taking it away from CashMoney, started with 500,000 after testing 3 times I have 499,997

 

I have

 

5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_bank_Save"
 
in my publicvariable.txt

Share this post


Link to post
Share on other sites

Hey Soul,

Our players can once again maintain their bases - thanks a lot for sharing your work.
Listing below two small issues for your attention.

Thanks

feedback #1 - typo in the line below. "then" should be "than":
if(_amount > 999999) exitWith { cutText ["You can not withdraw more then 999,999 gold coins at once.", "PLAIN DOWN"]; };

feedback #2 - server_functions.sqf has infiSTAR antihack line at the very top.

[] spawn {[] execVM "\z\addons\dayz_server\init\AH.sqf";};

Share this post


Link to post
Share on other sites

Hi Soul,
 

Any idea why this wouldn't work?
 

_sql = format["CHILD:999:SELECT MAX(ObjectID) FROM object_data"];
_objectID = _sql call server_hiveWrite;

Am I supposed to use the 999 child different?

Share this post


Link to post
Share on other sites

How would that work? Would people not be allowed to "take" money from death players?

 

--

@Zupa / Soul: Hope you guys don't mind I'm currently rewriting this script to suit our needs. (which basically means no banks :P)

 

on my part you are free to do whatever you like with it, its sitll arma.

for as long as credits are given where credits are due.

Share this post


Link to post
Share on other sites

Hi Soul,

 

Any idea why this wouldn't work?

 

_sql = format["CHILD:999:SELECT MAX(ObjectID) FROM object_data"];
_objectID = _sql call server_hiveWrite;

Am I supposed to use the 999 child different?

what exactly are you trying todo?

Share this post


Link to post
Share on other sites

 

Getting kicked for a Public Variable restriction #3 when I deposit coins into the bank

 

Not updating in banking_data but taking it away from CashMoney, started with 500,000 after testing 3 times I have 499,997

 

I have

 

5 "" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq" !="PVDZE_bank_Save"
 
in my publicvariable.txt

 

wrong line mate, you already exclude any variable that has PVDZE_ with the first argument there, its a line or 2 below that one.

Share this post


Link to post
Share on other sites

on my part you are free to do whatever you like with it, its sitll arma.

for as long as credits are given where credits are due.

 

Thanks :P Already started working on them and kinda rewrote a bunch of stuff (you guys left quite the mess :P)

 

what exactly are you trying todo?

 

I need published objects to directly get an ObjectID set after they are published. But already fixed that using the 308 call. Now testing with 998 for something else to do a custom update statement.

Share this post


Link to post
Share on other sites

Hmm i cant seem to figure out how to use the 998 call, tried two different methods but both fail. Any help is appreciated.

 

 

        _key = format["CHILD:998:UPDATE `object_data` SET `Money` = ? WHERE `ObjectID` = ?:%1:%2",_money,_vault_id];
        _key call server_hiveReadWrite;
 

        _key = format["CHILD:998:UPDATE `object_data` SET `Money` = %1 WHERE `ObjectID` = %2:",_money,_vault_id];
        _key call server_hiveReadWrite;
 

0:21:46 HiveExt(0): [Error] Error executing |CHILD:998:UPDATE `object_data` SET `Money` = 101 WHERE `ObjectID` = 910|
0:25:21 HiveExt(0): [Error] Error executing |CHILD:998:UPDATE `object_data` SET `Money` = ? WHERE `ObjectID` = ?:100:910|
--

Also getting these, which has to do with me removing the banking stuff. There are no references to it left inside the files but still these errors which are harmless but annoying. Is there something being triggered inside the Hiveext.dll that causes this?

 

2014-09-06 00:16:07 Database: [Error] Error 1146 (Table 'dayz-test.banking_data' doesn't exist) in MySQLStmtPrepare SQL: 'INSERT INTO `Banking_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?)'

Share this post


Link to post
Share on other sites

Hmm i cant seem to figure out how to use the 998 call, tried two different methods but both fail. Any help is appreciated.

 

 

        _key = format["CHILD:998:UPDATE `object_data` SET `Money` = ? WHERE `ObjectID` = ?:%1:%2",_money,_vault_id];
        _key call server_hiveReadWrite;
 

        _key = format["CHILD:998:UPDATE `object_data` SET `Money` = %1 WHERE `ObjectID` = %2:",_money,_vault_id];
        _key call server_hiveReadWrite;
 

0:21:46 HiveExt(0): [Error] Error executing |CHILD:998:UPDATE `object_data` SET `Money` = 101 WHERE `ObjectID` = 910|
0:25:21 HiveExt(0): [Error] Error executing |CHILD:998:UPDATE `object_data` SET `Money` = ? WHERE `ObjectID` = ?:100:910|
--

Also getting these, which has to do with me removing the banking stuff. There are no references to it left inside the files but still these errors which are harmless but annoying. Is there something being triggered inside the Hiveext.dll that causes this?

 

2014-09-06 00:16:07 Database: [Error] Error 1146 (Table 'dayz-test.banking_data' doesn't exist) in MySQLStmtPrepare SQL: 'INSERT INTO `Banking_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?)'

yes you cannot use thsi hiveext.dll and not have all the correct tables cause it tries to auto insert a record in banking_data if it doesnt find one while you login...

Share this post


Link to post
Share on other sites

yes you cannot use thsi hiveext.dll and not have all the correct tables cause it tries to auto insert a record in banking_data if it doesnt find one while you login...

Hi Soul,

Thanks for explaining. Could you maybe elaborate on using the 998 and 999 in your hive? Also i'd like to try and decompile / recompile it and take out the auto insert thingie, is that okay?

Share this post


Link to post
Share on other sites

Sorry for spamming this thread but I keep running into trouble with this custom Hive.

 

I've changed the update statement to

        _key = format["CHILD:998: UPDATE object_data SET Money = %1 WHERE ObjectID = %2:[]:",_money,_vault_id];
        _key call server_hiveReadWrite;
 

But when it tries to execute the server crashes.

 

This is the last log in Hiveext.log

2014-09-06 13:40:49 HiveExt: [Information] Method: 998 Params: UPDATE object_data SET Money = 1 WHERE ObjectID = 910:[]:
 

And this is the error information shown in the RPT

 

-------------------------------------------------------
Exception code: C0000005 ACCESS_VIOLATION at 6C340C80
Allocator: C:\server\zombieland_dev\dll\tbb4malloc_bi.dll
graphics:  No
resolution:  160x120x32

==

Fault address:  6E5D0C80 01:0000FC80 C:\server\zombieland_dev\@hive\HiveExt.dll
file:     Epoch_Zombieland (__cur_mp)
world:    Chernarus
Prev. code bytes: C7 41 10 00 00 00 00 50 C6 01 00 E8 90 77 FF FF
Fault code bytes: 8B 06 8B CE 8B 40 04 FF D0 8A C8 8D 47 08 85 C0
Any help is very much appreciated

Share this post


Link to post
Share on other sites

So i did a bit more digging into this problem. Turns out i cannot do any kind of query with the 999/998 without crashing the server. Tried switching malloc but that didn't help either.

Share this post


Link to post
Share on other sites

So i did a bit more digging into this problem. Turns out i cannot do any kind of query with the 999/998 without crashing the server. Tried switching malloc but that didn't help either.

 

I'm getting the same error as you and get people crashing every time they disconnect from the server. Although I do not use or even have the 999 DLL

Share this post


Link to post
Share on other sites

The crash on disconnect is an ARMA 2 issue that was introduced by the latest update (yay!). Crashing the server probably has to do with some dependencies missing. Tried a bunch of stuff like installing all the vredist i could get my hands on, both 32 and 64 but so far to no avail. We really need to have Soul take a closer look on this and possibly provide us with some info regarding necessary binaries.

Share this post


Link to post
Share on other sites

Ok so I've updated the SC install with the hiveext.ini and run the SQL updates to create the Banking_DATA tables, replaced the updated files from SOUL and it all works except the Banking_DATA table never seems to get updated.

 

It's created the Player ID and Name fine, but last updated stays NULL as does BankSaldo, so we lose deposited money on restart, any ideas where I've gone wrong?

No errors in hiveext.log or server rpt.

Share this post


Link to post
Share on other sites

Hey soul, a quick question. Whats the packet size this dll can receive. Have you tested it with a LONGTEXT data on cell ?

Arma OA beta had a small packet buffer...Now that there is no beta anymore, did you test to see how big chunks of data you can retrieve with 1 query ?

Share this post


Link to post
Share on other sites

Anyone ever posted a fix for the humanity duping glitch thing. if so can someone link it to me b/c I can't find it.

We are having issues with this too. If you find the fix somewhere else, please repost it here. I'll do the same if I can find a solution.

Thanks

Share this post


Link to post
Share on other sites

Hey soul, a quick question. Whats the packet size this dll can receive. Have you tested it with a LONGTEXT data on cell ?

Arma OA beta had a small packet buffer...Now that there is no beta anymore, did you test to see how big chunks of data you can retrieve with 1 query ?

 

The callExtension outputSize hasnt been changed in 1.63

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By salival
      Virtual Garage is part of Epoch 1.0.7.1 now.
      Hi guys,
      Here's my version of Virtual Garage, it's not far off a full rewrite but includes some of the original code that the original author contributed.
      Fixes a lot of problems and adds a lot of newer features:
      Single UI for storing/retrieving vehicles Dynamic pricing based on vehicle type/classname Dynamic limits based on vehicle type/classname Adds support for removing a helipad nearby Able to see storage in stored vehicles RPT logging for storing/retrieving vehicles Fixes dupes for more than 2 people depositing the same vehicle Supports briefcases and coins Localization support (currently german and russian) Please see my github repo for install instructions:
      https://github.com/oiad/virtualGarage
    • By salival
      Vehicle Key Changer is part of Epoch 1.0.7.1 now.
       
      Hi,
      Here's my version of  @OtterNas3 vehicle key changer.  It was subsequently modified by @Grahame for epoch 1.0.6. Updated for 1.0.7.
      This adds support for briefcases, gems and coins as well as using the epoch vehicle upgrade system to do the key changing/claiming.
      * original discussion url: https://epochmod.com/forum/topic/5972-release-vehicle-key-changer-for-making-masterkey-v-14-updated-06152014/
      * updated discussion url: https://epochmod.com/forum/topic/43048-release-vehicle-key-changer-for-making-masterkey-v-141-updated-for-epoch-106/
      Github link with install directions: https://github.com/oiad/vkc
      **EDIT* Link to a working locate Vehicle script that is able to find multiple vehicles per key: 
       
      **** For Epoch 1.0.6.2 only **** >> Download <<
      Visit this link: https://github.com/oiad/vkc/tree/vkc-Epoch-1.0.6.2
    • By salival
      Vehicle Service Point is part of Epoch 1.0.7.1 now.
       
      Hi,
      With Axe Cops permission I am releasing my updated version of his amazing Service Points script. 
      This includes support for original briefcases, gems (from epoch 1.0.7) and coins.
          (original github url: https://github.com/vos/dayz/tree/master/service_point)
          (original install/discussion url: https://epochmod.com/forum/topic/3935-release-vehicle-service-point-refuel-repair-rearm-script/)
          
      **** *REQUIRES DAYZ EPOCH 1.0.7* ****
          
      Major Changes:
          This version adds support for both single currency and gems (from the epoch 1.0.6 update) as well as the original epoch briefcase currency system. 
          Instead of pricing things like the original way, prices are now done on a "worth" similar to how coins are done. The price value of items are below.
          If you are using coins, I would recommend using the _currencyModifier variable since coins typically are 10x the value of briefcase based currency (1 brief == 100,000 coins)
          (You can either set this _currencyModifier variable to 1 then set the proper value or use the modifier, the modifier is mainly for dual currency servers)
          1 silver = 1 worth
          1 10oz silver = 10 worth
          1 gold = 100 worth
          1 10oz gold = 1,000 worth
          1 briefcase = 10,000 worth
          Please see dayz_code\configVariables.sqf for the value of gems (DZE_GemWorthArray) and their relevant worth if they are enabled.
          Example config settings for _refuel_costs, _repair_costs and _rearm_costs:
          All 3 sections can either be made free, disabled or a specifc price with the following examples:
          ["Air","free"] will make the vehicle config class of "Air" free for the specific action.
          ["Air","disabled"] will make the vehicle config class of "Air" disabled for the specific action.
          ["Air",2000] will make the vehicle config class of "Air" have a worth of 2000 for the specific action.
          ["Armored_SUV_PMC",2000] will make the specific vehicle have a worth of 2000 for the specific action.
          ["Armored_SUV_PMC","free"] will make the specific vehicle be free for the specific action.
          ["Armored_SUV_PMC","disabled"] will make the specific vehicle be disabled for the specific action.
          Valid vehicle config classes as an example: "Air", "AllVehicles", "All", "APC", "Bicycle", "Car", "Helicopter", "Land", "Motorcycle", "Plane", "Ship", "Tank"
      Visit my Github page to download and read the README.MD : https://github.com/oiad/service_points
      Old Epoch 1.0.6.2 Version can be found here: https://github.com/oiad/service_points/archive/refs/tags/Epoch_1.0.6.2.zip
    • By Arturius1967
      Hey guys,
      I never liked, the unfinished west end of the coast road on the Tschernarus map.
      Now I spent some time to make it look better with a mod script , which I basically created in the 3D editor.
      Still have some things to fix, but than i could uplod it, if anyone is interested.
      BEFORE:
      AFTER:
       
    • By FG_Trap
      Made this in my free time awhile ago thought id make it public.
      Right Alt is the key to open the menu.
      Install instructions are inside the download.
      https://github.com/NWDZ-Trapxxgods/traps-menu
       
       
      here is a picture of the server menu
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...