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

[ANY] Tetris (Version 1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 05-06-2012 , 10:31   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #31

great plugin! thanks for this
This feature is already included but from my view it would be easier to understand for a user if there would be written "0.exit or 1.exit / 0.close or 1.close".
For lot of new or causal players it is difficult to understand how to close the game.

it may sound obvious for people here how to close a menu but I have tested it myself with some people and none of them could figure out how to close the game

They usually play it while they are dead.

I would really appreceate it if you could enable this option maybe also to tun on / off the visibility of the close button.

thanks!
__________________

Last edited by AeroAcrobat; 05-06-2012 at 10:32.
AeroAcrobat is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 05-23-2012 , 13:26   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #32

Code:
L 05/23/2012 - 16:37:54: [SM] Plugin encountered error 25: Call was aborted
L 05/23/2012 - 16:37:54: [SM] Native "ThrowError" reported: [SMLIB] Error: Invalid database handle.
L 05/23/2012 - 16:37:54: [SM] Displaying call stack trace for plugin "tetris.smx":
L 05/23/2012 - 16:37:54: [SM]   [0]  Line 25, G:\Server\dedicated\orangebox\cstrike\addons\sourcemod\scripting\include\smlib/sql.inc::SQL_TQueryF()
L 05/23/2012 - 16:37:54: [SM]   [1]  Line 176, D:\Plugins2\tetris.sp::OnClientAuthorized()
L 05/23/2012 - 16:47:46: Error log file session closed.
:/
__________________
AeroAcrobat is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 05-23-2012 , 22:56   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #33

Quote:
Originally Posted by Chronic1 View Post
Can you please fix this issue if possible? I would love to have this on my server but that bug is a bad one.

use

SetEntityMoveType(client, MOVETYPE_NONE);

SetEntityMoveType(client, MOVETYPE_WALK);

maybe better on l4d2
the flags messed up the infected spawn


EDIT : video for this plugin
feel free to use it http://www.youtube.com/watch?v=bd_r1Z4-iZc
However one of my friend's Tetris display messed up ...
http://www.youtube.com/watch?v=zUW63uVpo2k
Attached Files
File Type: sp Get Plugin or Get Source (tetris.sp - 149 views - 42.3 KB)
File Type: smx tetris.smx (30.9 KB, 134 views)
__________________

Last edited by alexip121093; 05-24-2012 at 01:56.
alexip121093 is offline
Send a message via MSN to alexip121093
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-24-2012 , 04:03   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #34

Quote:
Originally Posted by alexip121093 View Post
use

SetEntityMoveType(client, MOVETYPE_NONE);

SetEntityMoveType(client, MOVETYPE_WALK);

maybe better on l4d2
the flags messed up the infected spawn


EDIT : video for this plugin
feel free to use it http://www.youtube.com/watch?v=bd_r1Z4-iZc
However one of my friend's Tetris display messed up ...
http://www.youtube.com/watch?v=zUW63uVpo2k

Thanks, so that's been the problem. I tried to avoid using the movetype, since it's easy to mess up when enabling players to move again. Imagine you're spectator in freeview and stop playing tetris. Since you set the movetype to walk, you'd just drop to the floor like a normal player unable to move.. movetype_noclip would be appropriate here e.g..

That second video does use a different font than yours, right? Looks like that L4D font's representation of the █ and ░ sign aren't the same width..
__________________
Peace-Maker is offline
nope.avi
Senior Member
Join Date: Jan 2012
Location: Australia
Old 07-03-2012 , 09:43   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #35

Wow this is awesome, along with your other plugins!
May i make a suggestion?
Chess?
nope.avi is offline
Partycat22
Junior Member
Join Date: May 2012
Location: CA
Old 12-25-2012 , 06:10   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #36

L 12/21/2012 - 21:09:07: [SM] Displaying call stack trace for plugin "tetris.smx":
L 12/21/2012 - 21:09:07: [SM] [0] Line 25, G:\Server\dedicated\orangebox\cstrike\addons\ sourcemod\scripting\include\smlib/sql.inc::SQL_TQueryF()
L 12/21/2012 - 21:09:07: [SM] [1] Line 176, D:\Plugins2\tetris.sp::OnClientAuthorized()
L 12/21/2012 - 21:09:07: [SM] Plugin encountered error 25: Call was aborted
L 12/21/2012 - 21:09:07: [SM] Native "ThrowError" reported: [SMLIB] Error: Invalid database handle.

any fix for this?
__________________
beep boop i am a robot
Partycat22 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 12-25-2012 , 17:44   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #37

You didn't configure the "tetris" section correctly in your databases.cfg.
__________________
Peace-Maker is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 01-25-2013 , 20:22   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #38

Hi,

Seriously, it's perfect. I just tested it, and also Snake and Pong, they're all working fine on a CS:S Linux server, but this is my favourite.

Can you please add the cvar to allow only dead/spectating players to play this like you did with Pong? I'm pretty sure that some players will start playing this even if they are alive, without caring if the other players are looking for them.

Also, is it possible to make it remember your current game after a player reconnects or after a mapchange? (Shall I install it with MySQL instead of SQLite for this?)

Thanks,

St00ne

PS: Adding 0 in the menu, yes that would be nice, but I'll make an advert for this so I do not really mind.

PS2: there's a small bug if you play this while you are in a free camera mode. When the game is over, your camera falls like if it was a ragdoll. But that's ok because this doesn't affect the game, you just have to clic to a different camera mode or use the deathcam menu to change view and everything's fine. I tried alexip's version for L4D2 and it's worse on CS:S, the camera moves while playing, so for CS:S, default's version is the best.

Using MM:S 1.9.1 and SM 1.4.6
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 01-25-2013 at 23:40.
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 01-26-2013 , 17:57   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #39

Hi,

Unfortunately I can see 3 types of errors:

Code:
L 01/26/2013 - 01:56:22: [SM] Displaying call stack trace for plugin "tetris.smx":
L 01/26/2013 - 01:56:22: [SM]   [0]  Line 25, G:\Server\dedicated\orangebox\cstrike\addons\sourcemod\scripting\include\smlib/sql.inc::SQL_TQueryF()
L 01/26/2013 - 01:56:22: [SM]   [1]  Line 176, D:\Plugins2\tetris.sp::OnClientAuthorized()
L 01/26/2013 - 02:08:33: [SM] Native "TriggerTimer" reported: Invalid timer handle 0 (error 4)

L 01/26/2013 - 02:08:33: [SM] Displaying call stack trace for plugin "tetris.smx":
L 01/26/2013 - 02:08:33: [SM]   [0]  Line 1582, D:\Plugins2\tetris.sp::SaveCurrentObject()
L 01/26/2013 - 02:08:33: [SM]   [1]  Line 1439, D:\Plugins2\tetris.sp::MoveCurrentObjectDown()
L 01/26/2013 - 02:08:33: [SM]   [2]  Line 619, D:\Plugins2\tetris.sp::Timer_PlayerGameThink()
L 01/26/2013 - 02:17:53: Error log file session closed.

L 01/26/2013 - 02:48:25: SourceMod error session started
L 01/26/2013 - 02:48:25: Info (map "cs_italy") (file "errors_20130126.log")
L 01/26/2013 - 02:48:25: [SM] Plugin encountered error 25: Call was aborted
L 01/26/2013 - 02:48:25: [SM] Native "ThrowError" reported: [SMLIB] Error: Invalid database handle.
L 01/26/2013 - 02:48:25: [SM] Displaying call stack trace for plugin "tetris.smx":
L 01/26/2013 - 02:48:25: [SM]   [0]  Line 25, D:\scripting2\scripting\include\smlib/sql.inc::SQL_TQueryF()
L 01/26/2013 - 02:48:25: [SM]   [1]  Line 176, D:\scripting2\scripting\tetris.sp::OnClientAuthorized()
(SM 1.4.6 - MM:S 1.9.1 - Linux server)

I installed the plugin with SQLite method, like Snake with which I have no problem.

Here is my databases.cfg setting:

Code:
    "tetris"
    {
        "driver"            "sqlite"
        "database"            "tetris"
    }
    "snake"
    {
        "driver"            "sqlite"
        "database"            "snake"
    }
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 01-27-2013 at 22:20.
St00ne is offline
Viper Snake
Junior Member
Join Date: Jun 2010
Old 04-30-2013 , 15:54   Re: [ANY] Tetris (Version 1.0)
Reply With Quote #40

I've been using this plugin for TF2 and it works perfectly fine, however it causes the server to crash shortly after connecting when I try it on the new steampipe version.
Viper Snake 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 14:11.


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