-=-
Menu
Tournaments
Profile
Poll
Latest videos
Latest comments
Latest matches
flag -t3> [10:07] CCflag
flag -t3> [06:05] [CDF]flag
flag -t3> [11:09] [CDF]flag
flag [CDF] [04:03] -t3>flag
flag -t3> [09:08] [CDF]flag
flag -t3> [08:01] [CDF]flag
flag [CDF] [06:05] -t3>flag
flag [CDF] [08:06] -t3>flag
flag [CDF] [08:06] -t3>flag
flag [CDF] [04:04] -t3>flag
Latest forum posts
By: Vivando, in: Funniest moments! » Forum games 2021-05-15 22:22
Nice one!
By: MasterSven, in: Funniest moments! » Forum games 2021-05-15 22:03
[21:46:23] [CDF]Mango: who is the leader of t3 [2...
By: Splat, in: VPN should be required in CW's » Site suggestions 2021-05-12 17:00
VPN should be required in CW's For those who do...
By: Splat, in: New players wanted » JJ2 related 2021-04-24 10:37
-Sorry for spam. (Posted too much on forums.) ....
By: Splat, in: cheating and admins » Site suggestions 2021-04-05 15:42
It's not always plausible to open JJ2, especially ...
By: MaximuS , in: cheating and admins » Site suggestions 2021-03-25 01:15
I’m so happy that a lot of people feel connected...
By: Splat, in: Watching people drown » Ask Tira 2021-03-24 15:52
This question is about letting people drown in the...
By: Splat, in: cheating and admins » Site suggestions 2021-03-23 13:49
Radar is actually ez 2 maek, just click on the map...
By: Kev, in: cheating and admins » Site suggestions 2021-03-14 19:06
lmao k i hope this is my last comment in this issu...
By: Kev, in: cheating and admins » Site suggestions 2021-03-14 16:06
If gpw rejects the council then thats absolutely l...
By: MasterSven, in: cheating and admins » Site suggestions 2021-03-14 14:25
Basically we had a council like that before and we...
By: cooba, in: cheating and admins » Site suggestions 2021-03-14 01:18
This should have been done 10 years ago.
By: Vivando, in: cheating and admins » Site suggestions 2021-03-13 16:40
I am happy about this change. Mad props to Kev for...
By: Kev, in: cheating and admins » Site suggestions 2021-03-13 13:15
ok some time has passed since i sent the council i...
By: Splat, in: Primetime - Rag vs Splat » Off topic 2021-03-13 00:56
Thanks for making me win, m0ti, however I don't th...
By: Vivando, in: [MULTI] Domination map making contest! » JJ2 related 2021-03-11 23:31
Congratulations to Violet! i-) :goodgame:
By: MaximuS , in: [MULTI] Domination map making contest! » JJ2 related 2021-03-11 20:49
The DOM map making contest has ended with Violet C...
By: Pariah, in: cheating and admins » Site suggestions 2021-03-10 07:22
@cooba: yep.
By: Splat, in: ¿How to play CtF for rabbits? » JJ2 related 2021-03-07 22:58
Q: Jazz Jackrabbit 2's Capture the Flag gamemode i...
By: [GpW]Urbs, in: cheating and admins » Site suggestions 2021-03-07 21:39
I understand why some of our players are pissed, b...
By: cooba, in: cheating and admins » Site suggestions 2021-03-06 16:09
You're a psycho.
By: Pariah, in: cheating and admins » Site suggestions 2021-03-06 04:13
well thanks Kev, i never herd of any of this. i ne...
By: cooba, in: cheating and admins » Site suggestions 2021-03-06 02:14
CX was a mistake
By: MasterSven, in: cheating and admins » Site suggestions 2021-03-05 00:00
I don't think the rules changed that much over the...
By: Vivando, in: cheating and admins » Site suggestions 2021-03-04 22:16
Kev already replied quite thoroughly, but here are...
By: Kev, in: cheating and admins » Site suggestions 2021-03-04 11:58
Let me give you an update on where we are now, bas...
By: Pariah, in: cheating and admins » Site suggestions 2021-03-04 08:05
so where we are now is we have this open wound of ...
By: Lithium, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-03-01 13:28
[quote="DanZeal"]Bannerwatch Base: https://www.jaz...
By: Vivando, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-02-19 16:43
[quote="Kev"]and /c fioctfa by Vivando8D[/quote] ...
By: Kev, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-02-18 22:46
I think its called "an overnight skirmish", a map ...
By: DanZeal, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-02-18 13:55
Bannerwatch Base: https://www.jazz2online.com/down...
By: Splat, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-02-18 13:14
Hollow of the Haunted is a level that after playte...
By: Vivando, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-02-17 20:29
So far: https://www.jazz2online.com/downloads/8100...
By: Splat, in: What are some of the best maps that never were in mappool? » JJ2 related 2021-02-17 19:00
I think there are plenty of them, here are 3: -...
By: MaximuS , in: [MULTI] Domination map making contest! » JJ2 related 2021-01-21 20:36
Update 21.01.21 First, I have to admit that the o...
By: Loon, in: [MULTI] Domination map making contest! » JJ2 related 2021-01-21 08:54
creating a DOM map takes quite a lot of time, espe...
By: Splat, in: [MULTI] Domination map making contest! » JJ2 related 2021-01-18 23:34
Just 2 days until the deadline, any entries?
By: MaximuS , in: [MULTI] Domination map making contest! » JJ2 related 2020-12-13 04:50
Hello! Hi! It’s time for yet another JJnet map ...
By: removed, in: JJ2+ anti-radar discussion » JJ2 related 2020-11-29 20:56
Antiradar is disabled for PNA1 and PNA2 servers.
More...!

