What do you mean it won't run? Does it give an error? Does it give a screen that pops up and immediately disappears? If so, add a line that says "pause" to the bottom of run.bat (just use notepad), and run again. Now it should give you an error you can read. Post here what the error says, and what is in your run.bat file.Anaklumos wrote:Ok, I just downloaded the Gilbertus' Client and it won't run the way I know the normal client and Pacho's client do, suggestions?
Game client modified by Gilbertus
Moderator: Phades
-
Mqrius
- Posts: 367
- Joined: Sun Aug 29, 2010 8:58 pm
Re: Gilbertus' Client
Mqrius' Mega Map Marline, new uploading tool!
Zoomable world map, now with ruler!
"Gilbertus isn't working!" Troubleshooting flowchart, now with extra flow!
Zoomable world map, now with ruler!
"Gilbertus isn't working!" Troubleshooting flowchart, now with extra flow!
-
Anaklumos
- Posts: 229
- Joined: Tue Sep 14, 2010 2:28 am
Re: Gilbertus' Client
Mqrius wrote:What do you mean it won't run? Does it give an error? Does it give a screen that pops up and immediately disappears? If so, add a line that says "pause" to the bottom of run.bat (just use notepad), and run again. Now it should give you an error you can read. Post here what the error says, and what is in your run.bat file.Anaklumos wrote:Ok, I just downloaded the Gilbertus' Client and it won't run the way I know the normal client and Pacho's client do, suggestions?
I get "Connection refused: connect"
The run.bat file says:
java -Xms256m -Xmx512m -jar haven.jar sh.seatribe.se
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: Game client modified by Gilbertus
I was lazy to edit the session.js every time i wanted to look at a map,
and since i didn't find anything to stitch the tiles together i wrote a little script to stitch it together.
Requirements: Install Python and PIL, put the code into a <something>.py in the map folder, double-click it (on windows) or start it by whatever means you see fit for your OS.
Have fun with it,
Granger
and since i didn't find anything to stitch the tiles together i wrote a little script to stitch it together.
Requirements: Install Python and PIL, put the code into a <something>.py in the map folder, double-click it (on windows) or start it by whatever means you see fit for your OS.
Code: Select all
#!/usr/bin/python
"""
stitch_gilbertus.py
put this in the map folder and start it to get all subfolders containing tiles as stitched .png files
one .png per input folder, name and creation time same as foldername, will be put into 'stitched' subfolder (which is created if it dosn't exist)
(c) 2010 Granger
"""
import os
from glob import glob
from PIL import Image
def stitch_gilbertus (folder):
print "Stitching ", folder
tiles = []
minx, miny, maxx, maxy = (0,0,0,0)
time = int(os.path.split(folder)[1])/1000
for png in glob(os.path.join(folder,"tile_*_*.png")):
fn = os.path.splitext(os.path.split(png)[1])[0]
void, x,y = fn.split("_")
x = int(x)
y = int(y)
minx = x if x < minx else minx
miny = y if y < miny else miny
maxx = x if x > maxx else maxx
maxy = y if y > maxy else maxy
tiles.append((x,y,png))
ox = 0-minx
oy = 0-miny
sx = 1-minx+maxx
sy = 1-miny+maxy
if len(tiles):
out=Image.new('RGBA',(sx*100,sy*100),(0,0,0,0))
for x,y,png in tiles:
print " <-- ", png
try:
p=Image.open(png)
out.paste(p,((ox+x)*100,(oy+y)*100))
except Exception,e:
print 'Error in %s: %s' % (png,e)
path, file = os.path.split(folder)
p = os.path.join(path, "stitched", "%s.png" % file)
print " ==> ",p
out.save(p)
os.utime(p,(time,time))
else:
print " === no files ==="
if __name__ == "__main__":
# create folder
try:
os.mkdir(os.path.join(".", "stitched"))
except:
pass
# scan through all subfolders in the map folder and make .png out of the tiles_x_y.png in them
for path in glob(os.path.join(os.path.abspath("."),"*")):
if os.path.isdir(path) and os.path.split(path)[1] != "stitched":
stitch_gilbertus(path)
Have fun with it,
Granger
Last edited by Granger on Thu Sep 30, 2010 10:51 am, edited 1 time in total.
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
Mqrius
- Posts: 367
- Joined: Sun Aug 29, 2010 8:58 pm
Re: Game client modified by Gilbertus
That's actually been on my server for a while now, although perhaps not really advertised much. Mine is in python as well, does roughly the same as yours. I compiled it to an exe as well for convenience.
http://havenmap.student.utwente.nl/mkmapMqrius.exe
http://havenmap.student.utwente.nl/mkmapMqrius.py
Or a version that colors empty tiles pink, which makes further processing by hand easier:
http://havenmap.student.utwente.nl/pinkStitch.exe
I am still working on an actual stitcher, which attempts to combine the sessions into 1 big map. It looks hopeful, and I'm using an alpha version to power my beta zoomable minimap:
http://havenmap.student.utwente.nl/Preview
This minimap is a work in progress, so no guarantees on it being up, or correct, or whatever. Also it needs gridlines and city names. But for now it works fine most of the time.
Edit: Also, I'm also working on a version that can stitch huge sessions without going out of memory. So yeah.
http://havenmap.student.utwente.nl/mkmapMqrius.exe
http://havenmap.student.utwente.nl/mkmapMqrius.py
Or a version that colors empty tiles pink, which makes further processing by hand easier:
http://havenmap.student.utwente.nl/pinkStitch.exe
I am still working on an actual stitcher, which attempts to combine the sessions into 1 big map. It looks hopeful, and I'm using an alpha version to power my beta zoomable minimap:
http://havenmap.student.utwente.nl/Preview
This minimap is a work in progress, so no guarantees on it being up, or correct, or whatever. Also it needs gridlines and city names. But for now it works fine most of the time.
Edit: Also, I'm also working on a version that can stitch huge sessions without going out of memory. So yeah.
Mqrius' Mega Map Marline, new uploading tool!
Zoomable world map, now with ruler!
"Gilbertus isn't working!" Troubleshooting flowchart, now with extra flow!
Zoomable world map, now with ruler!
"Gilbertus isn't working!" Troubleshooting flowchart, now with extra flow!
-
rye130
- Posts: 2557
- Joined: Mon Feb 01, 2010 9:41 pm
Re: Game client modified by Gilbertus
Another quick change, make it so you can hide timber houses and log cabins too, not just stone mansions
-
notalbanian
- Posts: 95
- Joined: Wed Aug 18, 2010 3:25 pm
Re: Game client modified by Gilbertus
I'm getting a crash to desktop and this error when I select my hearth fire in the character selection dialog (where you logged out does nothing):
Code: Select all
Exception in thread "Haven main thread" java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at haven.SlenHud.loadBelts(SlenHud.java:241)
at haven.SlenHud.<init>(SlenHud.java:226)
at haven.SlenHud$1.create(SlenHud.java:73)
at haven.UI.newwidget(UI.java:163)
at haven.RemoteUI.run(RemoteUI.java:74)
at haven.MainFrame.run(MainFrame.java:178)
at haven.MainFrame.main2(MainFrame.java:250)
at haven.MainFrame.access$100(MainFrame.java:34)
at haven.MainFrame$6.run(MainFrame.java:291)
at java.lang.Thread.run(Thread.java:613)
aso11 wrote:Wait... grassland doesn't fly. Dude, you've been playing too much Minecraft.NaoWhut wrote:Our grasslands will block out the sun.
-
Mqrius
- Posts: 367
- Joined: Sun Aug 29, 2010 8:58 pm
Re: Game client modified by Gilbertus
Seems to have something to do with your belts? Try renaming/deleting your belt configuration file...
Mqrius' Mega Map Marline, new uploading tool!
Zoomable world map, now with ruler!
"Gilbertus isn't working!" Troubleshooting flowchart, now with extra flow!
Zoomable world map, now with ruler!
"Gilbertus isn't working!" Troubleshooting flowchart, now with extra flow!
-
Skorm
- Posts: 925
- Joined: Wed Mar 03, 2010 6:01 am
- Location: on a house, with a computer
Re: Game client modified by Gilbertus
yet another request, THE WoW style!!!! equipment manager, change all your eq and sort it in a determined inv slot whit just one click!!! or something like 
~art By SacreDoomd_datica wrote:Get the damn server back up before I go back to having a life
USER WAS PUT ON PROBATION FOR THIS POST
-
luhsehr
- Posts: 3
- Joined: Mon Sep 13, 2010 7:48 am
Re: Game client modified by Gilbertus
Skorm wrote:yet another request, THE WoW style!!!! equipment manager, change all your eq and sort it in a determined inv slot whit just one click!!! or something like
Isn't that what wardrobes are for?
-
Skorm
- Posts: 925
- Joined: Wed Mar 03, 2010 6:01 am
- Location: on a house, with a computer
Re: Game client modified by Gilbertus
luhsehr wrote:Skorm wrote:yet another request, THE WoW style!!!! equipment manager, change all your eq and sort it in a determined inv slot whit just one click!!! or something like
Isn't that what wardrobes are for?
they are more like a storage, and i mean something INSIDE your inv, you have a quiver a set of occult rings and bow in your inv, you have shield sword, thanes and backpack equiped , you click your "range" set up in the equipment manager, TADA, now you have your quiver,occults and bow equiped.
~art By SacreDoomd_datica wrote:Get the damn server back up before I go back to having a life
USER WAS PUT ON PROBATION FOR THIS POST
