Official Community Forums
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  The Wiki  Website  github Project  

Share | 
 

 Java issue with master server

View previous topic View next topic Go down 
Go to page : Previous  1, 2, 3  Next
AuthorMessage
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: Java issue with master server   Wed 17 Apr - 13:57

After some tinkering and checking and rechecking and checking again, Put the world_settings.xml file where it needs to go and made slight progress,

now I get this in the client log about the repository being invalid :

Code:

ERROR [2013-04-16 22:55:35,812] Exception            Invalid media repository
ERROR [2013-04-16 22:55:35,813] Exception            Exiting client due to exception: Multiverse.Base.PrettyClientException: Invalid media repository ---> Axiom.Core.AxiomException: Resource 'MultiverseImageset.png' could not be found.  Be sure it is located in a known directory or that it is not qualified by a directory name unless that directory is located inside a zip archive.
  at Axiom.Core.ResourceManager.FindResourceData(String fileName)
  at Axiom.RenderSystems.DirectX9.D3DTexture.LoadNormalTexture()
  at Axiom.RenderSystems.DirectX9.D3DTexture.LoadImpl()
  at Axiom.Core.Resource.Load()
  at Axiom.Core.TextureManager.Load(String name, TextureType type, Int32 numMipMaps, Single gamma, Boolean isAlpha)
  at Axiom.Core.TextureManager.Load(String name, TextureType type)
  at Axiom.Core.TextureManager.Load(String name)
  at Multiverse.Gui.TextureAtlas.ReadImageset(XmlNode node)
  at Multiverse.Gui.TextureAtlas..ctor(String xmlFile)
  at Multiverse.Gui.AtlasManager.CreateAtlas(String atlasFile)
  at Multiverse.Base.Client.SetupGui()
  --- End of inner exception stack trace ---
  at Multiverse.Base.Client.SetupGui()
  at Multiverse.Base.Client.Setup()
  at Multiverse.Base.Client.Start()
  at Multiverse.MultiverseClient.Main(String[] args)

and the clent loads the matching html page telling me the same thing.
Back to top Go down
rotello
Super Contributor
Super Contributor
avatar

Posts : 215
Join date : 2012-12-06

PostSubject: Re: Java issue with master server   Wed 17 Apr - 14:03

Make sure you have set your asset repository. This can be done by Model viewer or other tools.
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: Java issue with master server   Wed 17 Apr - 14:40

ok got it to patch but then this happens :

Code:

ERROR [2013-04-16 23:35:28,630] Exception            Object reference not set to an instance of an object.
ERROR [2013-04-16 23:35:28,630] Exception            Exiting client due to exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at Axiom.SceneManagers.Multiverse.TerrainManager.set_CameraLocation(Vector3 value)
  at Axiom.SceneManagers.Multiverse.TerrainManager.UpdateCamera(Camera camera)
  at Axiom.SceneManagers.Multiverse.SceneManager.UpdateSceneGraph(Camera cam)
  at Axiom.Core.SceneManager.RenderScene(Camera camera, Viewport viewport, Boolean showOverlays)
  at Axiom.Core.Camera.RenderScene(Viewport viewport, Boolean showOverlays)
  at Axiom.Core.Viewport.Update()
  at Axiom.Graphics.RenderTarget.Update()
  at Axiom.Graphics.RenderWindow.Update()
  at Axiom.RenderSystems.DirectX9.D3DRenderWindow.Update()
  at Axiom.Graphics.RenderSystem.UpdateAllRenderTargets()
  at Axiom.Core.Root.UpdateAllRenderTargets()
  at Axiom.Core.Root.RenderOneFrame()
  at Axiom.Core.Root.StartRendering()
  at Multiverse.Base.Client.Start()
  at Multiverse.MultiverseClient.Main(String[] args)
INFO  [2013-04-16 23:35:28,634] MultiverseClient    Exiting client
INFO  [2013-04-16 23:35:28,634] Client              Started call to Client.Dispose()

