Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

CODERS SAVE THE JJ2 PLEASE!

Reply
 
Thread Tools
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 17, 2012, 03:15 PM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Neobeo View Post
A quick example is that a client only receives the positions of players that are within his screen. (assume 640x480, say)
Sounds like it would work, but then the "cloud"-function still works (not that it's as critical a problem)
__________________
<center></center>
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 17, 2012, 03:33 PM
Neobeo is offline
Reply With Quote
What is this "cloud" function exactly?
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 17, 2012, 04:45 PM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Neobeo View Post
What is this "cloud" function exactly?
It adds a trail to any player with low health, so you know whether he should be killed off or not (you wanna keep all enemies on low health in CTF so you can make timed scores)
__________________
<center></center>
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 17, 2012, 09:26 PM
Neobeo is offline
Reply With Quote
Essentially we want clients to only know things they're supposed to know, i.e. things in their own screen and their own health. So if the server doesn't tell them other players' healths and other players' locations (other than the ones they can see), that should effectively prevent the "cloud"?
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 17, 2012, 10:32 PM
Grytolle is offline
Reply With Quote
No, as the clouds are only visible within your screen Basically if you see someone standing ready to recapture with a cloud around him, you leave him be, otherwise you hit him and run away again. You could also see that the enemy flag has low health and scream GO RTS! and then kill him off. And you would never fall it when a flag carrier camps at the carrot with 3 hearts just in order to get hit on purpose and take C (in order to get rid of the C and to hurt opponents)

Like I said, this is really minor compared to the actual radar function of the program, but it's still quite a problem
__________________
<center></center>
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Jan 18, 2012, 01:21 AM
Vegito is offline
Reply With Quote
Cloud only works for the client, not for others in your screen in the first place. The most helpful things of radar are indeed the radar itself and being able to see everyones health. Cloud will just remind you that you're low health basically.

There is one thing about not sending positions to players I wonder about.. What about the arrow to the flag/flagcarrier? I guess that'll break?
__________________
Harmen

JCF Member

Joined: Jan 2012

Posts: 8

Harmen is doing well so far

Jan 18, 2012, 04:17 AM
Harmen is offline
Reply With Quote
Quote:
A quick example is that a client only receives the positions of players that are within his screen. (assume 640x480, say)
I am trying to create this right now but it is very hard
Ktos.

JCF Member

Joined: Oct 2010

Posts: 78

Ktos. is doing well so far

Jan 18, 2012, 04:58 AM
Ktos. is offline
Reply With Quote
I've got stupid idea. Let's force everyone to play with fullscreen with some kind of stupid program maybe, only for ladders etc.
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 18, 2012, 06:26 AM
Toni_ is offline
Reply With Quote
Ktos, indeed, it's a stupid idea. How do you expect me to play on 23" monitor in fullscreen? Shall I be on the distance of 3m or something for such a game? It's hard for me. I always play on windowed mode.
Zerg Zerg's Avatar

JCF Member

Joined: Oct 2010

Posts: 175

Zerg is doing well so far

Jan 18, 2012, 07:22 AM
Zerg is offline
Reply With Quote
Quote:
Originally Posted by Just a Random User View Post
Ktos, indeed, it's a stupid idea. How do you expect me to play on 23" monitor in fullscreen? Shall I be on the distance of 3m or something for such a game? It's hard for me. I always play on windowed mode.
yes, it has low fps on big scrrens like mine...
wKtK wKtK's Avatar

JCF Member

Joined: Nov 2011

Posts: 40

wKtK is doing well so far

Jan 18, 2012, 07:30 AM
wKtK is offline
Reply With Quote
50" here. gg.

Anyway, back ontopic.

Is there anything I could do without modifying jj2 itself? I mean, most of the serverside solutions (if we go for a server-side solution) depend on Jazz2 performing non-default behaviour. I could learn to modify jj2, but in that time someone more experienced in that are could come up with a solution.
__________________
I support all projects to enhance JJ2.
ShakerNL ShakerNL's Avatar

JCF Member

Joined: May 2009

Posts: 115

ShakerNL is an asset to this forumShakerNL is an asset to this forum

Jan 18, 2012, 08:29 AM
ShakerNL is offline
Reply With Quote
Let's all move to 1.20 :happyface:
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 18, 2012, 09:55 AM
Neobeo is offline
Reply With Quote
Here is my quick, untested attempt at a fix (v1.23 / v1.23+):
Patch Jazz2.exe at position 0x885C5 from "76" to "EB".
Patch Jazz2.exe at position 0x887B9 from "1C" to "00".
Patch Jazz2.exe at position 0x887FF from "8A 51 3E" to "B2 07 90".

What this hopefully does is:
The first two patches prevents the server from sending any information to a client about other players that are not within his screen (given by |dx| < 640 and |dy| < 480). The third patch tells the client that all other players have 7 hearts of health.

Would be nice if someone (preferably with the aforementioned cheating program) could test this.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>

Last edited by Neobeo; Jan 18, 2012 at 02:40 PM. Reason: New stuff in bold
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,983

Violet CLM has disabled reputation

Jan 18, 2012, 11:27 AM
Violet CLM is offline
Reply With Quote
As someone who can't host and besides doesn't have the radar program, I can't test this directly, but it sounds like that doesn't address Vegito's concern that arrows in CTF could no longer point to the flag carrier?
__________________
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 18, 2012, 11:44 AM
Toni_ is offline
Reply With Quote
"You must spread some Reputation around before giving it to Neobeo again"

Well, unfortunately I deleted Radar2 because it's a semi-spyware. It can harm my computer, and I have a lot of documents for what I don't have any backup.

Also, a program what does the patching should be there, since a lot of people doesn't know how to do that editing, including me. And everytime I want to reinstall JJ2 I must look for this thread to find what to do.

@Violet, at least he found way to prevent sending information about players positions and real health (well, someone could have 7h if /smhealth is 7, but we don't care, don't we?) from server to client. Thanks him for that. I hope he finds the way to prevent freezed arrow, too!
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Jan 18, 2012, 11:48 AM
Vegito is offline
Reply With Quote
I could test it or send the program to either of you 2 to test it. Someone would have to give me a patched jazz2+.exe otherwise (1.23 is ok).

Either way, it is a good start to solve this problem. We'll have to find solutions for the rest too I guess .
__________________
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 18, 2012, 12:29 PM
Toni_ is offline
Reply With Quote
Well, Veg said to me... it works! I mean, that patch fixes the main problem, and it is not sending info to the clients. Nice job Neobeo, once again!
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Jan 18, 2012, 12:53 PM
Vegito is offline
Reply With Quote
No I didn't say it works? It doesn't work in fact. DZ and I tried it. How can you say that when I didn't say it xd. I said we were gonna test/see if it works. Lol.
Anyway, maybe someone else can try to edit Jazz2 that way.
__________________
Harmen

JCF Member

Joined: Jan 2012

Posts: 8

Harmen is doing well so far

Jan 18, 2012, 01:00 PM
Harmen is offline
Reply With Quote
when I tested it (with artem) it did not work
radar still gave location and the health of the players
Old Jan 18, 2012, 01:03 PM
Harmen
This message has been deleted by Harmen. Reason: double post
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 18, 2012, 01:41 PM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
As someone who can't host and besides doesn't have the radar program, I can't test this directly, but it sounds like that doesn't address Vegito's concern that arrows in CTF could no longer point to the flag carrier?
Well, it'd be a longer patch, but you could make the arrow point in the right direction by sending a position that is in the same line but just barely outside of the visible area
__________________
<center></center>
Harmen

JCF Member

Joined: Jan 2012

Posts: 8

Harmen is doing well so far

Jan 18, 2012, 01:48 PM
Harmen is offline
Reply With Quote
@NeoBeo
I am trying this now for all day but I try it in assembler by searching udpsend function and make it first check if the player is in the screen before sending
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 18, 2012, 02:39 PM
Neobeo is offline
Reply With Quote
Quote:
Originally Posted by Grytolle View Post
Well, it'd be a longer patch, but you could make the arrow point in the right direction by sending a position that is in the same line but just barely outside of the visible area
This patch will probably require some extra assembly code (so fits better in a DLL). Plus I'll need to look into the arrow-making function, as I don't really know how this works.

Quote:
Originally Posted by Harmen View Post
@NeoBeo
I am trying this now for all day but I try it in assembler by searching udpsend function and make it first check if the player is in the screen before sending
My patch should in theory already do that (modulo errors). It needs an extra patch at position 0x885C5 from "76" to "EB" (also to prevent sending of packets outside visible region). I've updated my original patch post accordingly. The health patch should work properly though.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
master sven

JCF Member

Joined: Jan 2005

Posts: 319

master sven is doing well so far

Jan 19, 2012, 01:38 AM
master sven is offline
Reply With Quote
Neobeo
__________________
Clan history: CD (2002) VD (2003) CC (2004) SC (2004) CC (2005) RC/RL (2005) EP (2005) CC (2006) AMC (2007) TM (2008) CDF (2010)



<iframe src="http://gamercard.xbox.com/th3a.card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
DanZeal

JCF Member

Joined: Jan 2008

Posts: 302

DanZeal is an asset to this forum

Jan 19, 2012, 02:27 AM
DanZeal is offline
Reply With Quote
Quote:
Originally Posted by Neobeo View Post
Here is my quick, untested attempt at a fix (v1.23 / v1.23+):
Patch Jazz2.exe at position 0x885C5 from "76" to "EB".
Patch Jazz2.exe at position 0x887B9 from "1C" to "00".
Patch Jazz2.exe at position 0x887FF from "8A 51 3E" to "B2 07 90".
Not working. Radar is still showing other players. But nice to see you working on this!
__________________

ZStats
"The myth that women should not lift heavy is advanced only by women who fear effort and men who fear women." Eric Midkiff
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Jan 19, 2012, 02:49 AM
Vegito is offline
Reply With Quote
It also showed health when we tested it yesterday
__________________
KRSplat KRSplat's Avatar

JCF Member

Joined: Mar 2001

Posts: 4,942

KRSplat is a forum legendKRSplat is a forum legend

Jan 19, 2012, 03:13 AM
KRSplat is offline
Reply With Quote
I conceptualize that Referees shall verify recorded Matches only After viewing Series of Screenshots and/or process Logs from the machine running Jazz2 of each participant, inclusive of spectators.

It might could work; and might could Not.
Harmen

JCF Member

Joined: Jan 2012

Posts: 8

Harmen is doing well so far

Jan 19, 2012, 03:40 AM
Harmen is offline
Reply With Quote
how about seekers that follow a player outside the window?
a seeker following a player is client sided...
if the client doesnt know where the player is what will happen
Vegito

JCF Member

Joined: Oct 2003

Posts: 2,861

Vegito is an asset to this forum

Jan 19, 2012, 05:20 AM
Vegito is offline
Reply With Quote
I suppose we can only find out by trying. It could result in a ton of airhits, heh
__________________
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 19, 2012, 05:28 AM
Neobeo is offline
Reply With Quote
Quote:
Originally Posted by DanZeal View Post
Not working. Radar is still showing other players. But nice to see you working on this!
Hmm... it certainly works for me. Granted, I haven't sorted out any bugs such as seekers/arrows or whatever had been mentioned; just making sure the basic code works first. But patching the server with this code definitely makes the client see nothing outside his screen (client doesn't need to be patched), and a health of 7. I should probably add some notes here: firstly that the player doesn't "disappear", he simply stops moving once outside the visible region. and secondly that the health is shown as 7 only when player enters the visible region, and is not updated otherwise. (doesn't have to be 7. anything from 1-7 works by changing the middle byte)

