Author Topic: GUPS 1.17  (Read 58848 times)

0 Members and 2 Guests are viewing this topic.

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
GUPS 1.17
« on: August 12, 2012, 09:26:23 pm »
General Use Pawn Script
Note: Check the Changelog file for more information.

Features:

  • Registration System
  • Admin System
  • Vehicle System
  • Property System

Thanks to the following peoples:

  • DracoBlue
  • Falcon
  • PlayerX


Current Version: 1.17
Mirror#1: Download
« Last Edit: April 27, 2013, 05:41:36 pm by Tamas »

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: GUPS 1.16
« Reply #1 on: August 17, 2012, 12:16:00 am »
gups 1.1 contain many bugs example /c register

but this is the solution
[pawn]
      if ( strcmp( cmd, "registrar", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
       if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "Escribe: /c registrar [clave]" );
       else if ( IsLoggedIn( playerid ) ) SendClientMessage( playerid, RED, "Error: Ya estas registrado." );
        else if (PlayerLevel(playerid) >= 1) SendClientMessage(playerid, RED,"Este Nick-name ya esta registrado");// here is the solution FOR NOT register in the same count
       else
      {
         format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
          new string[ 24 ], IP[ 24 ], szMsg[ 128 ];
         GetPlayerIp( playerid, IP, 24 );
         format( string, 24, "%s", IP );
         dini_Create( file );
         dini_Set( file, "Password", encrypt( tmp ) );
         dini_Set( file, "Login", "1" );
         dini_Set( file, "Bank", "0" );
         dini_Set( file, "Cash", "0" );
         dini_Set( file, "Level", "1" );
         dini_Set( file, "Stats", "1" );
         dini_Set( file, "Ip", string );
            GameTextForPlayer( playerid, "Registro Completo");
         SendClientMessage( playerid, COLOR_GREEN, "Te has registrado exitosamente." );
         format( szMsg, sizeof( szMsg ), "Tu clave:[ %s ] Tu Nivel: [ 1 ]", tmp, IP );
         SendClientMessage( playerid, RED, szMsg );
                SendClientMessage( playerid, COLOR_GREEN, "Para ver los comandos usa !Comandos" );
         PlayerInfo[ playerid ][ Logged ] = 1;
         PlayerInfo[ playerid ][ Level ] = 1;
         PlayerInfo[ playerid ][ Stats ] = 1;
      }
      return 1;
   }[/pawn]
Sorry my languaje is spanish xD but i show the bug xD
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline Tamas

  • Made Man
  • ***
  • Posts: 127
    • View Profile
    • http://www.tamasnet.eu/
Re: GUPS 1.16
« Reply #2 on: September 23, 2012, 02:27:58 am »
What do you mean by many bugs?
Be more specific.

Offline omarlin97

  • Street Thug
  • *
  • Posts: 41
  • Scripter The Server Pawno
    • View Profile
    • Dominican Server Latino
Re: GUPS 1.16
« Reply #3 on: September 23, 2012, 04:13:55 am »
gups 1.1 contain many bugs example /c register

but this is the solution
[pawn]
      if ( strcmp( cmd, "registrar", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
       if ( !strlen( tmp ) ) SendClientMessage( playerid, COLOR_GREEN, "Escribe: /c registrar [clave]" );
       else if ( IsLoggedIn( playerid ) ) SendClientMessage( playerid, RED, "Error: Ya estas registrado." );
        else if (PlayerLevel(playerid) >= 1) SendClientMessage(playerid, RED,"Este Nick-name ya esta registrado");// here is the solution FOR NOT register in the same count
       else
      {
         format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
          new string[ 24 ], IP[ 24 ], szMsg[ 128 ];
         GetPlayerIp( playerid, IP, 24 );
         format( string, 24, "%s", IP );
         dini_Create( file );
         dini_Set( file, "Password", encrypt( tmp ) );
         dini_Set( file, "Login", "1" );
         dini_Set( file, "Bank", "0" );
         dini_Set( file, "Cash", "0" );
         dini_Set( file, "Level", "1" );
         dini_Set( file, "Stats", "1" );
         dini_Set( file, "Ip", string );
            GameTextForPlayer( playerid, "Registro Completo");
         SendClientMessage( playerid, COLOR_GREEN, "Te has registrado exitosamente." );
         format( szMsg, sizeof( szMsg ), "Tu clave:[ %s ] Tu Nivel: [ 1 ]", tmp, IP );
         SendClientMessage( playerid, RED, szMsg );
                SendClientMessage( playerid, COLOR_GREEN, "Para ver los comandos usa !Comandos" );
         PlayerInfo[ playerid ][ Logged ] = 1;
         PlayerInfo[ playerid ][ Level ] = 1;
         PlayerInfo[ playerid ][ Stats ] = 1;
      }
      return 1;
   }[/pawn]
Sorry my languaje is spanish xD but i show the bug xD



alegay lo que ballas a postear ponlo en ingles-
Owner end creator the Server TDM

Dominican Server Latino
web site: http://dominicanserver.net16.net/

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: GUPS 1.16
« Reply #4 on: September 26, 2012, 06:50:11 pm »
What do you mean by many bugs?
Be more specific.


Example in the register i register

/c register aledark24 "password"

and exit of the game and example you enter whit my same name and put /c login "password"

show the password is incorrect right?? so you put whit my same name aledark24 /c login "you password" and delete my account and change my password... second bug !givecaSH "name amount" not give cash to another player ......

and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....


sorry my english  ;D ;D ;D ;D
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: GUPS 1.16
« Reply #5 on: September 26, 2012, 07:58:38 pm »
and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....

Set money not egal with Give money !

/c setmoney is used to set the money of a player not to give.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline Javpac

  • Street Thug
  • *
  • Posts: 5
    • View Profile
    • [CS] Clan
Re: GUPS 1.16
« Reply #6 on: September 28, 2012, 05:43:10 am »
What do you mean by many bugs?
Be more specific.


Example in the register i register

/c register aledark24 "password"

and exit of the game and example you enter whit my same name and put /c login "password"

show the password is incorrect right?? so you put whit my same name aledark24 /c login "you password" and delete my account and change my password... second bug !givecaSH "name amount" not give cash to another player ......

and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....


sorry my english  ;D ;D ;D ;D

Explicacion en español /c setmoney se usa para setear tu dinero a 0 y darte el monto que asignaste, /c givemoney se usa para aumentar del el dinero que ya tenia + el que tu asignaste.

Offline DilsonTB

  • Made Man
  • ***
  • Posts: 140
  • VC:MP Developer. & SA:MP Currently Developer
    • View Profile
Re: GUPS 1.16
« Reply #7 on: September 28, 2012, 10:26:04 pm »
What do you mean by many bugs?
Be more specific.


Example in the register i register

/c register aledark24 "password"

and exit of the game and example you enter whit my same name and put /c login "password"

show the password is incorrect right?? so you put whit my same name aledark24 /c login "you password" and delete my account and change my password... second bug !givecaSH "name amount" not give cash to another player ......

and /c setmoney "name" ammount example /c setmoney tamas 10000 and you have in your hand 56565444 delete you hand cash and put the another "10000"      and you lose you own money ....


sorry my english  ;D ;D ;D ;D

Explicacion en español /c setmoney se usa para setear tu dinero a 0 y darte el monto que asignaste, /c givemoney se usa para aumentar del el dinero que ya tenia + el que tu asignaste.

Exacto, no hay mejor explicacion
_______________________________________________
¬ VC:MP Squirrel Developer.
¬ VC:MP pawno Developer.
¬ SA:MP Developer.
¬
¬ Actually developing " San Fierro Roleplay - Latino ", with
my beta team testers, Mapper + Scripter ( me ), 18,000
lines, and is 34% finished. hope to finish it in 4 Or 3 Months.

- MYSQL FULL BASED.
- PCU.
_______________________________________________

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Re: GUPS 1.16
« Reply #8 on: November 28, 2012, 12:37:32 am »
man in GUPS 1.16 /c register <password> = ini fail name (player name) primer player name is *BMX* so for this *&+^%$#@ = server crash.. pleace repair.

SORRY FOR MY BAD ENGLISH :D

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: GUPS 1.16
« Reply #9 on: December 02, 2012, 01:01:40 pm »
man in GUPS 1.16 /c register <password> = ini fail name (player name) primer player name is *BMX* so for this *&+^%$#@ = server crash.. pleace repair.

SORRY FOR MY BAD ENGLISH :D

Is nothing wrong there ! The password of a registered player will be encrypted, to can't be seem by an administrator.

A password is something private ! Do not try to remove the encryption !!!

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: GUPS 1.16
« Reply #10 on: December 02, 2012, 03:52:13 pm »
man in GUPS 1.16 /c register <password> = ini fail name (player name) primer player name is *BMX* so for this *&+^%$#@ = server crash.. pleace repair.

SORRY FOR MY BAD ENGLISH :D

Is nothing wrong there ! The password of a registered player will be encrypted, to can't be seem by an administrator.

A password is something private ! Do not try to remove the encryption !!!
he say the problem whit gups is no contain for disconnect players whit simbols example #@%&*?!"++)/-:' ;,
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Re: GUPS 1.16
« Reply #11 on: December 08, 2012, 05:30:18 pm »
he say the problem whit gups is no contain for disconnect players whit simbols example #@%&*?!"++)/-:' ;,


YES


why no make primer, AUTO KICK player names #@%$*?!...

Offline vice

  • Street Thug
  • *
  • Posts: 27
    • View Profile
Re: GUPS 1.16
« Reply #12 on: December 08, 2012, 11:03:58 pm »
Hmm, what's the deal with adding new vehicles?
I'm using /c addveh but it doesn't seem to add any new vehicles.
Any help?

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: GUPS 1.16
« Reply #13 on: December 09, 2012, 01:11:02 am »
Addveh is bugged !!! Sorry
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline vice

  • Street Thug
  • *
  • Posts: 27
    • View Profile
Re: GUPS 1.16
« Reply #14 on: December 09, 2012, 06:49:14 pm »
Addveh is bugged !!! Sorry
Oh crap.
Does anybody know how to still add vehicles into the server and also syncing them with the !buycar / ownership system?
I would really appreciate it!