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

Terms Agreement [Memory Leak Fixed]


Post New Thread Reply   
 
Thread Tools Display Modes
lamdacore
Member
Join Date: Aug 2005
Old 08-23-2007 , 05:51   Re: Terms Agreement
Reply With Quote #21

works on dods and linux

but only the bug exist if you don't push a button for a certain time the dialog vanishes and you can play without agreed the terms .. it would be better if then the player would be kicked instead.
lamdacore is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 08-23-2007 , 08:22   Re: Terms Agreement
Reply With Quote #22

What a really good idea!

Will add this tonight!
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 08-23-2007 , 08:30   Re: Terms Agreement
Reply With Quote #23

Oh when I compile I get this warning:

Code:
./spcomp termsagreement.sp
SourcePawn Compiler 1.0.0.1319
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2007 AlliedModders, LLC

termsagreement.sp(64) : warning 204: symbol is assigned a value that is never us                   ed: "szTerms"
Header size:           1804 bytes
Code size:             1404 bytes
Data size:              716 bytes
Stack/heap size:      16384 bytes; Total requirements:   20308 bytes

1 Warning.
I pressume its @ line 68 where its declared but never used?

Code:
    new String:szTerms[512];
Also if you join a CS:S server (under linux) and then got as a spectator, then select 'I disagree' you are not kicked.

Matt
__________________

Last edited by MoggieX; 08-23-2007 at 08:45.
MoggieX is offline
Send a message via Skype™ to MoggieX
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 08-29-2007 , 19:02   Re: Terms Agreement
Reply With Quote #24

On checking the log files, I have a shed load of these:

Code:
L 08/29/2007 - 23:29:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/29/2007 - 23:29:26: [SM] Displaying call stack trace for plugin "termsagreement.smx":
L 08/29/2007 - 23:29:26: [SM]   [0]  Line 46, termsagreement.sp::HookClientSpawn()
L 08/29/2007 - 23:29:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/29/2007 - 23:29:26: [SM] Displaying call stack trace for plugin "termsagreement.smx":
L 08/29/2007 - 23:29:26: [SM]   [0]  Line 46, termsagreement.sp::HookClientSpawn()
L 08/29/2007 - 23:29:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/29/2007 - 23:29:26: [SM] Displaying call stack trace for plugin "termsagreement.smx":
L 08/29/2007 - 23:29:26: [SM]   [0]  Line 46, termsagreement.sp::HookClientSpawn()
L 08/29/2007 - 23:29:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/29/2007 - 23:29:26: [SM] Displaying call stack trace for plugin "termsagreement.smx":
L 08/29/2007 - 23:29:26: [SM]   [0]  Line 46, termsagreement.sp::HookClientSpawn()
L 08/29/2007 - 23:29:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/29/2007 - 23:29:26: [SM] Displaying call stack trace for plugin "termsagreement.smx":
L 08/29/2007 - 23:29:26: [SM]   [0]  Line 46, termsagreement.sp::HookClientSpawn()
L 08/29/2007 - 23:29:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/29/2007 - 23:29:26: [SM] Displaying call stack trace for plugin "termsagreement.smx":

Any ideas?
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-05-2007 , 07:22   Re: Terms Agreement
Reply With Quote #25

any news and updates?

=) Please.
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Craziness
Junior Member
Join Date: Sep 2007
Old 09-29-2007 , 12:28   Re: Terms Agreement
Reply With Quote #26

Wonderful plugin idea!

Im trying to get it to work on my Linux Fortress Forever server atm but having a little trouble. When I spawn it has a clock icon in the upper left corner that tells me to either accept or decline but I don't get a list of the terms. Think this is a FF problem or possibly something I'm doing wrong? I put a terms.txt files in sourcemod/configs

thanks for any and all help. I would really like to have this working.

Last edited by Craziness; 09-29-2007 at 12:31.
Craziness is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-29-2007 , 14:32   Re: Terms Agreement
Reply With Quote #27

feature request: multiple pages need.
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-07-2007 , 12:46   Re: Terms Agreement
Reply With Quote #28

BUG FIX: http://forums.alliedmods.net/showpos...1&postcount=13
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Chaos Llama
Senior Member
Join Date: Jul 2006
Old 12-05-2007 , 00:44   Re: Terms Agreement [Memory Leak Fixed]
Reply With Quote #29

I've encountered a weird bug (in pvkii). Sometimes (randomly) on map load the terms agreement doesnt display at all. If a player still pressed 1 or 2 it acts as if they agreed/dissagreed.
Chaos Llama is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 01-27-2008 , 13:12   Re: Terms Agreement [Memory Leak Fixed]
Reply With Quote #30

I have fixed the memory leak now, it's safe to use again.
mateo10 is offline
Reply



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 00:37.


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