Welcome to LudiGames Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Does anyone ACTUALLY know how to code java?

+3
aDirtyFishTank
tyeabc
LudicrousYoshi
7 posters

Page 1 of 2 1, 2  Next

Go down

Does anyone ACTUALLY know how to code java? Empty Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Tue Mar 20, 2012 5:52 pm

Seeing as it is almost the 4th quarter of my school year, I have 3 quarters of java class under my belt and Im thinking about putting it to use soon.

I plan on making plugins for our server in the near future and it would be nice if somebody could do some collaborative coding with me.

Im gonna see if Scerbe will help me out as well.

Once I get the hang of bukkit and minecraft coding I'll make plugins specifically for our needs etc.


Lets just say i eventually plan on making an unbelievably complex RP hierarchy thing to finally do exactly what ive wanted to do with the server all along...




On an unrelated note:
I liek culerd werdz :3
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  tyeabc Wed Mar 21, 2012 1:48 am

Sorry i only know some c# (c-sharp) i know a friend who can teach me java though but im not gunna do it if your just gunna give up on the first week.
tyeabc
tyeabc

Posts : 467
Join date : 2011-01-07
Age : 27
Location : Werscernsern

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Wed Mar 21, 2012 5:29 pm

tyeabc wrote:Sorry i only know some c# (c-sharp) i know a friend who can teach me java though but im not gunna do it if your just gunna give up on the first week.

You dont have to go out and learn just for the sake of coding plugins

Im just seeing if anyone already has the capability and was willing to help

And yes i plan on working on it more than just a week Razz
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Sat Mar 24, 2012 3:02 pm

ok so i think im gonna make a few separate plugins for the sake of simplicity because it would be easier to fix one problem in one plugin rather than 1 problem that shouldnt affect half.

1st plugin is gonna be a hierarchy system of lords and vassals, ill go into more detail later.

2nd plugin will be for careers/jobs

3rd probably a chat-type plugin
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  aDirtyFishTank Sat Mar 24, 2012 3:40 pm

A bounty plugin? There are prolly lots of them out there, im just too lazy too look, but i think it would be cool to have. One person can spend money to make a bounty on another, then for half the reward of the bounty someone can accept it. If they dont complete in 1 day, or when the bounty expires (most likely 7 days) then they do not get their money back from accepting, and the bounty is gone. (But the person who set it does get the money back.)
aDirtyFishTank
aDirtyFishTank

Posts : 1008
Join date : 2010-12-10
Age : 27

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Sun Mar 25, 2012 4:13 pm

PROGRESS!!!

I made it so if you say "potato" it makes you say "French Fries!!!" instead Razz

Basically i know how to process and edit events now
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Thu Mar 29, 2012 6:15 pm

Finally got my /blue command to keep a player's text blue

in other news: .equals() is friggen useless when you use it with anything except Strings
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Thu Mar 29, 2012 9:38 pm

My plugin now changes the color of what you say by typing /ludicolor (a color or "colors" to list the available colors)

and it stays that way until the server restarts.

Im not sure how to do permanent storage for data yet.
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Sat Apr 07, 2012 4:57 pm

Cleaned up the code a lot for the chat plugin and removed hungryman yesterday.

Here is the starting plan for my hierarchy plugin:


It is a relatively simple system of lords and vassals such that lords have vassals and those vassals are lords to other vassals so the lord on top is lord of all lower levels. If you were to draw a diagram it would look kinda like a pyramid with the highest lord on top.

Vassals can only have one Lord. Lords can have varying numbers of direct vassals depending on their Rank (not to be confused with Level). Direct means they are directly under the lord, unlike a vassal's vassal - while they are still the lord's vassals, they are not direct vassals.

There will be 25 Levels and 10 Ranks as follows:

Level------------------------Rank---------------------Grade(Sub-ranks)
0----------------------------0 Newcomer-------------x
1----------------------------1 Homeless--------------x
2----------------------------2 Peasant----------------x
3----------------------------3 Citizen-----------------x
4----------------------------4 Noble------------------x
5,6--------------------------5 Lord-------------------2
7,8,9------------------------6 Duke------------------3
10,11,12,13----------------7 Earl--------------------4
14,15,16,17,18------------8 King--------------------5
19,20,21,22,23,24--------9 Emperor----------------6
25--------------------------10 God--------------------x

