Raised This Month: $51 Target: $400
 12% 

Compiling AMXX Module


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 09-24-2015 , 03:56   Re: Compiling AMXX Module
Reply With Quote #23

I'm encountering an issue where variables from a separate plugin seems to infecting another. In the attached screenshot, I have one forward which prints the parameters, and in another I am operating on those forwards (not changing, as they are consts). It seems that some of the values overwrite those which are printed within the other.

Under what conditions can something like this occur?

Note: When the plugin on the right is disabled, this does not occur (expected).

My forward is declared as
Code:
LoggerCreatedForward = registerForward("OnLoggerCreated", ET_IGNORE,
    FP_CELL, FP_CELL, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_STRING, FP_DONE);
My forward is executed as
Code:
executeForwards(LoggerCreatedForward,
    loggerHandle, <- this is of type cell
    static_cast<cell>(verbosity),
    pluginFile2,
    nameFormat,
    msgFormat,
    dateFormat,
    timeFormat,
    pathFormat,
    traceFormat);
And my forward decl is
Code:
forward OnLoggerCreated(
    const Logger: logger,
    const Severity: verbosity,
    const name[],
    const nameFormat[],
    const msgFormat[],
    const dateFormat[],
    const timeFormat[],
    const pathFormat[],
    const traceFormat[]);
Attached Files
File Type: zip screenshot.zip (947.9 KB, 57 views)
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]
Tirant is offline
 



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 05:40.


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