- Joined
- May 13, 2013
- Messages
- 51
- Reaction score
- 7
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!i am is not understand your problem. Please, describe your problem full@ 123new
Sorry to bother you!The service end of version 062 refreshes material problem! Modify types.xml with your method. This doesn't work! I modified the following:
<type name="Container_GiftBox_Small_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Small_2">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Small_3">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Small_4">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_2">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_3">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Medium_4">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_2">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_3">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="Container_GiftBox_Large_4">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="SantasHat">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
<type name="SantasBeard">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
Open types.xm and edit it similarly to the existing records in it, there is nothing complicated. max and min values are the number of things on the server of this type, nominal is the average most likely number of things of this type. The rest of the parameters do not touch.Modified types.xml! But there's no such loot in the game! Did I write the wrong script? Sorry for my English! Is Google translate!
copy code with add inventory spawm in create playerr and psaste this in respawn.@123new
This is my dbLoad_Player
when I do spawn a new player is born with the whole gear but the extras I wanted to take when doing respanw is always born with the t-shir, the jeans and the sneakers like that shot in my character
You must be registered to see links
the key - !BGjjKVUgS54rGGh8k740mwxvhxP0uvziWgTe317p0fE
delete or comment codeYou must be registered to see linksTo better see the image
in spawn and respawn blocks{null = _agent createInInventory _x} forEach [_myTop,_myBottom,_myShoe];
yes, server is not know this id itemDo I have a problem with this?
<type name="Container_GiftBox_Medium_1">
<nominal>100</nominal>
<lifetime>14400</lifetime>
<restock>120</restock>
<min>10</min>
<max>100</max>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags>7</flags>
</type>
thank you!
i dont indestand you guys???
123new have post the server file with fix and all just conect and you are good to go
but what i see that to much problem with a simple files
you guys realy must thanks 123new for helping you guys
123new server file connect and play
You must be registered to see links
_int_a = 1;
_int_b = 6;
[_id, _int_a, _int_b] spawnForClient {
_int_a = _this select 1;
_int_b = _this select 2;
_int_c = _int_a + _int_b;
};};
In EnScript the same thing. Always understand which side of the script is running or where the variable is created, where the class is defined.
Example 2.
Server:
string UID = player.GetVariableString ("UID"); // - Returns the player's UID
Client:
string UID = player.GetVariableString ("UID"); // - does not return the UID of the player, because to the player the UID property is assigned only on the server side and the client does not know anything about it. see server_data \ DZ \ server \ scripts \ init.sqf:
_agent setVariable ["UID", _ uid];
that is information from other good people
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
under my messages exist link in this post and theme client files exist link in this post with this files.they are damn Ducking lazy for search old posts...
I do not know why we talking about this... but..
Execute this on client when connect in server:
player setVariable["UID", getPlayerUID player];
And when you to execute the following by client:
string UID = player.GetVariableString ("UID");
in enfScrits, UID will return your uid..
Example 1:I do not know why we talking about this... but..
Execute this on client when connect in server:
player setVariable["UID", getPlayerUID player];
And when you to execute the following by client:
string UID = player.GetVariableString ("UID");
in enfScrits, UID will return your uid..
-cpuCount=7
-exthreads=7
-maxMem=16384