accompanied by this :





But atleast it patched and tried to fire up! so it is progress lol
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Wed 17 Apr - 15:02

Can you check the server logs and post the rest of the log... it is unfortunately a very broad error.
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: Java issue with master server   Wed 17 Apr - 15:23

ok so here is the log from where I notice a warning about a connection stream which may be where it starts to come unglued until the client exits:

Code:

WARN  [2013-04-17 00:15:05,362] Exception            Got an exception in world connect: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
  at System.IO.__Error.EndOfFile()
  at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
  at System.IO.BinaryReader.ReadInt32()
  at Multiverse.Network.IncomingMessage.ReadInt32()
  at Multiverse.Network.IncomingMessage.ReadBytes()
  at Multiverse.Network.WorldTcpMessageFactory.ReadMessage(IncomingMessage inMessage)
  at Multiverse.Network.NetworkHelper.GetCharacterEntriesV15(String clientVersion)
  at Multiverse.Network.NetworkHelper.TcpWorldConnectV15(String hostname, Int32 port, String clientVersion)
  at Multiverse.Network.NetworkHelper.ConnectToLogin(String worldId, String clientVersion)
  at Multiverse.Base.Client.DoWorldConnect()
INFO  [2013-04-17 00:15:05,377] ClientAPI            WindowSize not initialized
DEBUG [2013-04-17 00:15:05,394] QuadInfo            Created quad: {X=-1.000732, Y=1.001292}, {X=0.9992679, Y=1.001292}, {X=-1.000732, Y=-0.9832041}, {X=0.9992679, Y=-0.9832041}
INFO  [2013-04-17 00:15:05,406] D3DRenderWindow      In D3DRenderWindow.Update, rs.DeviceLost is true
INFO  [2013-04-17 00:15:05,406] D3DRenderWindow      Disposing of render surface
INFO  [2013-04-17 00:15:05,406] D3DRenderWindow      Disposing of render zbuffer
INFO  [2013-04-17 00:15:05,406] D3DRenderWindow      In D3DRenderWindow.Update, calling rs.RestoreLostDevice(); status = 0
INFO  [2013-04-17 00:15:05,412] Axiom                D3DTextureManager released: 0 unmanaged textures
INFO  [2013-04-17 00:15:05,413] Axiom                D3DHardwareBufferManager released:
INFO  [2013-04-17 00:15:05,413] Axiom                  0 unmanaged vertex buffers
INFO  [2013-04-17 00:15:05,413] Axiom                  0 unmanaged index buffers
WARN  [2013-04-17 00:15:05,413] D3D9RenderSystem    Calling Device.Reset
INFO  [2013-04-17 00:15:05,533] D3D9RenderSystem    DirectXCache.ApplyCache: Starting to apply cache settings to device
INFO  [2013-04-17 00:15:05,533] D3D9RenderSystem    DirectXCache.ApplyCache: Finished applying cache settings to device
INFO  [2013-04-17 00:15:05,534] Axiom                D3DTextureManager recreated: 0 unmanaged textures
INFO  [2013-04-17 00:15:05,535] Axiom                D3DHardwareBufferManager recreated:
INFO  [2013-04-17 00:15:05,536] Axiom                  0 unmanaged vertex buffers
INFO  [2013-04-17 00:15:05,536] Axiom                  0 unmanaged index buffers
INFO  [2013-04-17 00:15:05,536] D3D9RenderSystem    !!! Direct3D Device successfully restored.
INFO  [2013-04-17 00:15:05,536] D3DRenderWindow      In D3DRenderWindow.Update, re-querying buffers
ERROR [2013-04-17 00:15:05,662] Exception            Object reference not set to an instance of an object.
ERROR [2013-04-17 00:15:05,662] Exception            Exiting client due to exception: System.NullReferenceException: Object reference not set to an instance of an object.
  at Axiom.SceneManagers.Multiverse.TerrainManager.set_CameraLocation(Vector3 value)
  at Axiom.SceneManagers.Multiverse.TerrainManager.UpdateCamera(Camera camera)
  at Axiom.SceneManagers.Multiverse.SceneManager.UpdateSceneGraph(Camera cam)
  at Axiom.Core.SceneManager.RenderScene(Camera camera, Viewport viewport, Boolean showOverlays)
  at Axiom.Core.Camera.RenderScene(Viewport viewport, Boolean showOverlays)
  at Axiom.Core.Viewport.Update()
  at Axiom.Graphics.RenderTarget.Update()
  at Axiom.Graphics.RenderWindow.Update()
  at Axiom.RenderSystems.DirectX9.D3DRenderWindow.Update()
  at Axiom.Graphics.RenderSystem.UpdateAllRenderTargets()
  at Axiom.Core.Root.UpdateAllRenderTargets()
  at Axiom.Core.Root.RenderOneFrame()
  at Axiom.Core.Root.StartRendering()
  at Multiverse.Base.Client.Start()
  at Multiverse.MultiverseClient.Main(String[] args)
