Thread: [PI] Adding My Control Panel to Your Server!

Page 2 of 31 FirstFirst 123412 ... LastLast
Results 11 to 20 of 305
  1. #11  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Okay so i updated it lol should be working now ;D
    potatoes.
    Reply With Quote  
     

  2. #12  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Quote Originally Posted by Awesome_Sauce View Post
    You seem like a decent programmer, so why bother wasting your time on an AllstarScape source.
    Its my allstar Source. Its not the regular AllstarScape



    People that got errors, do the tutorial over. i updated it all. even the settings class
    potatoes.
    Reply With Quote  
     

  3. #13  
    Registered Member ashitrin's Avatar
    Join Date
    Jul 2010
    Posts
    560
    Thanks given
    41
    Thanks received
    78
    Rep Power
    70
    Fantastic job man.
    Reply With Quote  
     

  4. #14  
    looking for partnership

    Satan's Avatar
    Join Date
    Oct 2010
    Posts
    833
    Thanks given
    287
    Thanks received
    68
    Rep Power
    269
    src\server\util\PanelSettings.java:167: cannot find symbol
    symbol : variable Protected
    location: class server.model.players.Client
    if(c.Protected)

    [/url]
    Reply With Quote  
     

  5. #15  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Quote Originally Posted by rustigold View Post
    still 14 errors:

    src\server\model\players\Client.java:532: cannot find symbol
    symbol : class NPC
    location: class server.model.players.Client
    public NPC getNpc(int index) {
    ^
    src\server\model\players\Client.java:523: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    if (index < 0 || index >= Config.MAX_NPCS) {
    ^
    src\server\model\players\Client.java:526: cannot find symbol
    symbol : class NPC
    location: class server.model.players.Client
    NPC n = getNpc(index);
    ^
    src\server\model\players\Client.java:533: cannot find symbol
    symbol : class NPC
    location: class server.model.players.Client
    return ((NPC) Server.npcHandler.npcs[index]);
    ^
    src\server\util\PanelSettings.java:96: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    if (index < 0 || index > Config.MAX_NPCS) {
    ^
    src\server\util\PanelSettings.java:247: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    for (int i = 0; i < Config.MAX_NPCS; i++) {
    ^
    src\server\util\PanelSettings.java:255: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    for (int i = 0; i < Config.MAX_NPCS; i++) {
    ^
    src\server\util\PanelSettings.java:266: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    for (int i = 0; i < Config.MAX_NPCS; i++) {
    ^
    src\server\util\PanelSettings.java:276: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    for (int i = 0; i < Config.MAX_NPCS; i++) {
    ^
    src\server\util\PanelSettings.java:311: cannot find symbol
    symbol : variable MAX_NPCS
    location: class server.Config
    for (int i = 0; i < Config.MAX_NPCS; i++) {
    ^
    src\server\util\PanelSettings.java:339: cannot assign a value to final variable
    SERVER_NAME
    Config.SERVER_NAME = p.SERVER_NAME_TEXT.getText();
    ^
    src\server\util\PanelSettings.java:342: cannot assign a value to final variable
    ADMIN_CAN_TRADE
    Config.ADMIN_CAN_TRADE = p.ADMINS_CAN_TRADE.isSelected()
    ;
    ^
    src\server\util\PanelSettings.java:343: cannot assign a value to final variable
    ADMIN_DROP_ITEMS
    Config.ADMIN_DROP_ITEMS = p.ADMINS_CAN_DROP.isSelected()
    ;
    ^
    src\server\util\PanelSettings.java:344: cannot assign a value to final variable
    ADMIN_CAN_SELL_ITEMS
    Config.ADMIN_CAN_SELL_ITEMS = p.ADMINS_CAN_SELL_ITEMS.is
    Selected();
    ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    14 errors
    Trykk en tast for å fortsette...
    you didn't add the import to the Client.java:
    code]import server.model.npcs.NPC;[/code]

    and you didnt even follow the what i said above, i said to make the the methods NOT final in Config.java

    Code:
    SERVER_NAME
    ADMIN_CAN_TRADE
    ADMIN_DROP_ITEMS
    ADMIN_CAN_SELL_ITEMS

    Quote Originally Posted by Super-Man View Post
    Nice thanks , If anyone has trouble adding this ill implement it for $3.50 for them.
    I like that you're helping, but why charge people?
    Quote Originally Posted by Johan View Post
    src\server\util\PanelSettings.java:167: cannot find symbol
    symbol : variable Protected
    location: class server.model.players.Client
    if(c.Protected)
    remove that line, and the line below it.
    potatoes.
    Reply With Quote  
     

  6. #16  
    Interface Junkie [PI] Adding My Control Panel to Your Server! Market Banned
    Nyan's Avatar
    Join Date
    Apr 2011
    Posts
    646
    Thanks given
    35
    Thanks received
    82
    Rep Power
    56
    everything besides my console works gr8
    Reply With Quote  
     

  7. #17  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Quote Originally Posted by Nyan View Post
    everything besides my console works gr8
    what is it doing? :O
    i think i know the problem
    potatoes.
    Reply With Quote  
     

  8. #18  
    Interface Junkie [PI] Adding My Control Panel to Your Server! Market Banned
    Nyan's Avatar
    Join Date
    Apr 2011
    Posts
    646
    Thanks given
    35
    Thanks received
    82
    Rep Power
    56
    nothing lol its just a blank console
    Reply With Quote  
     

  9. #19  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Quote Originally Posted by Nyan View Post
    nothing lol its just a blank console
    lol yeah I know. PI has its system output filtered already.
    potatoes.
    Reply With Quote  
     

  10. #20  
    Donator

    Robgob69's Avatar
    Join Date
    Oct 2010
    Age
    33
    Posts
    749
    Thanks given
    71
    Thanks received
    139
    Rep Power
    117
    Quote Originally Posted by rustigold View Post
    how i make a line not final?
    and the import client i already have?


    public static final boolean ADMIN_CAN_TRADE =
    public static final boolean ADMIN_CAN_SELL_ITEMS =
    public static final boolean ADMIN_DROP_ITEMS =
    remove the world "final" from those variables... lmao
    and you added
    Code:
    import server.model.npcs.NPC;
    to your Client.java?
    potatoes.
    Reply With Quote  
     

Page 2 of 31 FirstFirst 123412 ... LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 1
    Last Post: 02-18-2011, 07:15 AM
  2. need server control panel!!!
    By cavallers in forum Requests
    Replies: 3
    Last Post: 04-26-2009, 07:57 PM
  3. RS Private Server Control Panel V4
    By Trytohaxme in forum Tools
    Replies: 28
    Last Post: 03-03-2009, 03:32 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •