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 → Been lookin in JK.exe..........
Been lookin in JK.exe..........
2002-01-09, 2:24 PM #1
These are found after the last message (trigger) is listed. Could these be messages too?

global0
global1
global2
global3
global4
global5
global6
global7
global8
global9
global10
global11
global12
global13
global14
global15

Or maybe something that works with the messages? I unno......

------------------
-Hell Raiser
Cogging type person that does, umm, stuff?
"Free, your, mind."
DBZ: TDIR has a new home!
-Hell Raiser
2002-01-09, 4:05 PM #2
I too saw those when I was rooting around in JK.exe. I assume they are similar in function to the 'User' messages.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-01-10, 4:47 AM #3
Yes, they are messages. And as far as I can tell, they work the same as the regular userx messages. But you can get 16 of them in a cog. [http://forums.massassi.net/html/wink.gif]

[This message has been edited by SaberMaster (edited January 10, 2002).]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-01-10, 12:21 PM #4
Ahhh .... So could you use ...

SendMessage(GetSelfCog(), Global0, -1, -1, -1, -1); ???
2002-01-10, 12:30 PM #5
You mean SendMessageEx()? [http://forums.massassi.net/html/tongue.gif]

Well, it won't work anyway. JK does look for globali in the symbols(and stops if it isn't there), but goes to global0 just the same. [http://forums.massassi.net/html/frown.gif]

------------------
More matter with less art.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-01-10, 9:38 PM #6
No I mean ... SendMessage ...

Hmm .. ahh well thats a shame it won't work that way ..
2002-01-11, 11:16 AM #7
SaberMaster was trying to hint: If you really meant 'SendMessage' then your command has 4 parameters too many.

Quote:
<font face="Verdana, Arial" size="2">Originally posted by *_Seifer_*:
No I mean ... SendMessage ...

Hmm .. ahh well thats a shame it won't work that way ..
</font>

- Wisdom is 99% experience, 1% knowledge. -
2002-01-11, 7:24 PM #8
Quote:
<font face="Verdana, Arial" size="2">SaberMaster was trying to hint: If you really meant 'SendMessage' then your command has 4
parameters too many</font>


Ummm .... what ??? , you guys lost me somewhere, SendMessage can have that many parliments.
2002-01-11, 9:06 PM #9
Quote:
<font face="Verdana, Arial" size="2">Straight from the JKSpecs:
SendMessage()

Sends a message to a cog.

Use: SendMessage(cogRef, message); SEE Cog Messages


--------------------------------------------------------------------------------

SendMessageEx()

Sends a message to a cog with parameters passing.
This verb returns a value that it what the callee set in a ReturnEx statement.

Use: SendMessageEx(cogRef, message, flex param0, flex param1, flex param2, flex param3);
</font>
-Hell Raiser
2002-01-12, 8:45 AM #10
SendMessage(); only has that many paramaters if you are *_Seifer_*. He told me to use SendMessage(); with paramaters, and of course it didn't work. We all know that *_Seifer_* has written a COG that creates new COG verbs that makes C++ obselete.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2002-01-12, 1:14 PM #11
Ahh thank you for clearing that up Hell Raiser... I don't look at the JKSpecs very often and I proberly saw SendMessageEx with that many varibles and thought that SendMessage could have the same.

-Emon I was wrong... i'm only human. and could you please shut the hell up with those annoying little comments at the end.
2002-01-12, 1:27 PM #12
Emon you have serious issues...

[This message has been edited by Hellcat (edited January 12, 2002).]
Team Battle.

↑ Up to the top!