PDA

View Full Version : [FilterScript] [FS] Login and Register filterscript V1.2 Beta with bank system


kevin433
26/01/2008, 08:48 PM
Login and Register

Created by: Astro/Denver

I have only copied it into an filterscript, because many people only want an register/login script.

Features
This filterscript saves your Money, kills and deaths.
You can type /stats to see your stats.

Commands


/bank
/balance
/deposit
/transfer
/wiretransfer
/register
/login
/stats

Downloads

http://www.megaupload.com/?d=UNOR2ZAK
http://rapidshare.com/files/86859370/registersystem.rar.html

V1.1 without bank system

http://rapidshare.com/files/88430920/registersystemv1.1.rar.html
http://www.megaupload.com/?d=EH15OCXH

Mirror from Leopard:

Register System (http://82.199.188.168/paolop/uploads/registersystem.rar)

V1.1 with bank System

http://rapidshare.com/files/92161001/rswbs.rar.html

V1.2 Beta with Bank System

http://rapidshare.com/files/92446352/rswbsV1.2Beta.rar.html
http://www.crazyhost.info/download.php?file=902rswbsV1.2Beta.rar

Installation without bank system
1) Copy registersystem.pwn and registersystem.amx into Your \filterscripts\ folder like: Your server/filterscripts/copy into here.
4) Go to Your Server.cfg
5) Change filterscripts line to:
filterscripts action registersystem

Installation with bank system
1) Copy rswbs.pwn and rswbs.amx into Your \filterscripts\ folder like: Your server/filterscripts/copy into here.
4) Go to Your Server.cfg
5) Change filterscripts line to:
filterscripts action rswbs

EDIT: rswbs requires "utils" that you can get here: http://dracoblue.net/index.php?id=4&WHICH=30&Language=en


If you see any bugs or something report it here.

Update

V1.1 without Bank System

When you connect and you are not registered it shows "You are new here....."
And when you are registered "You are registered, please login with......."

It shows more than ......

V1.1 with Bank System

A bank system is now added!
You can enter the bank if you are near the coordinates from /enter and you can exit by /exit.
(The bank enter coords are in front of the Caliguas Casino. There is a pickup)

V1.2 Beta with Bank System

I think the "my password is 123 but when i type /login 1234567890 it logges me too in" bug.
Please report bugs or other things.

Bugs

[FIXED]You are not in the bank is something wrong.

"my password is 123 but when i type /login 1234567890 it logges me too in"

pspleo
26/01/2008, 08:53 PM
Looks good, gonna check it out ;)

//EDIT Want a mirror?

kevin433
26/01/2008, 08:55 PM
yes, why not

pspleo
26/01/2008, 09:06 PM
just asking first, some ppl dont wanna have "auto mirror" from strangers..
anyways..

Register System (http://82.199.188.168/paolop/uploads/registersystem.rar)


;)

kevin433
26/01/2008, 09:21 PM
I know i will edit it.

[IB]Scorcher
27/01/2008, 09:56 AM
Nice man.....

Lidor Kalfa
27/01/2008, 11:49 AM
very usefull =]

kevin433
27/01/2008, 01:14 PM
very usefull =]
Scorcher ]
Nice man.....


Thanks :D

dam
28/01/2008, 05:06 PM
I have found bug. Sometimes, at regestration, the system writes that such account already registred. Though actually it not so.
Sorry for my English. I from Russia =)

GTAs
30/01/2008, 12:29 PM
<removed - speak English> And my! Wath you want?

arnutisz
30/01/2008, 06:57 PM
hm i am a bad scripter becouse i am beginer, so how to make onplayerconnect message, that if player registered message says You can now login and if player dont registered message says You are not registered, you can register by tiping /register password

kevin433
01/02/2008, 09:45 PM
hm i am a bad scripter becouse i am beginer, so how to make onplayerconnect message, that if player registered message says You can now login and if player dont registered message says You are not registered, you can register by tiping /register password


Update!

See the first post!

Grove
01/02/2008, 10:12 PM
Have you asked permission from Astro to release it?

kevin433
01/02/2008, 10:44 PM
No, but i have it from a Admin filterscript. I think srAdmin. I only modified it. And i take not credits for the whole script.

Pridit
03/02/2008, 11:17 AM
Nice FS i will definetly use it :)

//FIXED IT SORRY

kevin433
04/02/2008, 03:17 PM
//FIXED IT SORRY


You don't must say sorry, i will help with problems ;)

BioFreeze
14/02/2008, 06:07 PM
Hej kevin , I got a question. Im simply trying to implent the small containt of this filterscript in a new gamemode.

But I simply can't get these errors away;

D:\SA MP servers\RP kings 0.2.2\gamemodes\triplekings.pwn(78) : error 017: undefined symbol "gPlayerAccount"
D:\SA MP servers\RP kings 0.2.2\gamemodes\triplekings.pwn(78) : warning 215: expression has no effect
D:\SA MP servers\RP kings 0.2.2\gamemodes\triplekings.pwn(78) : error 001: expected token: ";", but found "]"
D:\SA MP servers\RP kings 0.2.2\gamemodes\triplekings.pwn(78) : error 029: invalid expression, assumed zero
D:\SA MP servers\RP kings 0.2.2\gamemodes\triplekings.pwn(78) : fatal error 107: too many error messages on one line


What change should I change in my gamemode , so it does really define "gPlayerAccount"?

I simply took a blanco script , gPlayerAccount is cleary defined , maybe im just stupid , but I cant see it :roll:

http://pastebin.ca/904076

kevin433
14/02/2008, 10:47 PM
try this: http://pastebin.ca/904443

It was wrong writh #if defined filterscript and #endif . I only deletet them. And there was many loose indentifications

It compiles without any errors or warning on my PC

Hope it works :D

ggom
15/02/2008, 03:09 AM
please add bank saving system ^^;;;; :) :)

kevin433
15/02/2008, 05:19 AM
a bank system and bank money saving system?

ggom
15/02/2008, 07:40 AM
yes! bank system bank money saving system !!!!

please~ ^^

Vetle219
15/02/2008, 08:54 AM
nice :D

BioFreeze
15/02/2008, 09:14 AM
try this: http://pastebin.ca/904443

It was wrong writh #if defined filterscript and #endif . I only deletet them. And there was many loose indentifications

It compiles without any errors or warning on my PC

Hope it works :D


I was able to compile without any erros , going to test it when im back from school. Thanks. I'll now just continue messing arround with new things in it ; )

Abhishek
15/02/2008, 10:53 AM
thats gud :D
mirror???

kevin433
15/02/2008, 12:47 PM
yes! bank system bank money saving system !!!!

please~ ^^


yes, i will include one. :P


nice :D


Thanks :D


thats gud :D
mirror???


yeah, need mirrors

kevin433
15/02/2008, 01:59 PM
UPDATE: Bank System now added! You can download the normal(without bank system) or the new(with bank system). :P

See the first post.

Vetle
15/02/2008, 02:06 PM
where can i get this include?

C:\pawn\filterscripts\login.pwn(3) : fatal error 100: cannot read from file: "utils"

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


1 Error.

kevin433
15/02/2008, 02:46 PM
Here can you get "utils" http://dracoblue.net/index.php?id=4&WHICH=30&Language=en

BioFreeze
15/02/2008, 03:41 PM
Yow kevin , im continue with adding these things to my gamemode. I managed to add your things without any problems or warnings , I only have 1 problem , the icon that should be in front of the caligula's but it ...aint there.

kevin433
15/02/2008, 03:42 PM
show me your code

ggom
15/02/2008, 03:47 PM
thank you but where the bank? /enter,/exit is not command

sorry i cannot english

and when i login money is continue add .............fix please

kevin433
15/02/2008, 03:48 PM
The bank ist on the right side of the Caligulas Casino.


and when i login money is continue add .............fix please


The mney is only loading, or does it go in minus money?

ggom
15/02/2008, 04:04 PM
no no minus money

ex) login give $500000 ok??

but do logout again login $1000000 ok??

BioFreeze
15/02/2008, 04:41 PM
no no minus money

ex) login give $500000 ok??

but do logout again login $1000000 ok??


Simple use the #define pocketmoney , to give people a ammount of cash at the start.


