Jump to content

Recommended Posts

Posted

SOLUTION:

I forgot to put the render, keybindings, event registrations etc. in my ClientProxy so they would be loaded on server side too and thats the reason for the crash, just put the client stuff like rendering etc. into your client proxy thats all! :)

 

Hello Guys i have the problem that server crashes when i start my mod on server side. client side is working, so the crash report says that im trying to render client stuff at server side but i don't know where i'm doing that and in my Common and Client Proxy i didn't found something which could be the reason, could you help me please?

 

Here the Crash Report:

 

  Reveal hidden contents

 

 

here my server proxy:

 

  Reveal hidden contents

 

 

here the client:

 

  Reveal hidden contents

 

 

Thanks for any help!  ;D

"My Crew is World Wide." 「ヤング • エルトウ」

Posted

If you don't know yet about this topic, I recommend reading:

http://www.minecraftforge.net/forum/index.php/topic,22764.0.html

Also some of my shit-talk: http://www.minecraftforge.net/forum/index.php/topic,33918.msg178740.html#msg178740

 

Now that you know how it is handled - the problem is that your code (mod) tries to reference a Class that doesn't exist on Dedicated.jar.

You must have made some reference to Render.class, if you have extension to that class, also mark them with SideOnly (tho I am unsure if it is needed, just idea).

Anything that is marked with SideOnly must be placed in proxy.

  Quote

1.7.10 is no longer supported by forge, you are on your own.

Posted

Yeah i know that, the problem isn't really to change that, its more the problem that i don't know which class/line is the reason for the crash. Because no class/line of my mod files is mentioned in the crash report.  :-\

 

 

EDIT:

 

After working on other things in my mod now i know the reason why it crashes the reason is my key binding

 

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/settings/KeyBinding for invalid side SERVER

 

I want to fix that any ideas?

My Keybinding looks like this:

 

  Reveal hidden contents

 

 

and the crash report shows line 59 in my main class

 

public static KeyBinding key_character_stats = new KeyBinding("key_character_stats.characterstats", Keyboard.KEY_C, "Fairy Tail");

"My Crew is World Wide." 「ヤング • エルトウ」

Posted

Ever heard of search feature? :P You must have some Render.class ref or extensions. Find them.

  Quote

1.7.10 is no longer supported by forge, you are on your own.

Posted

Thanks, now i did what you said before and now is everything working, i didn't know that so much stuff gets into client proxy. but thanks yeah! ;D

"My Crew is World Wide." 「ヤング • エルトウ」

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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