Raised This Month: $ Target: $400
 0% 

[ANY] Tetris (Version 1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Fearts
ferts of daeth
Join Date: Oct 2008
Plugin ID:
2605
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    48 
    Plugin Description:
    Tetris minigame in a panel including highscores.
    Old 10-16-2011 , 11:18   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #1

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

    Forgot to add smlib its fixed now thanks for this plugin.
    __________________

    Last edited by Fearts; 10-16-2011 at 11:23.
    Fearts is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 10-20-2011 , 05:50   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #2

    Quote:
    Originally Posted by Fearts View Post
    Code:
    L 10/16/2011 - 10:15:27: [SM] Plugin encountered error 25: Call was aborted
    L 10/16/2011 - 10:15:27: [SM] Native "ThrowError" reported: [SMLIB] Error: Invalid database handle.
    L 10/16/2011 - 10:15:27: [SM] Displaying call stack trace for plugin "tetris.smx":
    L 10/16/2011 - 10:15:27: [SM]   [0]  Line 25, G:\Server\dedicated\orangebox\cstrike\addons\sourcemod\scripting\include\smlib/sql.inc::SQL_TQueryF()
    L 10/16/2011 - 10:15:27: [SM]   [1]  Line 176, D:\Plugins2\tetris.sp::OnClientAuthorized()
    L 10/16/2011 - 10:16:22: [SM] Plugin encountered error 25: Call was aborted
    L 10/16/2011 - 10:16:22: [SM] Native "ThrowError" reported: [SMLIB] Error: Invalid database handle.
    L 10/16/2011 - 10:16:22: [SM] Displaying call stack trace for plugin "tetris.smx":
    L 10/16/2011 - 10:16:22: [SM]   [0]  Line 25, G:\Server\dedicated\orangebox\cstrike\addons\sourcemod\scripting\include\smlib/sql.inc::SQL_TQueryF()
    L 10/16/2011 - 10:16:22: [SM]   [1]  Line 176, D:\Plugins2\tetris.sp::OnClientAuthorized()
    EDIT:

    Forgot to add smlib its fixed now thanks for this plugin.
    Got the same error, what do you mean by smlib? Its not like its an extention or something, its just an include to compile with. How did you fixed it?
    Groger is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 10-20-2011 , 12:17   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #3

    Quote:
    Originally Posted by Groger View Post
    Got the same error, what do you mean by smlib? Its not like its an extention or something, its just an include to compile with. How did you fixed it?
    It's in the OP's download instructions but here is the link for SMLIB install:

    http://forums.alliedmods.net/showthread.php?p=1398699
    __________________
    Fearts is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 10-20-2011 , 17:09   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #4

    Code:
    L 10/21/2011 - 22:37:31: [SM] Native "TriggerTimer" reported: Invalid timer handle 0 (error 4)
    L 10/21/2011 - 22:37:31: [SM] Displaying call stack trace for plugin "tetris.smx":
    L 10/21/2011 - 22:37:31: [SM]   [0]  Line 1582, tetris.sp::SaveCurrentObject()
    L 10/21/2011 - 22:37:31: [SM]   [1]  Line 1439, tetris.sp::MoveCurrentObjectDown()
    L 10/21/2011 - 22:37:31: [SM]   [2]  Line 619, tetris.sp::Timer_PlayerGameThink()
    Groger is offline
    DaftMink
    Member
    Join Date: Apr 2009
    Old 10-22-2011 , 18:59   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #5

    Seems the plugins having an issue with the default databases.cfg file.
    Code:
    L 10/22/2011 - 18:52:38: [tetris.smx] Error connecting to database: [2003]: Can't connect to MySQL server on 'localhost' (10061)
    After adding the SQLite entry though it works fine.

    Last edited by DaftMink; 10-22-2011 at 19:00.
    DaftMink is offline
    mentor
    Member
    Join Date: Apr 2011
    Old 10-18-2011 , 03:11   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #6

    i have problem on L4D2

    while playing infected, after stop play tetris this plugin will auto-spawn and can't spawn infected anymore after died
    must rejoin server always

    Last edited by mentor; 10-18-2011 at 03:13.
    mentor is offline
    Chronic1
    SourceMod Donor
    Join Date: Jun 2011
    Old 01-17-2012 , 19:54   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #7

    Quote:
    Originally Posted by mentor View Post
    i have problem on L4D2

    while playing infected, after stop play tetris this plugin will auto-spawn and can't spawn infected anymore after died
    must rejoin server always
    Can you please fix this issue if possible? I would love to have this on my server but that bug is a bad one.
    __________________

    Last edited by Chronic1; 01-17-2012 at 19:56.
    Chronic1 is offline
    Peace-Maker
    SourceMod Plugin Approver
    Join Date: Aug 2008
    Location: Germany
    Old 01-18-2012 , 05:33   Re: [ANY] Tetris (Version 1.0)
    Reply With Quote #8

    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.
    I don't play l4d2. I don't really understand the issue. When playing as infected, you won't spawn after playing tetris while dead?
    __________________
    Peace-Maker 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 #9

    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 - 158 views - 42.3 KB)
    File Type: smx tetris.smx (30.9 KB, 142 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 #10

    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
    Reply


    Thread Tools
    Display Modes

    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 13:28.


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