Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Wonder if this is possible...
12
Wonder if this is possible...
2004-06-21, 5:19 AM #41
I mean that it passes Checksum, one player can have it, and everyone else could not have it and it would still work.

For example, if one player had a mod on,say, sbx 3.1 and no one else did, the mod person would not be able to join because the data differs between the host and the client, they would get a checksum error.

But this is a COG and it is designed to pass checksum, so it wont matter if other players have it or not. If you still dont understand, then read on...

You all probably learned that something like.....

SetActorFlags(victim, 0x400000);

is 4 characters. This is true to some extents and not to others. You do have 4 characters in this line but you have 2 different TYPES of characters. I refer to them as types 1-4. This line contains 3 type 1 characters, and 1 type 2 character.

SetActorFlags, victim, 0x400000.....are the type 1 characters
().....is the type 2 character

Jedi Knight not only keeps a total character count but also seems to count the different type of characters.


TYPE 1 CHARACTERS
-----------------
SetActorFlags, 1, 0x1, GetSenderID, player, victim

these are your most common type and are easily interchanged between each other


TYPE 2 CHARACTERS
-----------------
(), *, &, +, -, !, /, |

again easily changed between each other


TYPE 3 CHARACTERS
-----------------
if, while, for

these are pretty picky and you cant really change them to something else (no changing if's to while's)


TYPE 4 CHARACTERS
-----------------
'0 0 0', {}

never did bother to look into these very deeply as to what they can be changed to. just always considered them their own type. i think the {} would probably be considered a 2 and can be changed with those


ok now we do this step by step for the retards.......
you have....

victim = FirstThingInView(player, 179, 999, 0x404);

but you dont care about that so you want to change it....i'll show you an easy way...

1. victim, FirstThingInView(player(), 179, 999, 0x404);
2. FirstThingInView(player(victim), 179, 999, 0x404);
3. SetTimerEx(0.0, 179, 999(victim), 0x404);
4. SetTimerEx(0.0, victim, GetThingSignature(victim), 0);

ok that might be a little excessive in showing how to do it but oh well i'm sure someone will still ask me about it even with it like that. it works much the same for everything else and if you are reading this you should be able to figure the rest out....one last thing i should point out though......

! = ()........NOT ! = (
1 pair of parenthesis is the same as an exclamation mark so dont let something dumb like that trick you.
one more exampe step by step to help pound the idea in.....

count = count + 1;

1. count(), count + 1;
2. count(), count(), 1;
3. count(1), count();
4. SetActorFlags(GetSourceRef(), 0x400000);

To pass checksum you have to keep the character count the same throughout the whole cog. # EAH_XxLuNaTiKxX

If you still dont understand anything ive said in this whole thread than just let it go because this whole crap is pissing me off.


------------------
eternity is the now ~ that never was

[This message has been edited by EAH_XxLuNaTiKxX (edited June 21, 2004).]
2004-06-21, 5:23 AM #42
Passes checksum means it passes the JK-built-in-cheater-detection...

[edit]
Too slow. Read above explanation by EAH_etc.
[/edit]

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

[This message has been edited by zagibu (edited June 22, 2004).]
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2004-06-21, 5:37 AM #43
ummm, yes.

------------------
eternity is the now ~ that never was
2004-06-21, 5:40 AM #44
Oh ok, I'm with you now [http://forums.massassi.net/html/smile.gif] - I've never looked/found any information as detailed regarding checksum information, so thanks for the info [http://forums.massassi.net/html/smile.gif]

I don't know why you should feel so cross about providing further information for people who ask questions for clarification though... [http://forums.massassi.net/html/redface.gif] - I've always learnt cog as a language, but haven't studied any checksum info, so thanks again *right click -> bookmark page* [http://forums.massassi.net/html/biggrin.gif]

-Jackpot

[EDIT: really shouldn't need to sign-off twice... [http://forums.massassi.net/html/wink.gif]]

------------------
"lucky_jackpot is the smily god..." - gothicX
"jackpot is an evil evil man... so evil, in fact, that he's awesome." - Seb

"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
("Ye Wearie Wayfarer" - by Adam Lindsay Gordon)

[This message has been edited by lucky_jackpot (edited June 21, 2004).]
"lucky_jackpot is the smily god..." -gothicX
"Life is mostly froth and bubble, but two things stand in stone,
Kindness in another's trouble, courage in your own"
- "Ye Wearie Wayfarer"
|| AI Builder: compatible with both JK & MotS || My website ||
2004-06-21, 7:06 AM #45
Ok heh it's cool man.

-----------------------------------------
eternity is the now that never was

[This message has been edited by EAH_XxLuNaTiKxX (edited June 21, 2004).]
2004-06-21, 7:07 AM #46
Enjoy and mess around with the checksum info i think ill start a thread on checksum sometime so more people can have a look at this. I just got a little tense there lol. #

------------------
eternity is the now that never was


[This message has been edited by EAH_XxLuNaTiKxX (edited June 21, 2004).]
2004-06-22, 3:45 AM #47
lol, not to mention the fact that I didn't understand what it was all about (technically). But apparently it does make sense to everybody who knows a a bit more about cog, so np.

------------------
ORJ_JoS
=Council Member=
+Order of Reborn Jedi+

http://www.rebornjedi.cjb.net

Long live JK! =Best Game Ever=
ORJ / My Level: ORJ Temple Tournament I
12

↑ Up to the top!