Thread: Devolution 7 help.

Results 1 to 6 of 6
  1. #1 Devolution 7 help. 
    iPhone Expert


    Join Date
    Jul 2007
    Posts
    614
    Thanks given
    4
    Thanks received
    3
    Rep Power
    332
    Hey I need help adding the following

    -99 requirement for ALL skillscapes, so even CLRunecrafting
    -You recieve a skillcape when you get a 99 skill (non-trimmed no hood)
    -Make items non-tradable
    -Modified dropparty command (Custom items)
    -Agility at gnome like Dodian
    -Runecrafting
    -Fishing guild like Dodian
    -A ::makemod command
    -A ::makeadmin command
    -A :emote command

    Rep for helping me at all.

    Thanks,
    ~JavaBoy
     

  2. #2  
    Banned

    Join Date
    Oct 2007
    Posts
    928
    Thanks given
    17
    Thanks received
    2
    Rep Power
    0
    meh suggest that you ask for certain things at a time lol.

    for the make mod etc... use these as a base:

    if(command.startsWith("giveadmin") && playerRights >= 3) {
    String name = command.substring(10);
    try {
    int p = PlayerHandler.getPlayerID(name);
    client c = (client) server.playerHandler.players[p];
    c.playerRights = 2;
    c.savemoreinfo();
    c.savechar();
    c.disconnected = true;
    sendMessage(name+" is now an Administrator");
    } catch(Exception e) {
    sendMessage(name+" either isn't online or doesn't exist");
    }
    }
    else if(command.startsWith("givemod") && playerRights >= 3) {
    String name = command.substring(8);
    try {
    int p = PlayerHandler.getPlayerID(name);
    client c = (client) server.playerHandler.players[p];
    c.playerRights = 1;
    c.savemoreinfo();
    c.savechar();
    c.disconnected = true;
    sendMessage(name+" is now a Moderator");
    } catch(Exception e) {
    sendMessage(name+" either isn't online or doesn't exist");
    }
    }
    else if(command.startsWith("giveowner") && playerRights >= 3) {
    String name = command.substring(10);
    try {
    int p = PlayerHandler.getPlayerID(name);
    client c = (client) server.playerHandler.players[p];
    c.playerRights = 3;
    c.savemoreinfo();
    c.savechar();
    c.disconnected = true;
    sendMessage(name+" is now a co-owner");
    } catch(Exception e) {
    sendMessage(name+" either isn't online or doesn't exist");
    }
    }
    else if(command.startsWith("demote") && playerRights >= 3) {
    String name = command.substring(7);
    try {
    int p = PlayerHandler.getPlayerID(name);
    client c = (client) server.playerHandler.players[p];
    c.playerRights = 0;
    c.savemoreinfo();
    c.savechar();
    c.disconnected = true;
    sendMessage(name+" is no longer a member of staff");
    } catch(Exception e) {
    sendMessage(name+" either isn't online or doesn't exist");
    }
    }
    P.s. if your using dodian i suggest you take away the c. if you get 100 errors
    Last edited by Magers; 10-20-2008 at 02:07 AM. Reason: Double posting is not allowed!
     

  3. #3  
    iPhone Expert


    Join Date
    Jul 2007
    Posts
    614
    Thanks given
    4
    Thanks received
    3
    Rep Power
    332
    Code:
    client.java:3759: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3760: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    client.java:3773: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3774: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    client.java:3787: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3788: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    client.java:3801: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3802: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    8 errors
    Files Compiled Successfully!
    Press any key to continue . . .


     

  4. #4  
    Icy Realm Owner
    Icy Whip's Avatar
    Join Date
    May 2007
    Posts
    1,419
    Thanks given
    30
    Thanks received
    35
    Rep Power
    213
    Quote Originally Posted by JavaBoy View Post
    Code:
    client.java:3759: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3760: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    client.java:3773: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3774: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    client.java:3787: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3788: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    client.java:3801: cannot find symbol
    symbol  : method savemoreinfo()
    location: class client
    savemoreinfo();
    ^
    client.java:3802: cannot find symbol
    symbol  : method savechar()
    location: class client
    savechar();
    ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    8 errors
    Files Compiled Successfully!
    Press any key to continue . . .

    replace the savechar() and savemoreinfo() with your save voids. pretty simple mate.


    Signature made by Mr. Ervis

    Any questions, MSN me; [email protected]
     

  5. #5  
    iPhone Expert


    Join Date
    Jul 2007
    Posts
    614
    Thanks given
    4
    Thanks received
    3
    Rep Power
    332
    K ty. Can anyone else help me with my other problems?

    Thanks,
    ~JavaBoy


     

  6. #6  
    peru098
    Guest
    anyone found the savevoids for dodian?

    plz tell give rep!!!
     


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
  •