Thread: [dodian sql] help me!!

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 [dodian sql] help me!! [SMS RUNESCAPE PIN REWARD] 
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    I got 2 questions. How do I make people premium and admin+mod?

    P.S: If you manage to help me I'll give a free runescape sms pin
    Reply With Quote  
     

  2. #2  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,454
    Thanks given
    565
    Thanks received
    281
    Rep Power
    1325
    well if its vbulletin integration it looks like this

    if (mgroup == 10) { // if the usergroup on vbulletin is ID 10
    playerRights = 2; // makes player have admin..
    } // ends statement
    so you could modify the mgroup to w/e you want it to be. And if (mgroup ==8 or w.e it is for donator, then make it do instead of playerRights do isPrem == 1

    ---------- Post added at 07:49 PM ---------- Previous post was at 07:48 PM ----------

    i hope that helps somewhat, sorry if it doesnt
    Reply With Quote  
     

  3. #3  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    i don't got vb, im just using a regular site. but wen i look at my char in sql i do see mgroup?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,454
    Thanks given
    565
    Thanks received
    281
    Rep Power
    1325
    well then yes. If you have mysql integration, then it should work perfectly. Test it out.


    ps. sms pin pl0xorz?
    Reply With Quote  
     

  5. #5  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    ya ummm

    Code:
    .\client.java:5686: cannot find symbol
    symbol  : variable mgroup
    location: class client
    if (mgroup == 1) { // if the usergroup on vbulletin is ID 10
        ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  6. #6  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,454
    Thanks given
    565
    Thanks received
    281
    Rep Power
    1325
    hmm.....did you add import?
    Reply With Quote  
     

  7. #7  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    wut would i import ?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,454
    Thanks given
    565
    Thanks received
    281
    Rep Power
    1325
    in your imports

    Code:
    import java.sql.*;
    thats in client.java btw
    Reply With Quote  
     

  9. #9  
    Extreme Donator


    Join Date
    Nov 2007
    Posts
    2,712
    Thanks given
    47
    Thanks received
    9
    Discord
    View profile
    Rep Power
    650
    i got that
    Reply With Quote  
     

  10. #10  
    Registered Member

    Join Date
    Feb 2007
    Age
    25
    Posts
    6,415
    Thanks given
    354
    Thanks received
    323
    Rep Power
    5000
    You have a Database right?
    [Only registered and activated users can see links. ]

    Menacescape - Runescape Private server
    Come to Menacescape. We've been online for over two years with an active community!
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •