I'm Stumped, Error Help. (Edited LARP Script)
#1

I think it compiles for my friends but it won't for me.

Quote:

C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 72) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 04 : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 049) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 050) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 051) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 052) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 053) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 054) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 055) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 056) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 057) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 05 : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 059) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 060) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 061) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 062) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 063) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 064) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 065) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 21 : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 219) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 220) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 221) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 32 : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 329) : error 017: undefined symbol "floatstr"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(10 330) : error 017: undefined symbol "floatstr"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
>Exit code: 1 Time: 6.655


I get all that to start with, on both pawno and pawnscite.


So then I put in:
Код:
new floatstr
Ok now that gets me down to four errors.

Quote:

C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
>Exit code: 1 Time: 4.869

Ok...so here is the lines:

Quote:

(2669) case 'f':
(2670) {
(2671) new tmp[25];
(2672) strmid(tmp, string, stringPos, stringPos+sizeof(tmp)-2);
(2673) setarg(paramPos, 0, _:floatstr(tmp));
(2674) }

Thanks I am stumped.
Reply
#2

Did you add a ' ; ' to
Код:
new floatstr
Reply
#3

Ok yeah, I forgot the ' ; ' so I put that...now it's giving me the same errors basically:

Quote:

C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\Pawno\gamemodes\ggrp.pwn(26 73) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
>Exit code: 1 Time: 4.960

Код:
  
   (2669)   case 'f':
   (2670)  {
   (2671)   new tmp[25];
   (2672)   strmid(tmp, string, stringPos, stringPos+sizeof(tmp)-2);
   (2673)   setarg(paramPos, 0, _:floatstr(tmp));
   (2674)  }
Reply
#4

I give up I tried everything. Sorry for the double post..
Reply


Forum Jump:


Users browsing this thread: