Thread: Ads
View Single Post
naris
AlliedModders Donor
Join Date: Dec 2006
Old 12-31-2007 , 12:51   Re: Ads
Reply With Quote #128

I think the Ads and QuickMessages interfere with each other because he creates the same Global Forwards in both to handle the configuration.

You can find the same code in both ads.sp & quickmsg.sp:
FwdNewSection = CreateGlobalForward("_ConfigNewSection", ET_Ignore, Param_String);
FwdKeyValue = CreateGlobalForward("_ConfigKeyValue", ET_Ignore, Param_String, Param_String);
FwdEnd = CreateGlobalForward("_ConfigEnd", ET_Ignore);

He should probably make them Private (use CreateForward() instead) or at least give them different names.

I am not sure that ads.sp is interfering with hlstatsx, check to make sure the hlstatx is configured (using thier web panel control thing) to send message to sourcemod, not beetlesmod. There also seem to be some bugs in the hlstatsx code. We had problems with huge lag on the messages when using it and had to go back to using beetlesmod for hlstatsx. We also had weird coloring of the messages (and we did NOT have ads loaded at all).

Last edited by naris; 12-31-2007 at 12:56. Reason: typo
naris is offline