Jump to content

G Base [Mysql]


Gireada

Recommended Posts

Aceste un gamemode pentru incepatorii care vor sa lucreze pe un server. El este un server de baza adica doar sistemul de logare care este pe mysql r33.

Baza de date se creeaza automat voi doar trebuie sa il configurati. Succesc.'

Poza:

4qUaJYc.png

Download:

PasteBin

SolidFiles

  • Upvote 1

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

Felicitari, dar acolo la OnDialogResponse pune verificari cu if-uri. Da stiu o sa-mi zici ca "Switch" e mai rapid, dar te inseli, e mai rapid doar pentru cateva lnii de cod, cum ai tu acolo SetSpawn si astea. Cand chemi metode if e mai rapid.

Link to comment
Share on other sites

Multumim..

Daca il postat acum 2-3 luni il luam si eu..

Nu mai deschideti in pu*a mea servere de SA:MP !

Jucati-va pe cele care sunt !   Sunt suficiente !

Reguli de bun simt:

1. Nu faceti reclama unde nu trebuie !

2. Nu injurati ca la usa cortului !

3. Daca esti analfabeti, taci din gura !

4. Nu abuza de 'scuze', 'din greseala' !

 

My work ::: http://pastebin.com/VRNRcaAs

Link to comment
Share on other sites

Serios...

Pe r38 ai folosit ORM inteleg ca ai fi vrut sa folosesti nu ?

Ai folosit in totalitate metoda cache, ORM ala e degeaba.

Puteai updata totul odata ca e r38 si nu face lag decat 0.300 ms asta doar la 80+ date.

Deci e scriptat ca naiba.

Dar iti dau 4/5 pentru munca, apreciez.

P.S: sus e doar critica constructiva.

Link to comment
Share on other sites

Mie imi da o eroare cand vreau sa il pornesc in rest pot sa spun ca e un inceput promitator pentru incepatori.

"Script[gamemodes/G_BASE.amx]: Run time error 19: "File or function is not found""

Sigur ai luat doar .pwn. I-a tot folderul si pune pluginurile bine.

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Link to comment
Share on other sites

Am incercat. Am bagat nativecheker si imi da eroarea asta

"[11:59:03]    Error: Function not registered: 'mysql_log'

[11:59:03]    Error: Function not registered: 'mysql_connect'

[11:59:03]    Error: Function not registered: 'mysql_format'

[11:59:03]    Error: Function not registered: 'mysql_query'

[11:59:03]    Error: Function not registered: 'mysql_tquery'

[11:59:03]    Error: Function not registered: 'cache_get_row_count'

[11:59:03]    Error: Function not registered: 'cache_get_data'

[11:59:03]    Error: Function not registered: 'cache_get_row'

[11:59:03]    Error: Function not registered: 'cache_get_row_int'"

Daca ai putea sa ma ajuti ti-as fi recunoscator.

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
  • 2 months later...

Salut imi da o eroare [pawn][17:16:42] [ERROR] CMySQLConnection::Connect - (error #1049) Unknown database 'test'[/pawn] nu imi creaza baza de date ma poti ajuta?Multumesc!Cu stima Dan.

 

Edit: Gata am rezolvato Multumesc!Trebuia sa fac o baza de date goala pe phpmyadmin si el o completa automat :P

Edited by dad1993
Link to comment
Share on other sites

Domnule Gireada am o rugaminte la dumneavoastra daca se poate imi cer scuze daca nu postez unde trebuie, as dori sa adaugati daca se poate Sex si  Varsta nu imi iese ma incurc in dialoguri :( .Multumesc!Cu stima Dan!

 

Edit: Am o problema am mai adaugat cate ceva la baza de date[pawn] new Query[450];

mysql_log();
SQL = mysql_connect("127.0.0.1", "root", "database", "");
mysql_format(SQL, Query, sizeof Query, "CREATE TABLE IF NOT EXISTS `players` (
`ID` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`Nume` VARCHAR( 34 ) NOT NULL ,
`Parola` VARCHAR( 151 ) NOT NULL ,
`Level` INT( 3 ) NOT NULL ,
`Varsta` INT( 3 ) NOT NULL ,
`Sex` INT( 3 ) NOT NULL ,
`Bani` INT( 7 ) NOT NULL ,
`Coins` INT( 9 ) NOT NULL ,
`Admin` INT( 2 ) NOT NULL ,
`Vip` INT( 2 ) NOT NULL ,
`Lider` INT( 2 ) NOT NULL ,
`Membru` INT( 2 ) NOT NULL ,
`Ore` INT( 10 ) NOT NULL ,
`Minute` INT( 2 ) NOT NULL ,
`Secunde` INT( 2 ) NOT NULL)");
mysql_query(SQL, Query);[/pawn]

si primesc 5 erori[pawn]C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(106) : error 075: input line too long (after substitutions)

C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : error 037: invalid string (possibly non-terminated string)
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : error 017: undefined symbol "CREATE"
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : error 017: undefined symbol "TABLE"
C:UsersDanDesktopSA-MP Server 2gamemodesGMv3.pwn(107) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.[/pawn]

Edited by dad1993
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

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

Guest
Reply to this topic...

×   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.