DeadEd.com
IRC Bots, Java Game Query and Control Libraries, and More ...
Sign Up!
Login
Welcome to DeadEd.com
Monday, September 25 2017 @ 01:08 AM CDT

 Forum Index > DeadEd.com > IRC Bots
 Help with running AnnounceCaster 1.3 from a Shell Account
 |  Printable Version
By: MADcHATTER1 (offline) on Thursday, March 25 2010 @ 07:25 PM CDT (Read 41776 times)  
MADcHATTER1

Hello

 

I am loading AnnounceCaster1.3 up on a Shell Account I have. I have set the Java_Home to the /usr/bin/java directory in the run.sh file. My problem is I still cannot  get AnnounceCaster to run. I've tried the #! /usr/bin/bash >run.sh but nothing happens! 

 

Can anyone help me get this working?

 

MAD


Forum Newbie
Newbie

Status: offline

Registered: 03/25/10
Posts: 9

Profile Email    
   
By: DeadEd (offline) on Friday, March 26 2010 @ 01:36 AM CDT  
DeadEd

Hi

 

Hmmm, well not much info to go on there, so some things for you to check ..

 

1) Are you sure that you can (are allowed to) run java on that shell account

2) What version of java do you have avaialble there? Command to find this is: java -version

3) Is there _any_ sort of output when trying to run the script?  Can you run each line by hand if not.

 

Let us know what you get.

 


Forum Moderator
Moderator

Status: offline

Registered: 06/01/04
Posts: 602

Profile Email Website  
   
By: MADcHATTER1 (offline) on Friday, March 26 2010 @ 06:58 AM CDT  
MADcHATTER1

I think we got it figured out. Apparently one of the .jar files uploaded empty. Its working now. The AnnounceCaster1.3 is working pefectly.

Thank

 


Forum Newbie
Newbie

Status: offline

Registered: 03/25/10
Posts: 9

Profile Email    
   
By: MADcHATTER1 (offline) on Saturday, March 27 2010 @ 12:47 PM CDT  
MADcHATTER1

The next issue is the AnnounceCaster 2.1. I did everything the same as 1.3. Both bots require Java 1.5 or higher (the Shell runs jre1.5.0_06) so that should be compatible. But I get the following in my nohup.out file

 

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(Unknown Source)
 at java.security.SecureClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.defineClass(Unknown Source)
 at java.net.URLClassLoader.access$100(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 

Its almost like the 2.1 was done in a higher version. But the 2.1 requirement states Java JRE 1.5 or higher the same as 1.3

 

Any ideas?


Forum Newbie
Newbie

Status: offline

Registered: 03/25/10
Posts: 9

Profile Email    
   
By: DeadEd (offline) on Monday, March 29 2010 @ 07:39 AM CDT  
DeadEd

There is a chance that I have compiled that latest one with Java 1.6.  I'll check this later and see if there is any reason why it can't be run on Java 1.5, if so then I'll recompile it for you.

 


Forum Moderator
Moderator

Status: offline

Registered: 06/01/04
Posts: 602

Profile Email Website  
   
By: MADcHATTER1 (offline) on Monday, March 29 2010 @ 11:41 AM CDT  
MADcHATTER1

That would be great! Thank you!

 

I think that is exactly what happened, the bot runs under mine with 1.6. But not under the Unix Shells 1.5. And they wont update it for just me!

 

Thank you again!

 

MADcHATTER


Forum Newbie
Newbie

Status: offline

Registered: 03/25/10
Posts: 9

Profile Email    
   
By: DeadEd (offline) on Monday, March 29 2010 @ 03:11 PM CDT  
DeadEd

Ok, here is a newer version that I have been working on.  I am in the middle of adding IceCast support - that is not complete yet so just use it as you have been for SHOUTCast. http://deaded.com/betas/AnnounceCaster-3.0-b1/  This has been compiled with Java 1.5.  The readme.txt should highlight the changes to look out for between the versions.

 

Let me know how it goes


Forum Moderator
Moderator

Status: offline

Registered: 06/01/04
Posts: 602

Profile Email Website  
   
By: MADcHATTER1 (offline) on Tuesday, March 30 2010 @ 01:07 AM CDT  
MADcHATTER1

HI

 

I installed the beta and its working great in my chan! The only issues I can find is that none of the commands work in other channels. Our bot also sits in another room and none of the !type commands work for anyone there. I went through the Config and cant see anthing I may have missed. And if I do a !type command in my chan, it shows in the other...

 

For example: If I do !dj in my room it posts in both rooms...if i do the same command in the other room...nothing happens at all!

 

any ideas on this one?

 

MADcHATTER


Forum Newbie
Newbie

Status: offline

Registered: 03/25/10
Posts: 9

Profile Email    
   
By: DeadEd (offline) on Tuesday, March 30 2010 @ 01:17 PM CDT  
DeadEd

Yes, the relay bots only accept play requests.

I think the original idea was to get people into the hub channel if they wanted to do more.


Forum Moderator
Moderator

Status: offline

Registered: 06/01/04
Posts: 602

Profile Email Website  
   
By: MADcHATTER1 (offline) on Tuesday, March 30 2010 @ 02:39 PM CDT  
MADcHATTER1

Hi deded

 

Yes, but that is not working either. Anyone trying to request a song it doesnt show up in whisper or pm. Is there a way to just have the output of the other custom commands to show only in the Main Chan?

 

MADcHATTER


Forum Newbie
Newbie

Status: offline

Registered: 03/25/10
Posts: 9

Profile Email    
   



 All times are CDT. The time is now 01:08 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

My Account





Sign up as a New User
Lost your password?

What's New

Stories

No new stories

Comments last 2 days

No new comments

Files last 14 days

No new files
No new comments

Links last 2 weeks

No new links