The bank ist on the right side of the Caligulas Casino.



The icon is located to the right of the Four Dragons , not caligula's :P. BTW when I enter the bank , and I try to /bank money , it says im not in the bank , while I am. (PS: I use the exact code as the original , no errors or warnings )

kevin433
15/02/2008, 04:59 PM
i will try to fix it. Oh sorry with the caligulas i meaned the Four Dragons

kevin433
15/02/2008, 08:40 PM
no no minus money

ex) login give $500000 ok??

but do logout again login $1000000 ok??


Do you give people money when they join or die or something?



no no minus money

ex) login give $500000 ok??

but do logout again login $1000000 ok??


Simple use the #define pocketmoney , to give people a ammount of cash at the start.


The bank ist on the right side of the Caligulas Casino.



The icon is located to the right of the Four Dragons , not caligula's :P. BTW when I enter the bank , and I try to /bank money , it says im not in the bank , while I am. (PS: I use the exact code as the original , no errors or warnings )


Try to re-download it. I think i've fixed it.

BioFreeze
15/02/2008, 11:58 PM
[quote]Try to re-download it. I think i've fixed it.[/qoute]

It seemed you putted in the wrong interior coordinates , it works fine now ;)

ggom
16/02/2008, 07:04 AM
Thank you so much ^^

i love you :-[ :-[

i think add this ex) write /wherebank on the minimap a sign bank location

and before login not select character please ^^ :D

BioFreeze
16/02/2008, 10:55 AM
Thank you so much ^^

i love you :-[ :-[

i think add this ex) write /wherebank on the minimap a sign bank location



Why create a command for it ?

Simple use this:

SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color);

ggom
16/02/2008, 01:43 PM
hey i find bug

i cannot speak english please understand me

ex) i have $5000 and i exit server and again i login i have $10000

have $2500 again login $5000

fix please

AND ex) my password is 123 but /login 123123 can login
my password is 0123 but /login 0123486324 can login


fix please

kevin433
16/02/2008, 02:03 PM
hey i find bug

i cannot speak english please understand me

ex) i have $5000 and i exit server and again i login i have $10000

have $2500 again login $5000

fix please


Do you give them money when they join or die?

ggom
16/02/2008, 02:16 PM
hey i find bug

i cannot speak english please understand me

ex) i have $5000 and i exit server and again i login i have $10000

have $2500 again login $5000

fix please


Do you give them money when they join or die?


yes!!!!!!!!!!!!!! exactly

kevin433
16/02/2008, 02:29 PM
yes, it saves the money from the last login and when you join and get money when you join and login then it plusses the join money + the last login money

ggom
16/02/2008, 02:42 PM
yes, it saves the money from the last login and when you join and get money when you join and login then it plusses the join money + the last login money



fix please~~ :D :D :D

kevin433
16/02/2008, 02:44 PM
i can't fix it without your script. It isn't join money in the filterscript it is in your script (gamemode)

ggom
16/02/2008, 03:10 PM
i can't fix it without your script. It isn't join money in the filterscript it is in your script (gamemode)


my gamemode is basic LVDM........

kevin433
16/02/2008, 03:12 PM
search for this: gLastGaveCash[playerid] = GetTickCount();

when you found it remove it simply

ggom
16/02/2008, 03:28 PM
search for this: gLastGaveCash[playerid] = GetTickCount();

when you found it remove it simply


......umm......

exit server again join i have $0 and already login so i have $0

kevin433
16/02/2008, 03:30 PM
that is normal. Because when you it remove no money! Add it and hen you have money but the same problem as before

ggom
16/02/2008, 04:16 PM
that is normal. Because when you it remove no money! Add it and hen you have money but the same problem as before


i did in my gamemode all about money i remove

but continue again join my money become double ....helpme

ex) i have $1500 again join i have $3000