INFO  [2013-04-17 00:15:05,666] MultiverseClient    Exiting client
INFO  [2013-04-17 00:15:05,667] Client              Started call to Client.Dispose()
INFO  [2013-04-17 00:15:05,680] Network Information  Disconnecting from tcp world server
DEBUG [2013-04-17 00:15:05,683] DefaultForm          Pre Message m = msg=0x10 (WM_CLOSE) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,684] DefaultForm          Pre Message m = msg=0x90 hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,684] DefaultForm          Post Message m = msg=0x90 hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,684] DefaultForm          Pre Message m = msg=0x46 (WM_WINDOWPOSCHANGING) hwnd=0x1616c4 wparam=0x0 lparam=0x1de5c4 result=0x0
DEBUG [2013-04-17 00:15:05,684] DefaultForm          Post Message m = msg=0x46 (WM_WINDOWPOSCHANGING) hwnd=0x1616c4 wparam=0x0 lparam=0x1de5c4 result=0x0
DEBUG [2013-04-17 00:15:05,685] DefaultForm          Pre Message m = msg=0x47 (WM_WINDOWPOSCHANGED) hwnd=0x1616c4 wparam=0x0 lparam=0x1de5c4 result=0x0
INFO  [2013-04-17 00:15:05,685] D3DRenderWindow      D3DRenderWindow.WindowMovedOrResized called.
INFO  [2013-04-17 00:15:05,685] D3D9RenderSystem    !!! Direct3D Device Lost!
INFO  [2013-04-17 00:15:05,685] Axiom                Viewport for camera 'camera.player' - actual dimensions L:0,T:0,W:1366,H:768
INFO  [2013-04-17 00:15:05,686] D3DRenderWindow      D3DRenderWindow.WindowMovedOrResized called.
DEBUG [2013-04-17 00:15:05,687] DefaultForm          Post Message m = msg=0x47 (WM_WINDOWPOSCHANGED) hwnd=0x1616c4 wparam=0x0 lparam=0x1de5c4 result=0x0
DEBUG [2013-04-17 00:15:05,687] DefaultForm          Pre Message m = msg=0x86 (WM_NCACTIVATE) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,687] DefaultForm          Post Message m = msg=0x86 (WM_NCACTIVATE) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x1
DEBUG [2013-04-17 00:15:05,687] DefaultForm          Pre Message m = msg=0x6 (WM_ACTIVATE) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,688] DefaultForm          Post Message m = msg=0x6 (WM_ACTIVATE) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,916] DefaultForm          Pre Message m = msg=0x7e (WM_DISPLAYCHANGE) hwnd=0x1616c4 wparam=0x20 lparam=0x3000550 result=0x0
DEBUG [2013-04-17 00:15:05,916] DefaultForm          Post Message m = msg=0x7e (WM_DISPLAYCHANGE) hwnd=0x1616c4 wparam=0x20 lparam=0x3000550 result=0x0
DEBUG [2013-04-17 00:15:05,963] DefaultForm          Pre Message m = msg=0x1c (WM_ACTIVATEAPP) hwnd=0x1616c4 wparam=0x0 lparam=0x1534 result=0x0
DEBUG [2013-04-17 00:15:05,963] DefaultForm          Post Message m = msg=0x1c (WM_ACTIVATEAPP) hwnd=0x1616c4 wparam=0x0 lparam=0x1534 result=0x0
DEBUG [2013-04-17 00:15:05,971] DefaultForm          Pre Message m = msg=0x8 (WM_KILLFOCUS) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,971] DefaultForm          Post Message m = msg=0x8 (WM_KILLFOCUS) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,977] DefaultForm          Pre Message m = msg=0x281 (WM_IME_SETCONTEXT) hwnd=0x1616c4 wparam=0x0 lparam=0xffffffffc000000f result=0x0
DEBUG [2013-04-17 00:15:05,982] DefaultForm          Pre Message m = msg=0x282 (WM_IME_NOTIFY) hwnd=0x1616c4 wparam=0x1 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,987] DefaultForm          Post Message m = msg=0x282 (WM_IME_NOTIFY) hwnd=0x1616c4 wparam=0x1 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,990] DefaultForm          Post Message m = msg=0x281 (WM_IME_SETCONTEXT) hwnd=0x1616c4 wparam=0x0 lparam=0xffffffffc000000f result=0x0
DEBUG [2013-04-17 00:15:05,993] DefaultForm          Pre Message m = msg=0x2 (WM_DESTROY) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:05,993] DefaultForm          Post Message m = msg=0x2 (WM_DESTROY) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:06,110] DefaultForm          Pre Message m = msg=0x82 (WM_NCDESTROY) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:06,110] DefaultForm          Post Message m = msg=0x82 (WM_NCDESTROY) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
DEBUG [2013-04-17 00:15:06,114] DefaultForm          Post Message m = msg=0x10 (WM_CLOSE) hwnd=0x1616c4 wparam=0x0 lparam=0x0 result=0x0
INFO  [2013-04-17 00:15:06,143] Axiom                *-*-* Axiom Shutdown
INFO  [2013-04-17 00:15:06,146] Axiom                Unloading plugin Axiom.CgPrograms.CgPlugin from Axiom Cg Plugin
INFO  [2013-04-17 00:15:06,146] Axiom                Unloading plugin Axiom.ParticleFX.ParticleFX from Axiom Particle Systems Plugin
INFO  [2013-04-17 00:15:06,147] Axiom                Unloading plugin Axiom.RenderSystems.DirectX9.Plugin from Axiom DirectX 9 Rendering System
INFO  [2013-04-17 00:15:06,147] Axiom                Unloading plugin Axiom.SceneManagers.Multiverse.MultiverseSceneManagerPlugin from Multiverse SceneManager Plugin
INFO  [2013-04-17 00:15:06,147] Axiom                Unloading plugin Multiverse.Movie.Manager from Multiverse.Movie
INFO  [2013-04-17 00:15:06,148] Manager              Movie manager stop
INFO  [2013-04-17 00:15:06,149] DirectShowCodec      DirectShowCodec Stop
INFO  [2013-04-17 00:15:06,152] Client              Finished call to Client.Dispose()
INFO  [2013-04-17 00:15:08,882] MultiverseClient    Cleaning up
INFO  [2013-04-17 00:15:08,882] MultiverseClient    Exiting Client

