efthimakos Posted July 22, 2013 Posted July 22, 2013 καλησπερα παιδια πως δινω σε ολους τους online ppls reward?
0 Heiko Posted July 22, 2013 Posted July 22, 2013 καλησπερα παιδια πως δινω σε ολους τους online ppls reward? otan patas to command //itemcreate kai su anoigei to parathiro na kaneis create item exei id amount kai "create" "give to target" kai "give to all" an thimame kala etsi exw k kairo na asxolithw..
0 efthimakos Posted July 22, 2013 Author Posted July 22, 2013 μ εχει μονο το create item οχι να το δωσω Mass η κατι σχετικο!
0 Heiko Posted July 23, 2013 Posted July 23, 2013 μ εχει μονο το create item οχι να το δωσω Mass η κατι σχετικο! an patiseis //itemcreate su anoigei to parathiro na kaneis crate item patas Id kai Ammount kai patas Mass Create to checkara ksana simera gia na sigureftw!
0 xdem Posted July 23, 2013 Posted July 23, 2013 kai na min iparxei to code einai : for (L2PcInstance p : L2World.getInstance().getAllPlayers.values) { p.getInventory(blablabla); }
0 Dev Posted July 23, 2013 Posted July 23, 2013 kai na min iparxei to code einai : for (L2PcInstance p : L2World.getInstance().getAllPlayers.values) { p.getInventory(blablabla); } This is not going to work for 2 reasons (it contains a bug as well). Also it's bad coded. Mr Pro Java Coder.. Tomorrow when you see that message reply to me to see what is the real code that would work to his "help topic".
0 efthimakos Posted July 23, 2013 Author Posted July 23, 2013 δεν μου το βγαζει το mass create...υπαρχει καποιος αλλος τροπος να αποφυγω το java???
0 xdem Posted July 24, 2013 Posted July 24, 2013 This is not going to work for 2 reasons (it contains a bug as well). Also it's bad coded. Mr Pro Java Coder.. Tomorrow when you see that message reply to me to see what is the real code that would work to his "help topic". xDDDDDDDDDDDDDDDDDDDDD What is bad coded theres no other way thatn L2World XDDDDD also its handwritten, let the typos for eclipse edit: Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); for (L2PcInstance onlinePlayer : pls) { if (activeChar != onlinePlayer && onlinePlayer.isOnline() && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached())) { onlinePlayer.getInventory().addItem("Admin", idval, numval, onlinePlayer, activeChar); onlinePlayer.sendMessage("A GM spawned " + numval + " " + template.getName() + " in your inventory."); counter++; } } this is the full code, My code was an example of the loop case which is the main part of the code, the inside was to obvious to be written here
0 Heiko Posted July 24, 2013 Posted July 24, 2013 giati ty guys mono egw voi9isa ;D gia tn prospathia :D
0 sunt_cinic@yahoo.com Posted July 27, 2013 Posted July 27, 2013 xDDDDDDDDDDDDDDDDDDDDD What is bad coded theres no other way thatn L2World XDDDDD also its handwritten, let the typos for eclipse edit: Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values(); for (L2PcInstance onlinePlayer : pls) { if (activeChar != onlinePlayer && onlinePlayer.isOnline() && (onlinePlayer.getClient() != null && !onlinePlayer.getClient().isDetached())) { onlinePlayer.getInventory().addItem("Admin", idval, numval, onlinePlayer, activeChar); onlinePlayer.sendMessage("A GM spawned " + numval + " " + template.getName() + " in your inventory."); counter++; } } this is the full code, My code was an example of the loop case which is the main part of the code, the inside was to obvious to be written here http://trac.l2jdp.com/changeset/8406/trunk/L2J_DataPack/dist/game/data/scripts/handlers/admincommandhandlers/AdminCreateItem.java fail.
Question
efthimakos
καλησπερα παιδια πως δινω σε ολους τους online ppls reward?
13 answers to this question
Recommended Posts