Jump to content

Sawadee

Members
  • Posts

    719
  • Credits

  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    0%

Everything posted by Sawadee

  1. Nice u diged internet to find what i shared, but i didnt even know that this guide was posted on somewhere as i mentioned before i just copy and paste this guide from a pdf file that i found in my pc thats simple theres no need to tryhard :) The difference between me and you, you just break balls and do actually nothing for this community and i try to help with anythin/whatever i have/can.
  2. Atleast im somethin u cant even be a junk mate.
  3. U are right i've made a mistake and forgot to mention that i dont own this guide, i will fix it :)
  4. Its just a pdf, i didnt say that this guide is mine as you see i didnt want to give credits randomly :) Maybe someone will find this useful, atleast i dotn sit and post on youtube thread or spammin like theres no tomorrow thanks by the way.
  5. I wont argue with people like you, once i did while u wasnt even registered on mxc. U are free to post anythin you want im not gonna feed some random trolls :)
  6. I didnt copied anything from RageZone, and i simply wanted to share this guide from a tutorial guide.pdf that i have on my pc, So do i have to give credits to my Pdf? i dont care about reputations but explain me why do you butthurt some much and instead of doin actually something you just trashtalkin other topics and posts? and please dont start tellin me that This my opinion and im free to say anythin, if you wanna say anythin u want just go on spam topics or make a guide share it with people and dont expect anythin.
  7. This interface is ancient, nobody will use it even if someone will, he must be mentally ill.
  8. Yea i have alot to improve thanks for showing me the way :) thats a way to shorten the code also make the code easier to read and understand.
  9. I will start doin it in some minutes and share it back :)
  10. Theres a lot of people that already started to post new things (Shared and Guides) since you mentioned about a change of the forum imagine what will be the next if you make it L2 Forum :)
  11. Sometimes you will need to step backward to jump higher :) yea a big and nice cleanup must be the priority theres alot of dead links and trash tropics, Everything will be fine if maxtor decides to make a fresh and new step for this community anything can be achieved and i will be happy to see a new L2 Community with alot of people new and old :)
  12. Java Data and Variables There are 8 primitive data types. he 8 primitive data types are numeric types. The names of the eight primitive data types are: byte short int long float double char boolean There are both integer and floating point primitive types. Integer types have no fractional part; floating point types have a fractional part. On paper, integers have no decimal point, and floating point types do. But in main memory, there are no decimal points: even floating point values are represented with bit patterns. There is a fundamental difference between the method used to represent integers and the method used to represent floating point numbers. Examples int yr = 2006; double rats = 8912 ; For each primitive type, there is a corresponding wrapper class. A wrapper class can be used to convert a primitive data value into an object, and some type of objects into primitive data. The table shows primitive types and their wrapper classes: Variables only exist within the structure in which they are defined. For example, if a variable is created within a method, it cannot be accessed outside the method. In addition, a different method can create a variable of the same name which will not conflict with the other variable. A java variable can be thought of as a little box made up of one or more bytes that can hold a value of a particular data type: Syntax: variabletype variablename = data; Source Code ( demonstrating declaration of a variable ) class example { public static void main ( String[] args ) { long x = 123; //a declaration of a variable named x with a datatype of long System.out.println("The variable x has: " + x ); } } Source Code public class MaxDemo { public static void main(String args[]) { //integers byte largestByte = Byte.MAX_VALUE; short largestShort = Short.MAX_VALUE; int largestInteger = Integer.MAX_VALUE; long largestLong = Long.MAX_VALUE; //real numbers float largestFloat = Float.MAX_VALUE; double largestDouble = Double.MAX_VALUE; //other primitive types char aChar = 'S'; boolean aBoolean = true; //Display them all. System.out.println("largest byte value is " + largestByte + "."); System.out.println("largest short value is " + largestShort + "."); System.out.println("largest integer value is " + largestInteger + "."); System.out.println("largest long value is " + largestLong + "."); System.out.println("largest float value is " + largestFloat + "."); System.out.println("largest double value is " + largestDouble + "."); } } Sample Run The largest byte value is 127. The largest short value is 32767. The largest integer value is 2147483647. The largest long value is 9223372036854775807. The largest float value is 3.4028235E38. The largest double value is 1.7976931348623157E308. Dear Baggos mentioned on my previous post that a guide related to variables would be nice so here it is :) Thanks.
  13. Thank you guys, I know you are right this guide is not related for Lineage2 but i think they must know some basic stuff before they start to code for L2 :)
  14. I can bring alot of Ru and Br people thats not the problem, the main question here which Xp rate will make the game more attractive to players, H5 is worth to stay and xp.
  15. Lineage2 is one of the games u are lookin for, yesterday i talked with alot of people about this change and alot of people gave me positive answers, guess why? they are all lineage2 players, personally im a mmorpg player and i've played aaalloott of games but nothing beats Lineage2 yea its old but it provides alot of fun to the player theres plenty of servers bad or good it doesnt matter people can easily find a server to play, Its open source everyone can make their own server noob or experienced thats not the matter theres a activity for this game people always prefer lineage2 because is nostalgic and they know the mechanics of the game, theres a big love for this game.. If change this forum to Lineage2 Specific then you can create a new Topsite for mxc like MxcTop100 or MxcTop Owners will rush to add their server you could even get better than hopzone topzone.
  16. So you would like to apply for staff member? I appreciate your opinion and you are actually right but if anyone wants anything for Wow he will go to a specif wow forum, if anyone needs anything for lol he will go to a specific lol forum, you cant own everything, image you are goin to buy a new car and you want a toyota will you go to a second hand dealer or you will go first to the toyota store? Every single person here knows that mxc is still alive because of Lineage2 the activity on the topic proves it and every other topics are almost dead, Imagine how many clans will come here with new members new people, Ru,Br,LT,Pl they have a big community brother and i see it everyday they are searchin for a spot to stay there and mxc is the right place.
  17. U are right actually but other games wont bring any new users here, L2 Community is big but this forum needs to be advertised more as Lineage2 forum to outside then people will come, trust me lineage2 is not dead. As you said young gaming generation wont play l2, only overwatch, Lol, has active community.
  18. These tutorials will introduce you to Java programming Language. You'll compile and run your very own Java application, using Sun's JDK. It's extremely easy to learn java programming skills, and in these parts, you'll learn how to write, compile, and run Java applications. Before you can develop corejava applications, you'll need to download the Java Development Kit (JDK). http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Java If-Else Statement The if-else class of statements should have the following form: if (condition) { statements; } if (condition) { statements; } else { statements; } if (condition) { statements; } else if (condition) { statements; } else { statements; } All programming languages have some form of an if statement that allows you to test conditions. All arrays have lengths and we can access that length by referencing the variable arrayname.length. We test the length of the args array as follows: Source Code // This is the Hello program in Java class Hello { public static void main (String args[]) { /* Now let's say hello */ System.out.print("Hello "); if (args.length > 0) { System.out.println(args[0]); } } } Compile and run this program and toss different inputs at it. You should note that there's no longer an ArrayIndexOutOfBoundsException if you don't give it any command line arguments at all. What we did was wrap the System.out.println(args[0]) statement in a conditional test, if (args.length > 0) { }. The code inside the braces, System.out.println(args[0]), now gets executed if and only if the length of the args array is greater than zero. In Java numerical greater than and lesser than tests are done with the > and < characters respectively. We can test for a number being less than or equal to and greater than or equal to with <= and >= respectively. Testing for equality is a little trickier. We would expect to test if two numbers were equal by using the = sign. However we've already used the = sign to set the value of a variable. Therefore we need a new symbol to test for equality. Java borrows C's double equals sign, ==, to test for equality. Lets look at an example when there are more then 1 statement in a branch and how braces are used indefinitely. Source Code import java.io.*; class NumberTest { public static void main (String[] args) throws IOException { BufferedReader stdin = new BufferedReader ( new InputStreamReader( System.in ) ); String inS; int num; System.out.println("Enter an integer number"); inS = stdin.readLine(); num = Integer.parseInt( inS ); // convert inS to int using wrapper classes if ( num < 0 ) // true-branch { System.out.println("The number " + num + " is negative"); System.out.println("negative number are less than zero"); } else // false-branch { System.out.println("The number " + num + " is positive"); System.out.print ("positive numbers are greater "); System.out.println("or equal to zero "); } System.out.println("End of program"); // always executed } } All conditional statements in Java require boolean values, and that's what the ==, <, >, <=, and >= operators all return. A boolean is a value that is either true or false. Unlike in C booleans are not the same as ints, and ints and booleans cannot be cast back and forth. If you need to set a boolean variable in a Java program, you have to use the constants true and false. false is not 0 and true is not non-zero as in C. Boolean values are no more integers than are strings. Else Lets look at some examples of if-else: //Example 1 if(a == { c++; } if(a != { c--; } //Example 2 if(a == { c++; } else { c--; } We could add an else statement like so: Source Code // This is the Hello program in Java class Hello { public static void main (String args[]) { /* Now let's say hello */ System.out.print("Hello "); if (args.length > 0) { System.out.println(args[0]); } else { System.out.println("whoever you are"); } } } Source Code public class divisor { public static void main(String[] args) int a = 10; int b = 2; if ( a % b == 0 ) { System.out.println(a + " is divisible by "+ ; } else { System.out.println(a + " is not divisible by " + ; } } Now that Hello at least doesn't crash with an ArrayIndexOutOfBoundsException we're still not done. java Hello works and Java Hello Rusty works, but if we type java Hello Elliotte Rusty Harold, Java still only prints Hello Elliotte. Let's fix that. We're not just limited to two cases though. We can combine an else and an if to make an else if and use this to test a whole range of mutually exclusive possibilities. Lets look at some examples of if-else-if: //Example 1 if(color == BLUE)) { System.out.println("The color is blue."); } else if(color == GREEN) { System.out.println("The color is green."); } //Example 2 if(employee.isManager()) { System.out.println("Is a Manager"); } else if(employee.isVicePresident()) { System.out.println("Is a Vice-President"); } else { System.out.println("Is a Worker"); } Source Code // This is the Hello program in Java class Hello { public static void main (String args[]) { /* Now let's say hello */ System.out.print("Hello "); if (args.length == 0) { System.out.print("whoever you are"); } else if (args.length == 1) { System.out.println(args[0]); } else if (args.length == 2) { System.out.print(args[0]); System.out.print(" "); System.out.print(args[1]); } else if (args.length == 3) { System.out.print(args[0]); System.out.print(" "); System.out.print(args[1]); System.out.print(" "); System.out.print(args[2]); } System.out.println(); } } I wish you find this guide helpful, Thanks!
  19. I will fix it thanks for the tip brother :) It could be nice to see people helpin each other on Lineage2 Section actually thats what this community needs.
  20. It was my mistake to give my account with my best friend because i had no time back then so he was more active than i could be sry for that if i have a second chance i wont to the same again.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock