Jump to content

Recommended Posts

Posted

   

[javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: ')' expected

    [javac]                                fpc.titleColor = Integer.decode("0x"  rset.getString("title_color"));

    [javac]                                                                    ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: illegal start of expression

    [javac]                                fpc.titleColor = Integer.decode("0x"  rset.getString("title_color"));

    [javac]                                                                          ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:71: ';' expected

    [javac]                                fpc.titleColor = Integer.decode("0x"  rset.getString("title_color"));

    [javac]                                                                                    ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:73: ')' expected

    [javac]                                fpc.nameColor = Integer.decode("0x"  rset.getString("name_color"));

    [javac]                                                                  ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:73: illegal start of expression

    [javac]                                fpc.nameColor = Integer.decode("0x"  rset.getString("name_color"));

    [javac]                                                                        ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:73: ';' expected

    [javac]                                fpc.nameColor = Integer.decode("0x"  rset.getString("name_color"));

    [javac]                                                                                  ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:136: ')' expected

    [javac]                        _log.log(Level.SEVERE, "Error while creating fake pc table: "  e.getMessage(), e);

    [javac]                                                                                    ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:136: illegal start of expression

    [javac]                        _log.log(Level.SEVERE, "Error while creating fake pc table: "  e.getMessage(), e);

    [javac]                                                                                        ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:136: ';' expected

    [javac]                        _log.log(Level.SEVERE, "Error while creating fake pc table: "  e.getMessage(), e);

    [javac]                                                                                                  ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:136: not a statement

    [javac]                        _log.log(Level.SEVERE, "Error while creating fake pc table: "  e.getMessage(), e);

    [javac]                                                                                                      ^

    [javac] C:\workspace\L2J_Server\java\com\l2jserver\gameserver\datatables\FakePcsTable.java:136: ';' expected

    [javac]                        _log.log(Level.SEVERE, "Error while creating fake pc table: "  e.getMessage(), e);

    [javac]                                                                                                        ^

    [javac] 11 errors

How can i Fix this ?

 

Posted

omg ty vampir ..i was make it manual and i was lazy to delete every "+" and i change them with "space" :P

 

Preety wrong way :DD.... dont pick "+" itself, pick "+" with some spaces and replace it with smthing :P!

  • 1 month later...
Posted

i want to put the name color: FF0000 (red) but i cannot right words... only numbers, how i can put this red color?

 

btw very nice share

 

EDIT: i just put 10.000 karma to fake npc and it have red name

Posted

Ow some! thanks for share it!

shot00005vm.png

 

 

 

EDIT:

 

ADOPT IN ONE EXECUTE

Here is the SQL script for you to change all your L2Guards to Human Archer w/ Infinity Bow

and a modification to fake_pcs table design.

-- ------------------
-- Script by d0ds™ --
-- ------------------

-- INSERT ALL L2Guard INFO INTO face_pcs TABLE IN OUN EXECUTE

-- ############## START ##############

-- THIS ALTER TABLE MODIFIES THE title_color, and name_color INTO VARCHAR FROM INT TO HUNDLE HEX COLOR CODE
-- SINCE IT WAS int AS DEFAULT.
ALTER TABLE fake_pcs CHANGE title_color title_color VARCHAR(11);
ALTER TABLE fake_pcs CHANGE name_color name_color VARCHAR(11);


-- INSERT DATA
INSERT INTO fake_pcs 
(
npc_id,
race,
sex,
class,
title,
title_color,
name,
name_color,
hair_style,
hair_color,
face,
mount,
team,
hero,
pd_under,
pd_under_aug,
pd_head,
pd_head_aug,
pd_rhand,
pd_rhand_aug,
pd_lhand,
pd_lhand_aug,
pd_gloves,
pd_gloves_aug,
pd_chest,
pd_chest_aug,
pd_legs,
pd_legs_aug,
pd_feet,
pd_feet_aug,
pd_back,
pd_back_aug,
pd_lrhand,
pd_lrhand_aug,
pd_hair,
pd_hair_aug,
pd_hair2,
pd_hair2_aug,
pd_rbracelet,
pd_rbracelet_aug,
pd_lbracelet,
pd_lbracelet_aug,
pd_deco1,
pd_deco1_aug,
pd_deco2,
pd_deco2_aug,
pd_deco3,
pd_deco3_aug,
pd_deco4,
pd_deco4_aug,
pd_deco5,
pd_deco5_aug,
pd_deco6,
pd_deco6_aug,
enchant_effect,
pvp_flag,
karma,
fishing,
fishing_x,
fishing_y,
fishing_z,
invisible)

-- SELECT ALL L2Guard npc FROM npc TABLE AND INSERT INTO face_pcs TABLE
SELECT
id , '0', '0', '93', title, 'CC0000', name, 'FFFFFF', '4', '2', '1', '0', '0', '1', '0', '0', '0', '0', '6619', '1', '0', '0', '15582', '0', '16169', '0', '15579', '0', '15585', '0', '14609', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '6', '0', '0', '0', '0', '0', '0', '0' FROM npc WHERE type = "L2Guard";

-- ############## END ##############

 

PREVIEW

69470452.jpg

22697317.jpg

By d0ds at 2010-11-13

 

thx for this edit d0ds... it help me very much with my npc's

  • 3 weeks later...
Posted

This Patch is for Freya client...

 

Preview:

shot00014fakepcs.jpg

 

And The Patch --->

 

Core Side:

http://pastebin.com/3fgbwNKf (Credits to Mazoul For Reupload)

 

DataPack Side:

http://pastebin.com/uwa30z9h

 

And The Last One, SQL Side:

http://pastebin.com/SCL5NX23

PS: This SQL file, adds the fake PCs table, and this one Record of fake_pcs is the PK-Killer on The Preview Picture, if you like it, you can have it :D!

 

Ok, listen carefully, you have to replace the '60001'(or else npc_id) with the ID of the NPC that you wanna be transformed..

Thats how is this system works...

You need 1 Normal NPC and 1 Fake in order to make the Normal NPC, a Fake one :D....

 

- Added //reload fakenpcs :P

 

Credits To --> "FBIagent" For First Release, "janiii" From L2JServer Forum for Freya release and //reload feature

 

(I Just shared it because there is no other one around for freya rev, the //reload is not posted on l2j forum(dead links, so i find it on google, but still janiii credits, and last, they make too much patches, so easily someone can get confused :D, this one is working perfect on freya and its tested and created on my source(the patch is not made by me, its just cleaned and you dont have to do anything, like searching on google for //reload feature like i did :P!))

 

hey bro, how do we make the announcement without the word Announcement: .. just like yours... or that is a start up message? can you share how to do it? thanks in advance...

  • 3 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Yes he have account in MXC but didn't came here and didn't post nothing to protect his reputation, and MXC administration doing nothing about scammers seems old scammers accounts was unblocked too.
    • Thank you, Can I have the password ?
    • I'd love to get involved, add me on discord: ilikebeer.
    • Forever Lineage Interlude mid-rate built for people with one hour a night Chronicle: Interlude XP/SP: 25x  |  Drop: 10x  |  Adena: 12x  |  Spoil: 15x Enchant: Safe +3  |  Max +21 Fresh start: 11 September 2026 - server is live now Website: https://l2forever.eu Discord: https://discord.gg/96rdukHvbs Why this server exists I have wanted my own Lineage 2 server since I was a teenager. I tried, failed, came back, failed again. Fifteen years later I am a developer with a full-time job, a family, and maybe an hour before bed. Every server I tried as an adult made that hour feel wasted - log in, kill a few mobs, no real progress, log out annoyed. So I built the server I actually wanted to play. Everything below is designed around one question: can you log in, make real progress, and log out on your own terms in one session? What is different Rebirth and Talent Tree - hit level 80, reset to level 1, keep your gear and skill enchants, earn talent points. Build a different character every rebirth. Bounty Hunter - daily hunt tasks with rank progression, Bounty Coins, and rare bounties. One bounty fits one session. Companions - a summonable tank, healer, or damage ally for any class. First one costs three bounties. Solo play without a solo class. Auto-farm - your character farms on its own for 2 hours a day at full XP and half loot. Solo, monsters only. The only automation allowed. Alchemy - brew stronger HP/MP potions from monster drops, no recipe needed. Custom Gludin start zone - buffs, passive mobs, and the NPCs you need, through your first 20 levels. Shorter class quests - 1st, 2nd, 3rd class, Subclass and Noblesse, all through one NPC. Champions - 5% spawn above level 40, 3x HP, 8x XP, 4-5x loot. Worth stopping for. Scheme buffer, shop up to C-grade, teleporter - B-grade and above come from crafting, drops, and quests. Seasons - each season brings Talent Tree changes. Your master account, titles, and cosmetics carry over. The rules I hold myself to Solo is the default, not a punishment. No clan required, no raid schedule, no guilt when you log off. Paid tiers add convenience and time, not power - the free baseline is the full game. No surprise wipes: if another fresh start ever happens, it is announced at least a month ahead. One developer, no shady admin, and I play on it myself. This is the server I needed fifteen years ago. Come see what I made. https://l2forever.eu  
    • 🚀 September Restock Live! Upgrade your personal Gmail to 5TB + Gemini Pro 12-18 Months instantly. 100% private and automated delivery!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..