Sep 30, 2005, 12:58 PM | |
JJ2 Console Commands
Heya. I will need your opinion on this one.
Over some time ago, I had an idea of an experimental jj2 server-side program that would not only take direct commands by the host, but also by clients, allowing them to partially control the game flow. Such utilities could be specially useful to form an idle server. These programs would run server-side to help control the gameplay while allowing players to communicate with them by issuing simple commands over jj2 chat. This would partially turn jj2 into a console-like application. The big question, however, is how to initialize a console command. How to make a program recognise it as a command and differ it from normal chat? Let me give you some examples. Suppose a player enters the following text into jj2 chat and presses enter. Code:
vote kick 3 vote to kick now so that the cheater gets kicked Now consider the following example. I have seen some people use this as a joke and so I will be using it here as an example. Code:
!vote kick 3 vote to kick now so that the cheater gets kicked The reason for this conversation is the fact that I would like to hear some of your opinions on this topic (big finger pointed at you, who play jj2), specially if you have other ideas on how to differ commands from text eg. what character would be most suitable to stand in front of a console command (for the above example) or perhaps even another way of differing commands from normal text. Least confusing/most easy way to send a console command? Anything. If you have any other ideas such as features such programs could offer, new console commands, functionality, etc, post them and we'll discuss it. ~Over
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a> |
Sep 30, 2005, 01:17 PM | |
Perhaps you could make the text coloured and have the word CONSOLE come before it.
For example, I type in a command and the other players see this: CONSOLE : blahblah blah Well... Not blah blah blah. but you get the point. It also doesn't have to come up near where all the chat text goes. Maybe it can go somewhere else where it doesn't block up everything? |
Sep 30, 2005, 02:15 PM | |
I think a good character to be put in the beginning is ">". Like this:
>vote kick3 I don't see this one used too often in JJ2.
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM Two Games Joined releases: Control / Splinter (twin singles) || Ballistic Bunny (EP) || Beyond (maxi-single) || Beyond: Remixed (remix EP) || Inner Monsters OST (mini-album) || Shadows (album) |
Sep 30, 2005, 02:45 PM | |
Maybe change it to ";kick vote 3". That way you don't have to hold Shift and press the key. It would be more convenient. Also, swapping the "kick" and "vote" words so that "kick" is first would have more consistancy. Unless the way JJ2 reads the "kick" text blocks it. Just a thought.
|
Sep 30, 2005, 02:48 PM | |
Yeah, but ; is used in smileys.
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM Two Games Joined releases: Control / Splinter (twin singles) || Ballistic Bunny (EP) || Beyond (maxi-single) || Beyond: Remixed (remix EP) || Inner Monsters OST (mini-album) || Shadows (album) |
Sep 30, 2005, 03:28 PM | |
If that works I take would depend on how the console language would handle non-existing commands. There's more smileys than just the ;) smiley starting with ;. I take it wouldn't be a problem if someone posted a smiley and it'd just recognise it wasn't a comment. It would be more troublesome if the console utility would send out an "Invalid command" error anytime anyone used an (unfiltered-out) smiley starting with ; (you can't filter out all possible smiley variations I take)
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Sep 30, 2005, 04:20 PM | |
Preceeding it with an exclimation point would work best because that character is almost never used to start lines (unless the line is something like "!!!!!!!!!!!") and is commonly found in similar uses, such as in mIRC scripts. "!vote kick #" seems to be the best, and most simple possible format for such a feature.
I would also assume the !vote command would have other applications, such as "!vote map x". Because of this, AkuKitsune's suggestion of having the command be "kick vote #" isn't really consistant at all. If you wanted to try something different, you could have the | character (or multiple | characters) be used in place of the !. That would make "commands" be shown in colour. Have commands delivered through normal chat though. If for some reason a player tries to give a nonexistant command or makes a typo, don't make the program say "Invalid command" or something; the lack of a result would tell the player the command didn't work just as well as any error message could. I assume that this feature would be integrated into that program of yours nimrod was showing off last AB. If this is the case, perhaps add an "!info" command or something which returns the server settings, such as time limit, cheat protection, idle kicking, the next map (or whether map voting is enabled), server admins (if that feature is in) and whatever else can be set with that program. Since that would probably take multiple lines, limiting !info to being used every 30 seconds or so would be a good idea to prevent spam. If this program supports server admins, obviously have commands for kicking and banning, as well as commands to restart the level, go to the next level, set the next level, and a few other basic things. |
Sep 30, 2005, 08:40 PM | |
I think the exclamation mark (!) would work best as the trigger as that's a commonly known and used trigger.
As for other commands, maybe voting on the next level, to change number of roasts/flags/gems, or to skip to the next level.
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div> |
Sep 30, 2005, 09:01 PM | ||
Quote:
|
Oct 1, 2005, 12:02 AM | |||||
Quote:
Code:
(spaces/colors are ignored)!vote (parameters [optional parameters]) Quote:
But that is only the !vote command. There are other commands as well. Quote:
Quote:
![]()
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a> |
Oct 1, 2005, 01:33 AM | |
Jazz2 bots already exist. But they're buggy.
__________________
"So unless I overwrote my heart with yours, I think not. But I might have." - Violet CLM Two Games Joined releases: Control / Splinter (twin singles) || Ballistic Bunny (EP) || Beyond (maxi-single) || Beyond: Remixed (remix EP) || Inner Monsters OST (mini-album) || Shadows (album) |
Oct 1, 2005, 02:01 AM | |
t |kick 5 enter
For JDC officials who are not hosting. ![]() But... Non-officials are technically not supposed to use any sort of colours, except they do it anyway, which is a problem. |
Oct 1, 2005, 04:22 AM | |
I vote for !.
Useful commands would be: !vote kick # !vote ban # !vote level [filename] !spec (Makes you a spectator) And the server and/or moderators can use other commands, such as: !mod # (Make a player moderator) !level [filename] (Change level) |
Oct 1, 2005, 10:39 AM | |
*sees no point in kick/ban votes*
If the server wants someone to be kicked/banned he can just do it by plain doing so without going through voting crap.
__________________
Mystic Legends http://www.mysticlegends.org/ The Price of Admission - Hoarfrost Hollow - Sacrosanct - other - stuff |
Oct 1, 2005, 10:54 AM | |
Idle servers? ;P It also gives 'server status' to people (if the program only accepts commands from one IP), which is really useful for JDC events.
|
Oct 1, 2005, 06:04 PM | |
Ae's Ideas
Turn on and off triggers at will, for the host:
"!trig 4 0" to turn trigger ID 4 off, "!trig 4 1" to turn trigger ID 4 on. Not that I think nobody has thought of it already ;O ROCK FUN: "!trigrock 1" You could set starting weapons for whenever somebody joins/dies "!startgun2 50" "!startgun2 50 PU" For 50 powered or nonpowered bouncers, if codeable. You could make it ammo, but that is longer. "!startgun5 red 50" "!startgun7 blue 25 PU" Each team gets different starting guns, you could even make levels with no weapons in them be GOOD. Saying it without a "red" or "blue" would mean for everybody. Last edited by Ae; Oct 1, 2005 at 06:16 PM. Reason: More Ideas |
Oct 1, 2005, 07:43 PM | ||
Quote:
__________________
I'm sick and tired of this community. So goodbye. PS: Unreal > JJ2. |
Oct 1, 2005, 10:14 PM | |
++Democracy.
|
Oct 2, 2005, 12:12 PM | |
I'm not exactly sure if this suggestion is feasable, but I think it can be done.
As far as I know, chat in jj2 is always sent to the server and then to clients. Because all chat goes through the server, would it be possible to regulate or selectively filter chat? I'm thinking of an !ignore [player number] command here. If player 5 was bugging me, I could type !ignore 5 and not have to put up with their chat. The server would recieve my ignore command and stop sending me the packets for player 5's messages. Again, I'm not entirely sure this can be done but it would be cool if it was possible. There's already a way to ignore players in jj2, but it's completely client side and is more of a bug. Not to mention the fact that you can't unignore them, and it messes up their sprite. |
Oct 2, 2005, 01:02 PM | ||
Quote:
![]() EDIT: Hmm... There doesn't seem to be much interest for such programs as this thread isn't getting much attention/replies. EDIT2: Ah! I knew adding the upper line would bring some more attention to this thread ![]()
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a> Last edited by Cpp; Oct 8, 2005 at 01:54 AM. |
Oct 7, 2005, 07:12 AM | |
'Is not getting much attention'? 28 replies is a lot nowadays.
__________________
Mystic Legends http://www.mysticlegends.org/ The Price of Admission - Hoarfrost Hollow - Sacrosanct - other - stuff |
Oct 7, 2005, 03:55 PM | ||
Quote:
I bet people would be more interested in this project if they could actually see more of it. |
Oct 7, 2005, 04:00 PM | |
I would love there to be a open beta release of console.. so what if it doesn't contain all the features possible yet.
If it's the same program as this.. otherwise nevermind, but do release console sometime, since it'd be so terribly useful for people.
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Oct 8, 2005, 06:56 AM | |
I primarily made this thread to clear up some things and get a list of useful commands that a console program for jj2 could use. Nothing has yet been done on this jj2 console application which is why I'd like to get my hands on a few more ideas, before I start throwing things into it. If the current amount of commands is sufficient, it's fine with me. Hence I can always upgrade it at a later date.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a> |
Oct 9, 2005, 12:28 AM | |
8 Ball in JJ2 plz.
![]() !8ball {question} The program sees the !8ball and comes up with a random Delphian answer. ;p |
Oct 9, 2005, 12:27 PM | |
Just incorporate a scripting engine, and it'll be all good. ;P
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div> |
Oct 13, 2005, 04:08 AM | |
Game Initing? Could be quite useful for tourneys and such, where people aren't supposed to kill themselves before the game starts.
It would work like this: A coop server is set up. Players join in, prepare to fight, and a server admin logs in and inits the countdown - using !count## timelimit ## command, where the #'s in count are seconds to go, and minutes in timelimit (0 for no timelimit). After the countdown finishes, the timelimit would start and the gamemode would change to CTF (or Battle). If it's CTF, players would get their fur and name color changed respectively to the players' team ashipment.
__________________
Mystic Legends http://www.mysticlegends.org/ The Price of Admission - Hoarfrost Hollow - Sacrosanct - other - stuff |
Oct 13, 2005, 04:48 AM | ||||
I like your countdown idea, but I think changing the gametype would just complicate things. Usually when such a change occurs, players would have to rejoin the server or use PC4 so that there aren't problems. However, if there is a better solution to this that works automatically and doesn't require clients each running a seperate program, then I'm all for it. I personally think having infinite hearts at the start is enough.
__________________
|
Oct 13, 2005, 04:55 AM | ||
Quote:
__________________
Mystic Legends http://www.mysticlegends.org/ The Price of Admission - Hoarfrost Hollow - Sacrosanct - other - stuff |
Oct 13, 2005, 05:59 AM | |
I think I know how to allow admins to handle multiple commands at the same time making their job a little easier. Suppose an admin has to enter a bunch of commands to initialize the game play. To do so he would need to lower the protection so that players can roast each other, set the time limit, set the max score limit and make an announcement that a mach has begun. He'd have to issue the following commands over jj2 chat:
!admin set healthcontrol 3 !admin set timelimit 20 !admin set maxscore 10 !admin announce ||Match has begun! Fight now! Now suppose these lines were located in a txt file named startmatch.txt on the server and all the admin has to do now is type in: !admin exec startmatch.txt Pertty useful, huh? EDIT (to Cooba's post below): Mostly everything that PC4 can do plus more. I still do not have a full feature list.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a> Last edited by Cpp; Oct 13, 2005 at 06:14 AM. |
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 09:29 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.