FAQ  •  Search  •  Profile  •  Log in to check your private messages  •  Log in
 Building kaid 7.0.0.7 in Ubuntu View next topic
View previous topic
Post new topicReply to topic
Author Message
TwoCents
Team XLink Administrator
Team XLink Administrator


Joined: 27 Aug 2004
Posts: 1826

PostPosted: Sun Mar 11, 2007 8:35 pm Reply with quoteBack to top

You can find the sourcecode here: http://www.teamxlink.co.uk/binary/kaid-7.0.0.7-src.tar.gz
(Thanks to MeanMF, retrieved from his post here)
And thanks [TU]JiffyWhip for pointing out the need for flex and bison (see post here). Those are indeed mentioned in the .configure of libpcap.

Now here's a *very* brief installation guide i just followed to build kaid in Ubuntu (also debian based):
1. Download and extract the tar.gz file mentioned above
2. Goto main extraction directory (/path/to/extracted/file/ends/with/kaid-7.0.0.7)
3. sudo apt-get install g++
4. cd pthreadcc
5. make
6. sudo make install
7. cd ../libpcap
8. Use Synaptic Package Manager to install the flex package
9. Use Synaptic Package Manager to install bison package
10. ./configure
11. make
12. sudo make install
13. cd ../socketcc
14. make
15. sudo make install
16. cd ..
17. make (kaid executable is now created)
18. sudo cp kaid.conf /etc/.
19. sudo ./kaid
20. http://jkaiui.sourceforge.net/downloads/
21. javaws http://jkaiui.sourceforge.net/downloads/jKaiUI.jnlp
22. (Always trust content from this publisher)
23. (Specify XTag and password)
24. Save
25. Connect to Engine (button)
26. Switch to Arena mode and back to see users in Messenger Mode

Please let me know if a forgot anything or made a mistake in one of the steps described.

_________________
Image
View user's profileSend private message
Iambad36
Kai Beginner
Kai Beginner


Joined: 16 Mar 2007
Posts: 14

PostPosted: Mon Mar 19, 2007 7:43 pm Reply with quoteBack to top

can we get a guide that isn't *very* brief by chance?
View user's profileSend private message
(DD)JiffyWhip
Kai Spammer
Kai Spammer


Joined: 01 Jul 2005
Posts: 1065

PostPosted: Tue Mar 27, 2007 3:18 pm Reply with quoteBack to top

I'll put a detailed, picturized, tutorial on my to do list. If you are going to play kai on Ubuntu, I recommend building it from source though. This seems to cure some of the constant crashing. Kudos to TwoCents for doing this up.

_________________
Image
View user's profileSend private message
Gandor
Kai Beginner
Kai Beginner


Joined: 23 Mar 2007
Posts: 3

PostPosted: Wed Mar 28, 2007 4:42 am Reply with quoteBack to top

Quote:
8. Use Synaptic Package Manager to install the flex package
9. Use Synaptic Package Manager to install bison package



Can't seem to find these in Synaptic~.. anywhere else I should look at? I'm just typing "flex" and "bison" in the search field.. maybe typing the wrong things?
View user's profileSend private message
(DD)JiffyWhip
Kai Spammer
Kai Spammer


Joined: 01 Jul 2005
Posts: 1065

PostPosted: Wed Mar 28, 2007 6:02 am Reply with quoteBack to top

You're missing repositories. Go to this thread, and follow the instructions.

http://www.ubuntuforums.org/showthread.php?t=185758

_________________
Image
View user's profileSend private message
Gandor
Kai Beginner
Kai Beginner


Joined: 23 Mar 2007
Posts: 3

PostPosted: Wed Mar 28, 2007 7:57 am Reply with quoteBack to top

Got them. Thanks
View user's profileSend private message
zMastaa
Kai Regular
Kai Regular


Joined: 11 Dec 2004
Posts: 159

PostPosted: Tue Jun 05, 2007 7:25 pm Reply with quoteBack to top

root@zmastaa-desktop:/home/zmastaa/kaid-7.0.0.7# sudo ./kaid
KAID: Kai Engine for Linux is initialising...
WARNING: Unable to open engine persist data file (/tmp/kaiEnginePersist.txt)
KAID: Kai Engine for Linux is starting...
THREAD: Engine thread started...
KAID: Failed to create UI socket...
root@zmastaa-desktop:/home/zmastaa/kaid-7.0.0.7#

_________________
Site Admin of
http://www.pspcrazy.com
http://www.x360crazy.com
View user's profileSend private messageSend e-mail
TwoCents
Team XLink Administrator
Team XLink Administrator


Joined: 27 Aug 2004
Posts: 1826

PostPosted: Tue Jun 05, 2007 8:40 pm Reply with quoteBack to top

I was able to get that same message as you just reported.
How? By starting kaid and then starting it in another window for a second time.

So this would mean you already had kaid running and you're trying to start kaid for a second time. kaid cannot open the mentioned file (kaiEnginePersist.txt) since it's already opened by the first instance of kaid.

Best to check if kaid is already running by entering the following command:
ps -ef | grep kaid

It should show 'grep kaid' itself and the actual program 'kaid' running. All you have to do is start the GUI as explained in the above guide starting at step 20.

_________________
Image
View user's profileSend private message
((Mr-Oam))
Kai Beginner
Kai Beginner


Joined: 05 Feb 2006
Posts: 6

PostPosted: Sun Jul 22, 2007 8:57 am Reply with quoteBack to top

i dont understand the ".." in step 7 10 and 13? what am i supposed to use in place of the decimals?

-EDIT-


nvm i think i got it
View user's profileSend private message
TwoCents
Team XLink Administrator
Team XLink Administrator


Joined: 27 Aug 2004
Posts: 1826

PostPosted: Sun Jul 22, 2007 1:09 pm Reply with quoteBack to top

Always best to share your solution by adding it to your forum-thead answer Wink

By the way, in step 10 it's one dot, not two as is the case in step 7 and 13.

_________________
Image
View user's profileSend private message
((Mr-Oam))
Kai Beginner
Kai Beginner


Joined: 05 Feb 2006
Posts: 6

PostPosted: Wed Jul 25, 2007 10:26 am Reply with quoteBack to top

yeah i figured out that ".." or "." is for moving thru directories.

Smile


im starting to get the hang of linux.
View user's profileSend private message
elegos
Kai Beginner
Kai Beginner


Joined: 28 May 2007
Posts: 27

PostPosted: Thu Aug 23, 2007 9:42 am Reply with quoteBack to top

I'm stucked with the jKaiUI... when I select 'yes' to the question if I want to enter user/pass there is only a blank screen... any idea?
View user's profileSend private message
-AGF4-hodkins-
Kai Lover
Kai Lover


Joined: 30 Mar 2007
Posts: 744

PostPosted: Thu Aug 23, 2007 11:18 am Reply with quoteBack to top

are you using jKaiUI RC7?
View user's profileSend private message
elegos
Kai Beginner
Kai Beginner


Joined: 28 May 2007
Posts: 27

PostPosted: Thu Aug 23, 2007 2:36 pm Reply with quoteBack to top

yes I am using the RC7 one... just used the jawaw -internet.file-... tried also downloading a copy in my HD... allways a blank screen (also when I select 'No')
View user's profileSend private message
-AGF4-hodkins-
Kai Lover
Kai Lover


Joined: 30 Mar 2007
Posts: 744

PostPosted: Thu Aug 23, 2007 6:25 pm Reply with quoteBack to top

try downloading the file its self from soureforge and save it where you please
then try in the terminal

java -jar /path/to/jKaiUI.jar

you probably already know closing the terminal window will close the ui
View user's profileSend private message
elegos
Kai Beginner
Kai Beginner


Joined: 28 May 2007
Posts: 27

PostPosted: Wed Sep 05, 2007 5:09 pm Reply with quoteBack to top

here I am!

The only thing I could download was 'jKaiUI.jnlp'... java jKaiUI.jnlp or java -jar ... don't work...

elegos@dragon:~/Desktop$ java jKaiUI.jnlp
Exception in thread "main" java.lang.NoClassDefFoundError: jKaiUI.jnlp
at gnu.java.lang.MainThread.run(libgcj.so.70)
Caused by: java.lang.ClassNotFoundException: jKaiUI.jnlp not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at gnu.java.lang.MainThread.run(libgcj.so.70)
elegos@dragon:~/Desktop$ java -jar jKaiUI.jnlp
Failed to load Main-Class manifest attribute from jKaiUI.jnlp

and javaws returns me the same problem of the 'online' one
View user's profileSend private message
-AGF4-hodkins-
Kai Lover
Kai Lover


Joined: 30 Mar 2007
Posts: 744

PostPosted: Wed Sep 05, 2007 6:17 pm Reply with quoteBack to top

download the jKaiUI.jar file not the jnlp one and launch it how i said befor using java -jar /path/to/jKaiUI.jar
http://superb-west.dl.sourceforge.net/sourceforge/jkaiui/jKaiUI.jar

if your still getting thrown exceptions try updating your javeRE

https://sdlc6a.sun.com/ECom/EComActionServlet;jsessionid=E1D69420D9969B8A863539B5017FC714
Download the one you need for linux.

if you cant run the .bin and your getting permission denied then just do
chmod 777 thefileyoudownloaded.bin
View user's profileSend private message
elegos
Kai Beginner
Kai Beginner


Joined: 28 May 2007
Posts: 27

PostPosted: Thu Sep 06, 2007 7:50 am Reply with quoteBack to top

ok I've upgraded to java 6 update2...

Now the program normally appears, BUT it doesen't catch any keyboard signal... :S

any suggestion? (I can't insert xtag/pass, for example)
View user's profileSend private message
-AGF4-hodkins-
Kai Lover
Kai Lover


Joined: 30 Mar 2007
Posts: 744

PostPosted: Thu Sep 06, 2007 2:22 pm Reply with quoteBack to top

try RC6
View user's profileSend private message
treadstone007
Kai Beginner
Kai Beginner


Joined: 13 Sep 2007
Posts: 4

PostPosted: Thu Sep 13, 2007 5:30 am Reply with quoteBack to top

soory i am kinda new at this. Just a question , how do we start the kai each time we play online ? do we click on the jkai link to run it everytime ??
View user's profileSend private message
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: Theme by Daz :: All times are GMT