SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 30/04/2010, 06:12 PM   #1
geerdinho8
Gangsta
 
geerdinho8's Avatar
 
Join Date: Mar 2009
Posts: 626
Reputation: 45
Default /register /login dialogs

I wanted to make my /register and /login command to dialogs but i got much errors please help!

Errors:
Quote:
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(6 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(75) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(75) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(75) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(85) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : warning 225: unreachable code
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : error 004: function "OnDialogResponse" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(317) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 219: local variable "cmd" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(319) : warning 219: local variable "idx" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(321) : error 017: undefined symbol "dialogid"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(319) : warning 203: symbol is never used: "idx"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 204: symbol is assigned a value that is never used: "cmd"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(318 -- 354) : error 017: undefined symbol "dialogid"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(377) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
Script: http://pastebin.com/eJCK769E
__________________


geerdinho8 is offline  
Old 30/04/2010, 06:15 PM   #2
0ne
Gangsta
 
Join Date: Sep 2009
Posts: 539
Reputation: 0
Default Re: /register /login dialogs

Quote:
Originally Posted by Second
I wanted to make my /register and /login command to dialogs but i got much errors please help!

Errors:
Quote:
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(6 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(75) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(75) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(75) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(85) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : warning 225: unreachable code
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(315) : error 004: function "OnDialogResponse" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(317) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 219: local variable "cmd" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 219: local variable "tmp" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(319) : warning 219: local variable "idx" shadows a variable at a preceding level
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(321) : error 017: undefined symbol "dialogid"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(319) : warning 203: symbol is never used: "idx"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(31 : warning 204: symbol is assigned a value that is never used: "cmd"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(318 -- 354) : error 017: undefined symbol "dialogid"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(377) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
Script: http://pastebin.com/eJCK769E

Could you stop spamming this forum with your help? I mean you can just read pawn-lang and you would understand everything you can even fix the everyerror yourself, go to the lines and read the error what it says
0ne is offline  
Old 30/04/2010, 06:16 PM   #3
[MWR]Blood
High-roller
 
Join Date: Apr 2009
Posts: 2,268
Reputation: 105
Default Re: /register /login dialogs

Really, and stop bumping your topic every 10 minutes.
Also, stop showing us all your script, post just the commands.
__________________
[MWR]Blood is offline  
Old 30/04/2010, 06:45 PM   #4
geerdinho8
Gangsta
 
geerdinho8's Avatar
 
Join Date: Mar 2009
Posts: 626
Reputation: 45
Default Re: /register /login dialogs

Quote:
Originally Posted by ikarus❶❸❸❼
Really, and stop bumping your topic every 10 minutes.
Also, stop showing us all your script, post just the commands.
I just need help and this errors are from whole the script and i rly dont know how to fix.
__________________


geerdinho8 is offline  
Old 30/04/2010, 07:30 PM   #5
CAR
Huge Clucker
 
Join Date: Feb 2009
Posts: 476
Reputation: 4
Default Re: /register /login dialogs

Go to "Script Request" or something because I don't want to help you everytime... I also want to help other people
__________________
<over limits>
CAR is offline  
Old 30/04/2010, 08:20 PM   #6
geerdinho8
Gangsta
 
geerdinho8's Avatar
 
Join Date: Mar 2009
Posts: 626
Reputation: 45
Default Re: /register /login dialogs



i fixed some now i still have 4 strange errors:
Quote:
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(112) : warning 204: symbol is assigned a value that is never used: "cmd"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(112 -- 145) : warning 209: function "OnDialogResponse" should return a value
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(112 -- 147) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(112 -- 151) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(112 -- 153) : error 021: symbol already defined: "dini_Create"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(112 -- 153) : 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.
Quote:
147: if(dialogid == 2)
151: if (!dini_Exists(udb_encode(playername)))
153: dini_Create(udb_encode(playername));
(dini_Create(udb_encode(playername)); only 1 time used, and i didnt define it)
I did my best to fix it but i rly need help!

__________________


geerdinho8 is offline  
Old 30/04/2010, 08:24 PM   #7
CAR
Huge Clucker
 
Join Date: Feb 2009
Posts: 476
Reputation: 4
Default Re: /register /login dialogs

#include <dini>
^^ mustn't it be included?

Remove the line: cmd = strtok(cmdtext, idx);
__________________
<over limits>
CAR is offline  
Old 30/04/2010, 08:48 PM   #8
geerdinho8
Gangsta
 
geerdinho8's Avatar
 
Join Date: Mar 2009
Posts: 626
Reputation: 45
Default Re: /register /login dialogs

Still have this errors:

Quote:
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(113) : warning 204: symbol is assigned a value that is never used: "cmd"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(113 -- 146) : warning 209: function "OnDialogResponse" should return a value
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(113 -- 14 : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(113 -- 151) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(113 -- 153) : error 021: symbol already defined: "dini_Create"
C:\Documents and Settings\Eigenaar\Bureaublad\Minigames\filterscrip ts\Minigame.pwn(113 -- 153) : 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.
__________________


geerdinho8 is offline  
Old 30/04/2010, 09:26 PM   #9
geerdinho8
Gangsta
 
geerdinho8's Avatar
 
Join Date: Mar 2009
Posts: 626
Reputation: 45
Default Re: /register /login dialogs

Please help
__________________


geerdinho8 is offline  
Old 01/05/2010, 09:17 AM   #10
geerdinho8
Gangsta
 
geerdinho8's Avatar
 
Join Date: Mar 2009
Posts: 626
Reputation: 45
Default Re: /register /login dialogs

BUMP

HELP PLEASE!!
__________________


geerdinho8 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] ERegLog ( Advanced Register/Login System [Dialogs] ) aircombat Filterscripts 29 09/11/2014 09:30 PM
When player login to the server[/register & /login] Taz86 Help Archive 5 20/06/2010 09:09 AM
Login register + more (SF)Noobanatior Help Archive 0 18/06/2010 06:27 AM
[Help] Register/Login Dialogs andershh Help Archive 0 20/04/2010 07:09 PM
login / register sggassasin Help Archive 4 29/08/2009 05:04 AM


All times are GMT. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.