At each different Rank you can have more direct vassals.
(always unlimited indirect vassals except rank 0 and 1)

Rank # of direct vassals
0------------x
1------------0
2------------1
3------------2
4------------3
5------------4
6------------5
7------------6
8------------7
9------------8
10-----------10

In order to gain levels you will need Prestige(basically experience).
Prestige is gained every full hour you are online.
Here are some basic equations of how u will earn Prestige:
Prestige / hour = Power x Level + Lord Bonus
Power = amount of total vassals + 1(the one is you!)
Lord Bonus = your Rank x your Lord's Power / (your Power x 2)
Prestige required for Level n: {picture below with equation}
Does anyone ACTUALLY know how to code java? Equati10
(it works out so level 25 is 10mil, I want it to take a while...)

I might change those around a bit but for now i think they balance well.

A vassal's level must be less than their lord's level when recruited. If a vassal's level reaches their lord's level after being recruited it is fine. If a vassal's level exceeds their lord's level then they can no longer be that lord's vassal.

Two commands I already know will be part of the plugin:

/recruit [player] - sends a message to [player]
"Name would like to have you as one of their vassals - /follow [accept/deny]"

/follow [player] - sends a message to [player]
"Name would like to become one of your vassals - /recruit [accept/deny]"

To wrap it all up:

Prestige will be used in some way to buy protected land for you, your lord, and your vassals. I'm not 100% sure yet how that will work.

My hope is that it will promote large amounts of people to work together and to still allow just about anyone to start a following while not needing to build your kingdom a million miles away.


TL;DR - Read the first paragraph and last 2 (highlighted in blue) for the main ideas while skipping technical jargon



LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  aDirtyFishTank Sat Apr 07, 2012 10:23 pm

I didnt really understand any of that... but im sure its good !
aDirtyFishTank
aDirtyFishTank

Posts : 1008
Join date : 2010-12-10
Age : 27

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Tue Apr 17, 2012 7:26 pm

Much progress much progress

I've coded about 40-ish methods for the main object class I'm using.
(like 200-ish lines of purely ludi made code)

Registered all them equations I was talkin about.

I also just finished integrating the level up system to the main plugin class.

All i have to do at this point is add in-game commands(integrates clan and vassal/lord systems and commands that give information)

Im in the home stretch for LudiHierarchy but coding some of these commands may take some serious thought...
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Tue Apr 17, 2012 7:28 pm

Just remembered I still dont know how to make data save when the plugin is reloaded or turned off then on...

Heh, add that one to the ol' task list :/
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  swimmerboy1196 Tue Apr 17, 2012 7:54 pm

I'm gonna finish spawn before you finish the plugin Smile
swimmerboy1196
swimmerboy1196

Posts : 403
Join date : 2011-04-04
Location : Under a bed

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Wed Apr 18, 2012 10:13 pm

bigpop4 wrote:
swimmerboy1196 wrote:
LudicrousYoshi wrote:
bigpop4 wrote:Ludick could you make a video game where we get to kill you in a bunch of different ways


I'm sure you could get me to pay $1 for it

Do u mind if there are bunnies in the background?

How about supermodels holding bunnies?



*pornstars

there is a difference?
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Thu Apr 19, 2012 7:53 pm

Ok so im deciding on how clan colors work:

I could do 1st color is brackets []
2nd is 3 letter tag in the brackets outside 2 letters [P-Z]
and Now the 3rd color would be the middle letter of the tag and the players name
[PHZ]Ludik

So it would look like this:

[PHZ]Ludik

Is that good or should the three colors work differently?

Btw no clan will be allowed to make their clan tag the same 3 letters as another and there will also be no two clans with the same colors in the same order.

Post opinions
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  swimmerboy1196 Thu Apr 19, 2012 8:05 pm

LudicrousYoshi wrote:Ok so im deciding on how clan colors work:

I could do 1st color is brackets []
2nd is 3 letter tag in the brackets outside 2 letters [P-Z]
and Now the 3rd color would be the middle letter of the tag and the players name
[PHZ]Ludik

So it would look like this:

[PHZ]Ludik

Is that good or should the three colors work differently?

Btw no clan will be allowed to make their clan tag the same 3 letters as another and there will also be no two clans with the same colors in the same order.

Post opinions

What about [PHZ]Ludik
swimmerboy1196
swimmerboy1196