Of course, I only tested this on v1.23 (not plus), in both battle and ctf, so it might be some plus implementation. I don't have this Radar app, but however it works it can't possibly obtain information which isn't being given.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 19, 2012, 07:57 AM
Toni_ is offline
Reply With Quote
Quote:
Originally Posted by Vegito
No I didn't say it works? It doesn't work in fact. DZ and I tried it. How can you say that when I didn't say it xd. I said we were gonna test/see if it works. Lol.
Anyway, maybe someone else can try to edit Jazz2 that way.
I am SURE you told me yesterday, somewhere in Zeal Duels, that patching prevents radar working as is should work.
DanZeal

JCF Member

Joined: Jan 2008

Posts: 302

DanZeal is an asset to this forum

Jan 19, 2012, 08:50 AM
DanZeal is offline
Reply With Quote
Quote:
Originally Posted by Neobeo View Post
Of course, I only tested this on v1.23 (not plus), in both battle and ctf, so it might be some plus implementation. I don't have this Radar app, but however it works it can't possibly obtain information which isn't being given.
Yes, tested without plus now, and it works. Seems like plus is doing something, or I did something wrong with the plusified exe.
__________________

ZStats
"The myth that women should not lift heavy is advanced only by women who fear effort and men who fear women." Eric Midkiff
ShadowGPW ShadowGPW's Avatar

Super Moderator

Joined: Jan 2001

Posts: 2,825

ShadowGPW is a forum legendShadowGPW is a forum legendShadowGPW is a forum legend

Jan 20, 2012, 06:22 AM
ShadowGPW is offline
Reply With Quote
I pity the ones that are using these kind of tools to win their game. Does it REALLY make you happy in the end? What do you gain with it? These kind of tools wreck online play. You should contact anti-cheat makers for help. (Punkbusted for example). Also these kind of people should be banned forever on tournaments and community webpages.
__________________
Join clan [GPW]'s discord!
https://discord.gg/ktCcYnv

S.H.A.D.O.W.: (aka Ins0mnia)
Synthetic Hydraulic Android Designed for Observation and Warfare

Mystic Legends
http://www.mysticlegends.org

Follow me on twitter: @Ins0mnia
Follow us on twitter: @Mystic_Legends
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 20, 2012, 07:58 AM
Toni_ is offline
Reply With Quote
And also, if they get banned, they will make more cheats and spread them on MSN/anywhere else, and their revenge would be extremely hard for JJ2 to survive.
Harmen

JCF Member

Joined: Jan 2012

Posts: 8

Harmen is doing well so far

Jan 20, 2012, 09:51 AM
Harmen is offline
Reply With Quote
@Just a Random User
that is why there is being made a program to delete all cheats
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 20, 2012, 10:07 AM
Toni_ is offline
Reply With Quote
So, if there is already a program, why don't you use it to delete all cheats?
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 20, 2012, 10:09 AM
Grytolle is offline
Reply With Quote
That sounds a bit unethical lol
__________________
<center></center>
Jeans

JCF Member

Joined: Jan 2012

Posts: 1

Jeans is doing well so far

Jan 22, 2012, 05:02 AM
Jeans is offline
Reply With Quote
A Big Project

Well, I've been talking to Gry and Veg about it and this is what we thought out:
We need to create completely new version of JJ2. We don't have source that's why we need a lot of people knowing ASM to decompile JJ2 1.24 TSF (This is the most common used one for online). As I am not so good in low-level things like Assembler I need your help for that. Also: The code cannot be shown out of the trustee team of developers till releasing new version.
The new version will include completely new league connected with JJ2 program. This may be left for me. Please write here if you want to help with that. We'd need:
- Assembler programmers (Mostly to analyse the old code)
- C++ programmers (WinSocket + DDraw a plus)
- Interface designers
- Graphic designers
If we found a team that is big enough I would create the whole project and show you all.
This would solve every problem with cheating. And much, much more. To know further details contact me at bigboob0@hotmail.com.
Sean Sean's Avatar

JCF Member

Joined: Oct 2010

Posts: 720

Sean is a forum legendSean is a forum legend

Jan 22, 2012, 05:06 AM
Sean is offline
Reply With Quote
While I'm not as uptight as Robo4900 about legality, I still wouldn't recommend outright decompiling JJ2.
__________________
drop by my SoundCloud or something if you want, it's my life's pride
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 22, 2012, 08:22 AM
Toni_ is offline
Reply With Quote
Isn't it just easier to somehow find blur somewhere and bug him to try to do something for this. He could try to block server sending info to the client about it's position and it's healths what are outside the visible block by the client aka resolution, just like nimrod said.

I appriciate nimrods work but it doesn't work for plus, it works only for normal jj2. blur would probably know how to make that, since he knows how JJ2 works, too. Well, not all functions, but a lot of them.

Could someone contact blur about this?
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,812

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Jan 22, 2012, 09:36 AM
cooba is offline
Reply With Quote
I've e-mailed blur.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 09:19 PM.