Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
1.4.1 Object problem

 
Post new topic   Reply to topic Printable version
 View previous topic  MySQL Socket Post :: Post MERV and ASSS?  View next topic  
Author Message
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Tue Oct 25, 2005 5:48 pm    Post subject: 1.4.1 Object problem Reply to topic Reply with quote

I'm having a weird problem in 1.4.1 when it comes to the Object interface.

I have some modules that was written for 1.4.0 and work fine there
but when I try to run them on 1.4.1 it turns out the object interface wont "load" correctly. The normal code to get the interface returns NULL.

Anyone else had this problem or know whats causing it?

I wont attach the full source since thats alot of code for nothing but ill include the lines that relate to objects just to see if theres anything obvious thats changed or is missing.

//I include the objects header
#include "objects.h"

//Then at the top i list Iobjects as an interface
local Iobjects *obj;

//And in the load part of the entry point I do this, as I did on 1.4.0 (this is what returns NULL)
obj = mm->GetInterface(I_OBJECTS,ALLARENAS);

And then i ofcourse release the interface on unload but havn't gotten that far so kinda uninteresting icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Oct 25, 2005 7:17 pm    Post subject: Reply to topic Reply with quote

Did you recompile against the new version's source?
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Wed Oct 26, 2005 4:48 am    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
Did you recompile against the new version's source?


yes
Back to top
View users profile Send private message Add User to Ignore List Send email
Bjorn
Novice


Joined: Apr 27 2004
Posts: 45
Offline

PostPosted: Wed Oct 26, 2005 6:45 am    Post subject: Reply to topic Reply with quote

bah, turns out I forgot to load up the objects module :/
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Wed Oct 26, 2005 9:43 am    Post subject: Reply to topic Reply with quote

That would certainly cause that problem icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 14 page(s) served in previous 5 minutes.

phpBB Created this page in 0.743610 seconds : 28 queries executed (97.1%): GZIP compression disabled