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 → Simple Questions
Simple Questions
2003-12-02, 8:29 AM #1
Here Are My Problems:
1)How can i make some templates appear in the level, well 3do's, like to make create appear near you, i tryed fireprojectile and create thing at pos, maybe i did something wrong?
2)On the Zone some cogs work and some doesnt, for example, i took a grip.cog and changed only the damage caused by it, on 100, and when loaded zone it said checksum failure, my version doesnt match the host's. Then i downloaded some mods from massassi, for example Brutal Weapons Pack and it worked, though it has so many different things in script, and it matched. I tryed some other mods from massassi, they worked too, but why mine cant work like this? Maybe some error in cog, because it is written in notepad?
Well maybe this is it for now, sorrY if my english is too bad...Please answer my questions, i really need to know. THanks!
2003-12-02, 9:47 AM #2
I've never gotten a checksum error, but I've heard some stuff about them. To my knowledge, (#2 is what I'm responding to) in order to avoid checksum errors, all players' resources must be identical. If you edited your grip.cog and no one else has your version, then you and/or the players will get a checksum error. There are exceptions to this, like mat files and models.
A good example of this would be Id_Junkguy's Goldeneye Bunker level for JK MP. The mats inside were 16-bit. However, a player could download and load an 8-bit patch with it. All players w/o the patch would see the 16-bit mats, while those with the patch would see the 8-bit ones. I don't know if a player not having a mat or other resource that another does would cause this error.

As I said, I don't have any personal experience with the error. You may want a second opinion from someone with experience.

Also, cogs written/saved in notepad will not affect the cog's performance. I use notepad half the time. It's just like any other text file. Same goes for at least most uncompiled programming code (ie. .bat files and C++ files).

------------------
We are Slaw of Borg.
You will be assimilated.
Resistance is futile.
-Darth Slaw, Dark Lord of the Borg

[This message has been edited by Darth Slaw (edited December 02, 2003).]
May the mass times acceleration be with you.
2003-12-02, 11:22 AM #3
Ohh, i see, thanks, but remember i said brutal weapon pack works on every host, that mod contains mats, cogs, 3dos, data, so on, how come it works i dont know. You said mats dont matter, yeah, i remember first time i played this game with my friend through modem, i made a mode, he saw my skin as katarn, i dont think that zone even looks through those mats, but if cogs do not work, i think i can change something in items.dat, so they wont have a non-identical grip.cog, there will be my own cog. Thanks! Ohh, yeah, and by the way, i tryed a lot of cogs, not only grip.cog.
2003-12-02, 11:34 AM #4
Ohh, i see, thanks, but remember i said brutal weapon pack works on every host, that mod contains mats, cogs, 3dos, data, so on, how come it works i dont know. You said mats dont matter, yeah, i remember first time i played this game with my friend through modem, i made a mode, he saw my skin as katarn, i dont think that zone even looks through those mats, but if cogs do not work, i think i can change something in items.dat, so they wont have a non-identical grip.cog, there will be my own cog. Thanks! Ohh, yeah, and by the way, i tryed a lot of cogs, not only grip.cog.
2003-12-02, 11:36 AM #5
Ohh, i see, thanks, but remember i said brutal weapon pack works on every host, that mod contains mats, cogs, 3dos, data, so on, how come it works i dont know. You said mats dont matter, yeah, i remember first time i played this game with my friend through modem, i made a mode, he saw my skin as katarn, i dont think that zone even looks through those mats, but if cogs do not work, i think i can change something in items.dat, so they wont have a non-identical grip.cog, there will be my own cog. Thanks! Ohh, yeah, and by the way, i tryed a lot of cogs, not only grip.cog.
2003-12-02, 11:40 AM #6
whats happening to the topic
2003-12-02, 11:41 AM #7
well
2003-12-02, 11:42 AM #8
rigghttt.... quaduple posts.. thats a first..

as far as i have gathered in the ahcker comunity.. a checksum is.. rather odd.

somtimes if you leave the bits in teh top of the file (the bit above symbols) it wont checksum no matter wha you do..

somtimes, the cog will checksum if its not the same size as the real one, or has not go the same number of charicters (thats letters and numbers for the uninatited)

and sometime, you change one measaly thing and it checksums, but you can wipe out half the other stuff..


hope that helps.. it never helped me mutch..

------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's

-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO

Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD

rule three, "asprines good, but it hasent got the kick of morphine. and its not gonna stop the hurting in my arm, the ones thats on the otherside of the room i mean" -the alternatior
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2003-12-02, 11:44 AM #9
all these messages werent here, i dont know why, i restarted my comp and still the reply count was 5 i guess, and still there were only 2 replies, i press post reply at the bottom, where u see "well" message it is the one i posted when pressed post the topic at the top. Could be some problems:
1)With the forum
2)with the server
or
3)Im new i dont know how to use it properly, sorrt
2003-12-02, 11:51 AM #10
Did everyone playing have and load Brutal Weaps (did someone not have it on but no checksum occured)? Did everyone have your same edited cog?

Did you click the Submit Reply button more than once? I'm not sure but that might cause multiple posts.

