AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [Paid] ServerAdvertisement3 fix (https://forums.alliedmods.net/showthread.php?t=313620)

freak.exe_uLow 01-16-2019 05:47

[Paid] ServerAdvertisement3 fix
 
So, since nothing more comes from Bara, I ask everyone coder if one can fix it, I would give 10 € as a thank you. You can also free it for everyone afterwards, but I'm annoyed that I still have to use the old script with the memory leaks :3

hes Version: https://github.com/Bara/ServerAdvertisement3

Problem when i use bara version plugin
Code:

L 12/31/2018 - 00:02:50: [SM] Blaming: ServerAdvertisements3.smx
L 12/31/2018 - 00:02:50: [SM] Call stack trace:
L 12/31/2018 - 00:02:50: [SM]  [0] ArrayList.GetString
L 12/31/2018 - 00:02:50: [SM]  [1] Line 508, D:\Cloud\SourcePawn\GitHub\ServerAdvertisement3\scripting\ServerAdvertisements3.sp::Timer_PrintMessage
L 12/31/2018 - 00:02:57: Error log file session closed.

Thank you for reading and have a nice day

GUCCICSGO 01-16-2019 10:08

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by freak.exe_uLow (Post 2634992)
So, since nothing more comes from Bara, I ask everyone coder if one can fix it, I would give 10 € as a thank you. You can also free it for everyone afterwards, but I'm annoyed that I still have to use the old script with the memory leaks :3

hes Version: https://github.com/Bara/ServerAdvertisement3

Problem when i use bara version plugin
Code:

L 12/31/2018 - 00:02:50: [SM] Blaming: ServerAdvertisements3.smx
L 12/31/2018 - 00:02:50: [SM] Call stack trace:
L 12/31/2018 - 00:02:50: [SM]  [0] ArrayList.GetString
L 12/31/2018 - 00:02:50: [SM]  [1] Line 508, D:\Cloud\SourcePawn\GitHub\ServerAdvertisement3\scripting\ServerAdvertisements3.sp::Timer_PrintMessage
L 12/31/2018 - 00:02:57: Error log file session closed.

Thank you for reading and have a nice day


check this


https://ufile.io/tg4u3

freak.exe_uLow 01-16-2019 10:20

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by GUCCICSGO (Post 2635025)

thanks but not really the best advert plugin, and for the next, i think thats better when you use the Manage Attachments to upload you files, your link is not the best (no hate) so i find someone, hes trying to fix that :3

Lubricant Jam 01-16-2019 10:51

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by freak.exe_uLow (Post 2635026)
thanks but not really the best advert plugin, and for the next, i think thats better when you use the Manage Attachments to upload you files, your link is not the best (no hate) so i find someone, hes trying to fix that :3

Let me know when you get it done, wouldn't mind helping chipping in as I started to use this recently.

Bacardi 01-16-2019 11:10

Re: [Paid] ServerAdvertisement3 fix
 
Plugin without source file *.sp, what if you just jump in river...
Quote:

Originally Posted by GUCCICSGO (Post 2635025)


Bacardi 01-16-2019 11:16

Re: [Paid] ServerAdvertisement3 fix
 
I have not tested, but I think this line
https://github.com/Bara/ServerAdvert...ments3.sp#L612

it check over array index size, bound.
Should perhaps
Code:

        if(g_iCurrentMessage >= aMessagesList.Length-1)
        {


freak.exe_uLow 01-16-2019 11:32

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by Lubricant Jam (Post 2635030)
Let me know when you get it done, wouldn't mind helping chipping in as I started to use this recently.

I'm not an asshole, so i share it here....have fun

this fix, fixed the issue
Quote:

L 01/16/2019 - 15:30:22: [SM] Exception reported: Invalid Handle 8a1060f (error: 1)
L 01/16/2019 - 15:30:22: [SM] Blaming: ServerAdvertisements3.smx
L 01/16/2019 - 15:30:22: [SM] Call stack trace:
L 01/16/2019 - 15:30:22: [SM] [0] ArrayList.GetString
L 01/16/2019 - 15:30:22: [SM] [1] Line 508, D:\Cloud\SourcePawn\GitHub\ServerAdvertisemen t3\scripting\ServerAdvertisements3.sp::Timer_ PrintMessage
NO SUPPORT, its tested and works fine on my server

EDIT: NEW LINK

Ejziponken 01-18-2019 13:10

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by freak.exe_uLow (Post 2635037)
I'm not an asshole, so i share it here....have fun

this fix, fixed the issue


NO SUPPORT, its tested and works fine on my server


L 01/18/2019 - 19:07:14: [SM] Exception reported: Invalid Handle bdf0301 (error: 1)
L 01/18/2019 - 19:07:14: [SM] Blaming: ServerAdvertisements3.smx
L 01/18/2019 - 19:07:14: [SM] Call stack trace:
L 01/18/2019 - 19:07:14: [SM] [0] ArrayList.Length.get
L 01/18/2019 - 19:07:14: [SM] [1] Line 498, ServerAdvertisements3.sp::Timer_PrintMessage

freak.exe_uLow 01-18-2019 13:50

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by Ejziponken (Post 2635338)
L 01/18/2019 - 19:07:14: [SM] Exception reported: Invalid Handle bdf0301 (error: 1)
L 01/18/2019 - 19:07:14: [SM] Blaming: ServerAdvertisements3.smx
L 01/18/2019 - 19:07:14: [SM] Call stack trace:
L 01/18/2019 - 19:07:14: [SM] [0] ArrayList.Length.get
L 01/18/2019 - 19:07:14: [SM] [1] Line 498, ServerAdvertisements3.sp::Timer_PrintMessage

yeah, the repeat message is not working...i got the same error, im still waiting for the fix from the scripter

Ejziponken 01-18-2019 14:18

Re: [Paid] ServerAdvertisement3 fix
 
Quote:

Originally Posted by freak.exe_uLow (Post 2635347)
yeah, the repeat message is not working...i got the same error, im still waiting for the fix from the scripter

Alright cool :)


All times are GMT -4. The time now is 08:20.

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