Results 1 to 7 of 7
  1. #1
    BOSS XXL FUCK TN MG's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Unhappy help pleasee some scripts to get fix the proffesionals freadln problem!!!!!!!!!!!

    i have this problem always appears
    //freadline failed, there aren't 1 arguments on this line, there are only 0 arguments

    i will put the scripts here and i hope sombody help those the scripts but i dont know where is the problem XDD

    first script :
    loadacc()
    {
    f=openfile(self.loginname+".cfg","read");
    freadln(f);
    self.loginpw=fgetarg(f,0);
    self.stat["score"]=int(fgetarg(f,2));
    self.stat["deaths"]=int(fgetarg(f,3));
    self.stat["revived"]=int(fgetarg(f,4));
    self.stat["assists"]=int(fgetarg(f,5));
    self.stat["money"]=int(fgetarg(f,6));
    self.stat["moneygive"]=int(fgetarg(f,7));
    self.stat["moneyreceive"]=int(fgetarg(f,8));
    self.stat["revives"]=int(fgetarg(f,9));
    self.stat["heals"]=int(fgetarg(f,10));
    self.stat["healhp"]=int(fgetarg(f,11));
    self.stat["random"]=int(fgetarg(f,12));
    self.stat["randomaccept"]=int(fgetarg(f,13));
    self.stat["ammo"]=int(fgetarg(f,14));
    self.stat["perk"]=int(fgetarg(f,15));
    self.stat["sentry"]=int(fgetarg(f,16));
    self.stat["mostkills"]=int(fgetarg(f,17));
    self.stat["waves"]=int(fgetarg(f,18));
    self.stat["time"]=int(fgetarg(f,19));
    closefile(f);
    }
    second script :
    f=openfile("_REC_"+getcvar("mapname")+".cfg","writ e");
    for(i=0;i<5;i++)
    {
    level.recw[i]=0;
    level.recz[i]=0;
    level.rect[i]=0;
    fprintln(f,level.recw[i],level.recz[i],level.rect[i]);
    }
    closefile(f);
    }
    else
    {
    freadln(f);
    for(i=0;i<5;i++)
    {
    level.recw[i]=int(fgetarg(f,i*3));
    level.recz[i]=int(fgetarg(f,i*3+1));
    level.rect[i]=int(fgetarg(f,i*3+2));
    }
    closefile(f);
    }
    third script :
    f=openfile(self.lname+".cfg","read");
    if(f==-1) {self thread er("^1No such user!","^1No such user!");continue;}
    freadln(f);
    if(fgetarg(f,0)!=self.lpw) {self thread er("^1Invalid password!","^1Invalid password!");closefile(f);continue;}
    if(int(fgetarg(f,1))) {self thread er("^1ACCOUNT BANNED!","^1ACCOUNT BANNED!");closefile(f);continue;}
    closefile(f);

  2. #2
    Qw1Kkb3an85's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    9
    My Mood
    Aggressive
    uhhh alt f4 does the trick
    wink wink nudge nudge NUDES PLEASE <-- hidden text c:


  3. #3
    Dave's Mexican's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    C:\Program Files (x86)\Steam\SteamApps\common
    Posts
    792
    Reputation
    29
    Thanks
    1,330
    My Mood
    Fine
    Quote Originally Posted by Qw1Kkb3an85 View Post
    uhhh alt f4 does the trick
    i tryed but the game just closes





    Quote Originally Posted by Dave84311
    Shuttup mexican
    Quote Originally Posted by Royce
    stupid mexican
    Quote Originally Posted by Hitokiri~
    Shut up stupid mexican.
    Quote Originally Posted by Hypnotized
    Why aren't you cutting my lawn?
    Quote Originally Posted by _Tavi
    Mexican
    Quote Originally Posted by Hitokiri~
    Get back to cutting my damn grass retard.


  4. #4
    Qw1Kkb3an85's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    9
    My Mood
    Aggressive
    Quote Originally Posted by Dave's Mexican View Post


    i tryed but the game just closes
    oh I'm sorry man it was a joke, I didn't mean for you to take it seriously and I think you also don't have a header or variables or arguments in the script, idk though wait until someone who knows that they're doing to help you.
    wink wink nudge nudge NUDES PLEASE <-- hidden text c:


  5. #5
    Dave's Mexican's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    C:\Program Files (x86)\Steam\SteamApps\common
    Posts
    792
    Reputation
    29
    Thanks
    1,330
    My Mood
    Fine
    Quote Originally Posted by Qw1Kkb3an85 View Post
    oh I'm sorry man it was a joke, I didn't mean for you to take it seriously and I think you also don't have a header or variables or arguments in the script, idk though wait until someone who knows that they're doing to help you.
    i think i forgot to add the [sarcasm][/sarcasm] tag





    Quote Originally Posted by Dave84311
    Shuttup mexican
    Quote Originally Posted by Royce
    stupid mexican
    Quote Originally Posted by Hitokiri~
    Shut up stupid mexican.
    Quote Originally Posted by Hypnotized
    Why aren't you cutting my lawn?
    Quote Originally Posted by _Tavi
    Mexican
    Quote Originally Posted by Hitokiri~
    Get back to cutting my damn grass retard.


  6. #6
    Qw1Kkb3an85's Avatar
    Join Date
    Feb 2015
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    9
    My Mood
    Aggressive
    Quote Originally Posted by Dave's Mexican View Post


    i think i forgot to add the [sarcasm][/sarcasm] tag
    indeed good sir
    wink wink nudge nudge NUDES PLEASE <-- hidden text c:


  7. #7
    cpth20's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    0
    hahaha funny

Similar Threads

  1. [Help] help pleasee some scripts to get fix the proffesionals freadln problem!!!!!!!!!!!
    By BOSS XXL FUCK TN MG in forum C++/C Programming
    Replies: 10
    Last Post: 07-06-2013, 04:53 AM
  2. [Help Request] Need help with some script ^_^
    By FIRExFACTION in forum Realm of the Mad God Help & Requests
    Replies: 3
    Last Post: 06-28-2013, 04:45 PM
  3. need help with some scripts
    By diehardx95 in forum DayZ Discussion
    Replies: 9
    Last Post: 01-29-2013, 03:15 PM
  4. [TUT]How to fix the no sound problem
    By mikenesh5 in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 08-25-2009, 07:43 AM
  5. I Fixed the new bypass problem
    By GeoForReal in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 09-01-2008, 11:53 AM