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

Wysłany: 2020-06-05, 01:06


DARIOcaptain







Wiek: 32
Na forum: 2225 dni
Posty: 11
Nick w MP: DarioPL



Respekt: 50

Witam,
Ot?? chcia?em si? pobawi? na znanym wszystkim Owlu, pobra?em paczk? i zabra?em si? za stawianie serwa na localu. Po wielu pr?bach uda?o mi si? podpi?? baz? danych, natomiast dalej w skryptach s? b??dy, kt?re uniemo?liwiaj? uruchomienie serwera. Wiem, ?e jest to do?? amatorskie pytanie, ale nie znam si? za bardzo na Lua i samemu tego nie naprawi?. Czy m?g?by kto? powiedzie?, co trzeba zamieni? w poszczeg?lnych skryptach lub czy mo?e poda? linka do sprawnej paczki?
Pozdrawiam

Postaw piwo autorowi tego posta
 

 
Wysłany: 2020-06-05, 02:20


PatryKK.

Emeryt LUA






Wiek: 26
Na forum: 3061 dni
Posty: 1060
Nick w MP: PatryKK.

Piwa: 2322

Respekt: 331,5
Respekt: 331,5Respekt: 331,5Respekt: 331,5

Jedyne co nale?y zrobi? aby paczka odpowiednio dzia?a?a to:
-podpi?? baz? danych
-usun?? white-liste
-w??czy? skrypty
-naprawi? liczne b??dy, kt?re s? w kodzie

Postaw piwo autorowi tego posta
 

 
Więcej szczegółów
Wystawiono 1 piw(a):
DARIOcaptain
Wysłany: 2020-06-05, 02:53


DARIOcaptain







Wiek: 32
Na forum: 2225 dni
Posty: 11
Nick w MP: DarioPL



Respekt: 50

Dzi?ki za pomoc, zosta?o mi jeszcze usun?? te b??dy w skryptach.

[ Dodano: 2020-06-05, 11:55 ]
Wi?c sprawa wygl?da tak, uda?o mi si? naprawi? po?ow? b??d?w, kt?re by?y spowodowane z?? kolejno?ci? ?adowania zasob?w, jednak tak jak napisa?em nie znam Lua, czyli nie wiem jak naprawi? b??dy w skryptach. Czy mo?na by by?o powiedzie? co nale?y usun??/zmieni? w kodach skrypt?w na podstawie poni?szego loga?




Kod:

