Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky

    Wink need help with retarded syntax errors

    hey guys so i'm done with ultimate killstreaks v2 but there is always something that i hate bout making mods and those are syntax errors so if anyone has the time to check the code out and tell me what i did wrong i would appreciate it


    links:
    _killstreaks.gsc - Pastebin.com
    **********************
    _superweapons.gsc - Pastebin.com

    so anyone have any idea whats wrong?
    Last edited by .:MUS1CFR34K:.; 05-14-2011 at 01:29 PM.
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

  2. #2
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    I can't find anything...

    But i noticed that you make spaces wierd places
    Like:
    Code:
    walkingac130()
    {
    self giveWeapon( "ac130_25mm_mp");
    self giveWeapon( "ac130_40mm_mp");
    self giveWeapon( "ac130_105mm_mp");
    wait 0.5;
    self switchToWeapon("ac130_25mm_mp");
    self.maxhealth=1000;
    self.health = self.maxhealth;
    self.moveSpeedScaler=1.2;
    wait 0.5;
    self iPrintlnBold( "^720 KILLSTREAK WALKING AC130");
    wait 30;
    self takeWeapon("ac130_25mm_mp");
    self takeWeapon("ac130_40mm_mp");
    self takeWeapon("ac130_105mm_mp");
    self.maxhealth=100;
    self.health = self.maxhealth;
    self.moveSpeedScaler=1;
    self iPrintlnBold( "^7KILLSTREAK ENDED");
    }
    Why spaces in the give weapon parentheses on siede side of the weapon and not on another?
    Last edited by Nachos; 05-14-2011 at 06:10 AM.


    The lines in my Steam are i's

  3. #3
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky
    Quote Originally Posted by Nachos View Post
    I can't find anything...

    But i noticed that you make spaces wierd places
    Like:
    Code:
    walkingac130()
    {
    self giveWeapon( "ac130_25mm_mp");
    self giveWeapon( "ac130_40mm_mp");
    self giveWeapon( "ac130_105mm_mp");
    wait 0.5;
    self switchToWeapon("ac130_25mm_mp");
    self.maxhealth=1000;
    self.health = self.maxhealth;
    self.moveSpeedScaler=1.2;
    wait 0.5;
    self iPrintlnBold( "^720 KILLSTREAK WALKING AC130");
    wait 30;
    self takeWeapon("ac130_25mm_mp");
    self takeWeapon("ac130_40mm_mp");
    self takeWeapon("ac130_105mm_mp");
    self.maxhealth=100;
    self.health = self.maxhealth;
    self.moveSpeedScaler=1;
    self iPrintlnBold( "^7KILLSTREAK ENDED");
    }
    Why spaces in the give weapon parentheses on siede side of the weapon and not on another?
    yeah my mistake but i fixed that still wont work
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

  4. #4
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Syntax errors are evil They are so hard to fix


    The lines in my Steam are i's

  5. #5
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky
    Quote Originally Posted by Nachos View Post
    Syntax errors are evil They are so hard to fix
    making mods is fun fixing em is shit
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

  6. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,669
    My Mood
    Breezy
    Spaces don't matter, they don't make a difference.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  7. #7
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by .:MUS1CFR34K:. View Post
    hey guys so i'm done with ultimate killstreaks v2 but there is always something that i hate bout making mods and those are syntax errors so if anyone has the time to check the code out and tell me what i did wrong i would appreciate it


    links:
    _killstreaks.gsc - Pastebin.com
    **********************
    _superweapons.gsc - Pastebin.com

    so anyone have any idea whats wrong?

    Well, I think this is wrong: ( Killstreaks, Last Lines )
    self iPrintlnBold("^7CONGRATULATIONS YOU MADE IT (*_*)");

    Well, that's what I see that haven't been answer or already known.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  8. #8
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky
    Quote Originally Posted by jorndel View Post
    Well, I think this is wrong: ( Killstreaks, Last Lines )



    Well, that's what I see that haven't been answer or already known.
    1st of all welcome back dude
    2nd i wanted to make a text smiley to show ingame when you finish the last killstreak so you say game finds it as an error?
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

  9. #9
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by .:MUS1CFR34K:. View Post
    1st of all welcome back dude
    2nd i wanted to make a text smiley to show ingame when you finish the last killstreak so you say game finds it as an error?
    I guess so.
    Cuse we use the ( ) tu put thinks in it.

    Like if ( name = blabla ) { blavla }

    or

    if(self getcurrentweapon(ak47_mp)){ bla bla }

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  10. #10
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky
    Quote Originally Posted by jorndel View Post
    I guess so.
    Cuse we use the ( ) tu put thinks in it.

    Like if ( name = blabla ) { blavla }

    or

    if(self getcurrentweapon(ak47_mp)){ bla bla }
    tried it but it failed (=_=)
    i'll send you a pm of what i changed since i made this thread
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

  11. #11
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Where you get his from?

    self thread maps\mp\gametypes\_superweapons::superweapon1();
    in your _killstreak.gsc

    Isnt this also wrong?

    self setDvar( "player_meleeRange", 999 );
    The self setDvars(.....);
    Well, don't think there is no self setDvars.....
    Last edited by Jorndel; 05-16-2011 at 01:11 PM.

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  12. #12
    masterfun's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    My Mood
    Happy
    What I am mostly doing when making mods, is just add a bit of code, start the mod, if it crashes I know what part is wrong (the last added one), if it works, I can continue.

    And ofcourse make back-ups often, so when U really can't find it, U can swich back to ur last worked version.

    I hardy have this problems, coz I am stuck or someting.

  13. #13
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky
    Quote Originally Posted by jorndel View Post
    Where you get his from?



    in your _killstreak.gsc

    Isnt this also wrong?



    The self setDvars(.....);
    Well, don't think there is no self setDvars.....
    ok first one i made _superweapons.gsc and put superweapon1 thread in there so i think its correct

    for the second i tried changing to self setClientDvar(blablblabla);
    but still wont work
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

  14. #14
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by masterfun View Post
    What I am mostly doing when making mods, is just add a bit of code, start the mod, if it crashes I know what part is wrong (the last added one), if it works, I can continue.

    And ofcourse make back-ups often, so when U really can't find it, U can swich back to ur last worked version.

    I hardy have this problems, coz I am stuck or someting.
    Well, I have told him and many others that.
    But I guess they just don't want to listen.
    Since they just want others to solve it for them

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  15. #15
    .:MUS1CFR34K:.'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    room 666
    Posts
    215
    Reputation
    12
    Thanks
    35
    My Mood
    Sneaky
    Quote Originally Posted by jorndel View Post
    Well, I have told him and many others that.
    But I guess they just don't want to listen.
    Since they just want others to solve it for them
    yep I admit it i'm 2 lazy to fix it on my own but I did try spent 4 hours trying to fix the shit now I'm like whatever if someone fixes it i finish it and release it if not thats ok then 2
    () = not yet
    () = impossible
    () almost done
    () done and done

    100 posts ()
    200 posts ()
    99999999999 posts ()
    make a mod ()
    make a hack ()
    make a program ()
    get a life ()
    get 127 kills 17 deaths on rust ()
    get 240 kills 13 deaths on rust ()
    make a skin ()

    waiting for someone to help me fix my shit https://www.mpgh.net/forum/323-call-d...ax-errors.html

    enjoy the nightmare bitch

Page 1 of 2 12 LastLast