When I change a code block in any class, I get Exception in game. menu

User Tag List

Results 1 to 10 of 10
  1. #1
    cnytkuscu's Avatar Member
    Reputation
    1
    Join Date
    Aug 2020
    Posts
    8
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    When I change a code block in any class, I get Exception in game.

    Hello all, I'm junior developer, I just do something to save the data in another txt file but I get error...

    Basically I want to store Primal, Ancient and Legendary drop count in another file.
    Code:
    //Stream Write
    
                 StreamWriter file = new StreamWriter(@"C:\Users\Trash-PC\Desktop\hud\plugins\Csavo\itemCount.txt");
                 string textToWrite =@"@@"+PrimalCount+"@@=="+AncientCount+"==!!"+LegendaryCount+"!!";
                 file.Write(textToWrite);
                 file.Close();
    This is the code I added into Csavo's Legendary Count plugin.

    When I change a code block in any class, I get Exception in game.
  2. #2
    cnytkuscu's Avatar Member
    Reputation
    1
    Join Date
    Aug 2020
    Posts
    8
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can someone help me to extract the data which is found by a class to another txt or json file in my harddrive ?
    Hello, I'm newbie programmer. Call me Tye

  3. #3
    Romanmas's Avatar Member
    Reputation
    11
    Join Date
    Mar 2017
    Posts
    187
    Thanks G/R
    9/9
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cnytkuscu View Post
    Hello all, I'm junior developer, I just do something to save the data in another txt file but I get error...

    Basically I want to store Primal, Ancient and Legendary drop count in another file.
    Code:
    //Stream Write
    
                 StreamWriter file = new StreamWriter(@"C:\Users\Trash-PC\Desktop\hud\plugins\Csavo\itemCount.txt");
                 string textToWrite =@"@@"+PrimalCount+"@@=="+AncientCount+"==!!"+LegendaryCount+"!!";
                 file.Write(textToWrite);
                 file.Close();
    This is the code I added into Csavo's Legendary Count plugin.
    Aren't Junior developers taught to send error logs?
    attach logs/exceptions.txt
    Last edited by Romanmas; 10-19-2020 at 11:23 AM.

  4. #4
    cnytkuscu's Avatar Member
    Reputation
    1
    Join Date
    Aug 2020
    Posts
    8
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Romanmas View Post
    Aren't Junior developers taught to send error logs?
    attach logs/exceptions.txt
    Ohh I'm pretty sure I've added the error log to my second message, I'm sorry.
    Code:
    2020.10.19 23:15:18.559	20.7.12.0	suspicious code in plugin file: 'C:\Users\Trash-PC\Desktop\hud\Plugins\Csavo\LegendayCountPlugin.cs': possibly trying to access the disk.
    2020.10.19 23:15:18.560	20.7.12.0	suspicious code in plugin file: 'C:\Users\Trash-PC\Desktop\hud\Plugins\Csavo\LegendayCountPlugin.cs': possibly trying to hide behaviour with unicode characters.
    Hello, I'm newbie programmer. Call me Tye

  5. #5
    knight84's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2017
    Posts
    270
    Thanks G/R
    24/18
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as far as i can see u have an unicode error in the legendscountplugin : Decoder: Unicode ⇆ Text - Unicode Character Table (insert the unicode here for change)

    idk how to fix the harddisk acess

  6. #6
    s4000's Avatar Contributor
    Reputation
    285
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/272
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Thud DO NOT allow to use system.IO, try to use the built-in Hud.TextLog.Log() function,
    also remind that the version change

    20.8.19.0 STABLE for Diablo III 2.6.9.68722 (v9.2)
    - changed: IController.Log and IController.Debug no longer works in special areas and above T1 difficulty

  7. #7
    cnytkuscu's Avatar Member
    Reputation
    1
    Join Date
    Aug 2020
    Posts
    8
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the replies, I've no access to main turbohud solution so I've to type the blind codes and hope to work.
    I don't know how you guys develop plugins, can someone help me to pass this problem ?
    Hello, I'm newbie programmer. Call me Tye

  8. #8
    knight84's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2017
    Posts
    270
    Thanks G/R
    24/18
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for edit the plugins (.cs files) i am useing notepad++ (Oops, something lost but u can edit them is any texteditor like word, wordpad, notepad.

    for me im am not makeing own plugins i just customize (mostly for myself) them.

    if u want u can share the plugin wich is given unicode error (share via pastepin, github) and i (or someone else) can have an look for fix your problem

  9. #9
    cnytkuscu's Avatar Member
    Reputation
    1
    Join Date
    Aug 2020
    Posts
    8
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by knight84 View Post
    for edit the plugins (.cs files) i am useing notepad++ (Oops, something lost but u can edit them is any texteditor like word, wordpad, notepad.

    for me im am not makeing own plugins i just customize (mostly for myself) them.

    if u want u can share the plugin wich is given unicode error (share via pastepin, github) and i (or someone else) can have an look for fix your problem
    The code I put there gives the unicode error, I found some solutions in the internet but they are outdated, Plus that Hud.TextLog.Log(fileName,Text) function doesn't do anything at all. I tried and nothing happened.

    All I need is; get the drop item information(White,Blue,Yellow,Legendary,Ancient Legenday, Primal) and store those informations in a text document
    by doing that I can use those data in other plugins or projects.
    Hello, I'm newbie programmer. Call me Tye

  10. #10
    itsmylife's Avatar Active Member
    Reputation
    23
    Join Date
    Jun 2012
    Posts
    232
    Thanks G/R
    32/22
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cnytkuscu View Post
    Plus that Hud.TextLog.Log(fileName,Text) function doesn't do anything at all. I tried and nothing happened.

    All I need is; get the drop item information(White,Blue,Yellow,Legendary,Ancient Legenday, Primal) and store those informations in a text document
    by doing that I can use those data in other plugins or projects.
    20.8.19.0 STABLE for Diablo III 2.6.9.68722 (v9.2)
    - changed: IController.Log and IController.Debug no longer works in special areas and above T1 difficulty

    As s4000 already mentioned the built in function won't do anything above T1.

Similar Threads

  1. [Selling] WOW TCG Loot Cards codes for in-game items
    By xDragonFly in forum World of Warcraft Buy Sell Trade
    Replies: 7
    Last Post: 12-31-2023, 04:34 PM
  2. [Selling] 30 Day Game Time Codes (Not In-Game Gold Tokens, Actual Codes) $10 PER
    By Zefy in forum World of Warcraft Buy Sell Trade
    Replies: 3
    Last Post: 02-17-2016, 07:42 PM
  3. [Selling] Spectral Tiger Loot TGC CODE CHEAP! In-game Currency or Paypal/Skrill Christmas Sale
    By Celfox_NL in forum World of Warcraft Buy Sell Trade
    Replies: 1
    Last Post: 12-26-2014, 09:52 PM
  4. [Need Help] Is there any way to change the WoW Logo in-game
    By Acoustics in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-24-2011, 10:20 AM
  5. Change Your Writing Color in-game (NO HACKS)
    By dracona in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 01-01-2008, 10:13 AM
All times are GMT -5. The time now is 10:21 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search