Apoc Lite

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

Moderator: Phades

Re: Modding the Ender client

Postby Xcom » Wed Feb 12, 2014 8:28 am

@Emina that's the main issue I have as well. There seems a few files got edited in the most latest Ender files. I am a bit unsure why the client goes haywire on my end and I think its got something to do with new OpenGL files he added. What you did should work perfectly fine.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Modding the Ender client

Postby borka » Wed Feb 12, 2014 4:59 pm

In my opinion Ender does a good job in giving the updater.jar which downloads all needed files on each system (OS) !including the jogl and gluegen libaries! - it's not his fault when people wanting to use Ender aren't capable to work with their systems (basic stuff like batch files, sh or command files) or even worse don't read through the forums ...
i.e. viewtopic.php?f=27&t=35224

He also can't be blamed for using the default Seatribe haven-res.jar and resulting errors - - again it's been mentioned often enough: viewtopic.php?f=27&t=30126

further putting the res files needed for Ender client into a jar is well thought as it speeds up the download (besides being better to be maintained easy by him)

Also his complete source code is at github and that's what should be used by modders and forkers...(as it contains comments and dates on changes too)

Xcom wrote: I think its got something to do with new OpenGL files he added.
? Sorry i might look retarded but what new OpenGL files ?

btw.
build.xml -Line 79

Xcom source
Code: Select all
<attribute name="Class-Path" value="jogl.jar gluegen-rt.jar haven-res.jar" />


Ender source
Code: Select all
<attribute name="Class-Path" value="jogl.jar gluegen-rt.jar client-res.jar haven-res.jar" />


