Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [6:35:49 PM] KoowaR || MCPVP.com ||: Bonjour necro doom, je souhaiterais vous ajouter dans mes contacts.
- [7:01:45 PM] necro doom: Er, i dont speak french
- [7:01:51 PM] *** necro doom has shared contact details with KoowaR || MCPVP.com ||. ***
- [7:01:54 PM] KoowaR || MCPVP.com ||: Hai
- [7:01:59 PM] KoowaR || MCPVP.com ||: are you a bukkit mod?
- [7:02:05 PM] necro doom: retired
- [7:02:11 PM] KoowaR || MCPVP.com ||: What? :O
- [7:02:11 PM] necro doom: whats your question?
- [7:02:20 PM] KoowaR || MCPVP.com ||: You have been a great mod!
- [7:02:23 PM] KoowaR || MCPVP.com ||: I promess you ;)
- [7:02:30 PM] necro doom: promess?
- [7:02:37 PM] KoowaR || MCPVP.com ||: i'm frenchy guy xD
- [7:02:37 PM] necro doom: oh, promise
- [7:02:41 PM] KoowaR || MCPVP.com ||: yes*
- [7:03:02 PM] necro doom: was tired of dealing with disputes pretty much
- [7:03:22 PM] KoowaR || MCPVP.com ||: Oh
- [7:03:26 PM] KoowaR || MCPVP.com ||: retired or tired ? xD
- [7:03:33 PM] necro doom: both
- [7:03:36 PM] KoowaR || MCPVP.com ||: oh
- [7:04:03 PM] KoowaR || MCPVP.com ||: right, there are some kids on bukkit that wanna some disputes, because they think they are precocious
- [7:04:06 PM] KoowaR || MCPVP.com ||: lol
- [7:04:13 PM] necro doom: anything you wanted, though?
- [7:04:16 PM] KoowaR || MCPVP.com ||: Yes
- [7:04:19 PM] KoowaR || MCPVP.com ||: um
- [7:04:46 PM] KoowaR || MCPVP.com ||: I have a plugin, i made and i want your help because i need to fix something and i know you are maybe more advanced than me on coding
- [7:04:48 PM] KoowaR || MCPVP.com ||: ...
- [7:05:05 PM] necro doom: well coding isnt really what im good at
- [7:05:20 PM | Edited 7:05:27 PM] KoowaR || MCPVP.com ||: But are you good with random things?
- [7:05:28 PM] necro doom: random?
- [7:05:38 PM] necro doom: you mean like, math.random()?
- [7:05:45 PM] KoowaR || MCPVP.com ||: http://pastebin.com/dUgUYx9h
- [7:06:05 PM] KoowaR || MCPVP.com ||: Ok, when i do /random it will says : An internallerror has occured...
- [7:06:15 PM] KoowaR || MCPVP.com ||: In the main class: getCommand("random").setExecutor(new Randoms(this));
- [7:06:45 PM] necro doom: whats the full stacktrace?
- [7:07:13 PM | Edited 7:07:25 PM] KoowaR || MCPVP.com ||: [16:29:08] [Server thread/INFO]: girardcome issued server command: /random
- [16:29:08] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'random' in plugin BlizzteamHG v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at me.Girardcome.HG.Commands.Randoms.onCommand(Randoms.java:46) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] ... 13 more
- [7:08:18 PM] necro doom: i see
- [7:08:31 PM] necro doom: error happens at Kit kit = kits.get(next);
- [7:08:38 PM] necro doom: because next value is -1
- [7:08:52 PM] KoowaR || MCPVP.com ||: Oh, but what i need to change with it?
- [7:08:53 PM] necro doom: Integer next = random.nextInt(kits.size()); is generating 0 basically
- [7:08:59 PM] KoowaR || MCPVP.com ||: but
- [7:09:06 PM] KoowaR || MCPVP.com ||: when i'm OP and have all the permissions's kits
- [7:09:09 PM] KoowaR || MCPVP.com ||: i don't have error
- [7:09:31 PM] necro doom: even if you try the command a lot?
- [7:09:46 PM] KoowaR || MCPVP.com ||: yes
- [7:09:48 PM] KoowaR || MCPVP.com ||: no
- [7:09:52 PM | Edited 7:09:53 PM] KoowaR || MCPVP.com ||: i don't have error
- [7:09:56 PM] necro doom: as far as i understand it you dont need a next--
- [7:10:18 PM] necro doom: because nextint should generate number between 0 and kit.size() -1
- [7:10:23 PM] necro doom: i could be wrong though
- [7:10:31 PM] KoowaR || MCPVP.com ||: Oh, so what i need to change?
- [7:10:43 PM] necro doom: as i see it, remove the next--
- [7:10:48 PM] KoowaR || MCPVP.com ||: Ok
- [7:10:58 PM] necro doom: could be worth it to put debug messages on kit.size() and next though
- [7:11:25 PM] KoowaR || MCPVP.com ||: i don't understand what you just saying xD
- [7:11:30 PM] necro doom: like
- [7:11:49 PM] necro doom: player.sendmessage(kit.size())
- [7:11:55 PM] necro doom: so you see what value it has
- [7:11:55 PM] KoowaR || MCPVP.com ||: ok ok
- [7:11:57 PM] necro doom: for debugging
- [7:16:20 PM] KoowaR || MCPVP.com ||: oh
- [7:16:27 PM] KoowaR || MCPVP.com ||: this is working no error
- [7:16:33 PM] KoowaR || MCPVP.com ||: but always saying "2"
- [7:16:41 PM | Edited 7:16:44 PM] KoowaR || MCPVP.com ||: for the debugging message
- [7:17:21 PM] necro doom: for next or kit.size?
- [7:17:39 PM] KoowaR || MCPVP.com ||: i removed next--; and place player.sendmessage(kit.size());
- [7:17:47 PM] KoowaR || MCPVP.com ||: and it send me tis :
- [7:17:54 PM] KoowaR || MCPVP.com ||: 2
- You are now Archer
- [7:17:57 PM] KoowaR || MCPVP.com ||: always 2
- [7:18:13 PM] necro doom: well, you always have 2 kits, no?
- [7:18:17 PM] KoowaR || MCPVP.com ||: yes
- [7:18:25 PM] necro doom: then thats fine
- [7:18:46 PM] necro doom: i meant you also debug next, to make sure next is truly random
- [7:19:00 PM] KoowaR || MCPVP.com ||: I'll test with all kits
- [7:19:14 PM] KoowaR || MCPVP.com ||: OMG it work!!!
- [7:19:22 PM | Edited 7:19:24 PM] KoowaR || MCPVP.com ||: Thanks for the help :D
- [7:19:36 PM] necro doom: no problem
- [7:19:50 PM] necro doom: what are you coding this for btw?
- [7:20:36 PM] KoowaR || MCPVP.com ||: A Hunger Games for this channel : www.youtube.com/blizzteam
- [7:21:04 PM] necro doom: ah
- [7:21:32 PM] necro doom: why arent you posting on plugin development forum though?
- [7:21:38 PM] KoowaR || MCPVP.com ||: always
- [7:21:41 PM] KoowaR || MCPVP.com ||: but no answers
- [7:21:46 PM] KoowaR || MCPVP.com ||: i must add coders on skype
- [7:21:49 PM] KoowaR || MCPVP.com ||: to get help :/
- [7:22:41 PM] necro doom: you posted recently?
- [7:22:45 PM] KoowaR || MCPVP.com ||: yes
- [7:23:03 PM] KoowaR || MCPVP.com ||: less than 1 hour
- [7:23:08 PM] KoowaR || MCPVP.com ||: and no answers
- [7:23:39 PM] necro doom: oh, found it
- [7:23:45 PM] KoowaR || MCPVP.com ||: :P
- [7:24:03 PM] necro doom: anything else you need?
- [7:24:06 PM] KoowaR || MCPVP.com ||: hmm
- [7:24:11 PM] KoowaR || MCPVP.com ||: yes some thing though
- [7:24:14 PM] KoowaR || MCPVP.com ||: do You have Saros?
- [7:24:19 PM] necro doom: saros?
- [7:24:27 PM] KoowaR || MCPVP.com ||: forget :P
- [7:24:33 PM] KoowaR || MCPVP.com ||: Umm
- [7:24:39 PM] KoowaR || MCPVP.com ||: are you good with abilites?
- [7:24:57 PM] necro doom: oh, so like git, but for in eclipse
- [7:25:04 PM] necro doom: and what you mean by abilities?
- [7:25:12 PM] KoowaR || MCPVP.com ||: Like :
- [7:25:46 PM] KoowaR || MCPVP.com ||: Oh no sorry, i know how to do a kit selector like this video :
- [7:26:08 PM] KoowaR || MCPVP.com ||: (https://www.youtube.com/watch?v=khLoga_XGC8 at 1:23)
- [7:26:49 PM] necro doom: well depends from ability to ability
- [7:27:00 PM] KoowaR || MCPVP.com ||: no look at the video :P
- [7:27:21 PM] necro doom: pretty much save the class name and check player events
- [7:27:27 PM] necro doom: for what ever needs to be done
- [7:27:37 PM] KoowaR || MCPVP.com ||: necro, look the video ^^
- [7:27:49 PM] necro doom: i am
- [7:28:04 PM] necro doom: you forgot i dont know french
- [7:28:11 PM] KoowaR || MCPVP.com ||: yes
- [7:28:12 PM] necro doom: the guy is jumping around on trees
- [7:28:20 PM] KoowaR || MCPVP.com ||: xD look at 1;23
- [7:29:03 PM] necro doom: you mean the kit selection interface?
- [7:29:07 PM] KoowaR || MCPVP.com ||: yeah
- [7:29:23 PM] KoowaR || MCPVP.com ||: and like, if you don't have a kit, it will replace it to a thin glass
- [7:29:29 PM] necro doom: there should be a lib on resources for that
- [7:29:43 PM] KoowaR || MCPVP.com ||: no no, we can do it on eclipse without lib
- [7:29:50 PM] KoowaR || MCPVP.com ||: with itemmeta and itemstack
- [7:30:02 PM] necro doom: yeah, i know
- [7:30:05 PM] KoowaR || MCPVP.com ||: Can you install Saros
- [7:30:07 PM] necro doom: but why not use the lib?
- [7:30:21 PM] KoowaR || MCPVP.com ||: and we'll work together on it :P and use the lib
- [7:30:32 PM] necro doom: why dont you ask help from your team?
- [7:30:41 PM] KoowaR || MCPVP.com ||: what team?
- [7:30:57 PM] necro doom: well according to your description
- [7:31:05 PM] KoowaR || MCPVP.com ||: BlizzteamHungerGames
- [7:31:08 PM] necro doom: yes
- [7:31:09 PM] KoowaR || MCPVP.com ||: it's the name of the plugin
- [7:31:12 PM] KoowaR || MCPVP.com ||: Blizzteam is players
- [7:31:14 PM] necro doom: er
- [7:31:21 PM] KoowaR || MCPVP.com ||: there are 2 players only on this YT channel
- [7:31:24 PM] necro doom: then who made the blizzteam videos
- [7:31:25 PM] KoowaR || MCPVP.com ||: i'm the only coder
- [7:31:35 PM] KoowaR || MCPVP.com ||: i'm not on their team xD
- [7:31:43 PM] KoowaR || MCPVP.com ||: i'm just a coder i've been recruted
- [7:31:52 PM] KoowaR || MCPVP.com ||: as a coder, because they want me to do a hunger games plugin
- [7:31:55 PM] necro doom: errr
- [7:32:20 PM] KoowaR || MCPVP.com ||: ^^
- [7:32:32 PM] necro doom: they want you to code a hunger games plugin, which they already have?
- [7:34:49 PM] necro doom: you here?
- [7:35:59 PM | Edited 7:36:21 PM] KoowaR || MCPVP.com ||: I don't understand xD
- [7:36:29 PM] necro doom: well
- [7:36:34 PM] necro doom: as far as i see from the videos
- [7:36:42 PM] necro doom: they already have a hunger games plugin
- [7:37:23 PM] KoowaR || MCPVP.com ||: no
- [7:37:27 PM] KoowaR || MCPVP.com ||: it's not for them
- [7:37:32 PM] KoowaR || MCPVP.com ||: its www.MCPVP.com
- [7:37:38 PM] KoowaR || MCPVP.com ||: it's a public HG
- [7:37:48 PM] KoowaR || MCPVP.com ||: and it's from american coders (ThaRedstoner and Remkit)
- [7:39:25 PM] necro doom: so you make a hungergames for mcpvp?
- [7:39:39 PM] KoowaR || MCPVP.com ||: No, like MCPVP for the BlizzteamHungerGames
- [7:39:57 PM] necro doom: ..what
- [7:40:08 PM | Edited 7:40:10 PM] KoowaR || MCPVP.com ||: what you didn't understand? xD
- [7:40:25 PM] necro doom: i have no idea what you make for what exactly
- [7:40:42 PM] KoowaR || MCPVP.com ||: Ok i'm going to explain it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement