Raised This Month: $32 Target: $400
 8% 

SourceMM bugs.


Post New Thread Reply   
 
Thread Tools Display Modes
ktrain
Senior Member
Join Date: Jul 2004
Old 01-08-2006 , 10:55  
Reply With Quote #11

tis working fine for me on windows, havent tried to update the servers
ktrain is offline
Send a message via MSN to ktrain
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 01-18-2006 , 07:47  
Reply With Quote #12

Ok, found another one.

It looks like, if a plugin wasnt loaded because of a NOFILE error, and you shut down using quit, server seg faults on shut down.

Not a biggy I know but it shouldnt be happening at the same time !

EDIT: I have been unable to reproduce this error since, nevermind =)
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 01-26-2006 , 21:22   New bug.
Reply With Quote #13

Ok, metaplugins.ini contains one line.
Code:
addons/projectx/bin/projectx_mm
Loads ok, meta list prints projectx_mm
Type in console
Code:
meta load addons/projectx/bin/projectx_mm
It loads it again !
On another second attempt, metamod reports the cant be loaded twice error.
But meta list shows two instances running !
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 01-27-2006 , 01:57  
Reply With Quote #14

And another one.

This seems to be the problem with the Unload bug which people are asking about.
Quote:
server.dll!SourceHook::CSourceHookImpl::CProt o::Equal(const char * p1=0x0e4711d0, const char * p2=0x0e5b5104) Line 1043 C++

server.dll!SourceHook::List<SourceHook::CSour ceHookImpl::CHookManagerContainer>::find<Sour ceHook::CSourceHookImpl::CHookManagerContaine r::HMCI>(const SourceHook::CSourceHookImpl::CHookManagerCont ainer::HMCI & equ={...}) Line 275 C++

server.dll!SourceHook::CSourceHookImpl::Remov eHook(int plug=2, void * iface=0x2243de50, int thisptr_offs=0, int (SourceHook::HookManagerAction, SourceHook::IHookManagerInfo *)* myHookMan=0x0e5a2c10, SourceHook::ISHDelegate * handler=0x0012e360, bool post=true) Line 396 C++
>
projectx_mm.dll!ProjectXPlugin::Unload(char * error=0x0012e3b4, unsigned int maxlen=127) Line 637 C++
Thats the call stack.

My line 637 is.
Code:
SH_REMOVE_HOOK_MEMFUNC(IServerGameDLL, GameFrame, m_ServerDll, &g_ProjectXPlugin, &ProjectXPlugin::GameFrame, true);
sourcehook.cpp: 1043 is..
Code:
if (*p1 && *p2)			// Case1: Both old
MSVC is saying p1 is a bad pointer.

And I am implementing the proper unhooking method for the CBaseEntity function too.

I hook in ClientPutInServer and UnHook in ClientDisconnect, and also unhook all valid pointers which were previously hooked in LevelShutDown seeing as their CBaseEntity pointer changes on map change and ClientPutInServer is being called on new maps.

Correct me if im wrong.....
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 01-27-2006 , 01:58  
Reply With Quote #15

Delete Me !
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode