Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. /* HIVE SET */
  2.  
  3. private["_aa", "_ab", "_ac", "_ad", "_ae", "_af"];
  4. _aa = _this select 0;
  5. _ab = _this select 1;
  6. _ac = str(_this select 2);
  7. _ad = count(toArray(_ac));
  8. _ae = 101;
  9. _af = 111;
  10. if !(EPOCH_hiveAsync) then {
  11. _setterCall = 100;
  12. _af = 110;
  13. };
  14. while {
  15. _ad > 8000
  16. }
  17. do {
  18. "epochserver"
  19. callExtension format["%1|%2", _ae, [_ac, 0, 8000] call EPOCH_server_substr];
  20. _ad = _ad - 8000;
  21. _ac = [_ac, 8000, 8000 + _ad] call EPOCH_server_substr;
  22. };
  23. "epochserver"
  24. callExtension format["%1|%2:%3|%4", _af, _aa, _ab, _ac];
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. /* HIVE SET EX */
  32.  
  33. private["_aa", "_ab", "_ac", "_ad", "_ae", "_af", "_ag"];
  34. _aa = _this select 0;
  35. _ab = _this select 1;
  36. _ac = _this select 2;
  37. _ad = str(_this select 3);
  38. _ae = count(toArray(_ad));
  39. _af = 101;
  40. _ag = 121;
  41. if !(EPOCH_hiveAsync) then {
  42. _af = 100;
  43. _ag = 120;
  44. };
  45. while {
  46. _ae > 8000
  47. }
  48. do {
  49. "epochserver"
  50. callExtension format["%1|%2", _af, [_ad, 0, 8000] call EPOCH_server_substr];
  51. _ae = _ae - 8000;
  52. _ad = [_ad, 8000, 8000 + _ae] call EPOCH_server_substr;
  53. };
  54. "epochserver"
  55. callExtension format["%1|%2:%3|%4|%5", _ag, _aa, _ab, _ac, _ad];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement