Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tool]Simple file copying bat.

Newbie Spellweaver
Loyal Member
Joined
Mar 25, 2008
Messages
71
Reaction score
19
Tired of compiling and then having to copy the dist file into each directory? I'm not sure if this has been released or not, it wasn't in the library. Anyways, it's a simple bat file to copy your jar file into each java directory.

Save this as copy.bat
Code:
xcopy /y "directory of your netbeans compiling folder(where the .jar is)" "directory of your source's dist folder(where the .jar goes)"
pause
For me on my computer the path for the .jar file is
C:\Documents and Settings\Chris\Desktop\WrittenMS\dist\writtenms.jar
On my vds it's
C:\Users\Administrator\Desktop\WrittenMS\dist\writtenms.jar

Just some friendly examples. Don't forget the quotations! they're needed if you have any type of spaces in your directory

Edit: the php tag was taking the backslashes out of the second series of copy commands, I don't know why. Changed it to code.
 
Last edited:
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [tool]Simple file copying bat.

Suddently so many ppl release stuffs
anyway, jce need to be in security only
ext would be unnecessary
 
Newbie Spellweaver
Loyal Member
Joined
Mar 25, 2008
Messages
71
Reaction score
19
Re: [tool]Simple file copying bat.

This isn't a copier for the JCE files.
 
Newbie Spellweaver
Loyal Member
Joined
Mar 25, 2008
Messages
71
Reaction score
19
Re: [tool]Simple file copying bat.

Your sources compiled .jar file?
 
Newbie Spellweaver
Loyal Member
Joined
Mar 25, 2008
Messages
71
Reaction score
19
Re: [tool]Simple file copying bat.

As far as I know, the .jar file is required in those folders to run the server with odinms. Or at least last time I was in this community it was.


Come to find out v83+ you don't have to, so this is actually kinda pointless. I suppose I can change it to where it copies from your compiled dist folder into your source's dist folder, though.

Edited original post.
 
Last edited:
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [tool]Simple file copying bat.

AFAIK
i never copy any own jar files into Java Folder
since i got here which is 2008 xD

And yes, JCE does need to be in Java Folder
anyway, i never really know that own .jar need to be in Java Folder
that would be kinda weird =-=
 
Newbie Spellweaver
Loyal Member
Joined
Mar 25, 2008
Messages
71
Reaction score
19
Re: [tool]Simple file copying bat.

Yeah, when odin first came out (and as far as I know, up to v62), you had to. Look at any older guide, you'll see it.
 
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [tool]Simple file copying bat.

Yeah, when odin first came out (and as far as I know, up to v62), you had to. Look at any older guide, you'll see it.

Maybe it was their problem
Cuz i got v55-v61-v62-v74-v75
all work well without copying own .jar into Java Folder

but thanks anyway, for telling me there was such thing 0.o
i cant really remember any s.it
 
Custom Title Activated
Loyal Member
Joined
Nov 27, 2009
Messages
1,905
Reaction score
948
Why are you putting it in so many folders?
 
Newbie Spellweaver
Loyal Member
Joined
Mar 25, 2008
Messages
71
Reaction score
19
I have to explain this, again.

When odin's source was first released, it was required in those 6 folders and your source folder's dist folder.
 
Newbie Spellweaver
Joined
Nov 30, 2010
Messages
67
Reaction score
2
Uhh okay, this doesnt look right :l are you sure you got this right o-0
 
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
Re: [tool]Simple file copying bat.

Yeah, when odin first came out (and as far as I know, up to v62), you had to. Look at any older guide, you'll see it.

No, you're wrong. The old guides are misleading.
A lot people, even now, do not know that they do NOT need to copy any JAR files into any of the folders mentioned above.

Reason is, because you're already specifying the classpath in the .bat files. I don't see a reason why you would want to waste time placing em in the ext folder. Oh, even if you DO want to copy them to your java folders, you do NOT put them in the lib\ and lib\security folder. You only put them in the lib\ext folder.

On a side note, the JCE files, only needs to be copied into the lib\security of the JRE version.
So most people would just need to copy it into two folders.
 
Banned
Banned
Joined
Aug 9, 2009
Messages
425
Reaction score
74
He res my Version xD,
Copy's both files JCE Strength Files are in there

Only works if,
you have these version / in these folders,
jdk1.6.0_24
jre6
 

Attachments

You must be registered for see attachments list
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
@Dude3889, I thought I heard you saying you're "good" or something along those lines, but yet, you do not know the proper place to place the JCE files?

Also, please do NOT argue on this thread. If you want to argue which way is better or etc, please use the Personal Message function and / or visitor messaging.
 
Back
Top