|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
MCP GUI programs with Fuzzball MUCK
This is, perhaps, just a touch arcane, but what the hell ...
I am trying to concoct a MUF program using the MCP gui elements to provide a 'windowed' front-end to character editing/creation within a Fuzzball 6 based MUCK. I have a basic program (which I tracked down after being pointed to it by someone in another MUCK) and have hacked it around a little - and yes, it still works! What my need is is quite simple ... I want to be able to not just show information (which is what is done currently) but to be able to have data input/changed and to be able to access that data within the MUF program.
__________________
According to Sod's Law, buttered toast lands butter side down, when dropped. Per nature, cats always land on their feet. So, what happens when you strap buttered toast to the back of a cat and throw it out a window?. |
|
#2
|
||||
|
||||
|
I am sure you will all be thrilled to learn that I think that I have managed to work this out for myself!
|
|
#3
|
||||
|
||||
|
This is real fun! I can do it, and I even think I understand a bit of how I am doing it. What is, currently beyond me is the positioning and sizing ... it seems to be semi-dynamic in nature and, sometimes, relative. But, I can get a gui shown and can detect what button has been pressed, and even detect the selection/change of a drop down list.
It ain't what I'd do for fun and with the documentation I have I would never have got anywhere without the basic program I mentioned. Not a hope in hell! The docs hold no examples at all. |
|
#4
|
||||
|
||||
|
Dont MUCK up your Fuzzball, and don't play with MUF.
![]() Now, since none of us has a clue what you're on about, want to provide some links, for the rare possibility someone else has an issue like this?
__________________
~James [Not currently seeking freelance work] Like philosophy or interested in spirituality? Philosophorum. Game Dev Experts Forums Foresight Linux - Because your desktop should be cool! Linux FAQ FedoraFAQ UbuntuGuide |
|
#5
|
||||
|
||||
|
Quote:
You saying I should not go MUF diving? As for a link ... hmmm, not as yet - I do have a MUCK up and running on a server but am developing on me laptop - and, well ... it is going to be an adult-orientated MUCK and, from what I have seen, some of you here ain't old enough! My currnet bete noire is a little section of code that if I leave it in it works, but when exiting the gui causes errors - one per time round the loop. If I comment it out it still goes round the loop but just does not do one "operation" per loop. SO far as I can see the snippet of code leaves the stack exactly as it was before - oh well! You asked, so ... Code:
arrRaces @ swap atoi array_getitem
"@a/races/" over strcat dup strRace ! ourDataObj @ LMGR-GetCount dup ourCounter !
begin (* begin effect-applying loop *)
dup while
strRace @ ourDataObj @ LMGR-GetElem
dup "stats" instr if
"," explode pop pop
Capitalize "val" swap strcat
strStat !
intStat !
(dlgMainWindow @ strStat @ intStat @ gui_value_set)
else
pop
then
ourCounter @ 1 - dup ourCounter !
repeat (* end effect-applying loop *)
pop
If it isn't obvious, the ( and ) are comment delimitors and the snippet: Code:
(dlgMainWindow @ strStat @ intStat @ gui_value_set) is the code at issue. |
|
#6
|
|||
|
|||
|
Quote:
Oh don't worry. It's dead obvious and we completely understand it. Erm, is this Fuzzball ? Not sure you what you are mucking around in ![]() |
|
#7
|
||||
|
||||
|
Quote:
Yes, that's the one! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > MCP GUI programs with Fuzzball MUCK |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|