Next: comparing the haven.jars (latest Ender with Xcom 5.1 one)
:? byte comparsions of .class files in haven.jars gave me a huge braincrash ... :shock: telling me i know nothing and less :(
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Modding the Ender client

Postby borka » Wed Feb 12, 2014 8:12 pm

Update: Did certain experiments but only one solution worked for me:

What did i do to get Xcom mod running (Windows XP 32 Bit with Java 7 32 Bit):

1. made folder dropped Ender updater.jar ("minor fix" one -> https://github.com/EnderWiggin/haven-up ... pdater.jar ) into and ran it
2. grabbed mvgulik haven-res.jar (August 2013 -> viewtopic.php?f=27&t=30126 ) and dropped into above folder
3. grabbed Xcoms 5.1 Update: 2014 25jan ( -> http://www.sendspace.com/file/mzknoi ) and extracted haven.rar contents into above folder
4. extracted client-res.jar with 7zip to client-res folder and shoved contents into res folder (Xcom) - deleted client-res folder
5. used my normal run.bat from my Ender client:
Code: Select all
start javaw -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res

(you need to know i have set java.exe, javaw.exe in windows environment - those who haven't need to edit in the full path to java.exe or javaw.exe -> viewtopic.php?f=27&t=35224#p464287 )

Att: the other way to put Xcoms res files into client-res and ./client-res argument in run.bat didn't work ...
Last edited by borka on Thu Feb 13, 2014 1:19 am, edited 1 time in total.
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Modding the Ender client

Postby Emina » Wed Feb 12, 2014 10:54 pm

borka wrote:In my opinion Ender does a good job in giving the updater.jar which downloads all needed files on each system (OS) !including the jogl and gluegen libaries! - it's not his fault when people wanting to use Ender aren't capable to work with their systems (basic stuff like batch files, sh or command files) or even worse don't read through the forums ...
i.e. viewtopic.php?f=27&t=35224


i have never ever claimed to be good at computer stuff, rather the opposite. not everyone can be a computer shark like yourself.

im not saying the updater is bad per say, even though it looked like it was causing problems with x-coms files or the other way around wich kinda did my head in the other day, however(ohh well i do tend to like to know what im downloading though but i can live with that) im not sure if its really neccesary to check for downloads and updates every single time you wanna logg in, hence i do feel a run, MS-DOS batch file could be included in the download if its possible, then people can use that and only press the updater as soon as they notice there are news or updates to be downloaded. that way you can decide for yourself when you want the updates to be downloaded. but that part should probably be discussed in Enders thread and not here though.

i really have no clue what the real cause of the problems is or where its comming from i just know it didnt work the way x-com said by installing a fresh ender with the latest update and extracting x-coms rar files over it. its just not as simple as that as we have noticed.

from your link there, that is exactley what i tryed! i made a new MS-DOS batch File and edited exaktley that line with 32bit 32bit didnt work tryed with previous lines that i have used before didnt work, so i deleted that new MS-DOS, and made a copie of my old MS-DOS file and tryed it first without editing, it didnt work. tryed the same line from that link up here, didnt work, tryed all previous lines i have used in the past aswell, didnt work.

so i just gave up and as i said before used my old Ender download with x-coms and since it works for now im not gonna bother doing anything else for a bit until there is a little more user friendley sollution.
User avatar
Emina
 
Posts: 324
Joined: Sun Nov 15, 2009 9:44 pm
Location: Sweden

Re: Modding the Ender client

Postby borka » Wed Feb 12, 2014 11:24 pm

One reason why there is no run.bat with Ender updater.jar is that's it's much too complicated to include every possible users configuration in an automated batch creator (for example i have 5 Javas on this system ...)

and yes it's all very very very confusing -> "braincrash" ;)

Emina please tell what OS in what Bit version and what Java in what Bit version at what path - that way we can see what your run.bat has to look like (might help others too) - or just post the run.bat you're using in your working Ender/Xcom
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Modding the Ender client

Postby Emina » Thu Feb 13, 2014 1:09 am

ohh well

Java version: 7 uppdate 51
1.7.0_51-b13
search way on my java is C:\ProgramFiles\Java\jre7\bin\javaw.exe

OS: Windows XP 32 bit

so what works for me now is my old Ender download + x-com with this line in my run.bat

Code: Select all
start javaw -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res
Pause

but that line above does not work with the new updater ender version + x-coms

for 32 Bit Windows with 32 Bit Java
CODE: SELECT ALL
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r


this line above in your thread obviosly should work then on my OS and my java version. But it does not work with either my old Ender download nor the new updater ender version with or without x-coms.
User avatar
Emina
 
Posts: 324
Joined: Sun Nov 15, 2009 9:44 pm
Location: Sweden

Re: Modding the Ender client

Postby borka » Thu Feb 13, 2014 1:18 am

ty Emina

Code: Select all
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r ./res


as you can see the difference is ./res

for uploader.jar Ender there's no need for ./res as there is no res folder but it seems for Ender /Xcom combination it's needed
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Modding the Ender client

Postby Emina » Thu Feb 13, 2014 1:55 am

Interesting
yes that line works with my old Ender both with and without x-coms

it works with Enders new updater after i clicked the updater to download once again and copied the run.bat with this new line i could then start it thru the run.bat.

But in the map where i have the updater and x-com i tryed clicking the updater again to get all the updates and once again extracted x-coms files on top of it. i copied the run.bat and edited with the new line and tryed it. it does not work. The loggin window comes up in x-coms version but as soon as i click to logg in it all disapears even the cmd window even though i have paus in the line.
User avatar
Emina
 
Posts: 324
Joined: Sun Nov 15, 2009 9:44 pm
Location: Sweden

Re: Modding the Ender client

Postby borka » Thu Feb 13, 2014 6:37 pm

Emina try with these instructions
viewtopic.php?f=27&t=33805&start=110#p466322
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Modding the Ender client

Postby Xcom » Sat Feb 15, 2014 4:19 am

As many have issues with installment of the client I have started to make a few heavy edits. Going to upload a 32 bit and a 64 bit version of the client with the full content all ready to unpack and run. So far I have added these features:

- Added a feature to turn of Map saving.
- Server grids, toggle able with Shift G.
- Added Map grid lines on regular grids.
- Fixed minimap view box to show actual true view box based on the server grid mechanics.
- Added a feature to tag domesticated animals with Shift S and Alt S (turn on / off respectively with alt / shift) for easier animal domestication.
- Changed mining safety from Ctrl B to Ctrl S.
- Added mvguliks res collection with the hitbox corrected filter running through it. and added corresponding fixes in the haven code.

I'm going to add an additional feature where its possible to hide any object throughout the game with a hover and click, even add hitbox size without hiding objects. To make it work I need to make some edits that might take a bit of time. Also will add a sound feature to add alert sounds for multiple areas through the game.

Before uploading anything I want to wait a short bit while I work on these last edits to see if anyone needs anything else added. I don't think there is anything else that can ever get added after these last features. Please post in this thread with any ideas or suggestions so I can try add them before what can hopefully be the last feature addon.

For the sounds these options will be available and can be turned off. They will also exist in a folder as wav files so anyone can easily edit the sounds by finding new wav files and easily swap them out.

Sound list:
-White dot on map
-Red dot on map
-Troll
-Bluebell
-Floatsam
-Bears
-Pearls when crafting
-Aggro
-Death

Also was suggested to add hit boxes for boats and wagons without hiding them.

Edit: Git hub is acting up today. :/
Dono if I can work if its going to give me this much crap.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

PreviousNext

Return to The Wizards' Tower

Who is online

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