Results 1 to 11 of 11
  1. #1
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed

    Silly problem...

    Hehoe everybody...

    I am looking for 1 or 2 ppl who could take a look on my mod and tell me whats wrong with it...

    I don't want to post the code public.
    Please just if you're used with GSC modding.

    to the mod:

    Everything works nearly how i want it, except 2-3 little things.

    -First Problem fixed, thanks to master131 and TheLynx!


    -2nd problem fixed, thanks to AZUMIKKEL!


    And now the main problem:

    Everytime I'm hosting this mod in public with more than 2ppl my game crashes ( mw4mp.exe doesn't work anymore) and for this problem i need 1 or 2 ppl to look over it, its just a rank.gsc and MapEdit.gsc.
    Last edited by prisma; 10-15-2010 at 08:55 AM.

  2. #2
    TheLynx's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Sverige
    Posts
    366
    Reputation
    10
    Thanks
    42
    My Mood
    Happy
    Delete the first and add this
    [php]self switchToWeapon(self getCurrentOffHand());[/php]
    The other thing looks fine though.

  3. The Following User Says Thank You to TheLynx For This Useful Post:

    prisma (10-15-2010)

  4. #3
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    Quote Originally Posted by TheLynx View Post
    Delete the first and add this
    [php]self switchToWeapon(self getCurrentOffHand());[/php]
    The other thing looks fine though.
    Nothing...

    Currently it looks like that:

    Code:
    doSetup()
    {
        if(self.team == "allies")
        {
            self takeAllWeapons();
            self _clearPerks();
            self GiveWeapon("barrett_fmj_mp", 0, true);
            self GiveWeapon("beretta393_fmj_mp", 0,true);
            self switchToWeapon(self getCurrentOffHand());
            self maps\mp\perks\_perks::givePerk("specialty_lightweight");
            self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
            self maps\mp\perks\_perks::givePerk("specialty_fastreload");
            self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
            self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
            self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
            self maps\mp\perks\_perks::givePerk("specialty_marathon");
        }  
    }
    And added doSetup on onPlayerSpawned()

  5. #4
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,319
    My Mood
    Breezy
    What's the weapon name you want to switch to?
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    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]

  6. #5
    Marcin96's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    111
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid
    I think it's Barrett?
    Last edited by Marcin96; 10-15-2010 at 12:40 AM.

  7. #6
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,319
    My Mood
    Breezy
    Code:
        while(self getCurrentWeapon() != "barrett_fmj_mp") {
            self switchToWeapon("barrett_fmj_mp");
            wait 0.05;
            }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    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]

  8. The Following User Says Thank You to master131 For This Useful Post:

    prisma (10-15-2010)

  9. #7
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    Quote Originally Posted by master131 View Post
    Code:
        while(self getCurrentWeapon() != "barrett_fmj_mp") {
            self switchToWeapon("barrett_fmj_mp");
            wait 0.05;
            }

    Works! Thanks

    Some one could help me with the rest ?
    Last edited by prisma; 10-15-2010 at 06:47 AM.

  10. #8
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    [php]doQuickscope()
    {
    self endon ( "disconnect" );
    self notifyOnPlayerCommand("ads","+speed_throw");
    self notifyOnPlayerCommand("ads","+toggleads_throw");
    for(;
    {
    self waittill("ads");
    wait 0.3;
    self allowADS(false);
    wait 0.05;
    self allowADS(true);
    }
    }[/php]
    www.YouTube.com/MpKiller100

  11. The Following User Says Thank You to AZUMIKKEL For This Useful Post:

    prisma (10-15-2010)

  12. #9
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    Quote Originally Posted by AZUMIKKEL View Post
    [php]doQuickscope()
    {
    self endon ( "disconnect" );
    self notifyOnPlayerCommand("ads","+speed_throw");
    self notifyOnPlayerCommand("ads","+toggleads_throw");
    for(;
    {
    self waittill("ads");
    wait 0.3;
    self allowADS(false);
    wait 0.05;
    self allowADS(true);
    }
    }[/php]
    Works! But if i hold right Mousebutton longer I am able to hardscope as long as I want...

  13. #10
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Quote Originally Posted by prisma View Post
    Works! But if i hold right Mousebutton longer I am able to hardscope as long as I want...
    increase 0.05
    www.YouTube.com/MpKiller100

  14. #11
    prisma's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    236
    Reputation
    11
    Thanks
    42
    My Mood
    Amazed
    Quote Originally Posted by AZUMIKKEL View Post
    increase 0.05
    Already made it.
    It works how it should work, but if you press the Button without releasing it are you able to Hardscope.

    ps: AZUMIKKEL, could you please take a look on my code ?

Similar Threads

  1. to ppl who complain about trogens in hacks
    By killakid192 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 09-05-2008, 04:17 PM
  2. Sell All my Warrock Accounts| take a look
    By deinname4 in forum Trade Accounts/Keys/Items
    Replies: 9
    Last Post: 06-29-2008, 06:24 AM
  3. Selling ALL my accounts!!! Take a LOOK!
    By steven_italy in forum Trade Accounts/Keys/Items
    Replies: 12
    Last Post: 04-07-2008, 02:17 PM
  4. take a look at my hack
    By prox32 in forum WarRock - International Hacks
    Replies: 95
    Last Post: 07-18-2007, 10:56 AM
  5. OBLIVIONS GALLERY, please take a look
    By A7X Oblivian in forum Art & Graphic Design
    Replies: 11
    Last Post: 04-05-2006, 08:39 PM