Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

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.

15 answers to this question

Recommended Posts

  • 0
Posted (edited)

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

Edited by ..::STeFaNN::..
  • 0
Posted

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;
}

  • 0
Posted

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. :))

  • 0
Posted (edited)

 Nu am pus doar de forma :|

 

 

 

 

 

Edited by Bogdy_Wow
  • 0
Posted (edited)

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::..
  • 0
Posted

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!!

  • 0
Posted

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.

 

  • 0
Posted

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

 

  • 0
Posted

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

  • 0
Posted

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

 

  • 0
Posted

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 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.