Also to confirm its pulling patchfiles from the correct place I changed the patcher.html file a bit and yanked and reinstalled the client to get it to patch again and :



This shows it IS patching as expected. Im wandering if maybe there is a setting in local_settings.xml it doesnt like maybe my reslution being higher than 1280x768 and its causing driver problems or, axiom doesnt like it.
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Wed 17 Apr - 15:37

damn,
i am so jealous, lol :-)

i could not make my patcher to work on my setup. tried so many options and none worked that i gave up on it.


glad you got it working, good job
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: Java issue with master server   Wed 17 Apr - 15:56

Oddly, I copied the patcher.html from C:\multiverse\website\updates\patcher to the ..\..\patcher directory on the webserver , renamed it world_patcher.html and it started patching with the standard multiverse patcher, then just fired up dreamweaver and slaped a few changes in it, saved the .jpg i used also in the ../../patcher directory and presto.

just wish I could get into the server all the way lol May have something to do with the login.jsp stuff not being there yet but I will tackle that tomorrow as it dies before i get a login screen.
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Wed 17 Apr - 23:14

I believe it is related to the login...it looks like it is trying to get either the world name or the authentication token from the master server
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 1:38

And I can tell you that I run it at 1920x1200 with no problems and everything in between down to 800x640 in any case check your login_manager.out and your master.out if you could remove the identifying info and post that would be helpful tracking down your problem...more than likely it is not getting the world id from the master server
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 1:44

