Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2014-06-19, 21:41


eragon16







Wiek: 29
Na forum: 4835 dni
Posty: 7
Nick w MP: Eragon16



Respekt: 50

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.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-19, 21:42


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

eragon16, skoro instrukcja nie jest podana to sk?d my mamy wiedzie? ? Zapytaj autora.

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-19, 21:47


eragon16







Wiek: 29
Na forum: 4835 dni
Posty: 7
Nick w MP: Eragon16



Respekt: 50

A typowy GameMode jak sie instaluje?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-19, 22:16


Zgredek666

LUA






Wiek: 27
Na forum: 4722 dni
Posty: 251
Nick w MP: Zgredek

Piwa: 442

Respekt: 70,1

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.

Podpis
Piszę skrypty lua na serwery Truck/RPG/Race/DayZ. Kontakt pw!

Pomogłem? Wystarczy jak postawisz :piwo:



Zapraszam na mój kanał na yt:
https://www.youtube.com/c...vgsF65M-Xw5hEDQ
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-19, 22:29


Piorun







Wiek: 32
Na forum: 6712 dni
Posty: 1837
Nick w MP: Piorun

Piwa: 516

Respekt: 480,7
Respekt: 480,7

albo /start i wszystkie zasoby. Aczkolwiek zapewne przy gamemodzie jest instrukcja. Jak nie to po prostu wszystko wrzucasz do folderu resources.

Podpis
Możesz mnie znaleźć na: Facebook
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-19, 22:59


eragon16







Wiek: 29
Na forum: 4835 dni
Posty: 7
Nick w MP: Eragon16



Respekt: 50

Do tych jest jeszcze m.in login/register panel?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-19, 23:03


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

eragon16, no jak by?o ww, /start <zas?b>.

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-20, 07:38


eragon16







Wiek: 29
Na forum: 4835 dni
Posty: 7
Nick w MP: Eragon16



Respekt: 50

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'


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-20, 07:50


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

Przy bf3 nie wiem, chyba stara wersja kodu.
Przy bf2 access denied - brak dost?pu. Dodaj te pliki/folderu do ACL Admin jako resource.*

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-20, 08:04


eragon16







Wiek: 29
Na forum: 4835 dni
Posty: 7
Nick w MP: Eragon16



Respekt: 50

Naprawiam kod do BF2.
No i ju? pare naprawi?em(od ch... tego jest) :D
I te access denied znik?y. Zobaczymy dalej.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-20, 08:07


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4395 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

eragon16, Nie musisz wszystkiego naprawia?, tylko te pliki, w kt?rych s? b??dy.

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-06-20, 08:13


eragon16







Wiek: 29
Na forum: 4835 dni
Posty: 7
Nick w MP: Eragon16



Respekt: 50

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.

Postaw piwo autorowi tego posta
 

 
Tagi: instalacja :: gamemode
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Instalacja gamemode Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku