/register /login dialogs
#1

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 © 1997-2006, ITB CompuPhase


7 Errors.

Script: http://pastebin.com/eJCK769E
Reply
#2

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 © 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
Reply
#3

Really, and stop bumping your topic every 10 minutes.
Also, stop showing us all your script, post just the commands.
Reply
#4

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.
Reply
#5

Go to "Script Request" or something because I don't want to help you everytime... I also want to help other people
Reply
#6



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 © 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!

Reply
#7

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

Remove the line: cmd = strtok(cmdtext, idx);
Reply
#8

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 © 1997-2006, ITB CompuPhase


4 Errors.

Reply
#9

Please help
Reply
#10

BUMP

HELP PLEASE!!
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)