GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Illuminati - 2015. December 20. - 18:15:50

Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 20. - 18:15:50
Üdv, elszeretném indítani a malibu modot, de a konzol ezt írja. (Remélem jó helyre nyitom a topikot.
 
SA-MP 0.3 Server Setup
----------------------
Once the configuration is complete, run samp-server.exe to
launch the server process.
CONFIGURATION:
Example server.cfg:
echo Executing Server Config...
lanmode 0
maxplayers 32
port 7777
hostname Unnamed Server
announce 0
gamemode0 lvdm 1
gamemode1 rivershell 1
weburl www.sa-mp.com
rcon_password changeme
To configure the server, you must edit the values in server.cfg. They are explained below:
hostname
--------
Parameters:
   string
Description:
   Specifies the hostname shown in the server browser
port
----
Parameters:
   int
Description:
   Specifies the port to listen on.
   This port is used for game connections, rcon connections, and for querying.
maxplayers
----------
Parameters:
   int
Description:
   Specifies the maximum amount of players.
lanmode
-------
Parameters:
   int (0 or 1)
Description:
   Turns lanmode on (1) or off (0). Lanmode (as the name suggests) is for use on LAN games, where bandwidth is not a problem. Lanmode sends data at a higher rate, for a smoother game.
announce
-------
Parameters:
   int (0 or 1)
Description:
   Announces your server to the \'Internet\' server list in the SA:MP browser. On (1) or Off (0).
weburl
------
Parameters:
   string
Description:
   Specifies the URL shown in the server browser, which is associated to the server.
rcon_password
-------------
Parameters:
   string
Description:
   Specifies the password needed to connect to rcon, or login to rcon ingame.
gamemode0 - gamemode15
----------------------
Parameters:
   string
   int
Description:
   Specifies the rotation settings. The first parameter sets the game mode name. The second is the number of times it will repeat.
   You can use gamemode0 to specify the first gamemode, gamemode1 to specify the second, etc.
[/quote]
Cím: Malibu mod indítása
Írta: kos - 2015. December 20. - 18:33:52
Ne zavarjon ott a leírás benne h mit kell csinálnod.... xd
Description: = Leírás:
még le is írták h mit kell ;)
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 20. - 19:36:21
Megcsináltam..
De..
 
[19:29:43] Script[gamemodes/frissmalibu.amx]: Run time error 19: \"File or function is not found\"
[19:29:43] Number of vehicle models: 0
[/quote]
Ezek a warningok.
De az a fura, hogy arra a sorra jelzi, ahol semmi sincsen.
 
C:\\Users\\-Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"AddPlayerItemEx\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"BackGroundData\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"DoesPlayerHaveItem\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"GetPlayerItemIndex\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"GetPlayerItemidAmount\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"GetPlayerItemidAmountEx\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"GetStringData\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"IsPlayerHaveKocsikulcsByNev\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"IsmeriOt\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"RandomRovidFuv\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"TakePlayerItemEx\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"TorolBizniszKulcsai\"
C:\\Users\\-\\Desktop\\SAMP Szerver cuccos\\malibu\\gamemodes\\frissmalibu.pwn(30430) : warning 203: symbol is never used: \"walktime2\"
[/quote]
Cím: Malibu mod indítása
Írta: kos - 2015. December 21. - 08:28:29
[19:29:43] Script[gamemodes/frissmalibu.amx]: Run time error 19: \"File or function is not found\"
[19:29:43] Number of vehicle models: 0
[/quote]
hiányzik egy fájl/fájlból valami valamint a kocsival/kocsikkal van baja h talán nincsenek, nem ismerem a módot, de az error alapján hiányos/nem található valami, nem hinném, hogy a módban van a baj. :hmmm:
mellesleg
 
\"AddPlayerItemEx\"
\"BackGroundData\"
\"DoesPlayerHaveItem\"
\"GetPlayerItemIndex\"
\"GetPlayerItemidAmount\"
\"GetPlayerItemidAmountEx\"
\"GetStringData\"
\"IsPlayerHaveKocsikulcsByNev\"
\"IsmeriOt\"
\"RandomRovidFuv\"
\"TakePlayerItemEx\"
\"TorolBizniszKulcsai\"
\"walktime2\"
[/quote]
Ha ezek továbbra is warningolnak miután megcsináltad, nincsenek ledefiniálva/nincsenek használva semmire ez attól függ hogyan szerepel a módban h inc file/scripthez kapcsolódik-e  :hmm:
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 08:35:26
Autókat IG lehet lerakni, viszont még most se értem, kivettem azokat a warningokat, amiket írt, mivel a mod legvégére jelezte, ahol semmi sincs, viszont még mindig van 2 warning, de egyiket se találni a modban.
BackGroundData
walktime2
Cím: Malibu mod indítása
Írta: kos - 2015. December 21. - 08:41:06
new Float:RandomRovidFuv[][] =[/quote]
persze h nem jó mert nincs érték megadva..
 :no:
 