kevin433
16/02/2008, 04:19 PM
show me your script on pastebin.ca (http://pastebin.ca)

ggom
16/02/2008, 04:26 PM
show me your script on pastebin.ca (http://pastebin.ca)


this is my gamemode http://pastebin.ca/906345

kevin433
16/02/2008, 04:49 PM
Oh sorry :lol:, see in my filterscript and Search OnPlayerDeath. there is GivePlayerMoney(killerid,2000); remove that. But when the problem is still there then....i don't know . :-[

ggom
16/02/2008, 05:19 PM
Oh sorry :lol:, see in my filterscript and Search OnPlayerDeath. there is GivePlayerMoney(killerid,2000); remove that. But when the problem is still there then....i don't know . :-[



this is my login system please add bank saving system :lol: :lol: :lol:

http://pastebin.ca/906390

kevin433
16/02/2008, 05:21 PM
i'm not good at dcmd, sorry :-[

ggom
16/02/2008, 05:57 PM
d

kevin433
16/02/2008, 10:40 PM
UPDATE: V1.2 Beta is now out!! :D

See the first post!

ggom
17/02/2008, 03:30 AM
UPDATE: V1.2 Beta is now out!! :D

See the first post!


what a your gamemode?

kevin433
17/02/2008, 09:34 AM
I scriptet my gamemode self and in V1.2 Beta i think i fixed the "my password is 123 but when i type /login 1234567890 it logges me too in" bug

ggom
18/02/2008, 01:49 AM
why when i join money double!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!

hey kevin please experiment

kevin433
18/02/2008, 10:59 AM
have you edited something in the last time in your gamemode?

ggom
18/02/2008, 11:12 AM
have you edited something in the last time in your gamemode?


i dont know.............. :( :( :( :( :(

BioFreeze
18/02/2008, 11:21 AM
have you edited something in the last time in your gamemode?


i dont know.............. :( :( :( :( :(


How in hell couldnt you know? There are like 2 options:

1) I edited it ( I changed something from the original)
2) I did NOT edited it ( I did NOT change anything from the original).

Or maybe , you edited something but you dont want to admit it , 8)

ggom
18/02/2008, 01:17 PM
have you edited something in the last time in your gamemode?


i dont know.............. :( :( :( :( :(


How in hell couldnt you know? There are like 2 options:

1) I edited it ( I changed something from the original)
2) I did NOT edited it ( I did NOT change anything from the original).

Or maybe , you edited something but you dont want to admit it , 8)


what am i do?

kevin433
18/02/2008, 01:36 PM
post your gamemode and my fs in pastebin.

ggom
18/02/2008, 02:14 PM
post your gamemode and my fs in pastebin.


this is my gamemode please your fs get in my gamemode http://pastebin.ca/908459

kevin433
18/02/2008, 02:24 PM
i don't know why do you get double money. :-[ sorry

ggom
21/02/2008, 03:23 AM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem

BioFreeze
21/02/2008, 11:25 AM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem


Well the problem does not occur in my GM , where I added the system from the the filterscript. I guess some things are messing up in your gamemode, or you did not well added it.

ggom
21/02/2008, 11:53 AM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem


Well the problem does not occur in my GM , where I added the system from the the filterscript. I guess some things are messing up in your gamemode, or you did not well added it.



............ummmmmm

Can i show me the your gamemode?

kevin433
21/02/2008, 12:08 PM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem


Well the problem does not occur in my GM , where I added the system from the the filterscript. I guess some things are messing up in your gamemode, or you did not well added it.


That is on OnPlayerUpdate:

PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);

OnPlayerRegister:

PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);

OnPlayerLogin:

GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);


OnPlayerDeath:

GivePlayerMoney(killerid, 2000);


That is all in the FS

ggom
21/02/2008, 12:27 PM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem


Well the problem does not occur in my GM , where I added the system from the the filterscript. I guess some things are messing up in your gamemode, or you did not well added it.


That is on OnPlayerUpdate:

PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);

OnPlayerRegister:

PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid);

OnPlayerLogin:

GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);


OnPlayerDeath:

GivePlayerMoney(killerid, 2000);


That is all in the FS




yes that is all in my FS

kevin433
21/02/2008, 12:59 PM
I would say with that, that i don't know why it gives you double money. I have it on my server too, but there it doesn't give me double money.

Numhaken
21/02/2008, 01:04 PM
Nice kevin, would you like a mirror?

kevin433
21/02/2008, 01:12 PM
Nice kevin, would you like a mirror?


yes

ggom
22/02/2008, 11:40 AM
Nice kevin, would you like a mirror?


yes


Hey Kevin you fixing this FS??

Numhaken
22/02/2008, 11:41 AM
Mirror -
http://www.crazyhost.info/download.php?file=902rswbsV1.2Beta.rar

kevin433
22/02/2008, 11:41 AM
Mirror -
http://www.crazyhost.info/download.php?file=902rswbsV1.2Beta.rar


thanks for the mirror :P




Nice kevin, would you like a mirror?


yes


Hey Kevin you fixing this FS??


with the double money? I don't know where the problem is, because there is nowhere GivePlayerMoney 2 times

ggom
22/02/2008, 11:55 AM
you have same problem?

kevin433
22/02/2008, 11:56 AM
no, on my server it works.

BioFreeze
22/02/2008, 01:28 PM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem


Well the problem does not occur in my GM , where I added the system from the the filterscript. I guess some things are messing up in your gamemode, or you did not well added it.


I cant simple show it , because I implemented it in a script , which I ain't going to release. I simply created my GM from the scratch and added this system. If you follow the steps carefully , it can't go wrong.


............ummmmmm

Can i show me the your gamemode?


EDIT : Somehow my text wasnt posted with the quote -.-". What I wanted to say is that I simply cant show my gamemode because if I want to show it here I should release it first which I dont want to do. If you cant make it work I suggest you keep yourself to the filterscript with a blank gamemode.

ggom
22/02/2008, 02:34 PM
i don't know why do you get double money. :-[ sorry


im sure your fs have problem


Well the problem does not occur in my GM , where I added the system from the the filterscript. I guess some things are messing up in your gamemode, or you did not well added it.


I cant simple show it , because I implemented it in a script , which I ain't going to release. I simply created my GM from the scratch and added this system. If you follow the steps carefully , it can't go wrong.


............ummmmmm

Can i show me the your gamemode?






so what am i do??

kevin433
22/02/2008, 09:49 PM
i don't know

Clank
07/03/2008, 10:11 PM
Is it possible to make it so that the score would be saved too?

kevin433
07/03/2008, 10:19 PM
What kind of score?

I think. I will make a code tomorrow. It's on my time: 23:31

What score? Kills, Deaths, Level or something other?

Clank
08/03/2008, 11:41 AM
just the score from GetPlayerScore

kevin433
08/03/2008, 11:55 AM
Copy this: http://pastebin.ca/933580 over OnPlayerUpdate.

Then copy this: http://pastebin.ca/933585 over OnPlayerRegister.

Then copy this: http://pastebin.ca/933587 over OnPlayerLogin.

Then copy this: http://pastebin.ca/933589 over enum pInfo, on the top of the script.

Clank
08/03/2008, 02:16 PM
thanks!:D

BioFreeze
08/03/2008, 07:35 PM
Yow kevin, I want to add a automaticly age assignment to the script.

This is what if done:

pAge added at Pinfo

PlayerInfo[playerid][pAge] = 0; Added at OnPlayerConnect

PlayerInfo[playerid][pAge] = 0; Added at OnPlayerSpawn

format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var); Added at /register

if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAge] = strval( val ); } add onPlayerLogin

format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var); At on Playerupdate

new age = PlayerInfo[targetid][pAge]; at public show stats.

I want to assign players with a automaticly age , like 18 How can I make this possible?

kevin433
08/03/2008, 07:37 PM
like when he connect, spawn, login or register?

BioFreeze
08/03/2008, 07:39 PM
like when he connect, spawn, login or register?
When he does /register , his pAge will automaticly set to 18.

kevin433
08/03/2008, 08:30 PM
oh yeah, like this?:

PlayerInfo[playerid][pAge] = 18;
format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);


Under /register or in V1.2 Beta under OnPlayerRegister/and or Under OnPlayerUpdate.

Deji
09/03/2008, 01:39 AM
where is the bank :D??? I tried 24/7 but it says you are not in a bank.

BioFreeze
09/03/2008, 09:44 AM
where is the bank :D??? I tried 24/7 but it says you are not in a bank.


At the four dragons in LV.

BioFreeze
09/03/2008, 12:32 PM
oh yeah, like this?:

PlayerInfo[playerid][pAge] = 18;
format(var, 32, "Age=%d\n",PlayerInfo[playerid][pAge]);fwrite(hFile, var);


Under /register or in V1.2 Beta under OnPlayerRegister/and or Under OnPlayerUpdate.




I added it , but it still says pAge is not used:

D:\SA MP servers\RP kings 0.2.2\gamemodes\triplekings.pwn(1794) : warning 204: symbol is assigned a value that is never used: "age"


Here's the code under my /register:

http://pawn.pastebin.com/m2561b6c3

kevin433
09/03/2008, 12:38 PM
what is your line 1794?

BioFreeze
09/03/2008, 01:03 PM
what is your line 1794?


I had to delete this line in other it to work. (at public ShowStats(playerid,targetid):

new age = PlayerInfo[targetid][pAge];

Now I want to show people when they do /stats their age is assigned to 18.

I have to do it here:

SendClientMessage(playerid, COLOR_GREEN,"________________________________________________");
format(coordsstring, sizeof(coordsstring),"*** %s ***",name);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "Kills:[%d] Deaths:[%d] Cash:[$%d] Bank:[$%d]",kills,deaths,cash,bank);
SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
SendClientMessage(playerid, COLOR_GREEN,"________________________________________________");

