Log in

View Full Version : Ideas for bored developers


Falcury
Aug 3, 2009, 02:19 AM
"Chat realms"

Imagine two JJ2 servers. A program joins both servers and captures the chat feed. The chat from server A is sent to server B and the other way around. Now the people in server A can chat with the people in server B.

Extrapolate this: the chat from an indefinite number of servers can be linked together.

It gets interesting when an "exit" links the levels of two servers together. That is, a place in the level of server A where the player will automatically leave the server and join server B (at the other end of the same exit).

Combine these two systems, and you get an interconnected realm where multiple levels/servers make up one world.

Cpp
Aug 3, 2009, 08:55 AM
The idea is nice, but I'm seeing a major implementation problem here. First of all it should probably be bettter to write a server-side plugin rather than have a zombie player join a server to log and relay the chat. Since the jj2 chat is designed to reflect the usernames of people in the current server, we'd have to "hack" the chatline to incorporate 3rd party usernames. I'm guessing this can be done by simply appending the nickname at the beginning of the text and then send the whole line as a normal console chat, but this would break some stuff. Also, what happens when there are two players with the same nickname in two different servers? Another important matter is how the chat propagates through your servers i.e. whether to use a centralized or decentralized approach.
About the exit parts... that can be done with greatest ease by using some way of scripting... that's if I ever finish the scripting thing I've been working on.
Gry, don't slap me ;)

ThunderPX
Aug 3, 2009, 04:42 PM
Technically, if you're going to use the "add the nickname" approach, you could just have it do something like:
<ServA> Player1: Hi, I'm talking!
<ServB> Player1: ZOMGWTF YOU STOLE MY NICKNAME

That said, the chat idea is probably only useful in combination with the "server exits" idea; it seems a bit pointless on its own.

DarkB
Aug 3, 2009, 10:52 PM
Or make separate chat's systems like: 1.Global Chat(players from server1 will chat with players from server2.)
2.Normal chat(only players from server1 chat)

Grytolle
Aug 4, 2009, 12:54 AM
*has no idea why he'd want to slap cpp*

LittleFreak
Aug 4, 2009, 04:06 AM
*At the same time, LF wonders why Gry even needs a reason for wanting to slap someone*

Cpp
Aug 4, 2009, 12:36 PM
Uhm, for slacking maybe :P

Grytolle
Aug 5, 2009, 03:06 AM
okay then *slaps his ccp up*