Jump to content

[1.16.3] Launcher uses deleted Methods


Peerius
 Share

Recommended Posts

Hello,

 

I have the above mentioned issue. Here is my log:

[14Okt2020 21:43:49.779] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmluserdevclient, --fml.mcpVersion, 20200911.084530, --fml.mcVersion, 1.16.3, --fml.forgeGroup, net.minecraftforge, --fml.forgeVersion, 34.1.0, --version, MOD_DEV, --assetIndex, 1.16, --assetsDir, C:\Users\peers\.gradle\caches\forge_gradle\assets, --username, Dev, --accessToken, ????????, --userProperties, {}]
[14Okt2020 21:43:49.844] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 7.0.1+78+master.e9771d8 starting: java version 1.8.0_201 by Oracle Corporation
[14Okt2020 21:43:52.625] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[14Okt2020 21:43:52.674] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.1 Source=file:/C:/Users/peers/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.1/3099ac85bce29d37a22d3561073d01eb99b0cf4b/mixin-0.8.1.jar Service=ModLauncher Env=CLIENT
[14Okt2020 21:43:55.110] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmluserdevclient' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\peers\.gradle\caches\forge_gradle\assets, --assetIndex, 1.16, --username, Dev, --accessToken, ????????, --userProperties, {}]
[14Okt2020 21:44:10.768] [Render thread/INFO] [com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService/]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[14Okt2020 21:44:10.885] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Setting user: Dev
[14Okt2020 21:44:11.237] [Render thread/INFO] [net.minecraft.client.Minecraft/]: Backend library: LWJGL version 3.2.2 build 10
[14Okt2020 21:44:18.671] [modloading-worker-0/INFO] [net.minecraftforge.common.ForgeMod/FORGEMOD]: Forge mod loading, version 34.1.0, for MC 1.16.3 with MCP 20200911.084530
[14Okt2020 21:44:18.672] [modloading-worker-0/INFO] [net.minecraftforge.common.MinecraftForge/FORGE]: MinecraftForge v34.1.0 Initialized
[14Okt2020 21:44:19.189] [Render thread/INFO] [deepaffection/]: Blocks registred.
[14Okt2020 21:44:19.204] [Render thread/INFO] [deepaffection/]: Items registred.
[14Okt2020 21:44:19.426] [Render thread/ERROR] [net.minecraft.util.Util/]: No data fixer registered for heart_entity
[14Okt2020 21:44:19.428] [Render thread/ERROR] [net.minecraft.util.Util/]: No data fixer registered for shooting_star_entity
[14Okt2020 21:44:21.967] [Render thread/INFO] [com.mojang.text2speech.NarratorWindows/]: Narrator library for x64 successfully loaded
[14Okt2020 21:44:22.149] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, Mod Resources
[14Okt2020 21:44:22.822] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: java.lang.reflect.InvocationTargetException
[14Okt2020 21:44:22.822] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[14Okt2020 21:44:22.822] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[14Okt2020 21:44:22.822] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[14Okt2020 21:44:22.822] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[14Okt2020 21:44:22.822] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at peer.deepaffection.lists.PotionList.addMix(PotionList.java:28)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at peer.deepaffection.lists.PotionList.addBrewingRecipes(PotionList.java:35)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at peer.deepaffection.DeepAffection.setup(DeepAffection.java:80)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at net.minecraftforge.fml.ModContainer.lambda$null$4(ModContainer.java:112)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$5(ModContainer.java:112)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source)
[14Okt2020 21:44:22.823] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [peer.deepaffection.lists.PotionList:addMix:30]: 	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: java.lang.NullPointerException
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at net.minecraft.potion.PotionBrewing$MixPredicate.<init>(PotionBrewing.java:222)
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	at net.minecraft.potion.PotionBrewing.addMix(PotionBrewing.java:211)
[14Okt2020 21:44:22.824] [Worker-Main-4/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: 	... 19 more
[14Okt2020 21:44:22.826] [Worker-Main-4/INFO] [deepaffection/]: Setup method registred.
[14Okt2020 21:44:22.997] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[14Okt2020 21:44:23.811] [Forge Version Check/INFO] [net.minecraftforge.fml.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 34.1.0 Target: null
[14Okt2020 21:44:32.567] [Worker-Main-8/INFO] [deepaffection/]: Entity render registerd.
[14Okt2020 21:44:32.575] [Worker-Main-8/INFO] [deepaffection/]: clientRegistries method registred.
[14Okt2020 21:44:33.588] [Worker-Main-6/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load deepaffection:textures/item/nectar.png : java.io.FileNotFoundException: deepaffection:textures/item/nectar.png
[14Okt2020 21:44:33.698] [Worker-Main-6/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load deepaffection:textures/block/bellbird.png : java.io.FileNotFoundException: deepaffection:textures/block/bellbird.png
[14Okt2020 21:44:33.749] [Worker-Main-6/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load deepaffection:textures/item/bellbird.png : java.io.FileNotFoundException: deepaffection:textures/item/bellbird.png
[14Okt2020 21:44:39.522] [Render thread/INFO] [net.minecraft.client.audio.SoundSystem/]: OpenAL initialized.
[14Okt2020 21:44:39.524] [Render thread/INFO] [net.minecraft.client.audio.SoundEngine/SOUNDS]: Sound engine started
[14Okt2020 21:44:40.124] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[14Okt2020 21:44:40.582] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[14Okt2020 21:44:40.584] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[14Okt2020 21:44:40.594] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[14Okt2020 21:44:40.612] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[14Okt2020 21:44:40.625] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[14Okt2020 21:44:40.640] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[14Okt2020 21:44:41.882] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[14Okt2020 21:44:41.895] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[14Okt2020 21:44:41.898] [Render thread/INFO] [net.minecraft.client.renderer.texture.AtlasTexture/]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[14Okt2020 21:44:42.672] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient/]: Could not authorize you against Realms server: Invalid session id
[14Okt2020 21:45:40.986] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[14Okt2020 21:45:40.988] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[14Okt2020 21:45:40.989] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[14Okt2020 21:45:40.990] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[14Okt2020 21:45:40.992] [Render thread/WARN] [net.minecraft.command.Commands/]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[14Okt2020 21:45:40.996] [Render thread/INFO] [net.minecraft.resources.SimpleReloadableResourceManager/]: Reloading ResourceManager: Default, main, forge-1.16.3-34.1.0_mapped_snapshot_20200514-1.16-recomp.jar

As you can see, the launcher catches an InvocationTargetException in my PotionList class, but my class looks like this:

package peer.deepaffection.lists;

import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.minecraft.entity.ai.attributes.Attributes;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.potion.Effect;
import net.minecraft.potion.EffectInstance;
import net.minecraft.potion.EffectType;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionUtils;
import net.minecraft.potion.Potions;
import net.minecraftforge.common.brewing.BrewingRecipeRegistry;
import net.minecraftforge.fml.RegistryObject;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import peer.deepaffection.DeepAffection;

public class PotionList {
	
	public static Potion love_potion;
	public static Effect love_effect;
	
	public static void addBrewingRecipes() {
		System.out.println("PotionList: Brewing Recipes called.");
		BrewingRecipeRegistry.addRecipe(Ingredient.fromStacks(PotionUtils.addPotionToItemStack(ItemStack.EMPTY, Potions.AWKWARD)), Ingredient.fromStacks(new ItemStack(ItemList.nectar)), PotionUtils.addPotionToItemStack(ItemStack.EMPTY, PotionList.love_potion));
	}
	
	public static final DeferredRegister<Potion> POTIONS = DeferredRegister.create(ForgeRegistries.POTION_TYPES, DeepAffection.modid);
	public static final DeferredRegister<Effect> EFFECTS = DeferredRegister.create(ForgeRegistries.POTIONS, DeepAffection.modid);
	
	//Potions
	public static final RegistryObject<Potion> LOVE = POTIONS.register("love", () -> new Potion(new EffectInstance(PotionList.love_effect, 3600)));
	
	//Effects
	public static final RegistryObject<Effect> LOVE_EFFECT = EFFECTS.register("love", () -> new ModEffect(EffectType.BENEFICIAL, 0xc98fff).addAttributesModifier(Attributes.field_233821_d_, "55FCED67-E92A-486E-9800-B47F202C4386", (double)0.34F, AttributeModifier.Operation.MULTIPLY_TOTAL));
	
	
	public static void init (){
		EFFECTS.register(FMLJavaModLoadingContext.get().getModEventBus());
		POTIONS.register(FMLJavaModLoadingContext.get().getModEventBus());
		PotionList.addBrewingRecipes();
	}

	public static class ModEffect extends Effect{

		public ModEffect(EffectType typeIn, int liquidColorIn) {
			super(typeIn, liquidColorIn);
		}
		
	}
}

Yes, I'm pretty sure the register part isn't right yet, but the main problem is that the code that causes the exception isn't even there anymore. I deleted it a while ago. To be precise: Since this exception first occured, it seems like nothing I'm coding get's added to the mod. I already tried refreshing and gradlew Eclipse but nothing works. Also, everytime I want to execute the launcher, Eclipse tells me that there are errors existing in the project but there are no errors anywhere.

 

I would appreciate your help and thank you in advance.

 

Stay healthy :) 

Link to comment
Share on other sites

Are you editing things outside your IDE?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

Delete the build folder and right click the package explorer and refresh it

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.