Memory Spells

Stark, I was wondering how you pulled off the memory spells in Spells Expander. I seem to have problems duplicating it for my game.

(I tried e-mailing you this question, but the lack of response forced me to post it here, sorry)

(2nd parenthetical statement: there is a glitch with Recall in SE, where the spell places you at tile (1,1) instead of the place where you cast Mark)

Thanks 🙂

------------------
Surely you can't be serious!
But I am serious, and don't call me Shirley!

I think (I don't know): He saved your map location (i.e. which map you are on) and your coordinates, as opposed to saving the location and reloading as you can only store one location this way.

------------------
CI-I@()s
(url="http://"http://www.evula.org/world-of-cha0s/")The Homepage of Cha0s(/url)

Quote

Originally posted by BryceCubed:
(I tried e-mailing you this question, but the lack of response forced me to post it here, sorry)

Yeah, this week I've been busy at work. We received 2 new computers to replace 2 aging systems, including our main server. So I've been busy swapping those out. One of the new computers is on my desk, and I haven't yet set up Outlook Express to handle my evula.net email. Thus, no response. heh.

It should be back up sometime today though.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Quote

Originally posted by BryceCubed:
Stark, I was wondering how you pulled off the memory spells in Spells Expander. I seem to have problems duplicating it for my game.

Mark and Recall...

The mark spell has a set of globals, one of which is set to 1 when a spell is stored into memory, 0 when it is free. When cast it looks for the open slot and then saves the following information into the global slots: player coordinates, map player is on, and the player's description for the area(which he enters). Mark does this for each of the 3 memory slots.

Recall is more complicated. There is a header event which looks for the memory slot being recalled and then copying the data into a temporary global, then clearing the memory slots globals(as you can only recall to a location once, and then that slot is cleared). Then the header event sends you to the main event which looks at the temporary global values and first checks the map variable against every possible area name in the game(approximately 200 conditional checks). Once one is found it teleports the player to that area. If that area is not found then an error message comes up(if you create a plug-in with a new area and SE is not updated for it, you will get this error message if you mark and then attempt to recall to that area). After you are teleported it sets your coordinates according to the player coordinates globals.

Erase Memory and Query are fairly simple. They just figure out which memory slot you are using, and then either spitting out the global information or clearing the globals for that slot.

Quote

(2nd parenthetical statement: there is a glitch with Recall in SE, where the spell places you at tile (1,1) instead of the place where you cast Mark)

Which version of PoG are you using? If you aren't on 1.0.2 then you need to upgrade for the teleportation spells to work.

Does this happen all the time? In a specific area?

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

I do have version 1.0.2 on my computer. And recall does this every time I cast it.

Thanks for the info 😄

------------------
Surely you can't be serious!
But I am serious, and don't call me Shirley!

Odd, what OS are you running? This may be another Windows bug (they have some bugs that Macs don't have, concerning PoG, i am not trying to start a Mac vs. PC debate). Also, as Stark said, WHERE (when you cast mark) is this happening? It may be related to a certain map, as recall functions differently by the map (I believe). Also, where are you when you cast recall? Give us a bit of info, and we can sort this out. 🙂

EDIT: I always forget that questions end with question marks...
EDIT: Now my spelling...sigh

------------------
CI-I@()s
(url="http://"http://www.evula.org/world-of-cha0s/")The Homepage of Cha0s(/url)

(This message has been edited by CI-Ia0s (edited 02-22-2003).)

(This message has been edited by CI-Ia0s (edited 02-22-2003).)

Quote

Originally posted by BryceCubed:
**I do have version 1.0.2 on my computer. And recall does this every time I cast it.

Thanks for the info 😄

**

Um The current version is 1.01. I have not herd of a version 1.02, as of yet.

------------------
Thanks,
GrahamVH
graham@vhpublications.com
Coldstone Developer

Quote

Originally posted by GrahamVH:
**Um The current version is 1.01. I have not herd of a version 1.02, as of yet.

**

No, PoG is up to 1.0.2. He's not talking about CGE right now.

------------------
A tomb now suffices for him for whom the world was not enough.

Yes, I was talking about POG when I said 1.0.2. As for the details, I am running POG and Coldstone on a mac OS 9.2.1, this problem happens on every map that I cast Mark on. (which is usually the Learning tree, the Tearos bridge, and Orobas' cave) For example, I cast mark right in front of the Tearos Bridge (The side closest to Gwyden Camp) but when I recall this location, I wind up in the top left corner of the same map and not in front of the bridge where I cast mark.

Hope that helps.
🙂

------------------
Surely you can't be serious!
But I am serious, and don't call me Shirley!

Quote

Originally posted by BryceCubed:
Yes, I was talking about POG when I said 1.0.2. As for the details, I am running POG and Coldstone on a mac OS 9.2.1, this problem happens on every map that I cast Mark on. (which is usually the Learning tree, the Tearos bridge, and Orobas' cave) For example, I cast mark right in front of the Tearos Bridge (The side closest to Gwyden Camp) but when I recall this location, I wind up in the top left corner of the same map and not in front of the bridge where I cast mark.

Never seen that.

Try removing all plug-ins except Trinity and Spells Expander.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Quote

Originally posted by BryceCubed:
(I tried e-mailing you this question, but the lack of response forced me to post it here, sorry)

Bryce,

I got my email back up and running, finally. But I don't see your e-mail anywhere.

Where did you send it? stark@evula.net?

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)

Quote

Originally posted by Stark Bledfast:
**Bryce,

I got my email back up and running, finally. But I don't see your e-mail anywhere.

Where did you send it? stark@evula.net?

**

Yeah, that's where the board link directed me.

------------------
Surely you can't be serious!
But I am serious, and don't call me Shirley!