Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 83 users online: 3 members, 55 guests and 25 bots. Members: JamesV, Ratchetx7. Bots: Baidu (1), Spinn3r (2), MSN/Bing (1), VoilaBot (2), Googlebot (18), MSN/Bing (1).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
| Author |
Message |
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 10 Feb 2011 04:37:44 pm Post subject: |
|
|
If you want, I can make an example program to show how to copy the GUI Stack.  _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 04:43:11 pm Post subject: |
|
|
| souvik1997 wrote: | If you want, I can make an example program to show how to copy the GUI Stack.  |
It isn't just copying, it is a matter of editing the appvar before I need to use it(for example, when a guy learns a spell, it adds that spell to the appvar stack in the appropriate place. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 10 Feb 2011 04:46:23 pm Post subject: |
|
|
Then you would need to pop elements off the stack, add whatever you want, then add the stuff you popped off the stack. _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 06:10:59 pm Post subject: |
|
|
| souvik1997 wrote: | | Then you would need to pop elements off the stack, add whatever you want, then add the stuff you popped off the stack. |
Yeah well, if it was just that simple, it renders in the battle, but it would be updated outside of it, which means I would have to do the whole thing there, and then it wouldn't be faster, and I am trying to get it to speed up. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 10 Feb 2011 06:51:04 pm Post subject: |
|
|
Those look great, keep up the good work! _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 06:55:50 pm Post subject: |
|
|
| KermMartian wrote: | | Those look great, keep up the good work! |
Thanks, and also, could I get some thoughts from you about the GUI stack stuff I am wanting to do? _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 10 Feb 2011 06:57:10 pm Post subject: |
|
|
I _think_ you could manipulate the entries in the GUI stack to insert something with C3, but I have never done that before. :/ _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 06:58:32 pm Post subject: |
|
|
| souvik1997 wrote: | | I _think_ you could manipulate the entries in the GUI stack to insert an something with C3, but I have never done that before. :/ |
I thought about that as well, and turned it into a program that I could access and look at, but it was corrupted (well as far as the calculator can tell that is) so I can't really just raw edit it like I had originally hoped. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
Posted: 10 Feb 2011 06:59:46 pm Post subject: |
|
|
As I said before, you will have to edit it by analyzing the hex data in the appvar. _________________ CALCnet Tournament-38%
deviantArt
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 07:00:34 pm Post subject: |
|
|
| souvik1997 wrote: | | As I said before, you will have to edit it by analyzing the hex data in the appvar. |
I know, but before I could do that, I would need to have an understanding of what is what. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 10 Feb 2011 08:39:35 pm Post subject: |
|
|
| Sonlen wrote: | | souvik1997 wrote: | | As I said before, you will have to edit it by analyzing the hex data in the appvar. |
I know, but before I could do that, I would need to have an understanding of what is what. | Items are stored in low-to-high memory, each starting with a two-byte little-endian size word, a one-byte type byte, and then one or more data bytes.
http://dcs.cemetech.net/index.php?title=GUI_API
Edit: Answering your series of incomplete sentences:
| Quote: | [20:42:17] <@saxjax> (C) [Sonlen] Kerm, a non ASM based way to edit FFME?
[20:42:28] <@saxjax> (C) [Sonlen] err...
[20:42:38] <@saxjax> (C) [Sonlen] for gui7 FFME |
http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries
Especially Edit1Byte, EditWord, BinRead, BinWrite, etc etc etc. _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 08:52:53 pm Post subject: |
|
|
| KermMartian wrote: | | Sonlen wrote: | | souvik1997 wrote: | | As I said before, you will have to edit it by analyzing the hex data in the appvar. |
I know, but before I could do that, I would need to have an understanding of what is what. | Items are stored in low-to-high memory, each starting with a two-byte little-endian size word, a one-byte type byte, and then one or more data bytes.
http://dcs.cemetech.net/index.php?title=GUI_API
Edit: Answering your series of incomplete sentences:
| Quote: | [20:42:17] <@saxjax> (C) [Sonlen] Kerm, a non ASM based way to edit FFME?
[20:42:28] <@saxjax> (C) [Sonlen] err...
[20:42:38] <@saxjax> (C) [Sonlen] for gui7 FFME |
http://dcs.cemetech.net/index.php?title=Third-Party_BASIC_Libraries
Especially Edit1Byte, EditWord, BinRead, BinWrite, etc etc etc. |
I wouldn't understand what I was looking at if I just used the Read methods, I would get a string, but how would I know what I need to edit so I can add as I need? _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 10 Feb 2011 08:54:31 pm Post subject: |
|
|
Why exactly are you trying to edit the GUI stack directly in the first place? That strikes me as a pretty bad idea in terms of stability and especially in terms of making extra work for yourself. _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 10 Feb 2011 08:56:58 pm Post subject: |
|
|
| KermMartian wrote: | | Why exactly are you trying to edit the GUI stack directly in the first place? That strikes me as a pretty bad idea in terms of stability and especially in terms of making extra work for yourself. |
To save speed in making and rendering during the battles, it currently takes a couple seconds for it to run through a couple of the routines for the windows in battles and render. Though also there is the magic menu, in which can have a stack with a max of 17 elements, and a minimum of 5, and that routine itself takes longer then anything else. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 10 Feb 2011 11:48:03 pm Post subject: |
|
|
Are you saying that PushGUIStack takes a long time? If so, then pushing your own data into the stack in BASIC is going to take much, much longer anyway, besides being complex and potentially buggy. _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
Posted: 11 Feb 2011 09:32:03 am Post subject: |
|
|
| KermMartian wrote: | | Are you saying that PushGUIStack takes a long time? If so, then pushing your own data into the stack in BASIC is going to take much, much longer anyway, besides being complex and potentially buggy. |
Not the pushing itself, it is the for loop inside of it that determines how many items it has, I have an :If Ans :sum(7,4....) so that it can control how many items are in the stack and display only what is known. _________________
 | comicIDIOT wrote: | | KermMartian wrote: | | Stop double-posting. If you can't edit your posts, delete your old post before you post a new post. | I am too lazy to actually make my own post so instead I quote people and then don't say anything new |
dragon1414@att.net / Google and Yahoo E-Mail |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55773 Location: Earth, Sol, Milky Way
|
Posted: 11 Feb 2011 10:24:29 am Post subject: |
|
|
Why not just increment some variable every time you PushGUIStack...? Wouldn't that be easier? _________________
 |
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
|
| Back to top |
|
|
Sonlen

Calculator Deity

Joined: 25 Aug 2010 Posts: 1679
|
|
| Back to top |
|
|
souvik1997

Guru-in-Training

Joined: 19 Apr 2010 Posts: 2870
|
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.052844 seconds.
|