Jump to content
  • 0

Error Compile.


Konti.

Question

Salut am o Eroare la Compilarea unui Gamemode...Cu mysql.

C:\Users\TropiKllaz\Desktop\Bugged-GM\gamemodes\gmiedit.pwn(32052) : error 001: expected token: "(", but found "."
C:\Users\TropiKllaz\Desktop\Bugged-GM\gamemodes\gmiedit.pwn(32052) : error 001: expected token: ";", but found "-identifier-"
C:\Users\TropiKllaz\Desktop\Bugged-GM\gamemodes\gmiedit.pwn(32052) : error 001: expected token: ";", but found "."
C:\Users\TropiKllaz\Desktop\Bugged-GM\gamemodes\gmiedit.pwn(32052) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

Salut.Erorile pe care le primesti pt ca ai uitat sa oui semnul ";"(punct si virgula) sau"}"(acolada).Verifica asta inainte de linia 32052.

E o eroare aici?

CMD:(comanda) (playerid, params[])
{
    playerVariables[playerid][pAdminLevel] = 6;
    playerVariables[playerid][pManager] = 1;
    return 1;
}

Arata linia la care primesti eroare.

Poftim linia 32052 si scriptul...

CMD:(comanda) (playerid, params[])
{
    playerVariables[playerid][pAdminLevel] = 6;
    playerVariables[playerid][pManager] = 1;
    return 1;
}

Link to comment
Share on other sites

  • 0

E o eroare aici?

Hidden Content

Poftim linia 32052 si scriptul...

CMD:(comanda) (playerid, params[])
{
    playerVariables[playerid][pAdminLevel] = 6;
    playerVariables[playerid][pManager] = 1;
    return 1;
}

Tu chiar asa ai comanda? CMD:(comanda)? Intreb doar ca sa stiu. :))

Link to comment
Share on other sites

  • 0

E o eroare aici?

Hidden Content

Poftim linia 32052 si scriptul...

CMD:(comanda) (playerid, params[])
{
    playerVariables[playerid][pAdminLevel] = 6;
    playerVariables[playerid][pManager] = 1;
    return 1;
}

GameMode-ul ,cred eu este cel al lui Pookie sau Yankee,nu? Comanda ta este Site.Ro ?Daca da, inlocuiesti cu o comanda fara dot(punct).Eu iti recomand sa stergi comanda.

 
Edited by ..::STeFaNN::..
Link to comment
Share on other sites

  • 0

GameMode-ul ,cred eu este cel al lui Pookie sau Yankee,nu? Comanda ta este Site.Ro ?Daca da, inlocuiesti cu o comanda fara dot(punct).Eu iti recomand sa stergi comanda.

 

Intradevar este a lui Pookie, de unde stii nustiu dar va multumesc tuturor!!

Link to comment
Share on other sites

  • 0

Am sters comanda si a mers compile , dar akm nu merge gamemodeul arata Unknown la Gamemode, de ce ? eu  cred ca este de la plugins ca sunt 6-8 pluginuri.

Salut.Pune asta in server.cfg si sterge plugin-urile care nu apar.Daca e pe linux pui nume_plugin.so daca e pe windows nume_plugin.dll .Daca iti arata tot Unknown posteaza server_log.txt

echo Executing Server Config...
lanmode 0
rcon_password parola
host Adresa Server
port 7777
plugins sscanf.so streamer.so mysql.so GeoIP.so GeoIP_Plugin.so Whirlpool.so nativechecker.so
hostname RPG.Site.RO
gamemode0 GM 1
announce 0
query 1
weburl 
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
filterscripts anti-flood antiflood Anti-join-flooding
mapname SanAndreas
language RO + EN

 

Link to comment
Share on other sites

  • 0

Eroare la MySql

--
-- Database: `zp_hid5962`
--
-- --------------------------------------------------------
--
-- Structura de tabel pentru tabelul `adminlog`
--
CREATE TABLE IF NOT EXISTS `adminlog` (

`entryID` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`value` VARCHAR( 255 ) NOT NULL ,
`entryTime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
`tickcount` INT( 12 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( `entryID` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =164;
 

 

Raspuns MySQL: Документация

#1046 - No database selected 

Uite baza http://www.fileshare.ro/e31221443

 

sau

zp_hid5962.sql

Link to comment
Share on other sites

  • 0

Salut.Problema este la AUTO_INCREMENT=164;Pentru a o putea urca pe serverul de mysql fara date stocate trebuie sa pui AUTO_INCREMENT=1;.Am facut esu asta pentru tine.

http://www41.zippyshare.com/v/0qj2KXdW/file.html

 

Link to comment
Share on other sites

  • 0

Multumesc.Nu inchideti Topic pt revin cu alte buguri..

 

Inca o eroare la Import...

--
-- Database: `zp_hid5962`
--
-- --------------------------------------------------------
--
-- Table structure for table `adminlog`
--
CREATE TABLE `adminlog` (

`entryID` INT( 11 ) NOT NULL AUTO_INCREMENT ,
`value` VARCHAR( 255 ) NOT NULL ,
`entryTime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
`tickcount` INT( 12 ) NOT NULL DEFAULT '0',
PRIMARY KEY ( `entryID` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =1;
 

 

Raspuns MySQL: Документация

#1046 - No database selected 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.