HnH + Skype

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

Moderator: Phades

User avatar
ramones
Posts: 3077
Joined: Fri Jul 09, 2010 10:03 pm
Location: I am a man who walks alone'

HnH + Skype

Post by ramones »

Not sure if anyone will be able to assist, but I'll try my luck.

So random applications and stuff can be merged with Skype to forward the desired messages there if needed and so can Haven. Application works through API, where info is sent to Skype, where in first time you should get a pop-up, asking you to allow or not allow the application to use the Skype. When you allow it, application will then use Skype and be able to forward messages through it.

I managed to get one working on a laptop with XP 32 bit system, newest Skype version, but am unable to get it working on current laptop with 64bit Win7 system (not that I know if OS plays any role here). Problem I have is, that I don't even receive the pop-up in Skype asking me to allow application to run. I can however go manually to options - advanced settings - manage applications and I can see the application there, can set it on "allow", tho this does not change anything except that visually its now set to allow. It still does not work and I'm getting same error as before: Skype message failed, com.skype.NotAttachedException.

Anyone knows what the problem might be? I've tried 5.0, 6.1, 6.5, 6.18, 6.20, 3.8 and even Skype portable version of Skype and they all have same problem.

Image
W16.1 - Pet Sematary (hermit)
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: HnH + Skype

Post by borka »

just guessing but it might give you hints:

Skype got installed as admin and now you're running it as normal user (?)

problems with 32 Bit skype4java code on 64 Bit Windows (?)

put Skype pathes in Windows Environment
Check the directory namely release under skype directory and append the absolute path of the release directory to PATH environmental variable.
skype.jar and swt.jar of release directory should be placed under CLASSPATH environment variable.

aus dem skype4java sourcecode:
NotAttachedException.java

Code: Select all

package com.skype;
/**
* Exception which is thrown when the connection the SKYPE Client isn't in place.
* @author Koji Hisano
*/
public class NotAttachedException extends SkypeException {
/**
* Serial UID needed for all serialisation objects.
*/
private static final long serialVersionUID = -4191519326969230719L;
/**
* Constructor.
*
*/
NotAttachedException() {
}
}
good way to look into source code here: https://github.com/deathmarine/BukkitSkype
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
ramones
Posts: 3077
Joined: Fri Jul 09, 2010 10:03 pm
Location: I am a man who walks alone'

Re: HnH + Skype

Post by ramones »

Thanks for all possible solutions :)

The one that worked was to replace "java" with full path "C:\Program Files\Java\jre8\bin\java.exe" in run.bat and it found java and it works now!
W16.1 - Pet Sematary (hermit)
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
User avatar
Xcom
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: HnH + Skype

Post by Xcom »

After helping out trying to fix the issue it happened to be as simple as adding the full JRE path to the run.bat. Very odd how the game could find the java path and run the game but the skype API couldn't. The Environment Variables didn't have the java path either so I'm totally confused to how the client could run at all if skype had issues finding the java.exe.


The fix was as simple as changing the following in the run.bat.

From:
java -Xms512m -Xmx1024m -jar haven.jar moltke.seatribe.se
To:
"C:\Program Files\Java\jre8\bin\java.exe" -Xms512m -Xmx1024m -jar haven.jar moltke.seatribe.se
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: HnH + Skype

Post by borka »

Is only jre8 installed ?
User avatar
ramones
Posts: 3077
Joined: Fri Jul 09, 2010 10:03 pm
Location: I am a man who walks alone'

Re: HnH + Skype

Post by ramones »

No, I have jre7 folder too, which probably ended up confusing it :)
W16.1 - Pet Sematary (hermit)
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
User avatar
jordancoles
Posts: 14168
Joined: Sun May 29, 2011 6:50 pm
Location: British Columbia, Canada

Re: HnH + Skype

Post by jordancoles »

Pras! Now Ramones's ramchecking bot will work again!

Good work team lol
Duhhrail wrote:No matter how fast you think you can beat your meat, Jordancoles lies in the shadows and waits to attack his defenseless prey. (tl;dr) Don't afk and jack off. :lol:
Check out my pro-tips thread
Image Image Image
Magisticus
Posts: 117
Joined: Fri May 20, 2011 2:25 pm
Location: Tavistock, Devon, UK

Re: HnH + Skype

Post by Magisticus »

How on earth could the client run without the java path??? would like to know, very bizarre
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: HnH + Skype

Post by borka »

Being set active in Java Control Panel i.e. viewtopic.php?f=4&t=37235&p=491840#p491840
(in windows environment you'll find an entry for Path like C:\Program Files\Java,Javapath then)

and you can set path + variables yourself in Windows environment i.e.
Image
Last edited by borka on Fri Sep 12, 2014 5:37 pm, 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
Magisticus
Posts: 117
Joined: Fri May 20, 2011 2:25 pm
Location: Tavistock, Devon, UK

Re: HnH + Skype

Post by Magisticus »

ok nvm i have diff version of java control panel then, ty anyway answers my q

Return to “The Wizards' Tower”