[ADMN/WEB] OKB3 - Bulletin Board Bridge - Now on BukkitDev! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Jun 2, 2011.

  1. Offline

    Kalman Olah

  2. Offline

    Donny

    Code:
    OKB3: [BRIDGE] nerdy97's ranks synced.
    OKB3: [BRIDGE] nerdy97's ranks synced.
    OKB3: v2.5.1
    problem: spamming ranks synced. Sometimes a lot.
     
  3. Offline

    skater40165

    [WARNING] [OKB3] Error at SQL Query: query does not return ResultSet

    This happen randomly from best I can tell. Most often this will occurs after /fsyncall is ran but it sends hundreds of errors at a time and crashes the server. We have to restart MC to make this stop.
     
  4. Offline

    Kalman Olah

    You're using normal mode, if "use-as-blacklist" is set to false, people without saved credentials(read: people who haven't /synced yet) won't be able to join.

    I made my plugin sync ranks on a teleport. Some plugins use teleports instead of simple movements to do shit. I'll start on a fix :).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  5. Offline

    skater40165

    Sorry forgot to include config

    mode: normal
    mysql-connection-info:
    mysql-host: HOSTISRIGHT
    mysql-user: USERISRIGHT
    mysql-password: PASSISRIGHT
    mysql-database-name: DBISRIGHT
    old-school-mode:
    usertable: user_table
    minecraftname-field: mine_user
    rank-field: rank_field
    enable-multiple-tables: 'false'
    multitable:
    secondtable: mine_table
    useridfield-in-secondtable: user_id_field
    useridfield-in-usertable: user_id_field
    normal-mode:
    forum: smf
    type1:
    usertable: smf_members
    username-field: member_name
    userpassword-field: passwd
    rank-field: id_group
    type2:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    location-of-passgenphp: http://yoursite.com/passgen.php
    password-set-in-config-inc-php: 12345pass
    type3:
    usertable: user_table
    rank-field: rank_field
    username-field: username_field
    password-field: pass_field
    secondtable: second_table
    useridfield-in-usertable: user_id_field
    useridfield-in-secondtable: user_id_field
    type4:
    usertable: user_table
    username-field: username
    password-field: mine_user
    rank-field: rank_field
    location-of-passgenphp: http://yoursite.com/passgen.php
    password-set-in-config-inc-php: 12345pass
    world-groups:
    enable-multiworld-groups: 'false'
    world:
    groups:
    '0': Member
    '1': Admin
    '2': Admin
    '9': Moderator
    '10': VIP
    exampleworld1:
    groups:
    '1': ExampleGroup1
    '2': ExampleGroup2
    exampleworld2:
    groups:
    '1': ExampleGroup1
    '2': ExampleGroup2
    whitelist:
    enable-whitelist: 'false'
    global:
    use-as-blacklist: 'false'
    kick-message: This is the message a user will see if their group isn't whitelisted.
    groups:
    '1': 'true'
    '2': 'false'
    nickname-sync:
    enable-nickname-syncing: 'false'
    nickname-field-in-usertable: ''
    forum-banning:
    is-server-ban-too: 'true'
    banned-forum-user-rank-id: '0'
    unbanned-forum-user-rank-id: '10'
    ban-message: Sorry, you are banned..
    promotion-tracks:
    '1': '3'
    '2': '5'
    '3': '16'
    forum-ranks:
    Admin: '1'
    Registered: '0'
    Moderator: '9'
     
  6. Offline

    Chrisspitz

    Alright, I feel bad with all of these problems lol.
    I really want to just give you access to my server so you can see it all for yourself.
    Problem is, theres like always people online now so I never have any time to work on the server without disturbing people lol >_>
     
  7. Offline

    Kalman Olah

    Change this:
    Code:
    world-groups:
    enable-multiworld-groups: 'false'
    world:
    groups:
    '0': Member
    '1': Admin
    '2': Admin
    '9': Moderator
    '10': VIP
    to this:
    Code:
    world-groups:
    enable-multiworld-groups: 'false'
    default:
    groups:
    '0': Member
    '1': Admin
    '2': Admin
    '9': Moderator
    '10': VIP
    Note the default.

    I'm trying to test v2.5.2, but it says minecraft.net is down :eek:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    Chrisspitz

    Rawr I hate when that happens, I was just on minecraft and to test what you said I closed my client and tried to relogin now I can't lol.

    Good thing I have a cracked client as well, not sure if you have one of those. It's handy for me when I want to login with 2 accounts to test things.
     
  9. Offline

    Kalman Olah

    Version 2.5.2

    • The teleport event checks now only happen when the destination world and starting world aren't the same.
    EDIT: Please test this and report your results :).
     
  10. Offline

    Chrisspitz

    Just put it on my server and connected, one player and I on the server.
    No lag spikes on connections so far, very happy :)
    Waiting for more people to join

    EDIT: 6 people online and not a single lag spike yet :D.... Only thing if anything wrong is that.. I made a new account on my forum, connected, and my rank wasn't set when I logged in and I had to type /sync yet I checked my config file and it is on old-school... This is alright I just added some signs in my global spawn (we have a server guide made out of signs), but I put a sign saying to type /sync because when I did that on my test account it fixed my rank
     
  11. Offline

    Donny

    Idea for multiple groups, One forums rank, multiple in game ranks. Wouldn't effect the demote/promote =)
     
  12. Offline

    Kalman Olah

    Accidentally made it not sync on login when whitelist is off >:
    Fixed now, though
    Version 2.5.3
    • Fixed a bug with syncing on login with the whitelist turned off.
     
  13. Offline

    Chrisspitz

    Haha nice you're a pro.
    About to update it, i'll reload/restart later theres some people playing now.

    I love you no homo.
    Glad I donated :) im so stress relieved now, I can finally work on other things lol
     
  14. Offline

    Kalman Olah

    No dude. No.
     
  15. Offline

    Donny

    ='(
     
  16. Offline

    ExplosiveBacoN

    Well I don't know if there is a fix for what I'm about to say but what ever. When a non-whitelisted member joins, it shows he joined and left the game. This spams the chat eventually and causes some cases of lag. Also, on no-school mode I feel as though its syncing people way to much. One guy was synced maybe 5 to 6 times in a row.
     
  17. Offline

    Kalman Olah

    What do you mean? How was he synced 6 times in a row?
    EDIT: I'd also like some specifics on the join/leave messages? Does it actually say he joined the game, too?
    EDIT2: By the way, it sync people whenever they:
    -Log in
    -Change worlds

    Chatting doesn't cause lag if you're not running your server on a Pentium II. I reuploaded v2.5.3. This "should" contain a fix removing th join message. "should". I'm not sure. I'll find a fix for the leave message later.
    Once again, multiple sync messages simply means the guys teleported between worlds a lot.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  18. Offline

    Deadlystrike

    somone on our server just performed a /sync for the first time resutling in server spamming the error i had last t ime and server crashing
     
  19. Offline

    ExplosiveBacoN

    We don't have multi-worlds.
     
  20. Offline

    Kalman Olah

    Doesn't matter. Ranks are synced when the teleport destination is in another world.
    Ok. How about you post your config.yml again.

    Nether counts as a world.
    EDIT: How about you show me your log. It's possible someone was just /Syncing a lot...manually.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  21. Offline

    ExplosiveBacoN

    20:18:06 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:07 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:08 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:08 [INFO] [Donator2]coal555: She use to
    20:18:12 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:12 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:13 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:13 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:14 [INFO] [OKB3] Pinged MySQL server.
    20:18:15 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:15 [INFO] [Premium]tscho23: *He
    20:18:16 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:16 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:17 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:17 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:19 [INFO] [OKB3] [BRIDGE] coal555's ranks synced.
    20:18:20 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:20 [INFO] [Donator2]coal555: O lol
    20:18:20 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:21 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:21 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:23 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:23 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:24 [INFO] [OKB3] [BRIDGE] coal555's ranks synced.
    20:18:24 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:24 [INFO] [Premium]tscho23: ya haha
    20:18:25 [INFO] [OKB3] [BRIDGE] coal555's ranks synced.
    20:18:28 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:28 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:29 [INFO] [OKB3] [BRIDGE] tscho23's ranks synced.
    20:18:29 [INFO] [OKB3] [BRIDGE] tscho23's ranks synced.
    20:18:29 [INFO] /95.211.33.147:46256 lost connection
    20:18:32 [INFO] [OKB3] [BRIDGE] coal555's ranks synced.
    20:18:32 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
    20:18:32 [INFO] [OKB3] [BRIDGE] _5igm4_'s ranks synced.
     
  22. Offline

    Kalman Olah

    Is there anything special about this user? Also, config.yml.
     
  23. Offline

    ExplosiveBacoN

    Well its me, but I have a feeling that it happenes when I use the compass from worldedit. And I updated to 2.5.3 but the login/logout messages still show.
     
  24. Offline

    Deadlystrike

    Code:
    normal-mode:
        forum: ipb
        type1:
            usertable: members
            username-field: name
            userpassword-field: members_pass_hash
            rank-field: member_group_id
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'true'
        world:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_nether:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_skylands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message: This is the message a user will see if their group isn't whitelisted.
            groups:
                '1': 'true'
                '2': 'false'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '0'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
        Admin: '1'
        Registered: '0'
        Moderator: '2'
    
     
  25. Offline

    ExplosiveBacoN

    Code:
    event.setJoinMessage(null)
    could work.
     
  26. Offline

    Kalman Olah

    Alright bro. I am not helping you anymore. I have told you multiple times now that you should set the usertable to "ipb_members", not "members".

    I know, and I thought about doing that, but I can't remove the message unless I do it for everyone. It's because the PLAYER_JOIN event is sent to a seperate thread. I can either remove it for everyone before that, remove the thread, or leave it for everyone.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  27. Offline

    Deadlystrike

    i did that
    and it said cant find table...
    i told you that a few pages back

    with members
    when i first startup server it finds sql and connects fine
    with ipb_members it cant find it and your plugin shuts down...

    somtimes /sync works fine other times it crashes
     
  28. Offline

    Kalman Olah

    Just had a great idea. I'll remove all messages and add my own to normal joins.

    Dude, you have told me yourself that your table is called "ipb_members".

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  29. Offline

    Deadlystrike

    the database is webhostusername_ipb
    the table is members
    if i mistated that im sorry
     
  30. Offline

    Kalman Olah

    Alright. Can I see your FULL config.yml? Just remove the password. If you don't want anyone to see, PM it to me.
     
  31. Offline

    Deadlystrike

    Code:
    mode: normal
    mysql-connection-info:
        mysql-host: www.gamingmadeeasy.com:3306
        mysql-user: gaming17_ranks
        mysql-password: *********************
        mysql-database-name: gaming17_ipb
    old-school-mode:
        usertable: user_table
        minecraftname-field: mine_user
        rank-field: rank_field
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: ipb
        type1:
            usertable: members
            username-field: name
            userpassword-field: members_pass_hash
            rank-field: member_group_id
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'true'
        world:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        flatlands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_nether:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
        world_skylands:
            groups:
                '2': Guest
                '3': Member
                '4': Administrator
                '6': Moderator
                '7': Developer
                '8': Premium
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message: This is the message a user will see if their group isn't whitelisted.
            groups:
                '1': 'true'
                '2': 'false'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '0'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
        Admin: '1'
        Registered: '0'
        Moderator: '2'
    
     

Share This Page