AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] CallAdmin - Extended Report Mod (https://forums.alliedmods.net/showthread.php?t=213670)

dordnung 05-17-2015 20:59

Re: [ANY] CallAdmin - Extended Report Mod
 
I added the windows binarys

secondtimesold 05-17-2015 21:06

Re: [ANY] CallAdmin - Extended Report Mod
 
Server crashes using the debug version and no errors are written to normal sourcemod log

dordnung 05-17-2015 21:31

Re: [ANY] CallAdmin - Extended Report Mod
 
I just created a windows server with newest metamod and sourcemod snapshot, added the current calladmin with the new messagebot and I have no crashes and I'm getting the reports.

secondtimesold 05-17-2015 21:37

Re: [ANY] CallAdmin - Extended Report Mod
 
Gonna wipe server ... ugg

secondtimesold 05-17-2015 22:39

Re: [ANY] CallAdmin - Extended Report Mod
 
Fresh server, no other plugins or anything.

Same crash. Errors in log are vague as hell

Quote:

L 05/17/2015 - 22:36:08: SourceMod log file session started (file "L20150517.log") (Version "1.7.2-dev+5190")
L 05/17/2015 - 22:36:08: -------- Mapchange to de_dust2 --------
L 05/17/2015 - 22:36:15: -------- Mapchange to de_dust2 --------
L 05/17/2015 - 22:36:52: [MessageBot] ‡
L 05/17/2015 - 22:36:58: SourceMod log file session started (file "L20150517.log") (Version "1.7.2-dev+5190")
L 05/17/2015 - 22:36:58: -------- Mapchange to de_dust2 --------

sneaK 05-17-2015 23:22

Re: [ANY] CallAdmin - Extended Report Mod
 
Quote:

Originally Posted by blackhawk74 (Post 2290520)
Experiencing crashes with this plugin, here are the crash reports:

https://crash.limetech.org/vb53t6zrfszr
https://crash.limetech.org/doiohwin7t5w
https://crash.limetech.org/2nb7zlrzsd2u

Plugin is setup and running properly, works most of the time. Sometimes when someone goes to report it just crashes the server.

Hey popoklopsi, just wanted to make sure you saw this from several pages back. Crashes when people report, but no errors in any logs, whether it be console.log, sourcemod error logs, or crashhelper logs. Thanks!

dordnung 05-18-2015 05:31

Re: [ANY] CallAdmin - Extended Report Mod
 
Mh, weird, it's hard to tell when i can't reproduce the crash. I can make you an more debug version, but for this you have to wait 1-2 days, because i'm really busy these days. Sorry.

EDIT: I just took a look at it and the problem is, directly after an report was made, it logs something. So if even this isn't visible it's really weird :/

@blackhawk74

Can you post the raw crash reports? Can you take a picture of the Crash Window (if there is one)?

Dr. Api 05-18-2015 07:16

Re: [ANY] CallAdmin - Extended Report Mod
 
PHP Code:

//MessageBot_ClearRecipients(); works but will clean all recipients.
if(StrEqual(menu1S_servername[servers]))
                {
                    
MessageBot_SetSendMethod(SEND_METHOD_ONLINEAPI);
                    
MessageBot_SetLoginData("******""******");
                    
MessageBot_AddRecipient(S_steamid);
                    
                    
char sMessage[4096];
                    
Format(sMessagesizeof(sMessage), "steam://connect/%s:%s"S_ipname[servers] , S_portname[servers]);
                         
                    
MessageBot_SendMessage(OnMessageResultReceivedsMessage);
                    
MessageBot_RemoveRecipient(S_steamid);
                    
                    
CPrintToChat(param1"%t""Send MSG");
                    
                } 

MessageBot_RemoveRecipient doesn't work. If someone choose in menu one server I received too but if I used MessageBot_ClearRecipients(); everything works.
Do I need to put a timer or show menu for one person at time to avoid this and using MessageBot_ClearRecipients?

http://images.akamai.steamuserconten...FC6EC7DF569CE/

Impact123 05-18-2015 09:29

Re: [ANY] CallAdmin - Extended Report Mod
 
Messages are send asynchronously. Don't remove the recipient before the message callback was fired. Why do you need to remove the recipient at all?

@secondtimesold
I can confirm that the extension works again. I have no crashes either. I used a limited account for this.

secondtimesold 05-18-2015 10:08

Re: [ANY] CallAdmin - Extended Report Mod
 
i dont know what it is that im doing wrong... i have to give up on this.. sorry guys but I just cant get it to work. thanks anyway

i wiped my server and installed only the calladmin plugin with steam module and still crashes on first report sent and doesnt log anything.. so i jsut dont know.


All times are GMT -4. The time now is 16:02.

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