lpiob / MTA-XyzzyRP

Gamemod RP do gry Multi Theft Auto, napisany głównie w języku LUA, w oparciu o bazę danych MySQL. Stworzony oryginalnie w 2012 roku i rozwijany dalej na potrzeby serwera http://lss-rp.pl/
Other
44 stars 96 forks source link

itemy #263

Closed tom99925 closed 9 years ago

tom99925 commented 9 years ago

Mam pytanie bo chce dodać własne itemy więc dodaje je w ekwipunek ale nie wiem jak przerobić do ekwipunek.luac

sampak commented 9 years ago

masz plik ekwipunek.lua przerób go w meta zmien ekwipunek.luac na ekwipunek.lua

tom99925 commented 9 years ago

próbowałem tego i mi w tedy eq nie chciało się włączyć

sampak commented 9 years ago

to masz bład w pliku

tom99925 commented 9 years ago

nie mam błędu tylko trzeba plik ekwipunek.lua skompilować do ekwipunek.luac ale nie wiem jak oto się tylko pytam bo ja będę chciał dać sam plik ekwipunek.lua to musze (o ile dobrze doczytałem tutaj #177 )dodpisać jakieś funkcje do pliku lua

sampak commented 9 years ago

nic n ie musisz miałem server ekwipunek.luac w meta.xml zmieniasz na ekwipunek.lua to są takie same pliki jeżeli twój plik nie ma błedu to all zadziała

tom99925 commented 9 years ago

dobra jeszcze raz sprawdzilem zrobiłem tak jak napisałeś i nadal mam to samo oto login czegos nie widze w tych logach wiec je pokazuje

[2015-05-31 18:18:16] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso rydencillo@gmail.com" [2015-05-31 18:18:16] Starting resources... [2015-05-31 18:18:16] ERROR: Couldn't find resource parachute. Check it exists. [2015-05-31 18:18:16] ERROR: Couldn't find resource realdriveby. Check it exists. [2015-05-31 18:18:17] WARNING: lss-core/intro.lua [Server] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-05-31 18:18:17] Some files in 'lss-core' use deprecated functions. [2015-05-31 18:18:17] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:17] WARNING: Script '[XyzzyRP]\lss-core\intro.lua' is not encoded in UTF-8. Loading as ANSI... [2015-05-31 18:18:31] INFO: Zaladowano domow: 169 w 316.00000000012ms [2015-05-31 18:18:33] WARNING: lss-frakcje/taxi_c.lua(Line 40) [Client] getVehicleModel is deprecated and may not work in future versions. Please replace with getElementModel. [2015-05-31 18:18:33] Some files in 'lss-frakcje' use deprecated functions. [2015-05-31 18:18:33] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:36] WARNING: lss-gui/ekwipunek.lua(Line 2287) [Client] getVehicleModel is deprecated and may not work in future versions. Please replace with getElementModel. [2015-05-31 18:18:36] WARNING: lss-gui/ekwipunek_s.lua(Line 46) [Server] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead. [2015-05-31 18:18:37] Some files in 'lss-gui' use deprecated functions. [2015-05-31 18:18:37] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:37] Server minclientversion is now 1.4.1-9.07241 [2015-05-31 18:18:40] WARNING: lss-gui2/hunger_c.lua(Line 36) [Client] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead. [2015-05-31 18:18:40] Some files in 'lss-gui2' use deprecated functions. [2015-05-31 18:18:40] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:41] ERROR: lss-cn cam_c.luac is invalid. Please re-compile at http://luac.mtasa.com/ [2015-05-31 18:18:41] WARNING: lss-linaheli/lh_c.lua(Line 71) [Client] isPedInWater is deprecated and may not work in future versions. Please replace with isElementInWater. [2015-05-31 18:18:41] WARNING: lss-linaheli/lh_c.lua(Line 71) [Client] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead. [2015-05-31 18:18:41] Some files in 'lss-linaheli' use deprecated functions. [2015-05-31 18:18:41] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:41] ERROR: Couldn't find resource lss-logging. Check it exists. [2015-05-31 18:18:48] WARNING: lss-ochrona/ochrona_c.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-05-31 18:18:48] Some files in 'lss-ochrona' use deprecated functions. [2015-05-31 18:18:48] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:48] ERROR: Couldn't find resource lss-paliwo. Check it exists. [2015-05-31 18:18:48] ERROR: Couldn't find resource lss-payment. Check it exists. [2015-05-31 18:18:48] ERROR: Couldn't find resource lss-pociagi. Check it exists. [2015-05-31 18:18:48] ERROR: Couldn't find resource lss-kartoteka. Check it exists. [2015-05-31 18:18:48] ERROR: Couldn't find resource lss-pomoc. Check it exists. [2015-05-31 18:18:48] WARNING: lss-vehicles/vehicles.lua(Line 347) [Server] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2015-05-31 18:18:48] WARNING: lss-vehicles/vehicles_c.lua(Line 332) [Client] setVehicleFrozen is deprecated and may not work in future versions. Please replace with setElementFrozen. [2015-05-31 18:18:48] Some files in 'lss-vehicles' use deprecated functions. [2015-05-31 18:18:48] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:18:48] ERROR: lss-silownia laweczka_c.lua is invalid. Please re-compile at http://luac.mtasa.com/ [2015-05-31 18:18:48] ERROR: lss-silownia bieznia_c.lua is invalid. Please re-compile at http://luac.mtasa.com/ [2015-05-31 18:18:50] SyncMapElementData is now disabled [2015-05-31 18:18:52] WARNING: [XyzzyRP][obiekty]\gracz-sklep_super_sam\sklep.lua:4: Bad argument @ 'createPed' [Expected bool at argument 6, got number '225'] [2015-05-31 18:18:52] WARNING: [XyzzyRP][obiekty]\gracz-sklep_super_sam\sklep.lua:7: Bad argument @ 'setElementDimension' [Expected element at argument 1, got boolean] [2015-05-31 18:18:52] WARNING: [XyzzyRP][obiekty]\gracz-sklep_super_sam\sklep.lua:8: Bad argument @ 'setElementInterior' [Expected element at argument 1, got boolean] [2015-05-31 18:18:52] WARNING: [XyzzyRP][obiekty]\gracz-sklep_super_sam\sklep.lua:9: Bad argument @ 'setElementFrozen' [Expected element at argument 1, got boolean] [2015-05-31 18:18:52] WARNING: [XyzzyRP][obiekty]\gracz-sklep_super_sam\sklep.lua:10: Bad argument @ 'setElementData' [Expected element at argument 1, got boolean] [2015-05-31 18:18:52] WARNING: [XyzzyRP][obiekty]\gracz-sklep_super_sam\sklep.lua:11: Bad argument @ 'setElementData' [Expected element at argument 1, got boolean] [2015-05-31 18:18:58] INFO: obiektow: 336 [2015-05-31 18:19:00] ERROR: lss-scena naglosnienie_c.luac is invalid. Please re-compile at http://luac.mtasa.com/ [2015-05-31 18:19:03] WARNING: [XyzzyRP][obiekty]\lss-urzadmiasta\zasilki.lua:65: Bad argument @ 'setElementInterior' [Expected number at argument 2, got nil] [2015-05-31 18:19:03] WARNING: [XyzzyRP][obiekty]\lss-urzadmiasta\zasilki.lua:66: Bad argument @ 'setElementDimension' [Expected number at argument 2, got nil] [2015-05-31 18:19:03] WARNING: lss-warsztat1/warsztat_c.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-05-31 18:19:03] Some files in 'lss-warsztat1' use deprecated functions. [2015-05-31 18:19:03] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:19:04] WARNING: lss-wysypisko_smieci/pedy.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-05-31 18:19:04] Some files in 'lss-wysypisko_smieci' use deprecated functions. [2015-05-31 18:19:04] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:19:26] ERROR: zasieg_obiektow zasieg_obiektow.luac is invalid. Please re-compile at http://luac.mtasa.com/ [2015-05-31 18:19:26] ERROR: Couldn't find resource samp_objects. Check it exists. [2015-05-31 18:19:26] ERROR: Couldn't find resource . Check it exists. [2015-05-31 18:19:26] ERROR: Couldn't find resource chatbubble. Check it exists. [2015-05-31 18:19:27] INFO: Tagow w bazie: 0 [2015-05-31 18:19:33] WARNING: syncedfire/synced_fire_c.lua(Line 60) [Client] getVehicleRotation is deprecated and may not work in future versions. Please replace with getElementRotation. [2015-05-31 18:19:33] Some files in 'syncedfire' use deprecated functions. [2015-05-31 18:19:33] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:19:33] ERROR: Couldn't find resource fireworkz. Check it exists. [2015-05-31 18:19:35] WARNING: radar/create.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2015-05-31 18:19:35] Some files in 'radar' use deprecated functions. [2015-05-31 18:19:35] Use the 'upgrade' command to perform a basic upgrade of resources. [2015-05-31 18:19:40] Querying MTA master server... success! (Auto detected IP:178.202.192.181) [2015-05-31 18:19:40] Server started and is ready to accept connections! [2015-05-31 18:19:40] To stop the server, type 'shutdown' or press Ctrl-C [2015-05-31 18:19:40] Type 'help' for a list of commands. [2015-05-31 18:19:40] INFO: Zaladowano zmienionych domow: 0 [2015-05-31 18:19:40] INFO: zmiana pogody na 10 [2015-05-31 18:19:49] INFO: Ilosc smieci spadla ponizej 150, regenerowanie... [2015-05-31 18:19:49] INFO: Regeneracja smieci zakonczona.

tom99925 commented 9 years ago

dobra juz znalazlem