Wysłany: 2014-06-19, 21:41
eragon16
Wiek: 29 Na forum: 4836 dni Posty: 7
Nick w MP: Eragon16
Pewnie temat si? ju? kilkakrotnie przewin?? przez forum, lecz nie pomog?y.
Z dzia?u Skrypty do MTA zosta?em tu przekierowany.
Mam problem z instalacj? gamemode:
-bf3 (https://community.multitheftauto.com/index.php?p=resources&s=details&id=6071)
-battlefield96 (https://community.multitheftauto.com/index.php?p=resources&s=details&id=33)
Prosz? o info krok po kroku.
Z g?ry dzi?ki.
Wysłany: 2014-06-19, 21:42
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4395 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
eragon16 , skoro instrukcja nie jest podana to sk?d my mamy wiedzie? ? Zapytaj autora.
Wysłany: 2014-06-19, 21:47
eragon16
Wiek: 29 Na forum: 4836 dni Posty: 7
Nick w MP: Eragon16
A typowy GameMode jak sie instaluje?
Wysłany: 2014-06-19, 22:16
Zgredek666
LUA
Wiek: 27 Na forum: 4722 dni Posty: 251
Nick w MP: Zgredek
Piwa : 442
Typowy gamemod wrzucasz na serwer przez ftp lub po prostu do folderu resource(w przypadku gdy jest to serwer na hamahi). Z panelu admina uruchamiasz komend? /start nazwa skryptu.
Wysłany: 2014-06-19, 22:29
Piorun
Wiek: 32 Na forum: 6712 dni Posty: 1837
Nick w MP: Piorun
Piwa : 516
albo /start i wszystkie zasoby. Aczkolwiek zapewne przy gamemodzie jest instrukcja. Jak nie to po prostu wszystko wrzucasz do folderu resources.
Wysłany: 2014-06-19, 22:59
eragon16
Wiek: 29 Na forum: 4836 dni Posty: 7
Nick w MP: Eragon16
Do tych jest jeszcze m.in login/register panel?
Wysłany: 2014-06-19, 23:03
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4395 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
eragon16 , no jak by?o ww, /start <zas?b>.
Wysłany: 2014-06-20, 07:38
eragon16
Wiek: 29 Na forum: 4836 dni Posty: 7
Nick w MP: Eragon16
Przy bf2:
Kod: [2014-06-20 07] WARNING: bf2/bf.lua(Line 120) [Server] isPlayerInVehicle is deprecated and may not work in future versions. Please replace with isPedInVehicle before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 155) [Server] getClientName is deprecated and may not work in future versions. Please replace with getPlayerName before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 402) [Server] removePlayerFromVehicle is deprecated and may not work in future versions. Please replace with removePedFromVehicle before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 533) [Server] setPlayerArmor is deprecated and may not work in future versions. Please replace with setPedArmor before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 678) [Server] setPlayerWeaponSlot is deprecated and may not work in future versions. Please replace with setPedWeaponSlot before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 757) [Server] killPlayer is deprecated and may not work in future versions. Please replace with killPed before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 783) [Server] getVehicleID is deprecated and may not work in future versions. Please replace with getElementModel before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 820) [Server] getPlayerTarget is deprecated and may not work in future versions. Please replace with getPedTarget before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 821) [Server] getPlayerWeapon is deprecated and may not work in future versions. Please replace with getPedWeapon before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 823) [Server] isPlayerDead is deprecated and may not work in future versions. Please replace with isPedDead before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 875) [Server] getPlayerRotation is deprecated and may not work in future versions. Please replace with getPedRotation before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 876) [Server] getPlayerSkin is deprecated and may not work in future versions. Please replace with getElementModel before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 885) [Server] getPlayerOccupiedVehicle is deprecated and may not work in future versions. Please replace with getPedOccupiedVehicle before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 934) [Server] attachElementToElement is deprecated and may not work in future versions. Please replace with attachElements before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 962) [Server] detachElementFromElement is deprecated and may not work in future versions. Please replace with detachElements before Tuesday.
[2014-06-20 07] WARNING: bf2/bf.lua(Line 1188) [Server] randInt is deprecated and may not work in future versions. Please replace with math.random before Tuesday.
[2014-06-20 07] WARNING: bf2/specialevents.lua(Line 335) [Client] getPlayerOccupiedVehicle is deprecated and may not work in future versions. Please replace with getPedOccupiedVehicle before Tuesday.
[2014-06-20 07] WARNING: bf2/specialevents.lua(Line 358) [Client] getPlayerTarget is deprecated and may not work in future versions. Please replace with getPedTarget before Tuesday.
[2014-06-20 07] WARNING: bf2/specialevents.lua(Line 440) [Client] isPlayerInVehicle is deprecated and may not work in future versions. Please replace with isPedInVehicle before Tuesday.
[2014-06-20 07] WARNING: bf2/specialevents.lua(Line 441) [Client] getVehicleID is deprecated and may not work in future versions. Please replace with getElementModel before Tuesday.
[2014-06-20 07] WARNING: bf2/specialevents.lua(Line 624) [Client] getPlayerTotalAmmo is deprecated and may not work in future versions. Please replace with getPedTotalAmmo before Tuesday.
[2014-06-20 07] WARNING: bf2\bf.lua:1116: Bad argument @ 'getTeamColor'
[2014-06-20 07] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamName'
[2014-06-20 07] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamFromName'
[2014-06-20 07] WARNING: bf2\bf.lua:1118: Bad argument @ 'getPlayersInTeam'
[2014-06-20 07] ERROR: bf2\bf.lua:1119: bad argument #1 to 'ipairs' (table expected, got boolean)
Przy bf3:
Kod: [2014-06-20 07] WARNING: bf3 tacho/hud_speedo.lua is invalid and will not work in future versions. Please re-compile at http://luac.mtasa.com/
[2014-06-20 07] WARNING: bf3\login\server.lua:110: Access denied @ 'addAccount'
[2014-06-20 07] WARNING: bf3\login\server.lua:110: Access denied @ 'addAccount'
[2014-06-20 07] WARNING: bf3\login\server.lua:110: Access denied @ 'addAccount'
[2014-06-20 07] WARNING: bf3\login\server.lua:110: Access denied @ 'addAccount'
[2014-06-20 07] WARNING: bf3\login\server.lua:110: Access denied @ 'addAccount'
[2014-06-20 07] WARNING: bf3\login\server.lua:110: Access denied @ 'addAccount'
Wysłany: 2014-06-20, 07:50
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4395 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
Przy bf3 nie wiem, chyba stara wersja kodu.
Przy bf2 access denied - brak dost?pu. Dodaj te pliki/folderu do ACL Admin jako resource.*
Wysłany: 2014-06-20, 08:04
eragon16
Wiek: 29 Na forum: 4836 dni Posty: 7
Nick w MP: Eragon16
Naprawiam kod do BF2.
No i ju? pare naprawi?em(od ch... tego jest)
I te access denied znik?y. Zobaczymy dalej.
Wysłany: 2014-06-20, 08:07
MeeShuffle
Programista/Grafik
Wiek: 32 Na forum: 4395 dni Posty: 2758
Nick w MP: Shuffle
Piwa : 8575
eragon16 , Nie musisz wszystkiego naprawia?, tylko te pliki, w kt?rych s? b??dy.
Wysłany: 2014-06-20, 08:13
eragon16
Wiek: 29 Na forum: 4836 dni Posty: 7
Nick w MP: Eragon16
S?uchaj gdy naprawisz te co wypisa?em wyskoczy ci ok. 50 nowych, bo zamiast Player musi by? Ped.
Ja wpisa?em w notepadC++ np. wyszukaj isPlayerInVehicle i zamie? na isPedInVehicle
Wpisuje tylko co potrzebuje i on zamienia
O.o Brak b??d?w, sprawdze czy ?miga.
#1 EDIT.
Po w??czeniu, nic nie widz? na ekranie. Czarno.
Znaczy wszystko jest (np. panel komend jak w bf2, ale nie da rady gra?)
Chce kto? pliki dzia?ajace, aby u siebie przetestowa??
#2 EDIT.
http://przeklej.org/file/Og4wrQ/bf2.zip
Nowe logi:
Kod: [2014-06-20 08:20] WARNING: bf2\bf.lua:1116: Bad argument @ 'getTeamColor'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamName'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamFromName'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1118: Bad argument @ 'getPlayersInTeam'
[2014-06-20 08:20] ERROR: bf2\bf.lua:1119: bad argument #1 to 'ipairs' (table expected, got boolean)
[2014-06-20 08:20] WARNING: bf2\bf.lua:1116: Bad argument @ 'getTeamColor'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamName'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamFromName'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1118: Bad argument @ 'getPlayersInTeam'
[2014-06-20 08:20] ERROR: bf2\bf.lua:1119: bad argument #1 to 'ipairs' (table expected, got boolean)
[2014-06-20 08:20] WARNING: bf2\bf.lua:1116: Bad argument @ 'getTeamColor'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamName'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1117: Bad argument @ 'getTeamFromName'
[2014-06-20 08:20] WARNING: bf2\bf.lua:1118: Bad argument @ 'getPlayersInTeam'
[2014-06-20 08:20] ERROR: bf2\bf.lua:1119: bad argument #1 to 'ipairs' (table expected, got boolean)
[ Dodano : 2014-06-20, 17:50 ]
Wszystko ?miga, wystarczy?o doda? do ACL.
Tagi: instalacja :: gamemode
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: