Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
erorcun - 02.05.2010
Quote:
Originally Posted by ((Lorenc))
Finally its out! I might use it for SAMP-ARENA and add a admin script on to it..
|
Quote:
Originally Posted by Kenny_R
Good job man!:
Aferin lo
|
Quote:
Originally Posted by SloProKiller
Awesome! Will be using this
|
Quote:
Originally Posted by park4bmx
Really Really nice
|
Thanks
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
DarkPower - 02.05.2010
awesome work
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
erorcun - 03.05.2010
thanks
Please report bugs.
First message updated.
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
erorcun - 04.05.2010
I want to know your suggestions and complaints.
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
Dirkon - 06.05.2010
Hey ErroR, could you make blank script with working registratrion, because I don't understand how to do all that stuff. Yours installation is very small, no instructions. Sorry for bad english.
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
erorcun - 07.05.2010
Quote:
Originally Posted by Dirkon
Hey ErroR, could you make blank script with working registratrion, because I don't understand how to do all that stuff. Yours installation is very small, no instructions. Sorry for bad english.
|
SetupUserSystem function:
Mode = If you set to 0, gui will not work. If you set to 1, gui will appear before spawn, 2= gui will appear after spawn
Default User Group = Default user group while players was registering. I suggest to type 0.
Min pass size = I suggest to type 4.
Failed login threshold = This option sets invalid login limit. I suggest to type 3.
SetupStatsSavingSystem function:
OnPlayerUpdate = If you set true, stats will be saved automaticly in onplayerupdate callback.
OnPlayerDisconnect = If you set true, stats will be saved automaticly in onplayerdisconnect callback.
OnPlayerStateChange = If you set true, stats will be saved automaticly in onplayerstatechage callback.
Timer Interval = If you enter a interval, stats will be saved automaticly with timer. If you set to 0, timer will not work.
[TUT]How to add additional entries in ErroR's registration system:
http://forum.sa-mp.com/index.php?topic=171614.0
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
ramshidjafar - 07.05.2010
@ErroR,
It would be even better if u post a Simple GM with this system
Can u please ....
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
Dirkon - 07.05.2010
Hey, I did it like that:
Код:
public OnGameModeInit()
{
SetupUserSystem(1, 0, 4, 150, true, true, true, true, true, true, 3); //modes: 0:gui system off 1:gui before spawn, 2:gui after spawn
SetupStatsSavingSystem(false,false,false,150);
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
And I got error like this:
Код:
C:\Documents and Settings\Patackas\Desktop\server\pawno\include\usersystem.inc(1072) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
And when I connect to server it's shows dialog: Login/register. when I press one of them server crashes.
what's wrong?
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
Zh3r0 - 07.05.2010
Quote:
Originally Posted by Dirkon
Hey, I did it like that:
Код:
public OnGameModeInit()
{
SetupUserSystem(1, 0, 4, 150, true, true, true, true, true, true, 3); //modes: 0:gui system off 1:gui before spawn, 2:gui after spawn
SetupStatsSavingSystem(false,false,false,150);
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
And I got error like this:
Код:
C:\Documents and Settings\Patackas\Desktop\server\pawno\include\usersystem.inc(1072) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
And when I connect to server it's shows dialog: Login/register. when I press one of them server crashes.
what's wrong?
|
That isn't an error, it's warning, learn to read carefully.
It has to do with your GM, something went wrong...
Re: [INC] ErroR's new generation user system [V1.1 RELEASED!] -
Dirkon - 07.05.2010
Quote:
Originally Posted by PlayON
Quote:
Originally Posted by Dirkon
Hey, I did it like that:
Код:
public OnGameModeInit()
{
SetupUserSystem(1, 0, 4, 150, true, true, true, true, true, true, 3); //modes: 0:gui system off 1:gui before spawn, 2:gui after spawn
SetupStatsSavingSystem(false,false,false,150);
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
And I got error like this:
Код:
C:\Documents and Settings\Patackas\Desktop\server\pawno\include\usersystem.inc(1072) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
And when I connect to server it's shows dialog: Login/register. when I press one of them server crashes.
what's wrong?
|
That isn't an error, it's warning, learn to read carefully.
It has to do with your GM, something went wrong...
|
So how to fix it?
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
Dirkon - 15.05.2010
When you gonna fix that bug?
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
newarvuti - 16.05.2010
I cannot see the download link.
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
!CryWolf - 16.05.2010
Very nice!
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
SloProKiller - 16.05.2010
Quote:
Originally Posted by newarvuti
I cannot see the download link.
|
Same here :\
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
david40 - 16.05.2010
http://solidfiles.com/d/QpjI does not work in mozilla ...
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
newarvuti - 16.05.2010
Worked for me, I use FireFox.
Re: [INC] ErroR's new generation user system [V1.2 RELEASED! PLEASE RE-DOWNLOAD!] -
SloProKiller - 21.05.2010
Quote:
Originally Posted by Dirkon
I have another problem now. when I press login or register - nothing happens, just dialog gones. And server go down. but it don't crash game, or doesn't say: Server closed connection.
|
Same :\
Re: [INC] ErroR's new generation user system [BUGS FIXES! V1.3!] -
erorcun - 29.05.2010
1.3 released.
All login bugs and OnDialogResponse bugs fixed.
Team saving added.
Please update your SetupUserSystem function!
Test gamemode removed.
Re: [INC] ErroR's new generation user system [BUGS FIXES! V1.3!] -
erorcun - 30.05.2010
Extras: /changepass and /logout command
pawn Код:
if(!strcmp(cmdtext, "/logout", true))
{
Logout(playerid,true);
SendClientMessage(playerid, 0xFFFFFFFF, "Logged out.");
return 1;
}
if(!strcmp(cmdtext, "/changepass", true))
{
new tmp[128];
tmp = strtok(cmdtext, idx);
if(IsPlayerLogged(playerid))
{
if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /changepass [NEW PASSWORD]");
ChangeMemberPassword(GetPlayerUsername(playerid),tmp);
SendClientMessage(playerid, 0xFFFFFFFF, "Password changed. Now you can /logout and login with new password.");
}
else
{
SendClientMessage(playerid, 0xFFFFFFFF, "To use this command, you should be logged.");
}
return 1;
}