Thread: problems with my servers [317]

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 problems with my servers [317] 
    wind444
    Guest
    ALLSTAR SCAPE-
    almost all areas are wildy how to i fix that

    Deltascape- when i put the correct ints for commands it doesnt work there is a error. heres a picture of what it looks like.
    if(command.equalsIgnoreCase("home")&& playerRights >= 2){
    teleportToX = 3211;
    teleportToY = 3423;
    sendMessage("you teleport home");
    sendMessage("WEEEEEEEEEE");
    }
    Devolution V7- i already told you but not everyone else. my trade request doesnt work anybody know why.

    THX FOR ANYONE THAT HAS HELPED ME.

    -WIND
    Reply With Quote  
     

  2. #2  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,903
    Thanks given
    230
    Thanks received
    1,695
    Rep Power
    5000
    Try this for the command, instead of that.


    if (command.startsWith("home") && playerRights > 2) {
    p.toX = 3211;
    p.toY = 3423;
    sM("you teleport home");
    sM("WEEEEEEEEEE");
    }
    Delta has a different coding style.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,957
    Thanks given
    7
    Thanks received
    256
    Rep Power
    445
    Quote Originally Posted by wind444 View Post
    ALLSTAR SCAPE-
    almost all areas are wildy how to i fix that

    Deltascape- when i put the correct ints for commands it doesnt work there is a error. heres a picture of what it looks like.

    Devolution V7- i already told you but not everyone else. my trade request doesnt work anybody know why.

    THX FOR ANYONE THAT HAS HELPED ME.

    -WIND

    1. Wildy Boolean
    2. You Suck At Coding, Just Study The Other Commands
    3. Add Under The case 128 How you Want It To Request.
    Reply With Quote  
     

  4. #4  
    wind444
    Guest
    sweet info thx guys
    Reply With Quote  
     

  5. #5  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,903
    Thanks given
    230
    Thanks received
    1,695
    Rep Power
    5000
    Quote Originally Posted by bando View Post
    1. Wildy Boolean
    2. You Suck At Coding, Just Study The Other Commands
    3. Add Under The case 128 How you Want It To Request.
    Encourage him. That's the reason why he's asking for help.
    Reply With Quote  
     

  6. #6  
    wind444
    Guest
    hey bando this is what my case 128 looks like check it out
    case 128:
    // Trade Request
    int temp = inStream.readUnsignedWord();
    if (!antiHax())
    break;
    if (!inTrade) {
    trade_reqId = temp;
    tradeReq(trade_reqId);
    }
    break;
    Reply With Quote  
     

  7. #7  
    wind444
    Guest
    do u think you can help me with that
    and tell me how to change it to work
    Reply With Quote  
     

  8. #8  
    Elitezorz12
    Guest
    instead of sendMessage its sM
    Reply With Quote  
     

  9. #9  
    wind444
    Guest
    i know i did that now this part isnt working

    p.toX and p.toY doesnt work
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Jun 2009
    Posts
    57
    Thanks given
    0
    Thanks received
    0
    Rep Power
    5
    Code:
    	if(command.startsWith("home") && playerRights >= 2)
    	{
    		toX = 3211;
    		toY = 3423;
    		sM("You teleport home");
    		sM("WEEEEEEEE");
    	}
    SpecedOut Project in progress.
    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
  •