this was as far as i could go when i try to get it going,
actually the patcher did not work for me, so copied the same patch_version.txt from server to client to test if it was comparing versions and it does,
in my test it compares versions in this case was same version so it should of take me to the login screen but it did not, it just stays in the patcher screen

so the default stock setup is broken.
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 2:13

I believe there is actually a second test other than just the patch_version.txt I believe it checks the patcher.exe internal version number as well and makes sure that is in sync with both the server and the client files. I have a feeling that you are failing that test so it is trying to patch. You can check by looking at the logs and seeing if there is a difference in numbers from the patch_version.txt and what is output in the log where it says Client version up to date I dont remember exactly.
Did you compile your client or are you using the default?
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 2:50

i compiled mine,

but how can you let the server know which client version the player client is using?
where is that manifest file? or how do you create one?
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 2:56

If you compiled yours you should first make some change in the main file of the Standalone Patcher and compile it so that it registers a version change then you need to run the build_patch_info from the build directory of the client source it will create a tar file (client_patch.tar) with what you need to untar into your client update directory.
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 5:33

thanks,
ok.
i am close now to make it work

but seems that the patch urls are hardcoded somewhere and i just cant find them.

this is my client log

INFO [2013-04-17 13:25:19,338] Network Information WorldServerEntry: WorldName: sampleworld,
Hostname: localhost,
Port: 5040,
PatcherUrl: http://update.multiverse.net/patcher/world_patcher.html,
UpdateUrl: http://update.multiverse.net/sampleworld/update/


looked thoroughly in C# client source, server code, world code , common, etc..... and can seem to locate this hardcoded urls.


maybe it is in my windows registry?

this is driving me crazy, lol


i know there are some in world_settings.xml
but am not using it.

any ideas where to look?
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 5:45

Check StandalonePatcher Main.cs MVUpdate hast the UpdateURL and PatchtHTML you can also set them using commandline commands I believe --update_url and --patcher_url
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 6:49

no luck, seems like still somewhere else is harcoded the:

PatcherUrl: http://update.multiverse.net/patcher/world_patcher.html,
UpdateUrl: http://update.multiverse.net/sampleworld/update/

tell me if i am missing something?

in /client/base/Client.cs
Quote :

// For now, simply disable media patches if we don't provide a patch url
const string MediaPatchHtml = "http://127.0.0.1/mv/update/media_patcher.html";


in /client/Main.cs
Quote :

/// make this configurable for the developer.
/// </summary>
public static string UpdateUrl = "http://127.0.0.1/mv/update/";



in /client/patcher/Main.cs
Quote :

public static string UpdateUrl = "http://127.0.0.1/mv/mvupdate_client/";
// Default patch page
public static string PatchHtml = "http://127.0.0.1/mv/update/patcher.html";



so far these are all the patching harcoded links i found and stil having the issue showing in my client log file:

Quote :

