Page 12 of 26 FirstFirst ... 2101112131422 ... LastLast
Results 166 to 180 of 388
  1. #166
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,511
    My Mood
    Inspired
    Quote Originally Posted by Ron7j View Post
    ain't working now, expecting for your update 8!
    Today I'll try, but I'm not sure if it works

  2. #167
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,511
    My Mood
    Inspired

    Cool Challenges Completer 7.3.2

    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.
    Last edited by 8otto; 10-28-2023 at 03:59 AM.

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

    ertb (10-28-2023),Kmex (10-28-2023)

  4. #168
    caarloscvp's Avatar
    Join Date
    Nov 2021
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Exclamation help with the new file

    Could you upload the new modified file? I tried to copy and paste the codes and it didn't work :c I would appreciate it very much.

  5. #169
    thamhoranop's Avatar
    Join Date
    Mar 2020
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    you mean paste onbeforerequest with or withouut delete old code?? and is this new one can click and unclick to unlock??

    update after half an hour:: i tried it but click and unclick not work so i not sure what wrong with me but i paste on beforerequest both way delete and not delete old code version,but it not work so i not sure is

    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.

    mean that i need to choose 1 role and play one game to unlock 1.or can i use click and unclick too....
    Last edited by thamhoranop; 10-28-2023 at 09:56 AM.

  6. #170
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Thanks, I don't understand .json stuff, can u upload full code? I do believe it's safer than before, since we need to play match for that

    - - - Updated - - -

    I tried to manually add these codes to a new script through a fiddler, but a syntax error occurred after adding the code in OnBeforeResponse, фre you sure you wrote the code correctly?

    - - - Updated - - -

    Now I managed to complete the challenge, I thoroughly compared both and replaced them where necessary, compare in the fiddler itself and not in the json file. Thanks again. Is it possible to complete a challenge in a custom matches?

  7. #171
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,511
    My Mood
    Inspired
    Quote Originally Posted by thamhoranop View Post
    you mean paste onbeforerequest with or withouut delete old code?? and is this new one can click and unclick to unlock??
    There was no code to complete challenges into OnBeforeRequest..

    - - - Updated - - -

    Quote Originally Posted by Melodiya View Post
    Thanks, I don't understand .json stuff, can u upload full code? I do believe it's safer than before, since we need to play match for that

    - - - Updated - - -

    I tried to manually add these codes to a new script through a fiddler, but a syntax error occurred after adding the code in OnBeforeResponse, фre you sure you wrote the code correctly?

    - - - Updated - - -

    Now I managed to complete the challenge, I thoroughly compared both and replaced them where necessary, compare in the fiddler itself and not in the json file. Thanks again. Is it possible to complete a challenge in a custom matches?
    Yes, I'm sure the "JSON" is created by the script you don't need files.
    I think that it's not possibile in custom matches, I didn't tried.
    Last edited by 8otto; 10-28-2023 at 10:01 AM.

  8. #172
    thamhoranop's Avatar
    Join Date
    Mar 2020
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by 8otto View Post
    There was no code to complete challenges into OnBeforeRequest..

    - - - Updated - - -



    Yes, I'm sure the "JSON" is created by the script you don't need files.
    I think that it's not possibile in custom matches, I didn't tried.
    uhmmmm......

    i do it like this
    Code:
        static function OnBeforeRequest(oSession: Session) {
            // Sample Rule: Color ASPX requests in RED
            // if (oSession.uriContains(".aspx")) {	oSession["ui-color"] = "red";	}
    
            // Sample Rule: Flag POSTs to fiddler2.com in italics
            // if (oSession.HostnameIs("www.fiddler2.com") && oSession.HTTPMethodIs("POST")) {	oSession["ui-italic"] = "yup";	}
    
            // Sample Rule: Break requests for URLs containing "/sandbox/"
            // if (oSession.uriContains("/sandbox/")) {
            //     oSession.oFlags["x-breakrequest"] = "yup";	// Existence of the x-breakrequest flag creates a breakpoint; the "yup" value is unimportant.
            // }
    
            if ((null != gs_ReplaceToken) && (oSession.url.indexOf(gs_ReplaceToken)>-1)) {   // Case sensitive
                oSession.url = oSession.url.Replace(gs_ReplaceToken, gs_ReplaceTokenWith); 
            }
            if ((null != gs_OverridenHost) && (oSession.host.toLowerCase() == gs_OverridenHost)) {
                oSession["x-overridehost"] = gs_OverrideHostWith; 
            }
    
            if ((null!=bpRequestURI) && oSession.uriContains(bpRequestURI)) {
                oSession["x-breakrequest"]="uri";
            }
    
            if ((null!=bpMethod) && (oSession.HTTPMethodIs(bpMethod))) {
                oSession["x-breakrequest"]="method";
            }
    
            if ((null!=uiBoldURI) && oSession.uriContains(uiBoldURI)) {
                oSession["ui-bold"]="QuickExec";
            }
    
            if (m_SimulateModem) {
                // Delay sends by 300ms per KB uploaded.
                oSession["request-trickle-delay"] = "300"; 
                // Delay receives by 150ms per KB downloaded.
                oSession["response-trickle-delay"] = "150"; 
            }
    
            if (m_DisableCaching) {
                oSession.oRequest.headers.Remove("If-None-Match");
                oSession.oRequest.headers.Remove("If-Modified-Since");
                oSession.oRequest["Pragma"] = "no-cache";
            }
    
            // User-Agent Overrides
            if (null != sUA) {
                oSession.oRequest["User-Agent"] = sUA; 
            }
    
            if (m_Japanese) {
                oSession.oRequest["Accept-Language"] = "ja";
            }
    
            if (m_AutoAuth) {
                // Automatically respond to any authentication challenges using the 
                // current Fiddler Classic user's credentials. You can change (default)
                // to a domain\\username:password string if preferred.
                //
                // WARNING: This setting poses a security risk if remote 
                // connections are permitted!
                oSession["X-AutoAuth"] = "(default)";
            }
    
            if (m_AlwaysFresh && (oSession.oRequest.headers.Exists("If-Modified-Since") || oSession.oRequest.headers.Exists("If-None-Match")))
            {
                oSession.utilCreateResponseAndBypassServer();
                oSession.responseCode = 304;
                oSession["ui-backcolor"] = "Lavender";
            }
            
            
            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);
                }
            }
            
            
            
        }
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
        static function OnBeforeResponse(oSession: Session) {
            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");}
            }
        }

    but it still not work like last version??? or in this version i need to play 1 game to complete any quest?? thank
    Last edited by thamhoranop; 10-28-2023 at 12:06 PM.

  9. #173
    Threadstarter
    We are the CONTRIBUFORCE
    Contributor
    8otto's Avatar
    Join Date
    Jun 2021
    Gender
    male
    Posts
    980
    Reputation
    106
    Thanks
    2,511
    My Mood
    Inspired
    @thamhoranop yes, as I writes you MUST play 1 game with the same role of challenge, don't select both roles on challenges

  10. #174
    Kmex's Avatar
    Join Date
    Nov 2020
    Gender
    male
    Location
    Brazil
    Posts
    24
    Reputation
    10
    Thanks
    5
    My Mood
    Cool

    Thumbs up Thanks

    Quote Originally Posted by 8otto View Post
    @thamhoranop yes, as I writes you MUST play 1 game with the same role of challenge, don't select both roles on challenges
    Thanks for the update, it's working correctly.

  11. #175
    Melodiya's Avatar
    Join Date
    Oct 2017
    Gender
    male
    Posts
    100
    Reputation
    10
    Thanks
    3
    Quote Originally Posted by 8otto View Post
    There was no code to complete challenges into OnBeforeRequest..

    - - - Updated - - -



    Yes, I'm sure the "JSON" is created by the script you don't need files.
    I think that it's not possibile in custom matches, I didn't tried.
    I asked because the creator of one unlocker said that it was possible in сustom matches

  12. #176
    TheAnlZ's Avatar
    Join Date
    Mar 2023
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by 8otto View Post
    Yes I know, but there are no SSL bypass up to now..
    Do you have one? 😱
    How do we turn off proxy on pc with this fiddler and also where do we paste the script

  13. #177
    bestreaper's Avatar
    Join Date
    Sep 2023
    Gender
    female
    Posts
    7
    Reputation
    10
    Thanks
    0
    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 so sorry but can you upload a whole new folder so I can just download it? im lost I don't know where I'm supposed to change these things

  14. #178
    besxwq's Avatar
    Join Date
    Jul 2022
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0

    fiddlerscript error

    FiddlerScript Error FiddlerScript compilation failed on line 296: SOURCE ERROR LINE--> if (Quest && oSession.uriContains(api/V1/archives/stories/update/active-n ode-v3 try

    gives me this error, any idea?

  15. #179
    fukubi's Avatar
    Join Date
    Sep 2015
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    My Mood
    Asleep
    it works perfectly fine. 👍
    thanks for update. nice job.

  16. #180
    DM-san's Avatar
    Join Date
    Jan 2017
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    1
    So does the new method only work for a single challenge at a time? Play 1 game = 1 challenge complete?

Page 12 of 26 FirstFirst ... 2101112131422 ... 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