Jump to content

Wielebny

Members
  • Posts

    133
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Wielebny

  1. Ciężko tak zdalnie coś stwierdzić. Jeśli zależy Ci na rozwiązaniu problemu - to nagraj nam film z pobierania takiej mapy, po wpisaniu w konsoli komendy 'shownetstat'. Powinno to wyjaśnić wiele rzeczy.
  2. Charakterystyką łączy asymetrycznych i asynchronicznych - takich jak neostrada - jest to, że ping rośnie wraz ze wzrostem obciążenia. Możesz popróbować w ustawieniach swojego komputera/routera, szczególnie przy opcjach limitowania ruchu (traffic shaping) lub QoS.
  3. Gdzie to odpalasz? Jak w jakiejś hostingowni, to być może ich firewall blokuje połączenia wychodzące z wszystkich procesów kont serwerowych.
  4. wdwLogin = guiCreateStaticImage(145,68,488,390,"images/login.png",false) guiWindowSetSizable(wdwLogin,false) Cos w tym skrypcie namieszałeś i sam nie wiesz co. Komunikat błędu mówi jasno, że guiWindowSetSizable oczekuje jako parametru okna, a Ty mu przekazujesz obrazek.
  5. Actually, they do - position can be assigned with setElementPosition and is accesible with getElementPosition. Also it is processed like any other element - for example it can be selected using getElementsWithinColShape. Agree.
  6. "text" elements, containing position, interior, dimension, text value and few minor values like color, etc. They are rendered client-side on each onClientRender event, using dxDrawText. getElementsByType supports narrowing results to streamed in elements, the only function I lack is something like setElementStreamable(element, distance).
  7. To achieve a higher bandwidth usage-lower cpu usage tradeoff. If I want to create, for example, several thousands of custom elements, that would be rendered (onClientRender) on all connected clients, with an assumption that client won't see more than, let's say, 20 elements at once - it may be quicker to just stream nearby 20 elements to client, than to implement custom client-side sieve/streamer. Although I get it - I need to sift the elements clientside to save on processing power, and that's the way it should be done in MTA. All in all it doesn't seem a bad idea .
  8. Is it possible to enable streaming of custom elements (created with createElement) the way vehicles are streamed (only nearby elements are sent to player)? Also, it is possible to enable streaming of objects in the same way? Currently every client receives and operates on whole set of objects and custom elements.
×
×
  • Create New...