But how?

kevin433
09/03/2008, 01:08 PM
This under ShowStats:

new age = PlayerInfo[targetid][pAge];

and:

SendClientMessage(playerid, COLOR_GREEN,"________________________________________________");
format(coordsstring, sizeof(coordsstring),"*** %s ***",name);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "Kills:[%d] Deaths:[%d] Cash:[$%d] Bank:[$%d] Age:[%d]",kills,deaths,cash,bank,age);
SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
SendClientMessage(playerid, COLOR_GREEN,"________________________________________________");


I added age behind bank, and added Age[%d] behind Bank[%d]

BioFreeze
09/03/2008, 10:09 PM
Aha it works now ;). Ty kevin.

yehe
28/03/2008, 01:50 PM
C:\DOCUME~1\FuCKeR\LOCALS~1\Temp\Rar$DI00.469\rswb s.pwn(320) : error 017: undefined symbol "ReturnUser"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Pls Help Me .

//#include <utils>

// !!

AjO
06/04/2008, 01:32 PM
I heve a problemi, this script saved %s.ini end loaded %s.cer why ?
the mygm is unit of this script, is crashed :(

luckieluuk
25/04/2008, 11:35 AM
TY very much!!!! :D :D :D :D :!: :!: :!: :!: really i was trying alot to make it work and then i found this :D :D :D :D :D :D TY VERY MUCH

Ignas1337
10/06/2008, 05:35 PM
login shit - use strcmp, not strfind maybe? idk haven't seen the script yet xP

[TouchX]Ash
10/07/2008, 05:45 PM
Hey, Ive got V1.1 with bank System and when a player logs in he gets loads of money... How can i make it so the money he left the server with is the money he gets when he logs in again?

kevin433
10/07/2008, 07:54 PM
sorry, but i don't know what you are asking me. :-[

[TouchX]Ash
11/07/2008, 03:09 PM
Well when a player registers an account and gets some money, The next time he logs in, he has more money than he had before. Is this because of the bank system?

kevin433
11/07/2008, 03:36 PM
maybe you give him money when he spawn. I don't know why.

[TouchX]Ash
11/07/2008, 06:00 PM
Is it some kind of intrest?

Happy
25/11/2008, 05:39 PM
Nice work mate ;)

zwartebanaan
26/01/2009, 12:18 PM
Login and Register

Created by: Astro/Denver

I have only copied it into an filterscript, because many people only want an register/login script.

Features
This filterscript saves your Money, kills and deaths.
You can type /stats to see your stats.

Commands






how can i put a new bank in it????


/bank
/balance
/deposit
/transfer
/wiretransfer
/register
/login
/stats

Downloads

http://www.megaupload.com/?d=UNOR2ZAK
http://rapidshare.com/files/86859370/registersystem.rar.html

