Jump to content

Recommended Posts

Posted

Hey guys.

So I genuinely want help with some SMP coding, I went on to your IRC channel and got kicked because my name was a little long, (it wasn't offensive in any way)

I tried to rejoin and found I was banned.

That is a little bit lame guys. Try to be nicer, whoever is admin on that channel.

Posted

You were banned for having a really stupid name. Causing 1/2 my screen to be allocated for the username list.

Thats retarded.

Either way, ask your logical questions here and maybe I won't ban you from here as well.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

I have a bunch of questions relating to getting my single player mod to work on a SMP server. I don't have a great deal of understanding about how client and server files interact so I wanted to ask some broad questions, for example;

 

Is a server version of my mod_ class going to be filled with all the same methods, just different implementations?

For example I'm teleporting the player to some co-ordinates, I did this using EntityPlayerSP clientside, but it I imagine I would be teleporting EntityPlayerMP serverside or something?

 

I tried running my mod in MCPs test server and crashed when I picked up a custom block out of my inventory; this is likely a result of how clueless I am at coding this SMP stuff.

 

 

Also, next time I'd appreciate it if you'd just kick me and ask me to change my name, not that I have any authority here.

Posted

It is usually better to ask a question per thread, allows for better searching in the future.  :)

 

As for the mod_ class, should be identical except you do not register renderables (block model IDs, TESR's, Entity Renderers, etc...) and so forth, plus networking code is different.

 

EntityPlayerSP is the player class for both SP and Client, EntityPlayerMP is the player class for on the server only, so yes.

 

As for crashing, we need an error log.

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.