Page 24 of 26 FirstFirst ... 142223242526 LastLast
Results 346 to 360 of 387
  1. #346
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by Melodiya View Post
    Is there a script for challenges through custom matches? If so, then this is not what I asked for, I need a script that helps with challenges during real matches, for example if a challenge requires Zarina then I have to play with her
    It's exactly the same if you play you complete challenges, public and customs.

  2. #347
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by 8otto View Post
    It's exactly the same if you play you complete challenges, public and customs.
    But you are forcing a request, I liked the last one when you need to play for a certain role for the challenges, please, if you can, correct the code above that I sent but so that the passage of the killer’s challenge doesn't work on a survivor

  3. #348
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by Melodiya View Post
    But you are forcing a request, I liked the last one when you need to play for a certain role for the challenges, please, if you can, correct the code above that I sent but so that the passage of the killer’s challenge doesn't work on a survivor
    Only way to do challenges that you can't do like surv challenge playing killer and viceversa is to force the request..

  4. #349
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by 8otto View Post
    It seems to work as intended!

    GLOBAL VARIABLES (On top of script):
    If you don't have C:\Rules folder create it.
    Code:
    var Quest = true;
    var MarketUpdaterPath = "C:\\Rules\\";
    Inside OnBeforeRequest:
    Code:
    if (Quest && oSession.uriContains("api/v1/archives/stories/update/quest-progress-v3")){
    	try{
    		if (MarketUpdaterPath[-1] != "\\") MarketUpdaterPath += "\\";
    		var questPath = MarketUpdaterPath + "Quest.json";
    		if (!System.IO.File.Exists(questPath)) return;
    		var questString = System.IO.File.ReadAllText(questPath);
    		var questJson = Fiddler.WebFormats.JSON.JsonDecode(questString);
    		oSession.utilDecodeRequest();
    		var jsonString = oSession.GetRequestBodyAsString();
    		var oJson = Fiddler.WebFormats.JSON.JsonDecode(jsonString);
    		oJson.JSONObject["questEvents"] = questJson.JSONObject["questEvents"];
    		oJson.JSONObject["role"] = questJson.JSONObject["role"];
    		var oString = Fiddler.WebFormats.JSON.JsonEncode(oJson.JSONObject);
    		oSession.utilSetRequestBody(oString);
    	}
    	catch(e){
    		FiddlerObject.log(e);
    	}
    }
    Inside OnBeforeResponse (Delete old Quest script than paste this instead):
    Code:
    if (Quest && oSession.uriContains("api/v1/archives/stories/update/active-node-v3")){
    	try{
    		//DECODING AND CONVERTING REQUEST AND RESPONSE
    		oSession.utilDecodeRequest();
    		oSession.utilDecodeResponse();
    		var jsonRequest = oSession.GetRequestBodyAsString();
    		var oJsonRequest = Fiddler.WebFormats.JSON.JsonDecode(jsonRequest);
    		var jsonResponse = oSession.GetResponseBodyAsString();
    		var oJsonResponse = Fiddler.WebFormats.JSON.JsonDecode(jsonResponse);
    		//GETTING VARIABLES FROM SELECTED CHALLENGE
    		if(oJsonResponse.JSONObject["activeNodesFull"].Count == 0) return;
    		var role = oJsonRequest.JSONObject["role"];
    		if(role == "both") role = "survivor";
    		var neededProgression = oJsonResponse.JSONObject["activeNodesFull"][0]["objectives"][0]["neededProgression"];
    		var questEvents = oJsonResponse.JSONObject["activeNodesFull"][0]["objectives"][0]["questEvent"];
    		var matchId = System.Guid.NewGuid().ToString();
    		var requestBody = '{"matchId":"'+matchId+'","questEvents":[';
    		for(var i=0;i<questEvents.Count;i++){
    			var repetition = questEvents[i]["repetition"];
    			repetition *= neededProgression;
    			var questEventId = questEvents[i]["questEventId"];
    			var parameters = questEvents[i]["parameters"];
    			if(parameters != undefined) requestBody += '{"parameters":"'+parameters+'","questEventId":"'+questEventId+'","repetition":'+repetition+'}';
    			else requestBody += '{"questEventId":"'+questEventId+'","repetition":'+repetition+'}';
    			if(questEvents.Count > 1 && i != questEvents.Count - 1) requestBody += ",";
    		}
    		requestBody += '],"role":"'+role+'"}';
    		//GENERATING QUEST FILE
    		System.IO.File.WriteAllText(MarketUpdaterPath+"Quest.json", requestBody);
    	}
    	catch(e){FiddlerObject.log("Error unlocking challenge");}
    }
    USAGE
    Select 1 challenge at time for 1 role only then play with that role, challenge automatically completes also if you don't do that.
    I'm talking about this code, you said that this one is better in terms of legitimacy, can you check if the code is correct and if it works for you

  5. #350
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by Melodiya View Post
    I'm talking about this code, you said that this one is better in terms of legitimacy, can you check if the code is correct and if it works for you
    Does it work for you?

    I just tested and it doesn't work for me, maybe they fixed this method, but the latest one works without problems.
    If you want to complete challenges with cheats use that.
    Last edited by 8otto; 06-18-2024 at 01:36 PM.

  6. #351
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by 8otto View Post
    Does it work for you?

    I just tested and it doesn't work for me, maybe they fixed this method, but the latest one works without problems.
    If you want to complete challenges with cheats use that.
    I wrote to you as soon as it stopped working, there is no way to fix it? I liked it the most, it seems to me that doing killer challenges playing as a survivor is wrong, so I used this legit script

  7. #352
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by Melodiya View Post
    I wrote to you as soon as it stopped working, there is no way to fix it? I liked it the most, it seems to me that doing killer challenges playing as a survivor is wrong, so I used this legit script
    No, they changed something and there is no more request if you don't do the quest objectives.
    This script simply modify the real request.

  8. #353
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by 8otto View Post
    No, they changed something and there is no more request if you don't do the quest objectives.
    This script simply modify the real request.
    Thank you for answering. Sorry to hear that it was fixed. There’s no way to find out about MMR anymore, right?

  9. #354
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by Melodiya View Post
    Thank you for answering. Sorry to hear that it was fixed. There’s no way to find out about MMR anymore, right?
    No there isn't, at least I didn't find any way

  10. #355
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by 8otto View Post
    No there isn't, at least I didn't find any way
    Can you explain what is bloodwebnoperks?

  11. #356
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by Melodiya View Post
    Can you explain what is bloodwebnoperks?
    It's a script that I made, and it does exactly what its name suggests (It unlocks all stuff on character, but it doesn't touch perks or prestige, so you can easily level up).
    For example I use it to play always with red/purple addons.

    Starting from IDs files generated with MarketUpdater, if you use my python script that's here, you will have a BloodwebNoPerks.json file

    https://www.mpgh.net/forum/showthrea...1#post15412375

  12. #357
    opedrohilario's Avatar
    Join Date
    Sep 2022
    Gender
    male
    Posts
    46
    Reputation
    10
    Thanks
    6
    Does the quest have to be set to "true" so that the QuestBlock works, or does it have to be set to "false"

  13. #358
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by opedrohilario View Post
    Does the quest have to be set to "true" so that the QuestBlock works, or does it have to be set to "false"
    Quest false
    QuestBlock true

    If you want to block quests completition

  14. #359
    yipiv18335's Avatar
    Join Date
    Jul 2024
    Gender
    female
    Posts
    8
    Reputation
    10
    Thanks
    1
    Hi! It seems impossible to unlock survivor challenge in Tome 1 - Awakening, page 3 (bottom right), “Escape a trial without being hooked by the Killer while using the perk Spine Chill”. I've been able to do everything, but this one can't seem to unlock. Do you know why? Thanks!

  15. #360
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,497
    My Mood
    Inspired
    Quote Originally Posted by yipiv18335 View Post
    Hi! It seems impossible to unlock survivor challenge in Tome 1 - Awakening, page 3 (bottom right), “Escape a trial without being hooked by the Killer while using the perk Spine Chill”. I've been able to do everything, but this one can't seem to unlock. Do you know why? Thanks!
    You're right, my bad, fixed adding another check for challenge:

    Code:
    if (!QuestBlock && Quest && oSession.uriContains("api/v1/archives/stories/update/active-node-v3")){
    	try{
    		oSession.utilDecodeRequest();
    		oSession.utilDecodeResponse();
    		var jsonRequest = oSession.GetRequestBodyAsString();
    		var oJsonRequest = Fiddler.WebFormats.JSON.JsonDecode(jsonRequest).JSONObject;
    		var jsonResponse = oSession.GetResponseBodyAsString();
    		var oJsonResponse = Fiddler.WebFormats.JSON.JsonDecode(jsonResponse).JSONObject;
    		if(oJsonResponse["activeNodesFull"].Count == 0){
    			if(System.IO.File.Exists(MarketUpdaterPath+"Quest.json")) System.IO.File.Delete(MarketUpdaterPath+"Quest.json");
    			return;
    		}
    		var role = oJsonRequest["role"];
    		if(role == "both") role = "survivor";
    		var neededProgression = oJsonResponse["activeNodesFull"][0]["objectives"][0]["neededProgression"];
    		var questEvents = oJsonResponse["activeNodesFull"][0]["objectives"][0]["questEvent"];
    		var requestBody = '{"questEvents":[';
    		for(var i=0;i<questEvents.Count;i++){
    			var repetition = questEvents[i]["repetition"];
    			repetition *= neededProgression;
    			if(questEvents[i]["operation"] == "<") repetition = questEvents[i]["repetition"] - 1;
    			else if(questEvents[i]["operation"] == ">") repetition = questEvents[i]["repetition"] + 1;
    			var questEventId = questEvents[i]["questEventId"];
    			var parameters = questEvents[i]["parameters"];
    			if(parameters != undefined) requestBody += '{"parameters":"'+parameters+'","questEventId":"'+questEventId+'","repetition":'+repetition+'}';
    			else requestBody += '{"questEventId":"'+questEventId+'","repetition":'+repetition+'}';
    			if(questEvents.Count > 1 && i != questEvents.Count - 1) requestBody += ",";
    		}
    		requestBody += '],"role":"'+role+'"}';
    		System.IO.File.WriteAllText(MarketUpdaterPath+"Quest.json", requestBody);
    	}
    	catch(e){FiddlerObject.log("Error unlocking challenge");}
    }
    Paste this 2 lines into your FiddlerScript, into Quest script:
    Code:
    if(questEvents[i]["operation"] == "<") repetition = questEvents[i]["repetition"] - 1;
    else if(questEvents[i]["operation"] == ">") repetition = questEvents[i]["repetition"] + 1;

  16. The Following 2 Users Say Thank You to 8otto For This Useful Post:

    gabable (07-24-2024),yipiv18335 (07-24-2024)

Page 24 of 26 FirstFirst ... 142223242526 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 02-04-2019, 09:06 PM
  2. Advanced warfare challenge completer
    By blackopskid7 in forum Call of Duty Advanced Warfare Discussions
    Replies: 10
    Last Post: 11-21-2014, 07:10 PM
  3. "challenge complete" trigger
    By 12qwerty34 in forum Call of Duty Ghosts Discussions & Help
    Replies: 5
    Last Post: 01-01-2014, 04:32 AM
  4. 100% complete Challenges
    By Shckr57 in forum Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 116
    Last Post: 11-21-2011, 11:38 PM
  5. [Updated 3.1]UFO MOD / All Challenges completion lobby / XPScale Mod after rest
    By kaf073 in forum Call of Duty Modern Warfare 2 Server / GSC Modding
    Replies: 38
    Last Post: 08-06-2010, 10:41 PM