Posts : 403
Join date : 2011-04-04
Location : Under a bed

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Thu Apr 19, 2012 8:09 pm

swimmerboy1196 wrote:

What about [PHZ]Ludik

i thought of that but i feel like the tags should have 3 colors themselves otherwise each tag starts lookin more similar which ruins the uniqueness of em
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  swimmerboy1196 Thu Apr 19, 2012 8:10 pm

LudicrousYoshi wrote:
swimmerboy1196 wrote:

What about [PHZ]Ludik

i thought of that but i feel like the tags should have 3 colors themselves otherwise each tag starts lookin more similar which ruins the uniqueness of em
True.
swimmerboy1196
swimmerboy1196

Posts : 403
Join date : 2011-04-04
Location : Under a bed

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  aDirtyFishTank Thu Apr 19, 2012 9:15 pm

i think having multiple colours in a tag is no good, as it looks uneven and awkward. Also, if you make it so only 3 letters in a tag what will happen to bounty? Sad
aDirtyFishTank
aDirtyFishTank

Posts : 1008
Join date : 2010-12-10
Age : 27

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  bigpop4 Thu Apr 19, 2012 9:22 pm

aDirtyFishTank wrote:i think having multiple colours in a tag is no good, as it looks uneven and awkward. Also, if you make it so only 3 letters in a tag what will happen to bounty? Sad


I guess Bty but thats gayer than Swimmer's transsexual father

Also who the fuck keeps thumbing down everybody's posts
Don't blame me
bigpop4
bigpop4

Posts : 702
Join date : 2010-12-10
Age : 41
Location : The South

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  Nopt Thu Apr 19, 2012 10:53 pm

I like the [PHZ]Ludik tag but i think name should be white for everyone else so colored name can be for admins, mod, w/e so its easy to recognize them for example

normal clan members [PHZ]nobb9360

admin/mod/w/e [PHZ]Ludik


Last edited by Nopt on Thu Apr 19, 2012 10:55 pm; edited 1 time in total

Nopt

Posts : 216
Join date : 2010-12-11
Age : 32
Location : Colorado

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  swimmerboy1196 Thu Apr 19, 2012 10:55 pm

Nopt wrote:I like the [PHZ]Ludik tag but i think name should be white for everyone else so colored name can be for admins, mod, w/e so its easy to recognize them

Or you could add a [Mod] or [Admin] tag?
swimmerboy1196
swimmerboy1196

Posts : 403
Join date : 2011-04-04
Location : Under a bed

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  Nopt Thu Apr 19, 2012 11:01 pm

swimmerboy1196 wrote:Or you could add a [Mod] or [Admin] tag?

i think that would be too much especially ppl with long names like TAKterminatoror or Ferentinofighter it would be like
[MOD][PHZ]TAKterminator just wouldn't look right


Nopt

Posts : 216
Join date : 2010-12-11
Age : 32
Location : Colorado

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  LudicrousYoshi Thu Apr 19, 2012 11:12 pm

ok i think ill go with nopt

Altho im not sure how well my plugin will work with others to make name colors change for just certain groups...

And to clarify, your clan has a tag and a name

So Phazium has a tag [PHZ] and Bounty could be [BTY] but the tags just make it so they r short and easier to make unique while staying in an identifiable format in the chat

But if u were to do /ludih stats [player] it would list their full clan name as well as their clan tags
LudicrousYoshi
LudicrousYoshi
Admin

Posts : 1337
Join date : 2010-12-05
Location : Virginer

https://ludigames.forumotion.com

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  swimmerboy1196 Thu Apr 19, 2012 11:18 pm

LudicrousYoshi wrote:ok i think ill go with nopt

Altho im not sure how well my plugin will work with others to make name colors change for just certain groups...

And to clarify, your clan has a tag and a name

So Phazium has a tag [PHZ] and Bounty could be [BTY] but the tags just make it so they r short and easier to make unique while staying in an identifiable format in the chat

But if u were to do /ludih stats [player] it would list their full clan name as well as their clan tags

Alright, sounds good Very Happy
swimmerboy1196
swimmerboy1196

Posts : 403
Join date : 2011-04-04
Location : Under a bed

Back to top Go down

Does anyone ACTUALLY know how to code java? Empty Re: Does anyone ACTUALLY know how to code java?

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum