Game Client modified by Ender

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

Moderator: Phades

User avatar
Metruption
Posts: 358
Joined: Tue Jun 10, 2014 12:26 am

Re: Game Client modified by Ender

Post by Metruption »

renatorussano wrote:Hello, good evening.

First sorry for bad English. I played HH about 4 years ago and decided to return to play yesterday, however, I found the link to download the client, just lying on an old and lost HD.
The problem is that when I try to get, it does not load. I've changed the path of Java and has modified the input values, but still can not play. Can anyone tell me where can this same current customer?

Thank you so much.

:cry: :cry: :cry: :cry: :cry:

--------------------------------------

I got it.I edited the post to not create a new one.
I was using the path of java (x86) however, my computer is 64Bit and it worked alternating the way.

Vlw folks, I'm back !!!!

welcome back =]
good luck
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Game Client modified by Ender

Post by borka »

renatorussano wrote:I got it.I edited the post to not create a new one.
I was using the path of java (x86) however, my computer is 64Bit and it worked alternating the way.

Vlw folks, I'm back !!!!


WB - to update your old client to latest version (20. Jan. 2014) just download https://github.com/EnderWiggin/haven-up ... pdater.jar drop it in your Ender folder and run it by doubleclicking
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
homedecor
Posts: 10
Joined: Thu Jun 11, 2015 5:37 pm
Location: Low Orbit

Re: Game Client modified by Ender

Post by homedecor »

Is there a way to look at your saved map with all the pictures put together into one map? Havent played for a while so i've forgotten if there is a way!
Image
mvgulik
Posts: 4088
Joined: Fri May 21, 2010 2:29 am

Re: Game Client modified by Ender

Post by mvgulik »

homedecor wrote:Is there a way to look at your saved map with all the pictures put together into one map? Havent played for a while so i've forgotten if there is a way!
For ... I use:

- Merging tile-maps. Those sub folders in the client "map" folders.
salem_forum: "MapMerger. Maps optimizer."
-- Drop exe in your main map folder. (So the parent folder of your saved tile-map folders.)
-- Saves merged maps to a new "merged" folder.
-- Note: Any still lingering "merged" maps are cleared.
-- No changes are made to the source maps.
-- Works ok for all map types. (normal, cave & simple)
... Don't enter the HnH map-world without it ...


- Viewing a particular saved tile-map: (Save as html file, lets call it Map2 for the moment.)
-- Drop Map2.html inside the folder containing the tile-map you like to view, and run it. That's it.

Code: Select all

<!DOCTYPE html>
<html>
<head>
<title>H&amp;H session map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
   html { height: 100% }
   body { height: 100%; margin: 0px; padding: 0px }
   #map_canvas { height: 100% }
</style>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">

var currentSession = '.';

function myProjection() {
   var MAP_RANGE = 51200;
   this.worldOrigin_ = new google.maps.Point(0, 0);
   this.pixelsPerLonDegree_ = MAP_RANGE / 360;
   this.pixelsPerLatDegree_ = MAP_RANGE / 180;
};
 
myProjection.prototype.fromLatLngToPoint = function(latLng) {
   var origin = this.worldOrigin_;
   var x = origin.x + latLng.lng() * this.pixelsPerLonDegree_;
   var y = origin.y + latLng.lat() * this.pixelsPerLatDegree_;
   return new google.maps.Point(x, y);
};
 
myProjection.prototype.fromPointToLatLng = function(point) {
   var origin = this.worldOrigin_;
   var lng = (point.x - origin.x) / this.pixelsPerLonDegree_;
   var lat = (point.y - origin.y) / this.pixelsPerLatDegree_;
   return new google.maps.LatLng(lat, lng);
};

function CoordMapType(tileSize) {
   this.tileSize = tileSize;
}

CoordMapType.prototype.getTile = function(coord, zoom, ownerDocument) {
   var div = ownerDocument.createElement('DIV');
   div.innerHTML = coord;
   div.style.width = this.tileSize.width + 'px';
   div.style.height = this.tileSize.height + 'px';
   div.style.fontSize = '16px';
   div.style.borderStyle = 'solid';
   div.style.borderWidth = '1px';
   div.style.borderColor = 'yellow';
   div.style.color = 'yellow';
   return div;
};

function HomeControl(controlDiv, map) {
   controlDiv.style.padding = '5px';
   var controlUI = document.createElement('DIV');
   controlUI.style.backgroundColor = 'white';
   controlUI.style.borderStyle = 'solid';
   controlUI.style.borderWidth = '2px';
   controlUI.style.cursor = 'pointer';
   controlUI.style.textAlign = 'center';
   controlUI.title = 'Click to go to start point';
   controlDiv.appendChild(controlUI);
   var controlText = document.createElement('DIV');
   controlText.style.fontFamily = 'Arial,sans-serif';
   controlText.style.fontSize = '12px';
   controlText.style.paddingLeft = '4px';
   controlText.style.paddingRight = '4px';
   controlText.innerHTML = 'Go to start point';
   controlUI.appendChild(controlText);
   google.maps.event.addDomListener(controlUI, 'click', function() {
      map.setCenter(new google.maps.LatLng(0, 0))
   });
}

function GridControl(controlDiv, map) {
   controlDiv.style.padding = '5px';
   var controlUI = document.createElement('DIV');
   controlUI.style.backgroundColor = 'white';
   controlUI.style.borderStyle = 'solid';
   controlUI.style.borderWidth = '2px';
   controlUI.style.cursor = 'pointer';
   controlUI.style.textAlign = 'center';
   controlUI.title = 'Click to show or hide grid';
   controlDiv.appendChild(controlUI);
   var controlText = document.createElement('DIV');
   controlText.style.fontFamily = 'Arial,sans-serif';
   controlText.style.fontSize = '12px';
   controlText.style.paddingLeft = '4px';
   controlText.style.paddingRight = '4px';
   controlText.innerHTML = 'Show/Hide grid';
   controlUI.appendChild(controlText);
   google.maps.event.addDomListener(controlUI, 'click', function() {
      if (map.overlayMapTypes.getLength()) {
         map.overlayMapTypes.pop();
      }
      else {
         map.overlayMapTypes.push(new CoordMapType(new google.maps.Size(100, 100)))
      }
   });
}


function initialize() {

   var map;

   var myMapType = new google.maps.ImageMapType({
      tileSize: new google.maps.Size(100, 100),
      minZoom: 9,
      maxZoom: 9,
      getTileUrl: function(coord, zoom) {
         return currentSession + '/tile_' + coord.x + '_' + coord.y + '.png';
      },
      isPng: true
   });

   myMapType.projection = new myProjection();

   var mapOptions = {
      center: new google.maps.LatLng(0, 0),
      mapTypeControl: false,
      backgroundColor: '#E0C191',
      zoom: 9
   }

   map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
   map.mapTypes.set('myMapType', myMapType);
   map.setMapTypeId('myMapType');

   var homeControlDiv = document.createElement('DIV');
   var homeControl = new HomeControl(homeControlDiv, map);
   homeControlDiv.index = 1;
   map.controls[google.maps.ControlPosition.TOP_RIGHT].push(homeControlDiv);
   var gridControlDiv = document.createElement('DIV');
   var gridControl = new GridControl(gridControlDiv, map);
   gridControlDiv.index = 2;
   map.controls[google.maps.ControlPosition.TOP_RIGHT].push(gridControlDiv);
}

</script>
<script type="text/javascript" src="currentsession.js"></script>
</head>
<body onload="initialize()">
   <div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>



That should get you started.
For more links, see/search forum.
... or wait for a replay from Borka. :)
Last edited by mvgulik on Mon Jun 22, 2015 6:12 pm, edited 1 time in total.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Game Client modified by Ender

Post by borka »

RESET-Hunter
Posts: 3
Joined: Sun Jun 28, 2015 6:52 pm

Connection refused:connect (enders client)

Post by RESET-Hunter »

I haven't played this game but i really want to.
But everytime i start enders client i tells me the error connection refused:connect
it doesn't do this when i use the normal client, but since everyone says it is better with enders id really like to use it.

I also downloaded the client that you where supposed to use when the aut. servers are down but it doesnt start...

any help?
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Connection refused:connect (enders client)

Post by borka »

Did you download a fresh Ender with updater.jat into an own folder and created a run.bat to start it?
RESET-Hunter
Posts: 3
Joined: Sun Jun 28, 2015 6:52 pm

Re: Connection refused:connect (enders client)

Post by RESET-Hunter »

borka wrote:Did you download a fresh Ender with updater.jat into an own folder and created a run.bat to start it?


i dont know. is there a tutorial on how to do it (i have been wondering where the run.bat that everyone was talking about is :lol: )
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Connection refused:connect (enders client)

Post by borka »

RESET-Hunter
Posts: 3
Joined: Sun Jun 28, 2015 6:52 pm

Re: Connection refused:connect (enders client)

Post by RESET-Hunter »

borka wrote:http://www.havenandhearth.com/forum/viewtopic.php?f=27&t=14575


thx now i can start enjoying the game

Return to “The Wizards' Tower”