INFO [2013-04-17 14:07:57,381] MultiverseClient Client command line arguments: --update_url http://127.0.0.1/mv/mvupdate_client/ --patcher_url http://127.0.0.1/mv/update/patcher.html
INFO [2013-04-17 14:07:57,390] MultiverseClient Checking if restart required
INFO [2013-04-17 14:07:57,392] MultiverseClient Checking for client updates at URL 'http://127.0.0.1/mv/mvupdate_client/patch_version.txt'
INFO [2013-04-17 14:07:57,432] MultiverseClient Client version up to date: 0.8.1365785378
INFO [2013-04-17 14:07:57,441] Client Starting up client; client version number is 1.5.4855.21348
INFO [2013-04-17 14:07:57,478] Axiom *********Axiom 3D Engine Log *************



INFO [2013-04-17 14:08:03,193] Network Information WorldServerEntry: WorldName: sampleworld,
Hostname: localhost,
Port: 5040,
PatcherUrl: http://update.multiverse.net/patcher/world_patcher.html,
UpdateUrl: http://update.multiverse.net/sampleworld/update/





now, this all happens when i run the client.

if, the server http://127.0.0.1/mv/update/update/patch_version.txt is the same as my client patch_version.txt
then i see the login screen, so i login. then i get i multiverse patcher window but with blank screen with:
"NAVIGATION TO THE WEBPAGE WAS CANCELLED" error



i take a look to my client logs and find:
Quote :

INFO [2013-04-17 14:37:17,783] MultiverseClient Client command line arguments:
INFO [2013-04-17 14:37:17,792] MultiverseClient Checking if restart required
INFO [2013-04-17 14:37:17,795] MultiverseClient Checking for client updates at URL 'http://127.0.0.1/mv/update/update/patch_version.txt'
INFO [2013-04-17 14:37:17,833] MultiverseClient Client version up to date: 0.8.1365785378
INFO [2013-04-17 14:37:17,842] Client Starting up client; client version number is 1.5.4855.21348
INFO [2013-04-17 14:37:17,880] Axiom *********Axiom 3D Engine Log *************

and then further down the log file i find:
Quote :

INFO [2013-04-17 14:37:20,599] Network Information WorldServerEntry: WorldName: sampleworld,
Hostname: localhost,
Port: 5040,
PatcherUrl: http://update.multiverse.net/patcher/world_patcher.html,
UpdateUrl: http://update.multiverse.net/sampleworld/update/

which seems why i get the blank screen with error i assume.






now, in the other hand if i have a new version on the server patch_version.txt than the client
i run the client and nothings pops up, no client showing up.

then look at my client logs and find this:
Quote :

INFO [2013-04-17 14:33:48,613] MultiverseClient Client command line arguments:
INFO [2013-04-17 14:33:48,623] MultiverseClient Checking if restart required
INFO [2013-04-17 14:33:48,626] MultiverseClient Checking for client updates at URL 'http://127.0.0.1/mv/update/update/patch_version.txt'
INFO [2013-04-17 14:33:48,663] MultiverseClient Patching from 0.8.1365785377 to 0.8.1365785378
INFO [2013-04-17 14:33:48,663] MultiverseClient Downloading patcher...
INFO [2013-04-17 14:33:48,664] MultiverseClient Restart required
INFO [2013-04-17 14:33:48,664] MultiverseClient Cleaning up
INFO [2013-04-17 14:33:48,664] MultiverseClient Exiting Client
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 6:54

Sorry I didnt realize you were posting from the log...That information is from the master server/ in the mysql database
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 7:42

thank you,
that solved the media patcher, it is now downloading assets ok.

but still having issues with client .exe .dll etc... patcher

i created a patch from build_patch_info.py
created the client_patch.tar
put it in my http://127.0.0.1/mv/mvupdate_client/
and extracted content

to isolate the standalone patcher.exe i created a new folder and copied the patcher.exe file and ran it.
it poped up the patcher window with my patching url http://127.0.0.1/mv/update/patcher.html

but got stucked on error while tried to patch
patcher.log :
Quote :

