Jump to content

skatebourddd

Member
  • Content count

    48
  • Joined

  • Last visited

About skatebourddd

  • Rank
    Bronze Member
  1. If you go to VA source - click src - click com - vencillio - then open vencillioConstants.java - scroll down to All the staff members and delete daniel. It will look like this "daniel" afterwards leave it like this "".
  2. Nice, Thank you
  3. The server I got came with no stats on the items except the default items, but i cant change them or anything. I was able to create an item packer but it doesn't make a notepad of all the items that are in the server and when i try to make a custom notepad with stats and pack, it doesnt work. Could anyone help? I am using the rune-evo 3 source btw.
  4. Never mind derp! sorry i edited it... the // wasn't suppose to be their.
  5. [quote name='Fall Out']He was referring to this [code] [B][COLOR="#FF0000"]//[/COLOR][/B]if (player.getUsername().equalsIgnoreCase("tyler") || player.getUsername().equalsIgnoreCase("Rob")) [/code] [url=http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/application/comments.html] comments [/url][/QUOTE] Sorry that is multiple people being able to access the command. if you want just one person just do this [QUOTE]if (player.getUsername().equalsIgnoreCase("ziek"))[/QUOTE] or if you want multiple people do this [QUOTE]if (player.getUsername().equalsIgnoreCase("ziek") || player.getUsername().equalsIgnoreCase("fall out")) [/QUOTE] Then both ziek and fall out can use the command. Is that what you're asking?
  6. I had a cheat client recently on my server i have patched all the things it can do for example ban,jail etc. The only thing i cant figure out is how to stop a command they use i tried creating a command that if they use the command togglecrash (which is the command that crashes people) it bans them and that works if someone types it ingame. I figured because its in the developer console it still counted as a command but i guess in wrong. Any help would be appreciated also if you have this problem on your server i can help you fix it.
  7. Ziek all you have to do is put ziek in for tyler for it to be a command for the account ziek. That's what i meant.
  8. Thank you rain. I decided to take a different approach but if for some reason it fails i will obfuscate it. You're a lot of help!
  9. I know what i need to do but need some help. I have a cheat client accessing my server i need to make it so only my client can run with my server. I have tried changing the uid code but that did absolutely nothing any suggestions? I found one guide on how to fix this and it does not work.
  10. Switch tyler/rob to your name or whoever's name
  11. [QUOTE]if (cmd[0].equalsIgnoreCase("item")) { if (player.getUsername().equalsIgnoreCase("Your name") || player.getUsername().equalsIgnoreCase("Your friend name/other staff")) { if (cmd.length < 2) { player.getPackets().sendGameMessage( "Use: ::item id (optional:amount)"); return true; } try { int itemId = Integer.valueOf(cmd[1]); player.getInventory().addItem(itemId, cmd.length >= 3 ? Integer.valueOf(cmd[2]) : 1); player.stopAll(); } catch (NumberFormatException e) { player.getPackets().sendGameMessage( "Use: ::item id (optional:amount)"); // } } return true; } [/QUOTE] Thats the command you want?
  12. THat goes in my commands.java so wherever your commands are you need to paste it their.
  13. Do you have a command to spawn items? also try using this one. [QUOTE] if (cmd[0].equalsIgnoreCase("itemn")) { StringBuilder sb = new StringBuilder(cmd[1]); int amount = 1; if (cmd.length > 2) { for (int i = 2; i < cmd.length; i++) { if (cmd[i].startsWith("+")) { amount = Integer.parseInt(cmd[i].replace("+", "")); } else { sb.append(" ").append(cmd[i]); } } } String namee = sb.toString().toLowerCase().replace("[", "(") .replace("]", ")").replaceAll(",", "'"); for (int i = 0; i < Utils.getItemDefinitionsSize(); i++) { ItemDefinitions def = ItemDefinitions .getItemDefinitions(i); if (def.getName().toLowerCase().equalsIgnoreCase(namee)) { player.getInventory().addItem(i, amount); player.stopAll(); player.getPackets().sendGameMessage("Found item " + namee + " - id: " + i + "."); return true; } } player.getPackets().sendGameMessage( "Could not find item by the name " + namee + "."); return true; } [/QUOTE] What that will do is say you want to spawn a blue partyhat you would do ;;itemn blue_partyhat and it would give you the blue partyhat and the id of it.
  14. [url]https://www.moparscape.org/smf/index.php?topic=552436.0[/url]
  15. Thats a link to the original page
×