V1.1 without bank system

http://rapidshare.com/files/88430920/registersystemv1.1.rar.html
http://www.megaupload.com/?d=EH15OCXH

Mirror from Leopard:

Register System (http://82.199.188.168/paolop/uploads/registersystem.rar)

V1.1 with bank System

http://rapidshare.com/files/92161001/rswbs.rar.html

V1.2 Beta with Bank System

http://rapidshare.com/files/92446352/rswbsV1.2Beta.rar.html
http://www.crazyhost.info/download.php?file=902rswbsV1.2Beta.rar

Installation without bank system
1) Copy registersystem.pwn and registersystem.amx into Your \filterscripts\ folder like: Your server/filterscripts/copy into here.
4) Go to Your Server.cfg
5) Change filterscripts line to:
filterscripts action registersystem

Installation with bank system
1) Copy rswbs.pwn and rswbs.amx into Your \filterscripts\ folder like: Your server/filterscripts/copy into here.
4) Go to Your Server.cfg
5) Change filterscripts line to:
filterscripts action rswbs

EDIT: rswbs requires "utils" that you can get here: http://dracoblue.net/index.php?id=4&WHICH=30&Language=en


If you see any bugs or something report it here.

Update

V1.1 without Bank System

When you connect and you are not registered it shows "You are new here....."
And when you are registered "You are registered, please login with......."

It shows more than ......

V1.1 with Bank System

A bank system is now added!
You can enter the bank if you are near the coordinates from /enter and you can exit by /exit.
(The bank enter coords are in front of the Caliguas Casino. There is a pickup)

V1.2 Beta with Bank System

I think the "my password is 123 but when i type /login 1234567890 it logges me too in" bug.
Please report bugs or other things.

Bugs

[FIXED]You are not in the bank is something wrong.

"my password is 123 but when i type /login 1234567890 it logges me too in"

AiVAMAN
26/01/2009, 12:22 PM
Does it include auto-login?

Sorry, bad English, I am Lithuanian... :D

klavins21
26/01/2009, 01:10 PM
did you fixed that with double money? :lol:

kdo70
28/01/2009, 05:56 AM
did you fixed that with double money? :lol:

GivePlayerMoney(playerid,PlayerInfo[playerid][pCash]);
Find that and delete it in the fs