==================================================================
= Multi Theft Auto: San Andreas v1.4.1
==================================================================
= Server name : Latvian test server
= Server IP address:
= Server port : 22003
=
= Log file : ..aming Ejois/mods/deathmatch/logs/server.log
= Maximum players : 32
= HTTP port : 22005
= Voice Chat : Disabled
= Bandwidth saving : Medium
==================================================================
[2020-06-05 11:53] Resource 'guieditor' requests some acl rights. Use the command 'aclrequest list guieditor'
[2020-06-05 11:53] ERROR: Couldn't find map StadiumMapping.map for resource maps
[2020-06-05 11:53] Loading of resource 'maps' failed
[2020-06-05 11:53] Resources: 167 loaded, 0 failed
[2020-06-05 11:53] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <rydencillo@gmail.com>"
[2020-06-05 11:53] Starting resources.......
[2020-06-05 11:53] SCRIPT ERROR: global\g_version_globals.lua:10: '=' expected near 'UCP'
[2020-06-05 11:53] ERROR: Loading script failed: global\g_version_globals.lua:10: '=' expected near 'UCP'
[2020-06-05 11:53] Server minclientversion is now 1.4.1-9.07369.0
[2020-06-05 11:53] ERROR: fakevideo\s_fakevideo.lua:9: exports: Call to non-running server resource (integration) [string "?"]
[2020-06-05 11:53] ERROR: fakevideo\s_fakevideo.lua:10: exports: Call to non-running server resource (clubtec) [string "?"]
[2020-06-05 11:53] ERROR: fakevideo\s_fakevideo.lua:11: exports: Call to non-running server resource (item-world) [string "?"]
[2020-06-05 11:53] INFO: Loaded 0 animated texture records in 0ms
[2020-06-05 11:53] ERROR: clubtec\s_clubtec.lua:9: exports: Call to non-running server resource (item-world) [string "?"]
[2020-06-05 11:53] ERROR: item-world\g_permissions.lua:2: exports: Call to non-running server resource (anticheat) [string "?"]
[2020-06-05 11:53] ERROR: item-world\g_permissions.lua:4: exports: Call to non-running server resource (item-texture) [string "?"]
[2020-06-05 11:53] INFO: [ITEM WORLD] Loading 0 world items will be finished in approximately 0.05 seconds.
[2020-06-05 11:53] ERROR: attempt to call a nil value
[2020-06-05 11:53] ERROR: account\g_events.lua:24: call: failed to call 'global:getScriptVersion' [string "?"]
[2020-06-05 11:53] ERROR: attempt to call a nil value
[2020-06-05 11:53] ERROR: account\s_main.lua:29: call: failed to call 'global:getScriptVersion' [string "?"]
[2020-06-05 11:53] WARNING: account\s_main.lua:29: Bad argument @ 'setRuleValue' [Expected string at argument 2, got boolean]
[2020-06-05 11:53] Server password cleared
[2020-06-05 11:53] ERROR: Couldn't find resource clock-analog. Check it exists.
[2020-06-05 11:53] ERROR: cmd-library\s_panel_admin_help.lua:25: bad argument #1 to 'insert' (table expected, got nil)
[2020-06-05 11:53] ERROR: cmd-library\s_panel_gm_help.lua:25: bad argument #1 to 'insert' (table expected, got nil)
[2020-06-05 11:53] INFO: MYSQL ERROR 1146: Table 'owl_mta.elections' doesn't exist
[2020-06-05 11:53] ERROR: mysql\connection.lua:43: exports: Call to non-running server resource (logs) [string "?"]
[2020-06-05 11:53] ERROR: Couldn't find resource faction. Check it exists.
[2020-06-05 11:53] ERROR: faction-system\s_faction_admin.lua:507: attempt to index local 'maxrow' (a nil value)
[2020-06-05 11:53] ERROR: Couldn't find resource flood. Check it exists.
[2020-06-05 11:53] Please wait...
[2020-06-05 11:53] ERROR: Couldn't find resource headwaresurvey. Check it exists.
[2020-06-05 11:53] ERROR: Couldn't find resource heath-addon. Check it exists.
[2020-06-05 11:53] ERROR: informationicon-system c_informationicons.lua is invalid. Please re-compile at http://luac.mtasa.com/
[2020-06-05 11:53] INFO: Loaded 0 information icons in 1ms
[2020-06-05 11:53] INFO: item-texture: Loading textures for 0 world items
[2020-06-05 11:53] INFO: item-texture: 0 clients waiting on initial sync.
[2020-06-05 11:53] INFO: item-texture: 0 textured elements were added for initial sync.
[2020-06-05 11:53] INFO: [JOB-SYSTEM-TRUCKER] Fetched 0 actual orders sucessfully from SQL
[2020-06-05 11:53] INFO: LeFire Script loaded ...
[2020-06-05 11:53] INFO: Loaded 0 clothing items
[2020-06-05 11:53] ERROR: Couldn't find resource maps. Check it exists.
[2020-06-05 11:53] ERROR: Couldn't find resource mdc=system. Check it exists.
[2020-06-05 11:53] ERROR: Couldn't find resource obkect-interaction. Check it exists.
[2020-06-05 11:53] ERROR: Couldn't find resource official-interior. Check it exists.
[2020-06-05 11:53] INFO: PRISON-SYSTEM: Loaded 24 cell gates from s_gates.lua
[2020-06-05 11:53] INFO: Loaded 0 reports.
[2020-06-05 11:53] ERROR: Couldn't find resource text2speech. Check it exists.
[2020-06-05 11:53] INFO: Loaded 0 texture records for all interiors in 0ms
[2020-06-05 11:53] SCRIPT ERROR: ticket-system\s_vehticket.lua:98: ')' expected near 'Los'
[2020-06-05 11:53] ERROR: Loading script failed: ticket-system\s_vehticket.lua:98: ')' expected near 'Los'
[2020-06-05 11:53] ERROR: Couldn't find resource xmas. Check it exists.
[2020-06-05 11:53] Querying MTA master server... success! (Auto detected IP:83.6.28.114)
[2020-06-05 11:53] Server started and is ready to accept connections!
[2020-06-05 11:53] To stop the server, type 'shutdown' or press Ctrl-C
[2020-06-05 11:53] Type 'help' for a list of commands.
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
[2020-06-05 11:53] WARNING: global\s_account_globals.lua:43: getUserNameFromID(): Unable
******************************************
IMPORTANT MESSAGE FROM MTA HQ

This server version has a critical bug.
Please update ASAP.

http://mtasa.com/3216
******************************************
[2020-06-05 11:53] Server stopped!
[2020-06-05 11:53] Stopping resources...................................................
[2020-06-05 11:53] INFO: [Factions] Saving duty allow changes...
[2020-06-05 11:53] INFO: [Factions] Completed in 0 seconds.
[2020-06-05 11:53] ERROR: pool\server\s_pool.lua:151: exports: Call to non-running server resource (data) [string "?"]
[2020-06-05 11:53] ERROR: pool\server\s_pool.lua:152: exports: Call to non-running server resource (data) [string "?"]
[2020-06-05 11:53] ERROR: report-system\s_reports.lua:115: exports: Call to non-running server resource (data) [string "?"]
[2020-06-05 11:53] ERROR: shop-system\faction_drop_s.lua:269: attempt to concatenate a nil value
[2020-06-05 11:53] MODULE: Unloaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <rydencillo@gmail.com>"
[2020-06-05 11:53] Closing SQLite3 database


Postaw piwo autorowi tego posta
 

 
Wysłany: 2020-06-05, 13:57


PatryKK.

Emeryt LUA






Wiek: 26
Na forum: 3061 dni
Posty: 1060
Nick w MP: PatryKK.

Piwa: 2322

Respekt: 331,5
Respekt: 331,5Respekt: 331,5Respekt: 331,5

[2020-06-05 11:53Resources167 loaded0 failed

Ka?dy plik zosta? wczytany. Jedyne co to s? pojedyncze b??dy w skryptach. Troch? ich jest, wi?c musia?by? poda? kod ka?dego skryptu. Aczkolwiek mam jedn? rad?, je?eli nie znasz si? na lua to nie otwieraj serwera, bo jest to jedynie strata czasu :v

Postaw piwo autorowi tego posta
 

 
Wysłany: 2020-06-05, 16:37


DARIOcaptain







Wiek: 32
Na forum: 2225 dni
Posty: 11
Nick w MP: DarioPL



Respekt: 50

Owla chcia?em mie? tylko do zabawy na localu naprawionego, ale je?eli musia?bym podawa? kod ka?dego skryptu to poszukam pomocy na oddzielnych ?r?d?ach. Mimo wszystko dzi?ki.

Postaw piwo autorowi tego posta
 

 
Tagi: owlgaming
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Owlgaming 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