Jump to content

[Alpha Release] Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking).


Recommended Posts

  On 12/18/2014 at 7:08 PM, BangL said:

replace the very last

};

with this:

    #include "ZSC\config\ZSChud.hpp"
};
#include "ZSC\config\ZSCdefines.hpp"
#include "ZSC\config\ZSCdialogs.hpp"

and you should be fine.

I really appreciate the assistance, but still nothing. I've added it to ATD hud and it just states its missing if i add it to description.. i get this...

 

19:58:17 Warning Message: Resource title ZSC_Money_Display not found

19:58:17 Error in expression <ariable "ZSC_Money_Display"; 

_vitals = _wpui displayCtrl 4900;

Money = player g>

19:58:17 Error position: <_wpui displayCtrl 4900;

Money = player g>

19:58:17 Error Undefined variable in expression: _wpui

19:58:17 File mpmissions\__cur_mp.panthera2\ZSC\compiles\playerHud.sqf, line 6

Link to comment
Share on other sites

Hi all. First sorry for my bad english and thanks for all your work, its fantastic.

 

How can i do for my customs traders work it with this system coins? these only said "give money to Mike Gonzales, or Rodriguez".... thats in the most traders.

Some one can help me?

 

 

Thnks

Link to comment
Share on other sites

  On 12/18/2014 at 8:00 PM, Jmunguia82nd said:

I really appreciate the assistance, but still nothing. I've added it to ATD hud and it just states its missing if i add it to description.. i get this...

 

19:58:17 Warning Message: Resource title ZSC_Money_Display not found

19:58:17 Error in expression <ariable "ZSC_Money_Display"; 

_vitals = _wpui displayCtrl 4900;

Money = player g>

19:58:17 Error position: <_wpui displayCtrl 4900;

Money = player g>

19:58:17 Error Undefined variable in expression: _wpui

19:58:17 File mpmissions\__cur_mp.panthera2\ZSC\compiles\playerHud.sqf, line 6

 

 

just to be sure..

we are talking about the file "ATD_Hud.h", right?

Link to comment
Share on other sites

  On 12/18/2014 at 8:11 PM, Jmunguia82nd said:

correct. The error from above was when I added it to my mission description. When I added it to ATD_Hud.h...it stated that ZSC\config\ZSChud.hpp was missing.

oh well.. yeah. dont add it to description.ext. do the change i described in the ATD_Hud.h file.

and then be sure that zupas hpp files are in the correct place ;)

 

 

EDIT: wait, i think i see it now...

where exactly is you ATD_Hud.h located? (the folders)

Link to comment
Share on other sites

  On 12/18/2014 at 8:01 PM, pigres said:

Hi all. First sorry for my bad english and thanks for all your work, its fantastic.

 

How can i do for my customs traders work it with this system coins? these only said "give money to Mike Gonzales, or Rodriguez".... thats in the most traders.

Some one can help me?

 

 

Thnks

you need to use the right traders , the system is not detecting the characters as traders , so what u need to do is makes sure that your server traders match up for example ill use RU_Hooker4 as my trader .
 
your traders .sqf

  Reveal hidden contents
serverTraders = ["RU_Hooker4];
 
 
//Air Trader
menu_RU_Hooker4 = [
[["Airplanes",517],["Helicopter Unarmed",519],["Money",700]],
[],
"neutral"
];

 
dayz_server.pbo/missions/yourmap/missions.sqf

  Reveal hidden contents
 _unit_801 = objNull;
if (true) then
{
  _this = createAgent ["RU_Hooker4", [15519.9,13246.6,0.0013566], [], 0, "CAN_COLLIDE]; //top left trader
  _unit_801 = _this;
  _this setDir 224.432;
  _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;}

 
i hope this helps
Link to comment
Share on other sites

  On 12/18/2014 at 8:13 PM, BangL said:

oh well.. yeah. dont add it to description.ext. do the change i described in the ATD_Hud.h file.

and then be sure that zupas hpp files are in the correct place ;)

 

 

EDIT: wait, i think i see it now...

where exactly is you ATD_Hud.h located? (the folders)

its in my missions/overpoch.panthera/gui/

 

also verified the destination was correct and titled correctly. Again, appreciate your help in advance.

Link to comment
Share on other sites

  On 12/18/2014 at 9:10 PM, Jmunguia82nd said:

its in my missions/overpoch.panthera/gui/

 

also verified the destination was correct and titled correctly. Again, appreciate your help in advance.

 

yea, i think i got it now...

the point is: the include command will look for a "ZSC" folder IN "gui", which is wrong.

try this:

    #include "..\ZSC\config\ZSChud.hpp"
};
#include "..\ZSC\config\ZSCdefines.hpp"
#include "..\ZSC\config\ZSCdialogs.hpp"

the double dot (..) should make it go one folder up, and then its fine.

 

 

 

EDIT: actually even that wouldnt work, as you can see here:

http://forums.bistudio.com/showthread.php?132476-include-statement-for-file-in-parent-folder

that is pretty weak, if you ask me.

 

so the easiest way to get around this is moving the 3 files into your "gui" folder, and call them like this instead:

    #include "ZSChud.hpp"
};
#include "ZSCdefines.hpp"
#include "ZSCdialogs.hpp"
Link to comment
Share on other sites

  On 12/18/2014 at 8:37 PM, TNT said:

 