And how do you get the money out of the bank?
theres no option for it :(

Tenpenny22
05/04/2009, 11:04 PM
Could you please make it that if you spawn without logging in, the game kicks you out?

Cabby
08/04/2009, 09:03 AM
i can't login! i do /register and then /login (password) but it doesn't work!

Prosch
21/04/2009, 01:10 AM
Could you please make it that if you spawn without logging in, the game kicks you out?


Yea that would be nice.

and you have like 20 sec on you to register or login or you will be kicked.

GanG$Ta
21/04/2009, 06:32 AM
a better way would be imo that the player cant leave the skin selection before he hasnt registered and logged in and maybe prevent him from chating and using commands and when he press shift to spawn it will repeat the message that he must register and login.can be easy done.

Idan_McCartney
08/05/2009, 02:38 PM
E:\Server\filterscripts\rswbsV1.2Beta.pwn(53) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(53) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(53) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(203) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(203) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(203) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(248) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(248) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(248) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(287) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(287) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(287) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(312) : error 017: undefined symbol "ReturnUser"
E:\Server\filterscripts\rswbsV1.2Beta.pwn(361) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(361) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(361) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(373) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(373) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(373) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(497) : error 021: symbol already defined: "strtok"
E:\Server\filterscripts\rswbsV1.2Beta.pwn(512) : error 047: array sizes do not match, or destination array is too small
E:\Server\filterscripts\rswbsV1.2Beta.pwn(572) : warning 202: number of arguments does not match definition
E:\Server\filterscripts\rswbsV1.2Beta.pwn(665) : warning 203: symbol is never used: "ret_memcpy"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
-- Edit --
Download utils from: http://rs85.rapidshare.com/files/130909815/TheShip.Includes.rar
and not from the link he gave
it's work fine now

Luka P.
08/05/2009, 04:12 PM
I love it!
Can i put it into my new GM? (My system doesn`t work)

BioFreeze
09/05/2009, 08:05 AM
I love it!
Can i put it into my new GM? (My system doesn`t work)


Thats up to you :P. Ofcourse you can.

Burridge
09/05/2009, 10:14 AM
I love it!
Can i put it into my new GM? (My system doesn`t work)

Thats why he released it, so other people can use it. :)

Zurrek
22/06/2009, 08:05 PM
I download V1.1 with bank System.
When I enter /enter it nothing happens, I have not been anywhere teleport nothing.

I know that you need at the Caligulas Casino, but do need to be in a specific location?
My English is not the best, I'm from Poland.
Regards and waiting for help.

dstollie
01/07/2009, 09:59 PM
Hey wen I try to login it doesnt work /register works but when i do then /login nothing shows up it doesnt login to
can some1 help me with this?

Shadow_
29/07/2009, 10:43 AM
erm, isit possible if someone could post the link for utils ? as that is for dutils, and maybe they are the same but when i compile.. (with changed names) i get errors..

JonathanRulez09
31/07/2009, 07:01 AM
Thanks alot man, Just put this onto my server not a single error :D

Jokerr_mayne
29/08/2009, 01:23 AM
Thanks alot works fine i put it on my gm but one question could you make a command /setstat so you can give playermoney etc and that it will be saved because i maked command /setmoney Works but dont Save the money in account and /makeadmin Doesent work i must go in the userfiles to change that but it would be easyer if you told me how to make /setstats ore give me a pastebin :roll:

Ps Great fs Greet Joker :lol:

Pinehole
24/09/2009, 11:38 PM
This is great, it works when i do /register <mypassword> but when i try to login nothing happens.... help me please

ScarfaceJR
28/09/2009, 12:41 AM
Verry nice man, i tried to make one myself but did not work
but this one without the bank system do not save stats am i right?
and can you post a code that prevents people to spawn if there not logged in...

Sh@rp Kil|er
31/01/2010, 12:31 PM
Link not work???

_Sprite_
01/02/2010, 03:24 PM
I'm thankful dude +)

[Ask]Terminator
01/02/2010, 07:37 PM
Nice and very usefull !

death.bringer
09/04/2010, 08:41 AM
very good nice work ;)

OKStyle
19/05/2010, 02:37 PM
Thank you, your script in one time teach me...

[MWR]Blood
21/05/2010, 05:35 PM
Awesome FS dude!

r3k1lLz_
10/08/2010, 06:44 AM
I got this and changed it around a bit, just the "Your not registered please register" etc.
And I made it so it kicks the person if they get it incorrect..
but the thing is, say my password is dumb if I do something random that has a d in it....

michaelw352
10/08/2010, 03:27 PM
it won`t work for me

ColdIce
19/03/2011, 12:40 PM
does not work

FaiSokumati
18/08/2011, 10:53 AM
What do I need to write down where the skin is saved?

royal_king
18/08/2011, 11:18 AM
Useful!

ilikenuts
09/11/2011, 06:07 AM
Awesome ! 10/10 +rep, also Credits. I Will use it in my server (still scripting)!!!

mickos
02/05/2012, 11:36 PM
very nice i was looking for this!

$$inSane
03/05/2012, 09:53 AM
nice script

kasis223
04/05/2012, 05:12 PM
I have only copied it into an filterscript, because many people only want an register/login script.

GOLDEN WORDS!



Thank you!!!

MichaelProPlayer
04/05/2012, 05:14 PM
Wow tnx for fs Will surly test it .. !

joshkeley
25/07/2012, 10:51 AM
None of the links work, please re upload!!

Dasharkishanjan5
25/07/2012, 01:45 PM
good job..

Dasharkishanjan5
25/07/2012, 03:16 PM
That's what I need.

GGRoleplay
20/10/2012, 02:42 PM
None of the links work!!!!

XProtocol
20/10/2012, 02:49 PM
Nice. I like it.

GGRoleplay
20/10/2012, 03:02 PM
it_can_be;2179662']Nice. I like it.

How can you even say you like it if you cant download it -,-

Gamer_007
20/10/2012, 04:11 PM
Nice one kevin