State Changed: UpdateStarted
State Changed: FetchingManifest
State Changed: ScanningFiles
State Changed: FetchingManifest
Added file: bin
Added file: doc
Added file: Html
Added file: Scripts
Ignored file: patcher.log
Updating Media ...
State Changed: UpdatingFiles
Downloading File: patch_version.txt ...
Error updating media: Unable to retrieve valid file: 'patch_version.txt' Source URL: 'http://127.0.0.1/mv/mvupdate_client/', manifest name: 'mv.patch'. Update Aborted


the patch_version.txt is in the http://127.0.0.1/mv/mvupdate_client/ so i donk know why it throws me the error


any ideas?
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 8:06

I am going to guess that you are either missing the mv.patch file in the update folder (which should have been in the tar) or maybe your webserver is not configured to send the .patch file extension
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 8:13

no,all the files are there.

looks lthe issue is the patch_version.txt that the build_asset_info.py creates,
as per the code below from build_asset_info.py,
it is supposed to get version # from patcher.exe and write it to patch_version.txt ,but it does not, the patch_version.txt comes empty.

Quote :

#patcher = "%sPatcher/bin/%s/patcher.exe" % (dir_win, config)
patcher = "%sbin/%s/patcher.exe" % (dir_win, config)
# Default value of version, in case we can't run the patcher
version = "1.1.2920.33098"
try:
output = os.popen(patcher + " --version").read()
version = output.strip()
except:
pass

# Build the patch_version.txt (for use by the patcher)
f = file("patch_version.txt", "w")
f.write(version + "\n")
f.close()
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 8:17

no, all the files are there.

looks lthe issue is the patch_version.txt that the build_asset_info.py creates,
as per the code below from build_asset_info.py,
it is supposed to get version # from patcher.exe and write it to patch_version.txt ,but it does not, the patch_version.txt comes empty.



Quote :

patcher = "%sPatcher/bin/%s/patcher.exe" % (dir_win, config)
# Default value of version, in case we can't run the patcher
version = "1.1.2920.33098"
try:
output = os.popen(patcher + " --version").read()
version = output.strip()
except:
pass

# Build the patch_version.txt (for use by the patcher)
f = file("patch_version.txt", "w")
f.write(version + "\n")
f.close()
Back to top Go down
Delurin
Head of Platform Development


Posts : 424
Join date : 2011-08-03

PostSubject: Re: Java issue with master server   Thu 18 Apr - 8:28

Oh you probably need to elevate to administrator whatever process you are using to run the patch
Back to top Go down
tichfuie
Super Contributor
Super Contributor
avatar

Posts : 257
Join date : 2013-02-07
Location : NA

PostSubject: Re: Java issue with master server   Thu 18 Apr - 8:34

that was it, :-)

thanks bro, now the whole patch system works fine.


I hate win7 run as administrator deal, lots of issues because of that, nothing better than winxp, but ohh well, times changes and we need to move on to new OS to come.

thanks again
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: Java issue with master server   Fri 19 Apr - 4:37

you can disable uac on specific files if needbe
Back to top Go down
AthlonJedi
Administrator
Administrator
avatar

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

PostSubject: Re: Java issue with master server   Sat 20 Apr - 5:02

still a no go. Master out has no errors and keeps writing the keepalive ping to the log so, i know its running. Login_manger.out doesnt log ANYTHING from the master server, seems it only logs when you use the regular server and now im getting an error about "properties" not being a valid windows command, but I have NOT changed the batchfile so i have no idea what all the sudden caused it to not work.
Back to top Go down
Sponsored content




PostSubject: Re: Java issue with master server   

Back to top Go down
 
Java issue with master server
View previous topic View next topic Back to top 
Page 2 of 3Go to page : Previous  1, 2, 3  Next
 Similar topics
-
» Master Server Timeout Fix.
» MASS Multiplayer Project [shared Master Server]
» No MASTER TOURNAMENT-FIGHTS and RANKING- THREAD- Check the Sign in Thread
» .^f2F-.Swemmei Recruting in server 1
» Full-screen Issue!

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