new Float:RandomRovidFuv[14][] =

 
a második része h milyen randommal válogassa.
a warningnál meg ha undefine vagy symbolum probléma van mondom hiányos/nincs használva

Dupla hozzászólás automatikusan összefûzve. ( 2015. December 21. - 08:45:37 )

remélem tudtam segíteni :thumbsup:  8)
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 08:47:10
Az fasza, gondolom arra nem lehet rájönni.
Cím: Malibu mod indítása
Írta: kos - 2015. December 21. - 09:00:52
BackGroundData
walktime2
[/quote]
másold be hol szerepelnek h lesz e problémád, ha nem csinálsz vele semmit :)
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 16:49:00
Állítólag ezekkel a warningookkal nem kell foglalkozni, de ez az egyetlen hiba.
[08:34:55] Script[gamemodes/frissmalibu.amx]: Run time error 19: \"File or function is not found\"
Cím: Malibu mod indítása
Írta: Brian Harris - 2015. December 21. - 18:18:30
Vmi plugin nincs be írva a szerver cfg vagy ha bevan, akkor rosszul.
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 18:22:01
Az sikerült de ezt írja a konzol.
 
[18:15:16] MySQL: Kapcsolódás erre a címre localhost root nevű felhasználóval.
Adatbázis neve: maliburpg.
[18:15:17] MySQL: Kapcsolódás sikertelen! (localhost)
[18:15:17] MySQL: A mód kikapcsol! (localhost)
[18:15:17] Number of vehicle models: 0
[18:15:17] --- Server Shutting Down.
[/quote]
Cím: Malibu mod indítása
Írta: impreZZa - 2015. December 21. - 18:55:50
MySQL-t megcsináltad péef?
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 18:59:21
Hogyan kéne? :D
Cím: Malibu mod indítása
Írta: impreZZa - 2015. December 21. - 19:02:40
https://sampforum.hu/index.php?topic=63167.562214#msg562214
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 19:16:27
Ezt akkor is meg kell csinálnom ha hosthoz volt adatbázis? :D
Cím: Malibu mod indítása
Írta: impreZZa - 2015. December 21. - 19:18:45
Akkor amiket megadtak, azokat beírod a modba.
 
#define MYSQL_HOST \"\"
#define MYSQL_DB \"\"
#define MYSQL_USER \"\"
#define MYSQL_PASS \"\"
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 19:24:28
Mit jelent a \"DB\"?
Cím: Malibu mod indítása
Írta: impreZZa - 2015. December 21. - 19:27:56
adatbázis
Cím: Malibu mod indítása
Írta: Nyuusziii - 2015. December 21. - 19:47:58
Kell az indításhoz egy kötél is....varázs kötél. Csak a nyakad köré tekerve működik. :)
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 21. - 20:27:10
Idézetet írta: Nyuusziii date=1450723678\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"58741\" data-ipsquote-contentclass=\"forums_Topic
Kell az indításhoz egy kötél is....varázs kötél. Csak a nyakad köré tekerve működik. :)
 
Ezt vegyem sértésnek? -.-\"
Cím: Malibu mod indítása
Írta: kos - 2015. December 22. - 00:33:16
Figyelj, most néztem meg újra a témát, mysql problémával ha van bérelt szervered szívesen segítenek a hostok, vagy keres a fórumon ezzel foglalatoskodó embert, ha nem sikerül bebikázni a módot :shurg: probléma nincs már, ez már csak hozzá nem értés, a téma meg van oldva szerintem ;) és mint a linkben is láttam már más ilyen problémát ott is találsz választ ha embert nem is aki gyors talpalót tartana mysql-ből.  :thumbsup: és jó gyakorolgatást menni fog idővel  :smokin:
Cím: Malibu mod indítása
Írta: ZyZu. - 2015. December 22. - 00:41:05
nem a legalkalmasabb egy RPG móddal kezdeni a programozási nyelvet ha még az angolt sem tudod. :D
Cím: Malibu mod indítása
Írta: Illuminati - 2015. December 22. - 07:44:02
Tudok angolul, de akkor zárom a témát.