JJnet's forum

«Latest posts» «Latest threads» «Search» «User CP»

     [prog] A-STOP - countdown to /stop | [q] 2012-04-19 00:14
wKtKavatar
JJnet user

Posts: 707
121
A-STOP
1.23 Support added! Check the download link for the newest version.

Ohai everyone, wKtK here.

As suggested by Gry in this thread, I made a client-side program that provides you with a public, ingame countdown before a stop command.
This enables people to stop the game without annoying others who fall to their doom, plummel into a pit, or end up next to an opponent when the game stops.

Countdown periods are adjustable, and a seperate countdown for CTO-ers is included.

Because I should be sleeping now, I'll copypasta a long text from the programs help here after providing you with the download link.

DOWNLOAD LINK: Click me!
Youtube example, watch at 480p!

Detailed info:
Quote:
Using this program is really simple. First, let me list here what you need:

Requirements:
- Jazz2; (1.23 or 1.24, YOU NEED PLUS)
- This program (duh emo)
- Cake

Well, once you have this you're good to go!
[-] First you want to run your Jazz2.exe, or however it's called on your
system.
[-] Then, select your instance of Jazz2 from the drop-down box at the top of
the application. If you're in-game, the level-title will be displayed.
[-] If everything is alright, ASTOP will echo a test message in Jazz2. (this is
only visible for you)

Ok, once you got through there the program is ready for use. Everytime you
want to stop, you can start a countdown after which the program will chat
the jj2+ command '/stop'.

The countdown can be started by clicking the huge 'STOP!' button, or by
issueing an ingame command. more on those later.
If you accidently fire a countdown, click the huge 'Cancel' button to, well,
cancel it.

A different countdown with a message about someone cto-ing can be started
by clicking the 'CTO!' button. It's up to you wheter you use this, or use the
plain function.

Using the 2 input fields, you can adjust the amount of seconds for each
countdown. Keep these low to avoid spamming too much.

Ok, next up is the cool part. Ladies and Gentlerabbits, fasten your seatbelts
for INGAME COMMANDS *applause*
Ingame commands can be launched by typing the command in Jazz2,
>WITHOUT ACTUALLY CHATTING IT<. In other words, you DON'T press
enter after you type it. ASTOP autochanges your typed text to blank once it
picks up the command.

