Raven's Roleplay Error
#1

FIXED
Reply
#2

These are a lot of lines i haven't edited a line in the gamemode not even removed comments so u can download the gm from http://solidfiles.com/d/45b6d/ and let me know.
Thank you!
Reply
#3

pawn Code:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;//25130
}
25130 line i have commented the whole function is the rest
Reply
#4

Still 26 errors althought that one has been fixed
pawn Code:
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(26621) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(26681) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(26734) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(27402) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(27461) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28142) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28181) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28241) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28510) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28537) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28567) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28575) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28609) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28617) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28650) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28695) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28758) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28816) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28824) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28859) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28867) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29094) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29148) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29201) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29513) : error 047: array sizes do not match, or destination array is too small

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


26 Errors.
These you can check by downloading raven's roleplay and removing that strtok line and check according to line numbers
Reply
#5

pawn Code:
cmd = strtok(cmdtext, idx);
Reply
#6

I don't know why but i am getting the errors i posted in the starting of the thread.Would you mind coming on to TeamViewer and helping me??
I will PM you the details
Reply
#7

I Don't know why but i am getting the same errors still Please get teamviewer from teamviewer.com and PLEASE help me!
Reply
#8

Help me anyone PLEASE
Reply
#9

FIXED BY TEAMVIEWER THANKS TO suhrab_mujeeb
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)