Would you like to react to this message? Create an account in a few clicks or log in to continue.

Official Community Forums
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  The Wiki  Website  github Project  

 

 Help needed !!

Go down 
2 posters
AuthorMessage
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Help needed !!   Help needed !! EmptyWed 26 Jun - 21:04

Hi all,
now i'm working 1 week on my Server and today is the 1st time he started and i can login cheerscheerscheers

but Question

When i login i will appear at the Character Creation Screen.
I can put in all Informations, Gender, Name, Points ...

When i will go on Client says

"No default instance"


Can anybody help me ????


greets from Germany
Crusty
Back to top Go down
http://mmo.overhill.de
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyWed 26 Jun - 21:38

Ok, now i can Create Char and the Client crash with "Logging in"
it seems if Client logs in but then, after a while Client closes without any Error....

Back to top Go down
http://mmo.overhill.de
AthlonJedi
Administrator
Administrator
AthlonJedi


Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 2:56

look in the multiverse world browser folder in "documents" or "My Documents" depending on windows version and you will find a logs folder, open up exception.log and multiverseclient.log in wordpad and search for ERROR, this will be the start of what ever error is causing the crash.

Post your logs here, and we can get a better idea what is causing the problem.

ALSO , did you start a new world  in world builder? If so, you need to create a marker where ever you want your character to spawn and name it "spawn" without the quotes , save the world , then restart the server and you should be able to log in and play.

also we need more details than just " my client is crashing  with no error " such as logs posted, what OS are you running the server on, what method are you using (cygwin? , running on linux? is it a windows XP/vista/7 machine?)
Back to top Go down
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 3:06

Thank you for answer.

Server runs on a Linux Machine (Root)
Client runs on Win 7 here at home.

I think the Problem is Master and Multiverse Server.

Have i run both ? Or only the ./master.sh ?

I ask this because, if i start the ./multiverse Server i can connect till Char Creation like i said before.
When i run only the ./master Server i still cannot connect because Client dont find Page.

Server starts and when i write ./master.sh status
it says "RUNNING"

Pleas tell me if i have to run Master only or both, master and multiverse.
I put the Keys already at Serverside.

Have i do something with the public Key at Clientside too ?

btw i loaded the SVN and the GIT Version, which is the better one ?

greetings
Marc


Last edited by crusty71 on Thu 27 Jun - 3:07; edited 1 time in total (Reason for editing : btw)
Back to top Go down
http://mmo.overhill.de
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 4:39

Ok, Master runs now, Status says: RUNNING
Worlds are same at both sides (updated)

When i start Client it will Crash with the Note:

"Der Objektverweis wurde nicht auf einer Objektinstanz festgelegt"

I dont know what it means in english, sorry ^^

Any Help ?

Back to top Go down
http://mmo.overhill.de
AthlonJedi
Administrator
Administrator
AthlonJedi


Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 5:06

Ok, that means "Object refrence not set to an object instance" in english Cool

basicly , Make sure the information in multiverse.properties matches master.properties with the exception being , master.properties does not use host ip info , it "inherits" this info from multiverse.properties.

Secondly, as I mentioned before, look for the client logs I pointed out and post them here.

Third, Make sure you have a marker in your world named "spawn" all lowercase, no quotes. Otherwise when the client tries to log in and find the point it should spawn your avitar, It can't find its instance, Thus it doesn't know where to spawn the avitar as there is no default location to spawn unless you add one later on through code.

Im guessing this is an issue with either one of your .properties files, or there is no spawn marker setup in your world so the client has no idea where to put the avitar on login.
Back to top Go down
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 5:13

Thank you.

The only difference i see between the master and multiverse properties are
in master.props are tcp 9005 and rdp 9010 Ports
in multiverse.props they are msgsvr 20374 and worldmgr 5040

Still i have to start BOTH Servers or only the Master ?

Back to top Go down
http://mmo.overhill.de
AthlonJedi
Administrator
Administrator
AthlonJedi


Posts : 213
Join date : 2012-07-19
Location : Walkerton, Indiana

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 5:26

ok, in that case, yes, you must run both master.sh and multiverse.sh for remote clients to connect.

the next thing to check is the spawn marker , If that is not present in your world, there is no where for the avitar to spawn.
Back to top Go down
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 17:29

Ok...

Now i have both Servers running, Status RUNNING.
I can Login and create a Char, but then it's the same Error like with MV only.
It stucks in "Logging in..."

It seems there is a Problem with Servertime:

ERROR [2013-06-27 08:22:52,682] LoginConnection-1 SecureTokenManager.importToken: token expired tokenId=0x1 expiry=<01.01.70 01:00>

How can i resolve this ?

I edited Time and Date in the Rootmachine...
But still don't know why receive this Error....

Anyone idea ?
Back to top Go down
http://mmo.overhill.de
crusty71
Experienced Newbie
Experienced Newbie
crusty71


Posts : 16
Join date : 2013-06-26
Age : 53
Location : germany

Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! EmptyThu 27 Jun - 20:20

Now i used:

from multiverse.server.engine import *
from multiverse.server.util import *

ms = MasterServer.getMasterServer()
#ms.setTCPPort(9005)
#ms.setRDPPort(9010)

# Uncomment if you want to set a log level for this process
# that is different from the server's default log level
#Log.setLogLevel(1)

pair = SecureTokenUtil.generateMasterKeyPair()
encodedPrivKey = SecureTokenUtil.encodeMasterPrivateKey(12, pair.getPrivate())

SecureTokenManager.getInstance().initMaster(encodedPrivKey)




Servers don't tell Errors, but when i start my Client, the Sampleworld LOG login.manager.out write this:

ERROR [2013-06-27 11:08:24,254] main SecureTokenManager.registerMasterPublicKey: key already exists in table keyId=0xc
ERROR [2013-06-27 11:08:24,315] main ScriptManager.runPYFile: file=../config/common/login_manager.py Traceback (innermost last):
File "../config/common/login_manager.py", line 46, in ?
at multiverse.server.util.SecureTokenManager.registerMasterPublicKey(SecureTokenManager.java:430)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: master public already exists in table keyId=0xc

at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at org.python.pycode._pyx3.f$0(../config/common/login_manager.py:46)
at org.python.pycode._pyx3.call_function(../config/common/login_manager.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at multiverse.server.engine.ScriptManager.runPYFile(ScriptManager.java:209)
at multiverse.server.engine.ScriptManager.runFile(ScriptManager.java:122)
at multiverse.server.engine.Engine.processPostScripts(Engine.java:555)
at multiverse.server.engine.Engine.main(Engine.java:410)


I think its only a problem with the Keys.
I readed that i have to put in the Keys into /Config/common/login_manager.py too, but if it generates its own keys, where can i find them ???

Another Question, there are "pubKeys" and "privKeys". Where can i find them ?
PrivKeys for Master i found, but where to put the "PubKeys" ???

Please, someone help me Wink

Back to top Go down
http://mmo.overhill.de
Sponsored content





Help needed !! Empty
PostSubject: Re: Help needed !!   Help needed !! Empty

Back to top Go down
 
Help needed !!
Back to top 
Page 1 of 1
 Similar topics
-
» litle help needed pls
» Is there any more fixing needed?
» NAT ports needed from the outside world...
» [Idea] IRC Needed for support?

Permissions in this forum:You cannot reply to topics in this forum
 :: Development :: Getting Started-
Jump to: