Jump to content

[Interlude Project] L2j Esios


Recommended Posts

Posted

This is wrong here ->https://www.assembla.com/code/l2jesios/subversion/changesets/35

 

         newChar.setTitle("");

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);

 

You must Do it like this:

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);
        else
newChar.setTitle("");

 

ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here :)

 

hahaha that rlly show your skills absolute. +1 on messy dumb codding 101.

Posted

Reached rev 45.

Added several features.

 

 

Features

  • New character custom title
  • Welcome screen message
  • Entering messages
  • Last visit message
  • Casino Npc
  • Antiheavy Classes
  • Npc Buffer Instance
  • Siege Informer Npc
  • Random Reward Box
  • Pvp Chat
  • Webservered Html Npc
  • Siege Reward
  • Automatic Restard
  • Petition Logger

Nice
Posted

hahaha that rlly show your skills absolute. +1 on messy dumb codding 101.

newChar.addAdena("Init", Config.STARTING_ADENA, null, false);

newChar.setXYZInvisible(template.spawnX, template.spawnY, template.spawnZ);

- newChar.setTitle("");

+ if(Config.ALLOW_START_TITLE)

+ newChar.setTitle(Config.START_TITLE);

Posted

newChar.addAdena("Init", Config.STARTING_ADENA, null, false);

newChar.setXYZInvisible(template.spawnX, template.spawnY, template.spawnZ);

- newChar.setTitle("");

+ if(Config.ALLOW_START_TITLE)

+ newChar.setTitle(Config.START_TITLE);

 

?? read the whole code before you post something please.

Posted

I had a good laugh about the custom title.

 

I'd do it like this:

newChar.setTitle(Config.START_TITLE);

Where Config.START_TITLE is empty String as default and you could drop the useless boolean Config.ALLOW_START_TITLE

 

Although, not sure, but if you don't set something it may be null and you would get NPEs around the code, if you keep the Config.ALLOW_START_TITLE then you should set an empty String before, not in an else clause.

 

Have fun!

Posted

As said Zoey you don't need like half the time boolean configs, as you can make a check based on value (> 0 or != 0 depending what you aim) if other config implies an int, or !isEmpty for String.

Posted

So big drama about few lines of the code, and bunch of as licker`s, come one - enough.

Posted

you try correct Elfo omg noob???

Elfocrash has been creating codes since you didn't exist pffff idiots

 

Can't stand quiet while seeing suck 'hyperlick' tho, especially by such pitiful person.

Posted

I had a good laugh about the custom title.

 

I'd do it like this:

newChar.setTitle(Config.START_TITLE);

Where Config.START_TITLE is empty String as default and you could drop the useless boolean Config.ALLOW_START_TITLE

 

Although, not sure, but if you don't set something it may be null and you would get NPEs around the code, if you keep the Config.ALLOW_START_TITLE then you should set an empty String before, not in an else clause.

 

Have fun!

yeah, thats best solution. Anyway this is really serious problem, we need more ideas :D:D

Posted

nice idea from you elfo but there are alot interlude projects like aCis L2J and so on.... maybe you could try to use Hi5. That's my opinion. Anyways good luck and wish you da best

Guest Elfocrash
Posted

Could you name one please?

yeah this is what i was about to ask too

Guest
This topic is now closed to further replies.

×
×
  • Create New...