.WhiteBlue

Members
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About .WhiteBlue

  • Rank
    Newbie
  1. Own list DX - ScrollBar problem ...

    @idarrr Did not work. Now it works the other way round. I Scroll down, it goes up. -- Scroll local visibleHeight = ((list['sizeY'] * 250) / 12) local overallHeight = (#guiSystem_element['list']['item'] * 20) local scrollPosition = (guiSystem['rowStart']) local itemCoorY = list['posY'] local currentCoorY = itemCoorY if overallHeight <= visibleHeight then return end newY = scrollPosition/100*(overallHeight-visibleHeight) currentCoorY = itemCoorY - newY outputChatBox(currentCoorY) dxDrawImage((((list['posX'] + list['sizeX']) - 7.5) * scaleX), (list['posY'] * scaleY), (1 * scaleX), (space_0 * scaleY), 'i/scroll/scroll.png', 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage((((list['posX'] + list['sizeX']) - 11.5) * scaleX), (currentCoorY * scaleY), (9 * scaleX), (10.5 * scaleY), 'i/scroll/scroll_circle.png', 0, 0, 0, tocolor(255, 255, 255, 255), false) Regards. ------------------------------ I Fixed. Only now does not stop. -- Scroll local visibleHeight = ((list['sizeY'] * 250) / 12) local overallHeight = (#guiSystem_element['list']['item'] * 20) local scrollPosition = (guiSystem['rowStart']) local itemCoorY = list['posY'] local currentCoorY = itemCoorY newY = scrollPosition/100*(overallHeight-visibleHeight) currentCoorY = itemCoorY + newY outputChatBox(newY) dxDrawImage((((list['posX'] + list['sizeX']) - 7.5) * scaleX), (list['posY'] * scaleY), (1 * scaleX), (space_0 * scaleY), 'i/scroll/scroll.png', 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage((((list['posX'] + list['sizeX']) - 11.5) * scaleX), (currentCoorY * scaleY), (9 * scaleX), (10.5 * scaleY), 'i/scroll/scroll_circle.png', 0, 0, 0, tocolor(255, 255, 255, 255), false)
  2. Own list DX - ScrollBar problem ...

    Hi. I made myself a GUI system. Time has come for scrolling system. I want the dot to reach the end of the list. My code: function clamp(low, value, high) return math.max(low, math.min(value, high)) end local scrollPosition = clamp(5, space_0 * guiSystem['rowStart'], space_0 - 16) outputChatBox(scrollPosition) Legend: guiSystem['rowStart'] - From position (default value: 1) guiSystem['rowStop'] - To position (default value: 10) #guiSystem_element['list']['item'] - Items (default value: 20) space_0 - List height (default value: 200) My list include 20 items. The displayed items are 10. Please help ! Regards.
  3. [VPS] Server Ubuntu 16 problem

    I have the same problem again. I installed Debian 7 (64 bits) and I used this guide: After installing the add-ons: zip unzip ia32-libs lib32ncursesw5 lib32readline5 screen Create user commands: sudo adduser --system --group --shell /bin/bash user adduser user sudo Then, I am using this: https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux After starting the server bug: MTA:BLUE Server for MTA:SA libssl.so.0.9.8: cannot open shared object file: No such file or directory ERROR: Loading network library (net.so) failed! Press Q to shut down the server! HELP!
  4. [VPS] Server Ubuntu 16 problem

    Solved. I installed Debian 7. Thanks
  5. [VPS] Server Ubuntu 16 problem

    ʑoi :u/:m/ttl/vl i y 3 ʑTp :0 ʑo t :se ʑai i:d ʑ================ ʑ:4Ru pless h m aeʑ tpl ʑ:4Rus9od l ʑ:4St oe. ʑ:4Anc tcslpe ʑ:4I:mad9sgg ʑ:4Seiiviio.-4 ʑ:4Gm ast ʑ:4Qy tse.csA ed:. 39ʑ) ʑ:4Aoeelctot DB.et/ t.ʑuel ʑ:4Setensatctnts ʑ:4Tttset uwor l ʑ:4T lfasfmd ʑȠȠȠȠȠȠȠȠȠȠȠȠȠȠȠȠȠȠ ȠȠ!!!!!!!!!!!!!!!!!!! Segmentation fault (core dumped) ʑoi :u/:m/ttl/vl
  6. [VPS] Server Ubuntu 16 problem

    Hello! I have problem. My system to Ubuntu 16 (64 bit) Error pops up: libssl.so.0.9.8: cannot open shared object file: No such file or directory ERROR: Loading network library (net.so) failed! Press Q to shut down the server!
  7. Witam. Nie wiem czy piszę w odpowiednim dziale, jeżeli piszę w złym dziale proszę o przeniesienie tematu do działu odpowiedniego. Tak więc przejdę do rzeczy, mam problem przy uruchamianiu VPS, korzystałem z tego poradnika wersji Angielskiej. https://wiki.multitheftauto.com/wiki/Installing_and_Running_MTASA_Server_on_GNU_Linux Wszystko wgrałem dobrze i ustawiłem, uruchamiam serwer poprzez komendę: ./mta-server Lecz serwer się nie uruchamia a pojawia się błąd libssl.so.0.9.8: cannot open shared object file: No such file or directory ERROR: Loading network library (net.so) failed! Press Q to shut down the server! Nie wiem co może być przyczyną, serwer był aktualizowany więc ciężko mi ustawić przyczynę braku uruchamiania się serwera. Proszę o odpowiedź osób które korzystają z serwerów VPS.