Commands:

/cstop : Starts an automated countdown to a '/stop' command.
/ccto : The same as /cstop, but with a different message stating that
someone CTO'd.
/astop : Excat copy of /cstop, for people who accidently use the programs
name as a command.
/ccan : Cancels the current cowntdown. (Only for the one who started it)
------------
Known Issues:
[-] No 1.20, Avalon, Battery Check, AGA, or Minecraft support.
[-] 1.23 support not tested, but should work. (Switch to 1.24. NOW.)



Nostalgia warning, well, at least if you're one of those ppl...
(This post has been helpful to 2 of the forumers.)
Replies
JJBynny
-t3>
avatar
JJnet user
Posts: 3
2
#1 | [q]2012-04-19 01:18
Good job wKtk. I tested it a bit and it seems to work very well. The options are nice and the design of the program looks also very good, well done. Only had some problems here and there when I set a new countdown for stopping (/cstop). Also 3 seconds for the countdown seems to fit best, however maybe 2 seconds is also worth trying out. Thanks wKtk!
Iustyn
RDS
avatar
JJnet user
Posts: 373
24
#2 | [q]2012-04-19 08:43
nice wktk,i just tested this and it rlly works
gj! emo emo emo emo emo emo
wKtK
avatar

JJnet user
Posts: 707
121
#3 | [q]2012-04-19 09:53
Thanks for your feedback, it is really appreciated.

Quote:
Also 3 seconds for the countdown seems to fit best, however maybe 2 seconds is also worth trying out.

I'm at school and on Linux atm, but when I get home I'll update the minimum countdown to 2 instead of 3.




Nostalgia warning, well, at least if you're one of those ppl...
Vegito
CC
avatar
JJnet user
Posts: 401
31
#4 | [q]2012-04-19 12:24
Quote:
Because I should be sleeping now, I'll copypasta a long text from the programs help here after providing you with the download link.


Copypasta, copyspaghetti?

I got the program working although my anti virus hates it, however the drop down menu to select the JJ2 window doesn't find anything. That said, it doesn't work for me. Tried with all kinds of JJ2s, administrator mode etc etc.

1.23 crashes immediately, AV
wKtK
avatar

JJnet user
Posts: 707
121
#5 | [q]2012-04-19 12:27
What antivirus and OS do you use? My avast thought it a bit suspicious, I guess it doesn't like progs that change things in other processes emo

Dumb question, but do you click the reload button to fill the drop down?

EDIT: It could also be your anti-virus blocking 'sandboxing' it, causing it unable to see Jazz2...


Nostalgia warning, well, at least if you're one of those ppl...
Vegito
CC
avatar
JJnet user
Posts: 401
31
#6 | [q]2012-04-19 12:31
Updated my post, 1.23 crashes immediately (access violation) while TSF works now. Windows 7 professional 64 bit.
The anti virus I use is (obviously) Norton cause that's the only shit anti virus that blocks literally every program they don't know.
wKtK
avatar

JJnet user
Posts: 707
121
#7 | [q]2012-04-19 12:35
Ah, well that means it works now. I haven't tested 1.23 myself yet, so if TSF works it's safe to assume the prog is working.

I'll test+update astop for 1.23 as soon as I get home.

EDIT: Just checked the source code on my Dropbox, and found the bug (i think). Will be easy to fix emo


UPDATE: The program now really works with 1.23. I just tested it emo


Nostalgia warning, well, at least if you're one of those ppl...
Vegito
CC
avatar
JJnet user
Posts: 401
31
#8 | [q]2012-04-19 15:34
Works emo
wKtK
avatar

JJnet user
Posts: 707
121
#9 | [q]2012-04-19 15:45
yay emo


Nostalgia warning, well, at least if you're one of those ppl...
GLaDOS
aEs
avatar
JJnet user
Posts: 123
28
#10 | [q]2012-04-19 18:26
This is looking very useful, great job wKtK!

