[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
GameMonkey Script • View topic - Using gmMachine::RegisterTypeLibrary with gmUserObject

GameMonkey Script

GameMonkey Script Forums
It is currently Sat Sep 26, 2020 9:22 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Sep 26, 2012 10:09 pm 
Offline

Joined: Sat Sep 01, 2012 3:12 am
Posts: 12


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 29, 2012 2:33 am 
Offline

Joined: Mon Dec 15, 2003 1:38 pm
Posts: 708
Exactly what error messages are you seeing?

If you print the result of 'test = Bear.window.getOverlay("test")'
eg. print("test=",test")
What is do you see? We expect to see a pointer to user type 'Overlay'.

I don't quite understand what 'the data stored in 'test' inside the 'show()'' means.
'test' should be a gmUserObject. From that you would be able to access type bound functions like the ones you show. (They look fine to me.) To access data members, operator Get/SetDot must be implemented as gmUserObjects have none built in.

Edit: If you're asking how to access the Overlay members inside function show() (native function Overlay_Show()), what is the value of 'Overlay *ol' ? Is it valid or null?


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 29, 2012 3:51 am 
Offline

Joined: Sat Sep 01, 2012 3:12 am
Posts: 12
So I decided since I was already going insane, I walked my pop-can through my code, and realized that I did a mass copy/paste of my function assignments for one of my tables, and forgot to change the one that controls `Bear.window.overlay`

So oops, that was totally my mistake. :oops:

-MrBarry


Top
 Profile  
Reply with quote  
PostPosted: Sat Sep 29, 2012 6:11 am 
Offline

Joined: Mon Dec 15, 2003 1:38 pm
Posts: 708
Glad to hear you have it sorted.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group