1. Post #1

    April 2012
    17 Posts
    Hey, I've been trying to install sourcebans to my server for the last what 4 hours with no luck.. It is all setup but I am now getting these errors.
    When server starts -
    Code:
    =====================================================
    Evolve 1.0 by Overv succesfully started serverside.
    =====================================================
    
    [05/17/12 05:36:45][SourceBans.lua] Starting the database.
    After I join -
    Code:
    Client "-AG- DeathRowDave" connected (188.221.145.141:56741).
    [05/17/12 05:37:52][SourceBans.lua] The server has lost connection to the database. Retrying...
    Timer Error: [@addons\evolve\lua\ev_sourcebans.lua:36] bad argument #1 to 'ipairs' (table expected, got boolean)
    [EV] -AG- DeathRowDave last joined 9 minutes ago.
    [05/17/12 05:38:52][SourceBans.lua] The server has lost connection to the database. Retrying...
    Timer Error: [@addons\evolve\lua\ev_sourcebans.lua:36] bad argument #1 to 'ipairs' (table expected, got boolean)
    [05/17/12 05:43:52][SourceBans.lua] The server has lost connection to the database. Retrying...
    Timer Error: [@addons\evolve\lua\ev_sourcebans.lua:36] bad argument #1 to 'ipairs' (table expected, got boolean)
    [05/17/12 05:48:52][SourceBans.lua] The server has lost connection to the database. Retrying...
    Timer Error: [@addons\evolve\lua\ev_sourcebans.lua:36] bad argument #1 to 'ipairs' (table expected, got boolean)
    [05/17/12 05:53:52][SourceBans.lua] The server has lost connection to the database. Retrying...
    Timer Error: [@addons\evolve\lua\ev_sourcebans.lua:36] bad argument #1 to 'ipairs' (table expected, got boolean)
    Any help with this would be great. Thanks in advance
    -Dave

    (User was banned for this post ("Wrong section" - Gran PC))
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Friendly Friendly x 1 (list)

  2. Post #2
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    Delete the version of SourceBans.lua that came with Evolve, install this one.
    You may also need to delete the entire ban sync system, since it's a bit broken and will lag the evolve menu to hell and back if you have a lot of bans on your SB site.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events

  3. Post #3
    I call in friends to rate KatNotDinner dumb (lol)
    nick_9_8's Avatar
    December 2011
    1,650 Posts
    Looks like it can't find the database...

    Have you installed the web part of Sourcebans correctly and have you made sure you have entered the correct information in the ev_sourcebans.lua file?
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  4. Post #4

    April 2012
    17 Posts
    Lexic do i need gatekeeper? or can It work without it?

    Nick, yes i double checked the setting in ev_sourcebans.lua everything was correct.

    Thanks for the replies guys
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Friendly Friendly x 2 (list)

  5. Post #5
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    You need ev_sourcebans.lua.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events

  6. Post #6

    April 2012
    17 Posts
    oops edited my reply after lol, sorry okay I keep that but do i need gatekeeper?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Optimistic Optimistic x 1 (list)

  7. Post #7
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    It should work fine without gatekeeper, though it might trigger a warning on startup.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events

  8. Post #8

    April 2012
    17 Posts
    Okay thats cool its just my server hosts dont like uploading .dll files and it takes them hours to do it lol. had to wait 6 hours for them to upload the mysqloo files :D. I added the new sourcebans.lua file, I keep that default right? Don't edit that in anyway?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  9. Post #9
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    You do not need to edit sourcebans.lua directly.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Agree Agree x 1 (list)

  10. Post #10

    April 2012
    17 Posts
    Thought so just had to make sure. I'm in the middle of doing a few updates for my server once I've finished I will go and test and I'll let you know how it goes. Will be back soon :) Thanks for your help.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  11. Post #11
    Gold Member
    Lexic's Avatar
    March 2009
    6,118 Posts
    Not a problem. You may also wish to try testing with bots instead of waiting to join the server yourself.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events

  12. Post #12
    I call in friends to rate KatNotDinner dumb (lol)
    nick_9_8's Avatar
    December 2011
    1,650 Posts
    Thanks for the replies guys
    No... thank you :D

    You must be one of the only polite facepunchers around, and you only have 5 posts <3

    Keep it up
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  13. Post #13
    Blue and Proud Of It.
    Dennab
    September 2011
    961 Posts
    No... thank you :D

    You must be one of the only polite facepunchers around, and you only have 5 posts <3

    Keep it up

    Please shut up. Stop being stereotypical...

    Anyway,

    Has this been resolved or not?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Dumb Dumb x 5 (list)

  14. Post #14
    I call in friends to rate KatNotDinner dumb (lol)
    nick_9_8's Avatar
    December 2011
    1,650 Posts
    Please shut up. Stop being stereotypical...

    Anyway,

    Has this been resolved or not?
    I'm complimenting him because he is nice.

    Also, piss off, you are my least favourite face-puncher and that stupid comment makes me laugh some more.
    Reply With Quote Edit / Delete Windows 7 Australia Show Events Agree Agree x 4 (list)