Jump to content

scary blood

Member
  • Content count

    71
  • Joined

  • Last visited

Everything posted by scary blood

  1. Okey, so I'm using the Extreme KO source and I've found a very annoying thing. [url]http://imgur.com/lHJ6qb3[/url] [ATTACH=CONFIG]10172[/ATTACH]¨ as you can see the regular rapier is glitched out, same with the Chaotic Longsword and SOMETIMES the fire cape. I find this really annoying and I have no idea whats wrong, the thing is, I've tried several different clients and it's the same model for the regular rapier as the broken one. Does anyone got a solution for this?
  2. Is it really necessary to make 2 threads about it? On topic: At first I hated rs3 SO much, its not like runescape anymore, more like a webbrowser based WoW or something. But when i started to accept runescape too look this way I think its good, possibly better than rs2. I mean EoC is pretty nice after all
  3. Yes ofcourse Ive made several backups, still doesnt work with most of the clients as soon as I compile it...
  4. Title should be: ...updated CACHE and not client... I'm using a cache editor and when Im done editing I compile the cache and put it in the source, I can start the server perfectly fine, BUT when i try to connect with my client it crashes, what causes this problem? I usually use the ExtremeKO client (and several other) but it crashes as i said, but the foxtrot 718 client is the only one working. I really don't like that client because it messed up my crowns lol... How do I fix this?
  5. Well, the thing is that both the regular and the broken rapier got the exact same model id's, everything is identical, still, the regular one is glitched...
  6. Read the first part here (about spawning objects)[url]https://www.moparscape.org/smf/index.php?topic=553340.0[/url]
  7. What's the actual problem? I mean, won't the banks spawn?
  8. You could also add [QUOTE]if (killStreak > 2) World.sendWorldMessage("<col=fff800>"+ getDisplayName() +" is on a "+ getKillStreak() + " killstreak! ", false);[/QUOTE] if you don't want to manually add all the killstreak messages
  9. Before you continue reading this; this is a VERY simple killstreak system, not 100% sure if I would call it a system even, but it might help out someone. First "tutorial" don't hate! :) I will not explain something, since I don't really think it's needed here... Difficulty: 1/10 Copy and Paste First open up [B]PLAYER.JAVA[/B] src>com>game>player Search for this [QUOTE]private int killCount[/QUOTE] and you should find something like this: [QUOTE]private int killCount, deathCount; private ChargesManager charges;[/QUOTE] under int killCount add this: [QUOTE]private int killStreak;[/QUOTE] Now still in [B]PLAYER.JAVA[/B] find [QUOTE]public int getKillCount() { return killCount; }[/QUOTE] under that add: [QUOTE]public int getKillStreak() { return killStreak; }[/QUOTE] Now find [QUOTE]public int setKillCount(int killCount) { return this.killCount = killCount; }[/QUOTE] Under that add: [QUOTE]public int setKillStreak(int killStreak) { return this.killStreak = killStreak; }[/QUOTE] Now, find this: [QUOTE]public void increaseKillCount(Player killed) {[/QUOTE] Under [QUOTE]killcount++[/QUOTE] add [QUOTE]killStreak++;[/QUOTE] and under [QUOTE]killed.deathCount++;[/QUOTE] add [QUOTE]killed.setKillStreak(0);[/QUOTE] Okey, so now if you want, you can add something like this: [QUOTE]if (killStreak == 10) World.sendWorldMessage("<col=fff800>"+ getDisplayName() +" is on a 10 killstreak, pretty decent i guess...", false);[/QUOTE] Which basically sends a "world" message to everyone online that one player is on a 10 killstreak! And in player commands you can add [QUOTE]if (cmd[0].equals("checkks")) { player.getPackets().sendGameMessage("You are on a "+ player.getKillStreak() +" killstreak"); return true; }[/QUOTE] if you want to :)
  10. I'm still working on this pvp server lol. And now I wonder how do I make so when you get like 100 kills it will show a world message (to everyone online?) [QUOTE]if (getKillCount() == (100)) { sendNotice("<col=fff800>"+ getDisplayName() +" Has achieved 100 kills!!"); }[/QUOTE] But when I use that, the player has to relog to send the message, which is not really what I want... I have also tried [QUOTE]World.sendWorldMessage("<col=fff800>"+ getDisplayName() +" has achieved 100 kills!!", false);[/QUOTE] But I still have to relog, I want it to show directly when the player gets his/her 100th kill...
  11. Note: That is only when using one client (the one i prefer) but when i try using it with another (rune-evo v3 client) it works perfectly!
  12. So, I downloaded an Item definition editor, but the cache I've edited then compiled and copied to the source won't work... I wont get any errors in the source, but it's when my clients tries to connect it crashes and shows me this: [QUOTE]Cache Directory: C:\Users\Tor//\ExtremeKO\ExtremeKO\cache\ Error: jn.a() fb.d() lk.a() client.er() | Class225.method2094:54 Class125.method 1401:283 Class275.method2573:59 client.method2806:3701 client.method2773:641 Cac heLoader.method2764:624 CacheLoader.method2759:439 CacheLoader.run:371 java.lang .Thread.run | java.lang.RuntimeException | null 0,0,0,0 0,0,0, 2 0 2 800,600 1 2 1 1 0 0 248 12 -1 hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.[url]www.http.HttpClient.openServer(Unknown[/url] Source) at sun.net.[url]www.http.HttpClient.openServer(Unknown[/url] Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.plainConnect(Unknown[/url] Sour ce) at sun.net.[url]www.protocol.http.HttpURLConnection.connect(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.getInputStream(Unknown[/url] So urce) at java.net.URL.openStream(Unknown Source) at IPAddress.method6062(IPAddress.java:171) at client.method2773(client.java:645) at CacheLoader.method2764(CacheLoader.java:624) at CacheLoader.method2759(CacheLoader.java:439) at CacheLoader.run(CacheLoader.java:371) at java.lang.Thread.run(Unknown Source) Error: nk.a() wr.fe() pk.fk() pj.fw() client.ae() mc.m() mc.e() | Class322.metho d3931:46 Class365_Sub1_Sub5_Sub2.method4533:488 Class371.method4584:201 Class370 .method4578:92 client.method2773:650 CacheLoader.method2764:624 CacheLoader.meth od2759:439 CacheLoader.run:371 java.lang.Thread.run | java.lang.NullPointerExcep tion | 0,0,0,0 0,0,0, 2 0 2 800,600 1 2 1 1 0 0 248 12 -1 hAJWGrsaETglRjuwxMwnl A/d5W6EgYWx java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.[url]www.http.HttpClient.openServer(Unknown[/url] Source) at sun.net.[url]www.http.HttpClient.openServer(Unknown[/url] Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.http.HttpClient.New(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.plainConnect(Unknown[/url] Sour ce) at sun.net.[url]www.protocol.http.HttpURLConnection.connect(Unknown[/url] Source) at sun.net.[url]www.protocol.http.HttpURLConnection.getInputStream(Unknown[/url] So urce) at java.net.URL.openStream(Unknown Source) at IPAddress.method6062(IPAddress.java:171) at CacheLoader.run(CacheLoader.java:375) at java.lang.Thread.run(Unknown Source) PerfectScape Client has crashed!crash [/QUOTE]
  13. Yeah, I alredy figured it out :) Thanks anyways
  14. NVM figured it out, if you want to know howto just ask me or sending me a pm, lol
  15. [quote name='Vader']Thought it worked but it did not, I honestly have no idea. Must be in the code somewhere to remove? i did remove the ID from the Code yet the Null is still there.[/QUOTE] Did you delete the packedspawns folder and all the npc spawns except one? -Backup everything first-
  16. I found ONE solution for it, It's extremely dumb and will take time but it works. What i did was i deleted ALL the unpacked npcs and the packedspawns folder. I would not recommend doing this unless you don't need alot of npc (Im making a pk server so manually adding like 20 npcs works for me). Backup your entire server and try doing it and see if it works.
  17. [QUOTE] if (cmd[0].equals("donor")) { name = ""; int status = Integer.parseInt(cmd[1]); for (int i = 2; i < cmd.length; i++) { name += cmd[i] + ((i == cmd.length - 1) ? "" : " "); } target = World.getPlayerByDisplayName(name); loggedIn = true; if (target == null) { target = SerializableFilesManager.loadPlayer(Utils.formatPlayerNameForProtocol(name)); if (target != null) { target.setUsername(Utils.formatPlayerNameForProtocol(name)); } loggedIn = false; } if (target == null) { return true; } if (status == 1) { target.setDonator(true); msg = "You have been given donator by " + player.getUsername() + ""; player.getPackets().sendGameMessage("" + target.getDisplayName() + " is now a donator!", true); } else if (status == 2) { target.setExtremeDonator(true); msg = "You have been given extreme donator by " + player.getDisplayName() + ""; player.getPackets().sendGameMessage("" + target.getDisplayName() + " is now an extreme donator!", true); } else { target.setDonator(false); target.setExtremeDonator(false); msg = "Your donator rank has been revoked by " + player.getDisplayName() + ""; } SerializableFilesManager.savePlayer(target); if (loggedIn) { target.getPackets().sendGameMessage(msg); } return true; }[/QUOTE] usage: donor 1(or 2) username
  18. Yeah, I got the exact same problem, no Idea how to fix it, extremely annoying...
  19. [quote name='Hope']This: [code] [COLOR=#333333][I]if (player.getInventory().containsItem(995, 1000000000)); [/I][/COLOR][/code][COLOR=#333333][I] Should be: [/I][/COLOR][code] [COLOR=#333333][I]if (player.getInventory().containsItem(995, 1000000000)) { [/I][/COLOR][/code] Add [code] break; [/code] Below: [code] [COLOR=#333333][I]sendPlayerDialogue(9845, "Armadyl"); [/I][/COLOR][/code] I'm also kind of wondering why you didn't get a compile time error for that syntax....[/QUOTE] Thanks! That solved one of the problems, I also mixed up the cases a bit...
  20. [QUOTE]if (componentId == OPTION_1) { if (player.getInventory().containsItem(995, 1000000000)); stage = 16; sendPlayerDialogue(9845, "Armadyl"); } else { stage = 14; sendPlayerDialogue(9845, "Aww, I cant afford it..."); break; } }[/QUOTE] What is wrong with that dialogue? It does not work properly, when i choose the option the dialogue wont continue it just freezes. Also sometimes it skippes the first line if (player.getInventory().containsItem(995, 1000000000)); and just continues to "Aww, I cant afford it..." even though the player got 1b cash... What's the problem?
  21. scary blood

    (667) Run Issue

    You need the latest java 7 update, also, make sure you edit the .bat file to match your java version
  22. So I'm currently coding on a 718 rsps, converting a pvm server to PK only. But how do i make so you drop coins/ and fist of guthix tokens upon death?
  23. [quote name='Sir seppe']add this to your player.java public void increaseKillCount(Player killed) { killed.deathCount++; PkRank.checkRank(killed); if (killed.getSession().getIP().equals(getSession().getIP())) return; if (killed.getUsername() == getLastKilled()) return; setLastKilled(killed.getUsername()); getInventory().addItem(12852, 50); killCount++; getPackets().sendGameMessage("<col=ff0000>You just killed " + killed.getDisplayName() + ", so you now have " + killCount + " kills."); PkRank.checkRank(this); }[/QUOTE] Wow, i alredy had that in my source :/ Just that i tried killing myself (same ip) it wouldnt give me a reward. Thanks anyways
×