Callin all dev's and 1/2 dev's, this is toqer

Announce and share your kaillera mods here.

Moderators: gothic_hobbit, civilian, okaygo, toqer

Callin all dev's and 1/2 dev's, this is toqer

Postby toqer » Fri Dec 19, 2003 6:37 am

Hi guys whats up.

I had an idea that occured to me. People keep having problems with games being shut down, ect ect... How can you moderate chat ect... I know how we can work around the current kaillera implementation to get what we want.

Kaillera consists of 3 parts..

<pre>
Master Server
/\
/ \
/ \
Servers Clients

</pre>
Somewhat mangled ascii.. Anyways...
The first step to getting those annoying tards out of the picture is to get rid of the radar. Set the server to private. Now copy this configuration 10 times into 10 seperate directories. Make each server small, like a maximum of 6 people each.

Now here is where the fun begins. I'm recomending IRC bots and scripts for this, but if you want to do some perl or php knock yourself out.

Voice whoever you want to have access to your server in IRC, and set up a trigger. The trigger launches a kaillera srv and watches the output to see when the first person that joined leaves, and then kills that kaillerasrv process.

You could even take it a bit further, and have people trigger their own kaillerasrv for a "peer to peer" mode. I think kaillera doesn't use random ports either, it's a pattern, just havn't looked close lately or thought about it. (If I remember though, it starts out at like port 1024 for the first port, forward that one for client peer play and 27888)

We can fix it, I can fix it. I don't think we're totally powerless. I think -C would say "Holy mojob poop" which is french for "Good job guys" if we pull it off.

Anyways, merry christmas. IRC scripts people, we can do it.

--toq
User avatar
toqer
Die-Hard Member
 
Posts: 226
Joined: Thu May 03, 2001 12:00 am
Location: SJ CA USA

Postby toqer » Fri Dec 19, 2003 8:48 am

I wanted to do a part II to this, something I forgot to put down.

A kaillera compatible command line version of mame would also have to be compiled for this to work. It would act as a glue between the kaillera dll and whatever chat frontend you want to put on it.

This special version of mame would accept command line options for connecting to servers. It would work by finding the kaillera window and simulating keypresses (ya it's clunky)

So when it was launched it would hit the "enter ip" button, and put in the appropriate server IP and port.

I see a few guys that could help on this. Mystiq is handy with the getparentwindow function. There's quite a few people here that know how to compile mame32k. There's no reason with the talent we have here we couldn't hack this together.
User avatar
toqer
Die-Hard Member
 
Posts: 226
Joined: Thu May 03, 2001 12:00 am
Location: SJ CA USA

iM GAME

Postby GizMack The Gusher » Sat Dec 20, 2003 9:01 pm

IM GAME DO HAVE SORT OF PLAN STARTED ALREADY....A BETTER TREE VIEW OR SOMETHING........I AM PRETTY GOOD AT MANIPULATING MAME CODE. HAVE BEEN BUILDING INSANE poop FOR A WHILE NOW. SO JUST LET ME KNOW WHAT KIND OF poop HAS TO BE DONE IN A LITTLE MORE DETAIL.....LIKE I SAID BEFORE NOT AN ACTUAL PROGRAMMER (YET), I AM WORKING ON THAT NOW IN ROLLED IN SCHOOL AND STILL BUILDING MAME VERSIONS DAILY....ADDING GAMES IE BANNED, LAZER DISK..WORKING ON GETTING CONSOLE,...ALSO TURNING THE SNAPSHOT OF THE GAMES IN TO LOOP GIF'S OF SECTION OF THE ACTULAL GAMES........I KNOW SOME NETWORKING INFO....AND HAVE FREINDS IN THE BUSINESS..... SO GETTIN HELP WITH THAT CAN BE DONE........JUST NEED SOME DIRECTION ON WHAT SHOULD BE DONE FIRST ECT ECT.......SO I AM GAME FOR WHAT EVER!....JUST LET ME KNOW OR LEAD ME IN THE RIGHT DIRECTION AND WE CAN BUILD A NEW dEVELOPMENT TEAM STARTED..........AND THEN WE ALL CAN BE HAPPY................ :evil:
GizMack The Gusher
Senior Member
 
Posts: 74
Joined: Sat Sep 27, 2003 8:25 pm

Postby toqer » Sat Dec 20, 2003 10:12 pm

Well the first thing that has to be done is a kaillera compatible command line version of mame. So basically mame32k without a gui.

2nd step would be to find the kaillera window.

HWND hwndWinamp = FindWindow("Winamp v1.x",NULL);

So I guess it would look something like
HWND hwndkaillera = FindWindow("kaillera v 0.9",NULL);

3rd step would be to simulate user input to the kaillera window. Have it press the "enter IP" button, enter the servers IP, then join the first availiable game.

The other poop, like autolaunching servers, well i've gone through the mIRC scripting site and didn't find anything for launching external applications based on triggers. I'm probably not thinking about it right, or havn't found the right info yet, but so far I haven't found a way to do this yet.
User avatar
toqer
Die-Hard Member
 
Posts: 226
Joined: Thu May 03, 2001 12:00 am
Location: SJ CA USA

Postby Tseng » Sat Jul 31, 2004 5:48 am

Tseng
 

Re: Callin all dev's and 1/2 dev's, this is toqer

Postby MnonoaN » Thu Aug 11, 2016 3:58 am

ALSO TURNING THE SNAPSHOT OF THE GAMES IN TO LOOP GIF'S OF SECTION OF THE ACTULAL GAMES.

royal gclub
MnonoaN
Junior Member
 
Posts: 9
Joined: Thu Sep 17, 2015 10:55 am


Return to Kaillera Modifications

Who is online

Users browsing this forum: No registered users and 3 guests