BTW - Mats DO matter, but the players see the one they have on their PC/the ones they have loaded. I think (judging from experience with a similar matter) that missing mats will be replaced with "dflt.mat". Bad 3dos are replaced with "dflt.3do" (well, some are, anyway; depends on certain factors)

------------------
We are Slaw of Borg.
You will be assimilated.
Resistance is futile.
-Darth Slaw, Dark Lord of the Borg

[This message has been edited by Darth Slaw (edited December 02, 2003).]
May the mass times acceleration be with you.
2003-12-02, 1:44 PM #11
I would tell you how to get around the checksum error (and what it is), but it is a hack and I could be banned here for telling you more than that (ex what it checks for). If I were you I would just give all players you were playing with the new version, then you don't have anything to worry about.
Sorry I can't help more but the rules wont let me. [http://forums.massassi.net/html/frown.gif]

------------------
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"

[This message has been edited by SG-fan (edited December 02, 2003).]

[This message has been edited by SG-fan (edited December 02, 2003).]
Sam: "Sir we can't call it 'The Enterprise'"
Jack: "Why not!"
2003-12-02, 2:07 PM #12
BANNED FOR THE CHECKSUM INFO????????? lol what kind of thing is that to be baned for, however, Darth, no one had this mod except me and checksum error did not occure.
2003-12-02, 3:40 PM #13
I think JK's checksum is derived from the number of parameters in your COG, possibly also doing a line check or total statement check.

A file size check would have been much more intelligent, not perfect, but much better, and elementary to implement. That would make sure you can never add or remove characters, only change them. It could simply be improved even more by also comparing the sums and products of all characters in the COG... I never understood why JK's cheat protection was so horrible.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2003-12-02, 4:17 PM #14
Ok, Write any simple cog please that u know WILL work on zone, and change some jump_cog or whatever cogs there are, and so it will be simple like activate: seta actor extra speed (6.0), deactivated: change speed to 3, end, Please write that so i will know for sure if i have a font problem, or not. Btw there are a lot of coggers on zone and their cogs work, doesnt matter if we have it or not, same with my BWP mod, it doesnt matter if host or other players have it...Thanks!
2003-12-03, 5:00 PM #15
Yes, but you do realize that most of those COGgers on the Zone are merely hacking and not really making traditional mods, correct? And beyond that, what you are asking for is basically a hack -- something which is generally frowned upon here -- because you want to have a COG that gives you some kind of advantage that other players don't have. Or am I reading this wrong?

If it's a real mod you want, and not just a hack, then make sure all the players in the game have it; otherwise, no dice.

Oh, and I used to be a hacker on the Zone, years ago. I guess they like to call themselves COGgers now. Nowadays I still frown upon most hackers. Some hacks, such as build hacks and the like are fine -- hell, I almost finished an entire mod based on that principle -- but stuff like super-force powers, fade, vertigo, teleport, inferno, etc. are just not right to use in a game.

------------------
His pot is blacker than his kettle!

Phoenix Swords

[This message has been edited by LordVirus (edited December 03, 2003).]
"And lo, let us open up into the holy book of Proxy2..." -genk
His pot is blacker than his kettle!
2003-12-03, 8:16 PM #16
You're trying to get hacks to work in MP - doesn't matter if this is the "zone" or not. The ones that work only change local stuff that a checksum won't catch so it doesn't matter, but they're still "hacks" if you try to use them in a game that doesn't specifically allow them.

You'll get a checksum error if you're trying to load different cogs than the server has. There are ways to get around it - e.g., build hacks that change the projectile templates. But if you're really, honestly trying to get a mod to work in MP, there's no reason to want to know about checksums.

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2003-12-04, 10:35 AM #17
SM, you can pretty easily write COGs that function very differently than their original, and still pass checksum.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2003-12-04, 2:30 PM #18
Actually what i really wanna do is to add my both problems together (1 and 2) and play on zone, like create some kind of enemy to kill him with someone, i tryed something to do with cogs, and only some functions work, i wont ask what exactly is that because all people are so afraid to answer that, and now i have the 3rd problem. Theres a function in cogs CreateThing, thats what i saw in most levels for mp, BHG, TrenchWars, for example, and had cogs GenerateTemplate with that parameter, but is generates a template in a current ghost possition, how can i make it appear near me? Possible Ideas (that of course do not work) are :creatething(template, getthingpos(player));
Thanks!
2003-12-05, 2:17 AM #19
Code:
creatething(template, getthingpos(player));

that wont work EVER, try either

Code:
createthingatpos(template, GetThingSector(jkgetlocalplayer()) ,getthingpos(jkgetlocalplayer()), '0 0 0');

or

creatething(template,jkgetlocalplayer());


[http://forums.massassi.net/html/biggrin.gif]
------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's

-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO

Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD

rule three, "asprines good, but it hasent got the kick of morphine. and its not gonna stop the hurting in my arm, the ones thats on the otherside of the room i mean" -the alternatior

[This message has been edited by [SF]pjb (edited December 05, 2003).]

[This message has been edited by [SF]pjb (edited December 05, 2003).]
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?

↑ Up to the top!