Jump to content

Search the Community

Showing results for tags 'object'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 110 results

  1. rizalgar

    Add Objects 830+

    As title says, can't seem to figure it out. I've checked ObjectHandler, Manager, UnpackedObjects and all that. I checked to see if there was a PackedObjects file, but was unable to locate one. If anyone could shoot me in the right direction here, that'd be great. Seems a lot easier to do this in Pre-EoC servers lol
  2. Hi, I have removed an object, but then I cant walk in the space where the object was. Could someone message me or post below on how to fix this. (667 source) Thanks
  3. I need the object ids for each different kind of tree there is to cut down so when you cut down a tree it shows the correct tree cutdown. Your help will be much appreciated. You will be reward in thanks :)
  4. alphaa

    Object problems

    Hey guys ive got an issue I am clearing out the temple of ikov behind the ranging guild on a allstar scape source, I have managed to teach myself to remove objects that haven't been added via makeGlobalobject but now I need to use that space and cannot add anything is there, is this possible?
  5. Hi there, i was trying to do is, when a player interacts with a object, then the object will temporary spawns another object. on its place, Then if you use the new object, it turns out into another object temporary. So what i mainly did was i used woodcutting.java as a base. and no i do not want this to receive xp, and not as farming. this was just for trying making objects spawn other objects. [[CODE]package com.rs.game.player.actions; import com.rs.cache.loaders.ItemDefinitions; import com.rs.game.Animation; import com.rs.game.World; import com.rs.game.WorldObject; import com.rs.game.WorldTile; import com.rs.game.player.Player; import com.rs.game.player.Skills; import com.rs.game.ForceTalk; import com.rs.utils.Utils; public final class EvilFarming extends Action { public static enum EvilFarmingDefinitions { SEEDLING1(1, 1800, -1, 20, 5, 11392, 1800, 1), SEEDLING2(1, 1800, -1, 20, 5, 11393, 1800, 2), SEEDLING3(1, 1800, -1, 20, 5, 11394, 1800, 3), SEEDLING4(1, 1800, -1, 20, 5, 11395, 1800, 4), EVILSEED1(1, 1800, -1, 20, 5, 11922, 1800, 5), EVILSEED2(1, 1800, -1, 20, 5, 11923, 1800, 6), EVILSEED3(1, 1800, -1, 20, 5, 11924, 1800, 7), EVILSEED4(1, 1800, -1, 120, 17, 11927, 1800, 1), IVYROCKS(1, 1800, -1, 120, 17, 38443, 1800, 10); private int level; private double xp; private int logsId; private int logBaseTime; private int logRandomTime; private int stumpId; private int respawnDelay; private int randomLifeProbability; private EvilFarmingDefinitions(int level, double xp, int logsId, int logBaseTime, int logRandomTime, int stumpId, int respawnDelay, int randomLifeProbability) { this.level = level; this.xp = xp; this.logsId = logsId; this.logBaseTime = logBaseTime; this.logRandomTime = logRandomTime; this.stumpId = stumpId; this.respawnDelay = respawnDelay; this.randomLifeProbability = randomLifeProbability; } public int getLevel() { return level; } public double getXp() { return xp; } public int getLogsId() { return logsId; } public int getLogBaseTime() { return logBaseTime; } public int getLogRandomTime() { return logRandomTime; } public int getStumpId() { return stumpId; } public int getRespawnDelay() { return respawnDelay; } public int getRandomLifeProbability() { return randomLifeProbability; } } private WorldObject tree; private EvilFarmingDefinitions definitions; private int emoteId; private boolean usingBeaver = false; private int axeTime; public EvilFarming(WorldObject tree, EvilFarmingDefinitions definitions) { this.tree = tree; this.definitions = definitions; } @Override public boolean start(Player player) { if (!checkAll(player)) return false; player.getPackets() .sendGameMessage( usingBeaver ? "Your beaver uses its strong teeth to chop down the tree..." : "You attempt to light the " + (EvilFarmingDefinitions.IVYROCKS == definitions ? "EvilFarming" : "EvilFarming") + "...", true); setActionDelay(player, getWoodcuttingDelay(player)); return true; } private int getWoodcuttingDelay(Player player) { int summoningBonus = player.getFamiliar() != null ? (player .getFamiliar().getId() == 6808 || player.getFamiliar().getId() == 6807) ? 10 : 0 : 0; int wcTimer = definitions.getLogBaseTime() - (player.getSkills().getLevel(8) + summoningBonus) - Utils.getRandom(axeTime); if (wcTimer < 1 + definitions.getLogRandomTime()) wcTimer = 1 + Utils.getRandom(definitions.getLogRandomTime()); wcTimer /= player.getAuraManager().getWoodcuttingAccurayMultiplier(); return wcTimer; } private boolean checkAll(Player player) { if (!setAxe(player)) { player.getPackets().sendGameMessage("You feed the seedling with fear, The seedling gets stronger!"); return false; } if (!hasFiremakingLevel(player)) return false; if (!player.getInventory().hasFreeSlots()) { player.getPackets().sendGameMessage("Not enough space in your inventory."); return false; } return true; } private boolean hasFiremakingLevel(Player player) { if (definitions.getLevel() > player.getSkills().getLevel(8)) { player.getPackets().sendGameMessage("You need a Firemaking level of " + definitions.getLevel() + " to feed this seedling."); return false; } return true; } private boolean setAxe(Player player) { int level = player.getSkills().getLevel(1); int weaponId = player.getEquipment().getWeaponId(); if (weaponId != -1) { switch (weaponId) { case 23014: //Burning Log if (level >= 1) { emoteId = 11971; axeTime = 250; return true; } break; } } if (player.getInventory().containsOneItem(23014)) { if (level >= 1) { //Burning Log emoteId = 16700; axeTime = 13; return true; } } return false; } public static int getAxeAnim(Player player) { int level = player.getSkills().getLevel(8); int weaponId = player.getEquipment().getWeaponId(); if (weaponId != -1) { switch (weaponId) { case 23014: //Logs if (level >= 1) { return 2846; } break; } } if (player.getInventory().containsOneItem(23014)) { if (level >= 1) { return 2846; } } return -1; } private boolean hasAxe(Player player) { if (player.getInventory().containsOneItem(23014)) return true; int weaponId = player.getEquipment().getWeaponId(); if (weaponId == -1) return false; switch (weaponId) { case 23014://Logs return true; default: return false; } } @Override public boolean process(Player player) { player.setNextAnimation(new Animation(usingBeaver ? 1 : emoteId)); return checkTree(player); } private boolean usedDeplateAurora; @Override public int processWithDelay(Player player) { addLog(player); if (!usedDeplateAurora && (1 + Math.random()) < player.getAuraManager() .getChanceNotDepleteMN_WC()) { usedDeplateAurora = true; } else if (Utils.getRandom(definitions.getRandomLifeProbability()) == 0) { long time = definitions.respawnDelay * 600; World.spawnTemporaryObject( new WorldObject(definitions.getStumpId(), tree.getType(), tree.getRotation(), tree.getX(), tree.getY(), tree.getPlane()), time); if (tree.getPlane() < 3 && definitions != EvilFarmingDefinitions.IVYROCKS) { WorldObject object = World.getObject(new WorldTile(tree.getX() - 1, tree.getY() - 1, tree.getPlane() + 1)); if (object == null) { object = World.getObject(new WorldTile(tree.getX(), tree .getY() - 1, tree.getPlane() + 1)); if (object == null) { object = World.getObject(new WorldTile(tree.getX() - 1, tree.getY(), tree.getPlane() + 1)); if (object == null) { object = World.getObject(new WorldTile(tree.getX(), tree.getY(), tree.getPlane() + 1)); } } } if (object != null) World.removeTemporaryObject(object, time, false); } player.setNextAnimation(new Animation(-1)); return -1; } if (!player.getInventory().hasFreeSlots()) { player.setNextAnimation(new Animation(-1)); player.getPackets().sendGameMessage( "Not enough space in your inventory."); return -1; } return getWoodcuttingDelay(player); } private void addLog(Player player) { double xpBoost = 1.00; if (!hasFullOutfit(player) && player.getEquipment().getChestId() == 10939) xpBoost += 0.008; if (!hasFullOutfit(player) && player.getEquipment().getLegsId() == 10940) xpBoost += 0.006; if (!hasFullOutfit(player) && player.getEquipment().getHatId() == 10941) xpBoost += 0.004; if (!hasFullOutfit(player) && player.getEquipment().getBootsId() == 10933) xpBoost += 0.002; if (hasFullOutfit(player)) xpBoost += 1.500; if (player.getEquipment().getWeaponId() == 13661 && Utils.random(1000) < 300) { player.sendMessage("Your inferno adze burns the logs instantly."); player.getSkills().addXp(Skills.FIREMAKING, definitions.getXp() * xpBoost); } else { player.getSkills().addXp(Skills.FIREMAKING, definitions.getXp() * xpBoost); } if (definitions == EvilFarmingDefinitions.IVYROCKS) { player.getPackets().sendGameMessage("The seedling grows as it consumes all the fear.", true); } else { String logName = ItemDefinitions.getItemDefinitions(definitions.getLogsId()).getName().toLowerCase(); player.getPackets().sendGameMessage("The seedling grows as it consumes all the fear.", true); } } public boolean hasFullOutfit(Player player) { if (player.getEquipment().getChestId() == 10939 && player.getEquipment().getLegsId() == 10940 && player.getEquipment().getHatId() == 10941 && player.getEquipment().getBootsId() == 10933) return true; return false; } private boolean checkTree(Player player) { return World.getRegion(tree.getRegionId()).containsObject(tree.getId(), tree); } @Override public void stop(Player player) { setActionDelay(player, 3); } } [/CODE] [CODE] if (object.getId() == 11391) { player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.SEEDLING1)); } else if (id == 11392) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.SEEDLING2)); else if (id == 11393) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.SEEDLING3)); else if (id == 11394) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.SEEDLING4)); else if (id == 11395) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.EVILSEED1)); else if (id == 11922) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.EVILSEED2)); else if (id == 11923) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.EVILSEED3)); else if (id == 11924) player.getActionManager().setAction(new EvilFarming(object,EvilFarmingDefinitions.EVILSEED4));[/CODE] the result that i wanted to get was like in this photo. [IMG]https://scontent-a-ams.xx.fbcdn.net/hphotos-xaf1/t1.0-9/10462666_474569032687941_578874284207507060_n.jpg[/IMG] so if you used, object 1, it turns out in object 2, then use object 2 then it turns out in object 3. but momently it does not update the curent model to the next ID, when object 11391 turns into object 11392. then i cant use it anymore. But if i spawn object 11392 on another spot. then object 11392 turns into object 11393 after using. So my question was, is there any possible way of making this work? and not only that, is it possible to make objects spawn temporary objects *more then one*. Help is greatly appreciated!
  6. Hi there, I've put a few different altars into my game, but when I click on them nothing happens! I've checked, and there is a case for each object in actionhandler.java - but how do I get it to run ingame? There's also a case for each in the clickobject.java file. Thanks
  7. So I have a ladder, ID 1765. So in ActionHandler, I added: [CODE] case 1765: //c.getPA().movePlayer(3067, 10256, 0); if (c.objectX == 3017 && c.objectY == 3849){ c.startAnimation(828); c.getPA().movePlayer(3067, 10256, 0); } break; [/CODE] It looks okay, and It should do the animation and teleport me, but nothing happens when I click the ladder! The ladder is not a custom addition. The coords are all proper, so is the animation! Any ideas on whats going on?
  8. how can i fix the object/white roofs? im guessing the map/models have been altered and corrupted. would anyone have a link to a tutorial for changing the maps that has working links attached to it? i have found a few but not working correctly this is deathlypkz client i am using. [ATTACH=CONFIG]10070[/ATTACH] [ATTACH=CONFIG]10071[/ATTACH] [ATTACH=CONFIG]10072[/ATTACH]
  9. How do i delite a object when the spawns looks like this? [ATTACH=CONFIG]9937[/ATTACH] [url]http://imgur.com/HEk8TO3[/url]
  10. Like the title says, I'm trying to spawn an object (guardian door) that spawns once you killed an npc. I'm puting the code in the .java file of the npc that needs to die (src.rs.com.game.npc.combat.impl.ballak.java). Here's the statement and the error : --------------------------------------- Statement : if (npc.isdead()) {World.spawnObject(new WorldObject(50347, 2, 1, 2344, 5615, 0), true); npc.setNextAnimation(new animation(14378)); } ------------------------------------------ Error : cannot find symbol if (npc.isdead()) _______^ Symbol : method isdead() Location : class NPC 1 Error -------------------------------------- The ^ is pointing at the dot, I had to add some ____ to place it correctly. I started coding 2 days ago, sorry if it's a dumb error that I don't realise. I'm not sure that (isdead) is the right thing to write but I couldn't find anything else. EDIT: I learned that it might've to do with the imports but I have no idea where to find the one I need. Just a clue would be appreciated.
  11. I'm trying to make some objects work when pressed. Normally that works, but with some objects I have had problems. For example bank booths doesn't work but deposit boxes does. I think problem may be in object.definitions? or on my cache? Anyway. It just says: "Nothing interesting happens." When I try to use object that's not working. And bank booths and deposit boxes got exactly same code the only difference is [CODE]objectDef.name.toLowerCase()[/CODE]Any advice? I can share the whole ObjectHandler.java if needed and as the title says it's Zenith source
  12. caratred1

    Object faces.

    So right now I'm working on thieving. The only problem I'm having is where to find the object faces. It is only letting me thief from the stall if it is north or east of me, where do I change this? PI server... thanks.
  13. dbpoo

    Member Object Problem

    Hi, I got a [B]F2P2006 Delta[/B] and the thing is that the dragon stuff, barrows armour, bandos, etc. appears me as member object and I can't use them. I tried to put myself, donator, admin, owner but still appears like member object. If anyone know how can I change that, please help me. Thanks for reading. :):)
  14. Zoum Ca

    Item spawns Object

    I have an item, 10508, which when i click on it in my inventory I want it to delete itself and spawn the object 19038. I tried going into clickitems.java and try it that way, but I don't really know what I am doing.
  15. Hey all I'm working on some basic construction and player owned houses. For this to work, I need to handle the Fourth Click Object packet namely packetId 228. I'm having issues reading the packet. I'm not that familiar with stream reading so any help like telling me where to look in the client or a tutorial on the matter would be fine. This is what I have atm: Added #228 to the oc and added this : [CODE] case FOURTH_CLICK: c.objectX = c.getInStream().readSignedWordBigEndian(); c.objectY = c.getInStream().readUnsignedWord(); c.objectId = c.getInStream().readUnsignedWordBigEndianA(); Misc.println("Fourth Click: objectId: "+c.objectId+" ObjectX: "+c.objectX+ " objectY: "+c.objectY+" Xoff: "+ (c.getX() - c.objectX)+" Yoff: "+ (c.getY() - c.objectY)); break;[/CODE] My output when clicking an object with coordinates X: 3, Y:51 : [CODE]objectId: 896 ObjectX: -32452 objectY: 179 Xoff: 32454 Yoff: -129 [/CODE] I searched & asked pretty much everywhere but couldn't find an answer. I think other people would like to know this aswell Thanks in advance! Brad
  16. [I]Table of contents[/I]: [LIST=1] [*]Introduction [*]Basics [*]Preparing objects for seralization [*]Code Snippets [*]Other [/LIST] [B][SIZE=4]1. Introduction[/SIZE][/B] With [URL="http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html"]Java Sockets[/URL] you can send things like raw text, bytes, UTF, and class instances (objects). In this thread we are going to focus on sending and receiving objects. It's actually not as easy as you might think. [SIZE=4][B]2. Basics[/B][/SIZE] To send and receive objects via sockets you need to have an [URL="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputStream.html"]ObjectInputStream[/URL] and an [URL="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectOutputStream.html"]ObjectOutputStream[/URL] and ofcourse a socket. When working with these you might encounter quite some obstacles that can take very long to get rid of. I too have spent many hours debugging and trying several things. First of all, when creating new instances of the ObjectOutputStream and the ObjectInputStream you have to make sure the ObjectOutputStream comes [B]FIRST[/B] and then the ObjectInputStream. This is because the ObjectInputStream will wait until there is an ObjectOutputStream in existance. This is commonly referenced to as the "Chicken and the egg" problem. [I][B]See Snippet 1.[/B][/I] Secondly, when sending an object, you always have to send an UTF header first. Java uses [URL="http://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8"]Modified UTF-8[/URL] to work with serialized data. Using this header which can be anything (I mostly just send a random letter as the header) you tell the other side that it should now expect an object to come in. [B][I]See Snippet 2[/I][/B] To receive an object you simply have to read it from the ObjectInputStream and then check its name and cast it to the class. [B][I]See Snippet 3.[/I][/B] [B][SIZE=4]3. Preparing objects for serialization[/SIZE][/B] Serialization is required in order to be able to send objects via sockets. To do this you simply implement the [URL="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html"]Serializable[/URL] interface to the class of the object you want to send. You can do everything you want with the class as transient variables and methods (including getters and setters) are not serialized. This means that only variables get serialized. [B][I]See Snippet 4.[/I][/B] Object classes have to be in the same package on both sides too otherwise the receiving side will throw an [URL="http://docs.oracle.com/javase/7/docs/api/java/io/OptionalDataException.html"]OptionalDataException[/URL] that basically means the received data cannot be used. [B][I]See image below[/I][/B]. [IMG]http://cdn.codiction.com/sockets.png[/IMG] [spoiler=4. Code Snippets] [B][SIZE=4]4. Code Snippets[/SIZE][/B] [I][SIZE=2][COLOR="#FF0000"]Note: these snippets are pseudo language and thus cannot be used without modification.[/COLOR][/SIZE][/I] [B]Snippet 1:[/B] [CODE] public void createStreams(Socket s) { ObjectOutputStream out = new ObjectOutputStream(s.getOutputStream()); ObjectInputStream in = new ObjectInputStream(s.getInputStream()); } [/CODE] [B]Snippet 2:[/B] [CODE] public void sendObject(Object o) { out.sendUTF("bla"); //you can send anything out.sendObject(o); out.flush(); //this is used to guarantee that everything gets sent. } [/CODE] [B]Snippet 3:[/B] [CODE] (inside a method): String utf; while((utf = in.readUTF()) != null) { parseObject(in.readObject()); } private void parseObject(Object o) { if(o.getClass().getSimpleName().equals("name of the class, for example Test")) { Test t = (Test) o; //t will have all the contents that it had at the other socket (client & server application) } } [/CODE] [B]Snippet 4:[/B] [CODE] public class Bla implements Serializable { int lol = 2; transient int lol2 = 5; //will not be sent public void test() { } } [/CODE] [/SPOILER] [B][SIZE=4]5. Other[/SIZE][/B] This is a basic introduction to the Java ObjectInputStream and ObjectOutputStream. There are many possibilities and things I haven't covered here but they are more advanced. If you have any questions you can ask them here.
  17. Does anyone have object animations some sort of list? I would need for trapdoors and such, thanks in advance.
  18. Hey guys :)!! As requested from some of the community, I just finished it tonight and thought id release it for the community to start using for all the basic codes. With this, you have the current features: [LIST=1] [*]Have a complete list from 317 - 718 of object and npc codes [*]Have complete control of the code that is generated with the "editable" option [*]Copy the code generated instantly when clicking "Copy Code", and it will be added to your clipboard and ready to be pasted [*]You will have a AIO (All-In-One) download that offers a NPC Spawner and a Object Spawner in one program! [*]Label both the NPC and Objects your own and use any of the information that using these are needed [*]Suggest anything you want and i will make sure to add it for the community in a later version. [/LIST] [SIZE=4]PICTURES:[/SIZE] [IMG]http://imageshack.com/scaled/1024x768/833/7230.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/20/ikys.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/690/txo1.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/96/p78i.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/268/z0ca.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/689/j320.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/36/ffir.png[/IMG] [IMG]http://imageshack.com/scaled/1024x768/14/u4f8.png[/IMG] [SIZE=5][U][I][B]Virus Scan:[/B][/I][/U][/SIZE] [IMG]http://imageshack.com/a/img202/9066/htqh.png[/IMG] Hope you guys enjoy this release, and I hope it helps some of you all out! [SIZE=5][B][URL="http://www.mediafire.com/?giw7wdj7008x2to"]MEDIAFIRE DOWNLOAD[/URL][/B][/SIZE] [SIZE=4]!!IF THE LINK IS BROKEN, PLEASE TELL ME SO I CAN REUPLOAD IT!![/SIZE]
  19. Hi, i was wondering if someone could explain how to do this? like if you use a object that it temporary changes the ID number and makes it a other object, like ID 12768 is a closed chest, once i click it it will temporarly change to 12769 a open chest. this is the same for spider webs ofcourse, when you slash them then it will be changed to a non collision open spider web. Any 1 knows how to do this? a explaination would be lovely! Greetings from artizan
  20. Hi, Is it possible to add a emote when you use an object. Take as example, object 62692 - Spectator eye Is it possible when i use the touch option so just optionhandler 1 that it triggers a emote as EXAMPLE emote 17099 with a GFX What do i need to add and where? is it possible that someone shows an example.?
  21. hi, im dealling with a pretty annoying problem, in meiyerditch. there is a door that leads into the house, with the bellister tree. etc. but that doesnt matter. the door that leads to it i want it to be removed. or openable. but both don't work. many objects, work with deleting. but this door simply won't. [ATTACH=CONFIG]8939[/ATTACH] I added these 2 lines, wich simply don't help. the names doesnt matter atm. i tried every possible coordinate in the range of the door, but every line simple wont help. even in game when i do object -1 the door wont dissapear* throughout the object list. the arboterum door isnt even spawnable. cause it doesnt show anything. [ATTACH=CONFIG]8940[/ATTACH] Soz if its not readable but the lines are, PART_OF_HOUSE_2(3618, 3363, 0, true), PART_OF_HOUSE_1(3618, 3365, 0, true); All other objects work, but the door, wont, and some tree's then for some reasson If the object can be removed, or the door can be opened by a function that would be even better. If any 1 knows a sollution for this, that would be awesome, i know im bad at explaining but, im contactable at skype xD bjorn.schonenberg All help appreciated
  22. deathkil

    718 object

    i need to know how to get damage if u walk over an object like if u walk over fire u get damage and if anyone knows the emote off sitting on a throne from construction + the bench and chairs and stuff
  23. i have some serious issues. my object spawning won't work. this is the only part of my server that doesnt work.. i know that they are all the same ID's but this was for testing but doesnt matter if i change the ID the object that has the coordinates as i gave them it won't work. nothing will spawn. /////////////////THESE ARE MINE SPAWNS private int[][] customObjects = {{}}; public void loadCustomSpawns(Client c) { c.getPA().checkObjectSpawn(-1, 3095, 3499, 1, 10);//REMOVE Chair | Bank | Edgeville c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); ///////////////////////THESE ARE THE PREVIOUS OWNER HIS SPAWNS/////////////////////////// private int[][] customObjects = {{}}; public void loadCustomSpawns(Client c) { //c.getPA().checkObjectSpawn(12356, 3087, 3483, 1, 10); //c.getPA().checkObjectSpawn(2403, 3086, 3483, 0, 10); c.getPA().checkObjectSpawn(2213, 2816, 3466, 0, 10); //c.getPA().checkObjectSpawn(1738, 2859, 3543, 0, 10); c.getPA().checkObjectSpawn(6163, 3083, 3488, 1, 10); c.getPA().checkObjectSpawn(-1, 2643, 9898, 1, 10); c.getPA().checkObjectSpawn(-1, 2643, 9899, 1, 10); c.getPA().checkObjectSpawn(-1, 2643, 9900, 1, 10); c.getPA().checkObjectSpawn(6165, 3083, 3490, 1, 10); c.getPA().checkObjectSpawn(6166, 3083, 3492, 1, 10); c.getPA().checkObjectSpawn(6164, 3083, 3494, 1, 10); c.getPA().checkObjectSpawn(6162, 3083, 3496, 1, 10); c.getPA().checkObjectSpawn(2213, 3187, 3696, 0, 0); c.getPA().checkObjectSpawn(26972, 2642, 9893, 0, 10); c.getPA().checkObjectSpawn(26972, 2643, 9893, 0, 10); c.getPA().checkObjectSpawn(26972, 2644, 9893, 0, 10); c.getPA().checkObjectSpawn(26972, 2645, 9893, 0, 10); //////////////END LIST/////////////////////// the list is way longer but the problem is... even as i removed all his lines and checkobjectspawn codes. all the items that are in the server wont go away. if i replace one of his line with another object ID, then the object wont change??? i cant figure out why. Some good help will be appreciated :P Skype Bjorn.schonenberg
  24. Just wondering how to find the coords of an object, mines client sided and I did try getX and getY where it's examined, that didn't work, is there something i could do server sided?
×