Game client modified by Gilbertus

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Game client modified by Gilbertus

Postby Mqrius » Sat Sep 18, 2010 11:58 am

ElGato wrote:It seems to me it's only the last or current session that you see.
I suppose it would take some stitching to combine many different sessions.
True. For now, you can edit the currentsession.js to match the map folder you want to see, but I'm working on a tool that will auto-stitch different sessions...

Gilbertus wrote:
DatOneGuy wrote:My maps in map.html act up and don't show my long ass trip I took. Oddly enough Mqrius's exe doesn't help either, none of the images have it, just my plot where I login, not my maps after warping.


And there is possibility that creating new session will fail. Look at saved minimaps folder, if the coordinates rapidly changes like you small ones in (-10,-10) to (10,10) and others with high numbers like (-300,200) do (-200, 300) this is the case. They will be on map.html but so distant that you will miss them (can check with lot of dragging and enable grid with coordinates).
It may happen when new coordinates from server after teleport will be in smaller distance then 450 in each direction from last saved minimap. The 450 minimaps is the size of the world so I check if coordinates change dramaticly and make new session if they goes beyond that. This is most of the cases.
You need move minimaps with big coordinates to other folder and rename. You need raname software which can take part of file name, treat it like a number and add something to it.
Ehh a need to rewrite my PHP scrips in Java.

Strange problem... However, my exe should just create images for the high numbers as well. D1G, you could zip your map folder and upload it somewhere so we can have a look...
User avatar
Mqrius
 
Posts: 367
Joined: Sun Aug 29, 2010 8:58 pm

Re: Game client modified by Gilbertus

Postby MasterCatfish » Sat Sep 18, 2010 4:28 pm

sabinati wrote:is haven.jar in the same folder? what is the current text in the run.command file?

Yes, haven.jar is in the same folder. All I've done to mess with the folder is replace "maps" and "haven.jar" with the ones that were in the update.

The run.command file says this when I open it with text edit:
Code: Select all
java -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se



Gilbertus wrote:
MasterCatfish wrote:"Unable to access jarfile haven.jar" I really appreciate all your help, Sabinati. I wish this worked more easily. :|


Please read Troubleshooting section of first post. This should help.

PS. Thanks for all good people who stop by and help others (and me) with their problems to run my client version.


Sorry I didn't read that to begin with. My problem appears to be beyond what is mentioned in your troubleshooting guide, however.
User avatar
MasterCatfish
 
Posts: 131
Joined: Fri Oct 02, 2009 1:06 am

Re: Game client modified by Gilbertus

Postby DatOneGuy » Sat Sep 18, 2010 4:38 pm

These problems might be solved by allowing some degree of zooming, eh.

I'll PM it to both of you later today after I fiddle with it a bit.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User avatar
DatOneGuy
 
Posts: 5553
Joined: Sun Apr 18, 2010 7:50 am
Location: I'm in Miami, trick.

Re: Game client modified by Gilbertus

Postby Ginpu » Sat Sep 18, 2010 10:34 pm

Greetings!

I'm trying to get this working on my MacBook. I followed the information in the very first post, about making the bat executable. This brings up an error.
Code: Select all
Unable to access jarfile haven.jar

So I searched this thread, the forums and even googled, and saw that another Mac user has the same problem, and it was suggested to edit the bat file. Which I did using the information in the post.
Code: Select all
java -Xms256m -Xmx512m -Djava.library.path="/Users/macuser/desktop/hh-macosx-universal" -jar haven.jar sh.seatribe.se


I still get the same error.

So I tried copying and pasting the command line from the bat file directly into terminal and it opens up a java window calling it haven.MainFrame, with the title bar saying Heaven and Hearth (modified by Gilbertus) but it stays gray and nothing happens. So I checked terminal and there's a huge list of info.
Code: Select all
2010-09-18 17:14:26.415 java[1741:1707] *** Assertion failure in -[CocoaAppWindow _changeJustMain], /SourceCache/AppKit/AppKit-1038.32/AppKit.subproj/NSWindow.m:9470
2010-09-18 17:14:26.417 java[1741:1707] *** CPerformer: ignoring exception 'Invalid parameter not satisfying: [self canBecomeMainWindow]' raised during perform of selector 'requestFocus:' on target 'FocusManager' with args '<AWTComponentSetFocusData: 0x143661b10>'
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
   at com.sun.opengl.impl.JAWT.size(JAWT.java:17)
   at com.sun.opengl.impl.JAWT.create(JAWT.java:25)
   at com.sun.opengl.impl.JAWT$1.run(JAWT.java:97)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.sun.opengl.impl.JAWT.getJAWT(JAWT.java:95)
   at com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable.lockSurface(MacOSXOnscreenGLDrawable.java:144)
   at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.java:57)
   at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
   at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
   at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
   at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
   at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
   at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
   at sun.awt.RepaintArea.paint(RepaintArea.java:241)
   at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
   at java.awt.Component.dispatchEventImpl(Component.java:4790)
   at java.awt.Component.dispatchEvent(Component.java:4544)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: Please port CPU detection (32/64 bit) to your platform (mac os x/x86_64)
   at com.sun.gluegen.runtime.CPU.<clinit>(CPU.java:72)
   ... 24 more
Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
   at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
   at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
   at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
   at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
   at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
   at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
   at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
   at sun.awt.RepaintArea.paint(RepaintArea.java:241)
   at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
   at java.awt.Component.dispatchEventImpl(Component.java:4790)
   at java.awt.Component.dispatchEvent(Component.java:4544)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
javax.media.opengl.GLException: javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
   at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
   at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
   at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
   at haven.HavenPanel.uglyjoglhack(HavenPanel.java:349)
   at haven.HavenPanel.run(HavenPanel.java:378)
   at java.lang.Thread.run(Thread.java:637)
Caused by: javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
   at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
   at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
   at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
   at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "Haven UI thread" javax.media.opengl.GLException: javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
   at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
   at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
   at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
   at haven.HavenPanel.uglyjoglhack(HavenPanel.java:349)
   at haven.HavenPanel.run(HavenPanel.java:378)
   at java.lang.Thread.run(Thread.java:637)
Caused by: javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
   at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
   at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
   at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
   at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
G


I've tried several variations of the command line at my boyfriend's suggestions.
Code: Select all
java -Xms256m -Xmx512m -classpath "/Users/macuser/desktop/hh-macosx-universal" -jar haven.jar sh.seatribe.se

Code: Select all
java -Xms256m -Xmx512m -cp "/Users/macuser/desktop/hh-macosx-universal" -jar haven.jar sh.seatribe.se


and they didn't work. I even tried the same things with the hh-macosx-ppc version just in case. Same result.

Info about my MacBook in case this makes ANY difference.
I'm running SnowLeopard, ie OS X 10.6.4
It's a 2.33 GHz Intel Core 2 Duo, 2 GB 667 MHz DDR2 SDRAM
ATI Radeon X1600 256 MB VRAM

It looks like Java 13.2.0 is on the machine. Is there something in Java preferences that needs to be changed?

Any other suggestions? Something I'm missing?

Has anyone been able to get this working on Mac?
Image
User avatar
Ginpu
 
Posts: 3
Joined: Sat Sep 18, 2010 10:17 pm
Location: Florida, USA

Re: Game client modified by Gilbertus

Postby Xombie » Sun Sep 19, 2010 3:45 am

First time it worked, but then it started to crash every time i log in.
It shows my char but when i press "where you logged out" it crashes.(sometimes it dosen't work)
Then i erased the client and unpacked it again to new folder and it worked again for one time.

Also zoom doesn't work on maps page.

If you fix the issues it's going to be great client.
The server appears to have crashed :(
Xombie
 
Posts: 22
Joined: Sun Mar 21, 2010 4:09 am

Re: Game client modified by Gilbertus

Postby czarpar » Sun Sep 19, 2010 10:41 am

First of all - good job with client!

I've read whole thread, so about maps:

From what I understand, every login creating new session and placing pointer on 0.0 coordinates. As long as char is online, maps will be created (if you will not teleport to place not mapped during present session). But it will be impossible to map larger area because you can not be online all the time, or server will be down etc.
Maybe starting pointer don't need to be always on 0,0 coordinates?

First way (manual):
We can check our last map position on minimaps saved in folder our last session, and in some special file (or some .ini) we can specify our coordinates and numer of session to use. No new session will be created, client will use that one which we have specified in file.

Second way (automatic):
Client will check date of all session, then will pick last one. From saved maps from folder that session will check date of last saved png map. Then from file name will set char started coordinates.
I dont know exactly when client save maps but in that way client need download maps all the time when char will change position from one minimaps to another - to have in folders saved last coordinates in minimaps ;)
czarpar
 
Posts: 1
Joined: Fri Sep 17, 2010 10:03 pm

Re: Game client modified by Gilbertus

Postby yozzik » Sun Sep 19, 2010 1:36 pm

Russian community and, i hope, all players are praying for ability to paste text from buffer into the chat field.
Severin, gurbibal master, drunken hunter, the thief of Constantinopol, he who never died of man`s hand, son of Yozz, grandson of Yozzik.

P.S. More nice hats please!
User avatar
yozzik
 
Posts: 120
Joined: Tue Sep 07, 2010 6:04 am

Re: Game client modified by Gilbertus

Postby OvShit » Sun Sep 19, 2010 1:39 pm

yozzik wrote:Russian community and, i hope, all players are praying for ability to paste text from buffer into the chat field.
э
And vice versa, of course.
OvShit
 
Posts: 390
Joined: Wed Feb 10, 2010 1:39 pm

Re: Game client modified by Gilbertus

Postby Granger » Mon Sep 20, 2010 2:49 pm

OvShit wrote:
yozzik wrote:Russian community and, i hope, all players are praying for ability to paste text from buffer into the chat field.
э
And vice versa, of course.

I pray for the ability to scroll the chat with the mouse.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Game client modified by Gilbertus

Postby gwen » Mon Sep 20, 2010 8:30 pm

Can someone help?

When i run this client i get to the loading screen and then it just crashes. Sometimes it will load the world but i wont be able to move or anything. I am using java 1.6 32 bit, and i have the 32 bit client. I tried editing the run.bat to include the direct paths but it still crashes. I am able to run pacho's client without any issues. Ive deleted the client and redownloaded it... ive tried the HH update.zip file. I think the client worked once but after that i havnt been able to use it.

Here is the output from the console window.

Code: Select all
C:\Documents and Settings\Administrator\Desktop\hh-windows-32bit>java -Xms256m -
Xmx512m -jar haven.jar sh.seatribe.se
javax.media.opengl.GLException: haven.GOut$GLException: GL Error: 1281 (invalid
value)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)

        at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.
java:410)
        at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
        at haven.HavenPanel.uglyjoglhack(HavenPanel.java:349)
        at haven.HavenPanel.run(HavenPanel.java:378)
        at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLException: GL Error: 1281 (invalid value)
        at haven.GOut.checkerr(GOut.java:78)
        at haven.TexRT.fill(TexRT.java:74)
        at haven.TexGL.create(TexGL.java:58)
        at haven.TexGL.render(TexGL.java:84)
        at haven.TexRT.render(TexRT.java:62)
        at haven.Tex.crender(Tex.java:85)
        at haven.Tex.crender(Tex.java:89)
        at haven.GOut.image(GOut.java:113)
        at haven.MapView.drawmap(MapView.java:918)
        at haven.MapView.draw(MapView.java:1052)
        at haven.Widget.draw(Widget.java:283)
        at haven.RootWidget.draw(RootWidget.java:61)
        at haven.UI.draw(UI.java:136)
        at haven.HavenPanel.redraw(HavenPanel.java:254)
        at haven.HavenPanel$1.display(HavenPanel.java:77)
        at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78
)
        at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
        at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1
94)
        at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GL
Canvas.java:452)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "Haven UI thread" javax.media.opengl.GLException: haven.GOut
$GLException: GL Error: 1281 (invalid value)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)

        at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.
java:410)
        at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
        at haven.HavenPanel.uglyjoglhack(HavenPanel.java:349)
        at haven.HavenPanel.run(HavenPanel.java:378)
        at java.lang.Thread.run(Unknown Source)
Caused by: haven.GOut$GLException: GL Error: 1281 (invalid value)
        at haven.GOut.checkerr(GOut.java:78)
        at haven.TexRT.fill(TexRT.java:74)
        at haven.TexGL.create(TexGL.java:58)
        at haven.TexGL.render(TexGL.java:84)
        at haven.TexRT.render(TexRT.java:62)
        at haven.Tex.crender(Tex.java:85)
        at haven.Tex.crender(Tex.java:89)
        at haven.GOut.image(GOut.java:113)
        at haven.MapView.drawmap(MapView.java:918)
        at haven.MapView.draw(MapView.java:1052)
        at haven.Widget.draw(Widget.java:283)
        at haven.RootWidget.draw(RootWidget.java:61)
        at haven.UI.draw(UI.java:136)
        at haven.HavenPanel.redraw(HavenPanel.java:254)
        at haven.HavenPanel$1.display(HavenPanel.java:77)
        at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78
)
        at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
        at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1
94)
        at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GL
Canvas.java:452)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


Thanks!
gwen
 
Posts: 4
Joined: Mon Sep 20, 2010 7:58 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Amazon [Bot], Claude [Bot] and 0 guests