es necesario utilizar los comerciantes correctos, el sistema no detecta los personajes como los comerciantes, así que lo que u necesidad de hacer es se asegura de que sus operadores de servidores coinciden, por ejemplo, usar mal  RU_Hooker4 como mi comerciante.
 
sus comerciantes .sqf
  Reveal hidden contents
serverTraders = [" RU_Hooker4 ];
 
 
// Comerciante Aire
menu_ RU_Hooker4 = [
[["Airplanes", 517], ["Helicóptero sin armas", 519], ["dinero", 700]],
[],
"Neutral"
];
[/ Spoiler]
 
dayz_server.pbo / misiones / yourmap / missions.sqf
Link to comment
Share on other sites

  On 12/18/2014 at 8:08 PM, BangL said:

...so no result. thats good!

can have a look into your server_monitor.sqf then?

 

Here is my server_monitor.sqf

  Reveal hidden contents

Link to comment
Share on other sites

  On 12/18/2014 at 10:14 PM, SuperTech101 said:

Here is my server_monitor.sqf

  Reveal hidden contents

 

hmm.. looks good as well. cant really see the problem.

i would like give the database another try..

how about this query...

SELECT * FROM `Object_DATA`
WHERE `Inventory` LIKE "%,]";

any results on this?

Link to comment
Share on other sites

players on my server are still duping coins , read in chat log that some one made about 20 brief cases, not sure what dupe they were using , any one have any ideas?

 

brief cases are sort of hard to get with my economy 

 

 

i made a code to block player banking with in x amount of player , just need help testing it with another player and my buddy is not online

Link to comment
Share on other sites

  On 12/19/2014 at 4:08 AM, TNT said:

players on my server are still duping coins , read in chat log that some one made about 20 brief cases, not sure what dupe they were using , any one have any ideas?

 

brief cases are sort of hard to get with my economy 

 

 

i made a code to block player banking with in x amount of player , just need help testing it with another player and my buddy is not online

 

are you using my fix already? if not, its probably still vaults.. the "action in progress check" wont be enough if two ppl are working together.

Link to comment
Share on other sites

  On 12/19/2014 at 10:56 AM, BangL said:

are you using my fix already? if not, its probably still vaults.. the "action in progress check" wont be enough if two ppl are working together.

yes using your fix, i need to make sure they were not locking vaults around the time, ill check logs and see if they were.

Link to comment
Share on other sites

  On 12/19/2014 at 2:40 AM, BangL said:

hmm.. looks good as well. cant really see the problem.

i would like give the database another try..

how about this query...

SELECT * FROM `Object_DATA`
WHERE `Inventory` LIKE "%,]";

any results on this?

 

Same as before.

mysql> SELECT * FROM `Object_DATA`
WHERE `Inventory` LIKE "%,]";
Empty set
Link to comment
Share on other sites

  On 12/18/2014 at 9:13 PM, BangL said:

 

yea, i think i got it now...

the point is: the include command will look for a "ZSC" folder IN "gui", which is wrong.

try this:

    #include "..\ZSC\config\ZSChud.hpp"
};
#include "..\ZSC\config\ZSCdefines.hpp"
#include "..\ZSC\config\ZSCdialogs.hpp"

the double dot (..) should make it go one folder up, and then its fine.

 

 

 

EDIT: actually even that wouldnt work, as you can see here:

http://forums.bistudio.com/showthread.php?132476-include-statement-for-file-in-parent-folder

that is pretty weak, if you ask me.

 

so the easiest way to get around this is moving the 3 files into your "gui" folder, and call them like this instead:

    #include "ZSChud.hpp"
};
#include "ZSCdefines.hpp"
#include "ZSCdialogs.hpp"

ah, ok. 

 

So I did that, we are getting somewhere..lol. I get this...

 

ErrorMessage: File mpmissions\__cur_mp.panthera2\gui\ZSCdefines.hpp, line 15: .ZSC_RscScrollBar: Member already defined.

Link to comment
Share on other sites

  On 12/19/2014 at 4:59 PM, Jmunguia82nd said:

ah, ok. 

 

So I did that, we are getting somewhere..lol. I get this...

 

ErrorMessage: File mpmissions\__cur_mp.panthera2\gui\ZSCdefines.hpp, line 15: .ZSC_RscScrollBar: Member already defined.

 

hey, thats bad, cause its still not working, but also good, cause its finally loading the files :D

just remove the ZSC_RscScrollBar block. you propbably already have a copy of it in your defines.hpp or something.

that means delete the code in it from "class ZSC_RscScrollbar {" to the NEXT "};" including the "class" and "};". i hope you know what i mean.

And then do the same if there are more duplicates coming up after that

Link to comment
Share on other sites

  On 12/19/2014 at 7:53 PM, BangL said:

hmm i have no idea then. is there any other error message in the server rpt before the errors when saving a vault?

 

The only other thing that shows up in the RPT at all just before it happens is this. I believe its one of the mission systems cleanup scripts.

"CLEANUP: INITIALIZING CLEANUP SCRIPT"

This is why I am having a hard time finding it. I get nothing useful from the logs at all.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...