PDA

View Full Version : Uh...who keeps Battle Server up?


Cheeze
Jan 6, 2002, 03:36 PM
Well, ya'see, i was playing around with some stuff in order to make a fun little script that would (and will, too, it's looking like this'll be really easy to do) connect to a server and retrieve the list of names from that server. But, somehow in the process i got a user permanently "stuck" there. "His" username is Link because i was usuing the files that he sent me in order to play around with the jj2 packets and junk (i changed my name to "Test" whenever i'm testing this, which is a little more appropriate).

Now, i'd just like whoever has this server up (i forgot) to nicely kick this imaginary guy off so that it he won't be sitting there and also, so people can't get free kills.

Oh, and i used Battle Server so that i wouldn't have to change the ip string because i know Battle Server is always up. ;)

-cheeze

Link
Jan 6, 2002, 03:52 PM
LOL!

That is really funny. I KNEW it wasn't from me, because my name has either NO * after it or a PINK * after it, as of recently (a few days ago).

http://monolith.idlegames.com/battleserver

Monolith posted a screenshot of it there, and we are going to try to get the longest lag clone in the history of JJ2.

Cheeze
Jan 6, 2002, 04:01 PM
That's hilarious! How long has it been there? I've been playing with this prolly for a day or two so far, but i never noticed that "you" were permanently stuck there until my script worked enough for me to retieve the list of online ppl.

~cheeze

Krezack
Jan 6, 2002, 07:34 PM
Interesting..so your script will retrieve the names of the people playing in a server? Yea i had that idea but it requires you to connect the game...youd have to have have something like uh ill let you do it :p

Violet CLM
Jan 6, 2002, 10:39 PM
Aaah, the explanation! At last!

Cpp
Jan 7, 2002, 08:24 AM
Yea. I've seen this too. He was at pos 0, 0 :p

Cpp
Jan 7, 2002, 08:30 AM
O and BTW earlier I joined I saw only me and the server in the player list. Even if Xjj2 was showing that there are 5 players in it.

Cheeze
Jan 7, 2002, 11:04 AM
Really? Well, i hope i didn't mess the listservers up....anyway, it shouldn't anymore. My script goes all the way to retrieving the list of users, so it's basically the equivilant of connecting and immediately disconnecting. A little side effect of that will be that it'll always have a "joined the game" and then a "left the game" whenever somebody runs my script.

-cheeze

Electric Ir
Jan 7, 2002, 11:54 AM
Heh heh heh heh heh heh. This is so funny. Unknown network address, weird ghosts. LOL. Did you know there are people that are actually trying to talk to those ghosts? (ahem, me. ;))

JZBlue
Jan 7, 2002, 12:24 PM
lol! That could be used for evil purpouses.. like filling up a server with ghosts. better be carefull dun want hackers (bad ones anyway) ¬_¬ using it for destructive purpouses

Derby: Shorthand edit. Keep all posted content appropriate.

...What?!

Cheeze
Jan 7, 2002, 02:34 PM
That's not the idea of the code...plus, it's not like it's punching you in the face or anything, you'd have to figure out how to make the script not work in order to make those ghosts. Heck, i don't even remeber exactly how i did it. ;)

And i doubt anyone would do that...but i will keeping the source open for anyone who wants to look at it or use it (although i'm leaning towards GPL, i still have to read completely through that to make sure i want that). However, it's coded in <a href="http://www.ruby-lang.org">Ruby</a>, an interpreted high-level OO language, which means that although it is extremely portable, it's a little slow, and people will have to download an interpreter to run it (or i can play around with the developmental ruby2c program that converts ruby code to c so that it can be compiled, but it'll still be a little slow). That may discourage normal users, but it'll also discourage scriptie-kiddies. As for real hackers, this is a fun thing to play around with...if you fire up jj2 and tell the script to connect to localhost (so that you won't screw up other people's servers, like i just found out ;)), you can do lots of really weird stuff.

-cheeze

Monolith
Jan 7, 2002, 06:25 PM
Ah, so it was YOU who made the ghost! It was fun having it around, but unfortunatly the Battle Server recently got un-listed, and I'm running dangerously low on system resources, so I had to restart the server and loose the ghost. The thing I particularly liked was the "Unknown Network Address". I never saw that before :)

I'm interested in seeing the code you're working on. Maybe I'll be able to re-create the "ghost" bug.

Krezack
Jan 7, 2002, 07:06 PM
hmmmm cheese could you tell use exactly what your idea is? Because i planned an making a proggie that quickly joins and leaves a game and in the mean while sends you the packets it recieved and in those packets would be which lvl is currently playing and who is in the game only trouble is i dont know how to go about this lol.

Cheeze
Jan 8, 2002, 12:37 PM
Really? You liked having the ghost around? Well, i'll be sure to play around and see how i got it. ;)

But as for my script...i'll be doing almost exact that, Krezack. It connects to the server, and retrieves the list of users in the server. But having it retrieve the level is also a good idea...i hope you don't mind me using it ;p. Also, i plan to *try* to extend that idea and maybe make it into a script that'll be a full-blown server, but that might take a little while.

As for how to do it, don't worry about it. Once i get far enough to release it, i'll get an account of sourceforge and release the program, as well as the source (prolly under GPL).

-cheeze

Krezack
Jan 8, 2002, 10:00 PM
Sure cheeze go ahead, i don't mind lol after all your the one with the ability to do this...i know nothing about logging packets or cannecting to another computer and retrieving stuff : /
Oh and i have another idea for ya...over icq :P

Cpp
Jan 9, 2002, 07:41 AM
How do you receive the player list? I attempted sometimes but I received a list with a lot of junk in it. How do I remove that? O btw I'm using (you don't want to know).