Hey,
German:
English (not perfect :D):
#UPDATE#:
I've written an example code to demonstrate you the bug in an easier way (at least for ppl who can program a bit).
Example result of the output WITHOUT my fix: [Only registered and activated users can see links. Click Here To Register...]
Example result of the output WITH my fix: [Only registered and activated users can see links. Click Here To Register...]
I added the 2 example files in the appendix - you just has to include the file "ExampleEventbug.h" in your cmd.cpp, write a function like this:
And add the function into the command-list; just add the following code in the "cmd_info"-array:
Now you can go ingame (after compiling) and check out the output when you enter "/call_example_script" with and without my fix - you'll see same results as i've shown you in the screens. So without the 2. event won't be executed and with it will be.
#END OF UPDATE#
Vielleicht hilft es ja dem Einen oder Anderem ;)
Kind Regards
German:
English (not perfect :D):
#UPDATE#:
I've written an example code to demonstrate you the bug in an easier way (at least for ppl who can program a bit).
Example result of the output WITHOUT my fix: [Only registered and activated users can see links. Click Here To Register...]
Example result of the output WITH my fix: [Only registered and activated users can see links. Click Here To Register...]
I added the 2 example files in the appendix - you just has to include the file "ExampleEventbug.h" in your cmd.cpp, write a function like this:
Code:
ACMD (do_call_example_script)
{
CallExampleScript(ch);
}
Code:
{ "call_example_script", do_call_example_script, 0, POS_DEAD, GM_IMPLEMENTOR },
#END OF UPDATE#
Vielleicht hilft es ja dem Einen oder Anderem ;)
Kind Regards