Jump to content
  • 0

Question

Recommended Posts

  • 0
Posted (edited)

But in the l2pcinstance there is :

if (!killed_by_pc)
		{
			switch (clan_luck)
			{
				case 3:
					clan_luck_modificator = 0.8;
					break;
				case 2:
					clan_luck_modificator = 0.8;
					break;
				case 1:
					clan_luck_modificator = 0.88;
					break;
				default:
					clan_luck_modificator = 1.0;
					break;				
			}
		}

and there is no error

 

in java version check: ( http://imgur.com/a/M2FIb )

C:\Users\Administrator>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Edited by ganjaradio
  • 0
Posted (edited)
  On 8/5/2016 at 9:59 PM, ganjaradio said:

But in the l2pcinstance there is :

 

if (!killed_by_pc)		{			switch (clan_luck)			{				case 3:					clan_luck_modificator = 0.8;					break;				case 2:					clan_luck_modificator = 0.8;					break;				case 1:					clan_luck_modificator = 0.88;					break;				default:					clan_luck_modificator = 1.0;					break;							}		}
and there is no error

 

in java version check:

C:\Users\Administrator>java -versionjava version "1.8.0_101"Java(TM) SE Runtime Environment (build 1.8.0_101-b13)Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
But these are not strings... :D

Nevermind, you obviously use Java 8, change the project JDK version in eclipse, and you will be OK.

Edited by Tessa
  • 0
Posted
  On 8/5/2016 at 10:05 PM, ganjaradio said:

how to do this? :D

Right click on the project -> Preferences (or something like that) and start looking for the Java Compiler settings... I don't remember, and I'm not on the PC now to check. Google it, you will find out how to do it. :D

  • 0
Posted (edited)

3, 2, 1 is a string.. I didnt know :dat:

 

Eee not rly, he must update lib as well. Basically project to support java 7/8.

Edited by SweeTs
  • 0
Posted

There is no hope for you. Shut down your server immediatelly. There is enough brainless admins with their servers.. You can't even manage to click godamn "Enable" -.-

 

 

KjubkFL.png

  • 0
Posted
  On 8/6/2016 at 12:31 PM, SweeTs said:

It's ok, when he enable it, he will come back screaming that it's still not working.  :dat:

Getting an error like : "Strings in switch arent supported" ... At this point its not (even) about knowing Java....

The cherry in this clownfiesta ends with that example in the code.

 

  On 8/6/2016 at 12:36 PM, AccessDenied said:

 

Ya mad?

lol

  • 0
Posted
  On 8/6/2016 at 12:37 PM, bravetobe said:

Getting an error like : "Strings in switch arent supported" ... At this point its not (even) about knowing Java....

The cherry in this clownfiesta ends with that example in the code.

 

lol

Cf6evB9.png

 

Please help.

Guest
This topic is now closed to further replies.


  • Posts

    • ⚔️ Balance or Power? The community decides!   During spot hunting and battles, the Destroyer (under limits) can wipe out dozens of mobs in seconds, outperforming other classes. A player on Destroyer (with three windows) can monopolize top farming spots solo, while most other classes require additional characters to compete. Result: Resources end up concentrated in the hands of a single player rather than being distributed among multiple participants.   We propose discussing possible changes: Reducing the number of targets the Destroyer can hit under limits. Balancing vampirism by implementing progressive efficiency reduction based on the number of enemies attacked. These changes would preserve the class identity while making PvE more fair for everyone.   🎯 What do you think?
    • Newcomers always raise suspicion. At first, people look at the newcomer cautiously. “Who is this? Where did they come from? Are they here to stay?” That’s just how it is trust isn’t given right away. It’s the same with services, especially when it comes to your accounts, money, and verifications. But the truth is, every major player was once that “newbie” entering the chat. VibeSMS we’re new on the forum, but definitely not new to the game: — Fast and stable SMS verification — Numbers from 68+ countries — Rentals for PayPal, Telegram, Amazon, and dozens of other services — Prices starting at $0.1 per activation or $5–8/month for rental We don’t promise mountains from the sky. We simply make sure the code arrives quickly, and you get what you paid for. No extra words or surprises. Because in the world of SMS verifications, it’s not magic that counts, but reliability consistent speed, transparent pricing, and a service you can depend on every day.
    • sell adena l2rebon signature x1 - 1kk = 1.4 dollars l2reborn x10 - 500kk = 7 dollars E-Global x Lu4 - 1kk = 4 dollars DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO
    • Locked. Not following the rules.
    • Put prices on your first post. Read the rules.
  • Topics

×
×
  • 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