There's just one problem that is trivially easy to fix (GMR used to have it too): the window has a small caption bar, which prevents it from showing up in the alt-tab list or the panel's window list when using Wine, so once it loses focus, you'll have to minimize other windows until you find it again. Switching the window type to a standard "non-toolbar" type window should fix the issue.

Also, this is something pretty minor, but I suggest resetting the chat cursor position (it's inside plus.dll's memory) to zero and closing the chatbox (no need for CRT, just set the variable whether it should display to 0) whenever a command is executed (in addition to clearing the chat string), so you don't have this empty chatbox and misplaced cursor floating around after entering a command.
wKtK
avatar

JJnet user
Posts: 707
121
#11 | [q]2012-04-19 22:56
Yeah, good idea.

Ill change the windowtype, and Gry asked me to see if i could check for an [enter] press after a command, so I'm trying that first.

Thanks for the feedback emo


Nostalgia warning, well, at least if you're one of those ppl...
GLaDOS
aEs
avatar
JJnet user
Posts: 123
28
#12 | [q]2012-04-19 23:15
Intercepting the enter press is not going to be easy, you might end up having to use a hook to prevent the "/cstop" text from actually being sent to the server.
wKtK
avatar

JJnet user
Posts: 707
121
#13 | [q]2012-04-20 11:44
Yes, so I might go with your method. However I'm traveling this weekend, and I haven't got my Windoze development box with me. So I can code it when I return next Monday.


Nostalgia warning, well, at least if you're one of those ppl...
TerraMan
[CDF]
avatar
JJnet user
Posts: 72
2
#14 | [q]2012-04-20 16:14
No .... ...A, or Minecraft support.
The Minecraft is not based on JJ2, so remove from the list


Fucked the signature.
Zoro
avatar

JJnet user
Posts: 875
44
#15 | [q]2012-04-20 16:25
We know. That was just a joke. emo


INACTIVE
Grytolle
avatar

JJnet admin
Posts: 848
87
#16 | [q]2012-04-20 16:41
Quote:
Intercepting the enter press is not going to be easy, you might end up having to use a hook to prevent the "/cstop" text from actually being sent to the server.
Thats not really important... after all, in the long run this should be a server side command
GLaDOS
aEs
avatar
JJnet user
Posts: 123
28
#17 | [q]2012-04-20 17:29
It will indeed be a lot easier if it is going to be a serverside command, but I didn't know it was going to be remade into a serverside program.
Iustyn
RDS
avatar
JJnet user
Posts: 373
24
#18 | [q]2012-04-20 18:01
wKtK FOR PRESIDENT emo
(This post has been helpful to 1 of the forumers.)
Lithium
aEs
avatar
JJnet user
Posts: 1759
107
#19 | [q]2012-04-20 18:03
Lithium for Emperor I agree!


We rode on the winds of the rising storm,
We ran to the sounds of the thunder.
We danced among the lightning bolts,
and tore the world asunder.
wKtK
avatar

JJnet user
Posts: 707
121
#20 | [q]2012-04-20 19:45
It will eventually be remade into a serverside command, I am already planning this. Too bad it can't be integrated with plus though...

While I'm on that topic, does anyone of the coders here knows how exactly to read the chat? (not the typed chatsting, but chat the server recieved?). I tried getting the address a few times with cheatengine, but only found it unstable in the chatloggers process...

Anyway, as soon as school quiets down a bit, which will be in <2 moths i hope, I'm finishing the fukkatsu network engine stuff which will give me the needs to make an easy, commandline cross-platform dedicated server thingy. Until than, I'm gonna make a Windows/Wine tool like this one.


Nostalgia warning, well, at least if you're one of those ppl...
GLaDOS
aEs
avatar
JJnet user
Posts: 123
28
#21 | [q]2012-04-20 20:48
If I remember correctly, JJ2 stores the currently displayed on-screen chat in an array of dynamically allocated memory, so you should probably chat some stuff, perfectfreeze the server, search for the displayed string/strings, and then find a pointer, or possibly a pointer to a pointer to the start of the displayed string.