i have a delta source [317] and i know i may sound like a noob but i dont know how to fix the teleport i know everyone apperently knows this but i need someone to tell me how to fix the teleport in client.java plz help thx
-WIND
Printable View
i have a delta source [317] and i know i may sound like a noob but i dont know how to fix the teleport i know everyone apperently knows this but i need someone to tell me how to fix the teleport in client.java plz help thx
-WIND
Mind explaining whats wrong?
well on my delta scape source. in client.java when i put in correct ints for a home teleport there is a error. this is what i put it in
so i dont knw whats wrong so if you could help that woold be cool thxQuote:
if(command.equalsIgnoreCase("home")&& playerRights >= 2)
teleportToX = 3211;
teleportToY = 3423;
sendMessage("you teleport home");
sendMessage("home sweet home");
}
Okay listen, And listen CLOSELY!, Delta is the worst source on the internet. It has so many bugs and glitches and so unstable many people will log on your server and say "danm it another fucking delta source". Find a cleaned version of czar and code that. I did it and my server is stable and no lag.
kk thx courtney o and i did give rep
Wind add my msn [Only registered and activated users can see links. Click Here To Register...]
Sorry to break it to you but a cleaned czar isnt stable.Quote:
Originally Posted by Courtney [Only registered and activated users can see links. Click Here To Register...]
Lol...Fail...If you clean deltascape out then maybe not..lol fail,,.Quote:
Originally Posted by Courtney [Only registered and activated users can see links. Click Here To Register...]
Replace your command with this
What's wrong is that the teleport and send message are different, also (i don't know if this is relevant) the "command.equalsIgnoreCase" needs to be "command.startsWith"Code:if(command.startsWith("home")&& playerRights >= 2)
ToX = 3211;
ToY = 3423;
sM("you teleport home");
sM("home sweet home");
}
Hope this helped & hopefully it works lol
Code:if (command.equalsIgnoreCase("home") && playerRights >= 2) {
teleportToX = 3211;
teleportToY = 3423;
sendMessage("you teleport home");
sendMessage("home sweet home");
}