Girder2Xlobby plugin and Convert_Girder2xlobby_to_GML

title says it all

Postby badubo on Mon Jun 21, 2004 8:11 am

Hi jpoveda,

In fact I implemented the rules as a "work around" for some very annoying bugs in xlobby (mainly if you opened an overlay twice, your skin was definitly broken). Steve corrected these bugs while I was implementing this so using them is probably useless now).

The principle was that it is quite complex to program with girder, so I wanted to facilitate users)

as an example : the back button, I guess that everyone wants that this button works the same way if we are in a screen or in an overlay. So you can create a rule that allow to change a "back" into an "close overlay" under some conditions. This condition is that an overlay is currently opened.

How it works :
- You can assign for each xlobby command a category (i.e. all events containing a command opening an overlay get "O", all events containing a command closing an overlay :"C" and for the back command : "B")

The plugin gets in its memory the last known categorized event and each time you call an event, test if the combination is in the rules or not :

the rule : O-B indicates that if you call the back event while in an overlay, the plugin will first call the list of event in the line (here only one : xlobby:generic.close overlay) then the "stop" indicates that the original event (back) is not called.

It results that you can use the same button for back and close overlay without using the complex structure of girder
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby jpoveda on Wed Jun 23, 2004 12:14 pm

Thanks Badubo,

I had 2 problems, first when I closed some screens girder crashes, the problem is that your ini file, in section rules you wrote 2 lines like

O-O xlobby:generic.close overlay, cont

Well, this lines aren't modified in setup and I don't have this xlobby events, and people usually too. So I changed them to my events

HTPC:goto.close overlay, cont

Now girder doesn't crash. Good. But the second problem using this rules ...imagine I'm on 2 item on a menu. I launch a overlay screen from girder and I close it, no problems but now I'm on other item.

So I decided to delete both rules. I'll try to learn more this weekend.

Thanks a lot again.
jpoveda
 
Posts: 111
Joined: Mon May 17, 2004 6:45 am
Location: Spain

Postby Jibril on Sun Oct 03, 2004 9:09 pm

Hello,

I am confused as to how to use the rules to prevent girder from crashing when it tries to open an overlay twice. Could you use "generic.show overlay" in an example.

Thanks,
Jibril
Jibril
 
Posts: 14
Joined: Fri Jul 02, 2004 6:15 am
Location: Houston, TX

Postby badubo on Sun Oct 03, 2004 9:13 pm

This bug has been corrected by steven from a while.

Rules are no more used in this plugin.

you can find the last revision there
http://www.xlobby.com/forum/viewtopic.php?t=1979
badubo
 
Posts: 505
Joined: Mon May 03, 2004 7:33 pm
Location: Belgium

Postby Jibril on Mon Oct 04, 2004 12:39 am

Ok, that was it. I had the old plugin. Thank you.
Jibril
 
Posts: 14
Joined: Fri Jul 02, 2004 6:15 am
Location: Houston, TX

Postby Bizarro on Wed Nov 17, 2004 6:36 pm

Bizarro
 
Posts: 5
Joined: Tue Oct 05, 2004 6:28 pm

Previous