Jump to content

Recommended Posts

Posted (edited)

Thx for the advice, I will try now, what is supposed to happen ?

It's just organizing imports. Basically, you would have to change several methods (as I remember) :P

 

You can take a look at this, it's interlude version with bug fixes.

 

http://www.maxcheaters.com/topic/167407-services-npc/

Edited by SweeTs
Posted (edited)

I found a bug, you can buy infinite Clan Reputation points with just 1 of the required Items.

Fix:

					if (st.getQuestItemsCount(clanReputationPointsItemId) >= reputationPointsCount)
					{

I tested this fix and it worked at least for me :) Also I edited these lines:
 

					if (st.getQuestItemsCount(clanReputationPointsItemId) < reputationPointsCount)
					{
						return "ClanReputationPoints-NoItems.htm";
					}

Not sure if the second one is needed but as it works for me I just let it there :P

 

Regards,

DeathSpank

Edited by DeathSpank287
  • 2 weeks later...
Posted

http://imageshack.us/f/96/0yhe.jpg/

 

Its kinda strange error.. because code seems fine , i cant find this "<" problem Oo i didnt touch the code btw.. I just tryning to use it on Freya. Eclipse shows no errors so everything was fine i guess..

  • 1 month later...
Posted
----------

1. ERROR in \custom\Services\Services.java (at line 294)

        statement.setInt(2, player.getClan().getClanId());

                                                  ^^^^^^^^^

The method getClanId() is undefined for the type L2Clan

----------

2. ERROR in \custom\Services\Services.java (at line 367)

        player.store();

                   ^^^^^

The method store(boolean) in the type L2PcInstance is not applicable for the arguments ()

----------

3. ERROR in \custom\Services\Services.java (at line 490)

        statement.setInt(2, player.getClan().getClanId());

                                                  ^^^^^^^^^

The method getClanId() is undefined for the type L2Clan

----------

3 problems (3 errors)The method getClanId() is undefined for the type com.l2jserver.gameserver.model.L2Clan

The method store(boolean) in the type com.l2jserver.gameserver.model.actor.instance.L2PcInstance is not applicable for the arguments ()

The method getClanId() is undefined for the type com.l2jserver.gameserver.model.L2Clan

Failed executing script: C:\Documents and Settings\Administrator\Desktop\server\game\data\scripts\custom\Services\Services.java. See Services.java.error.log for details.

 

 

:)

  • 3 months later...
Posted

I've found a bug. When you program your pk reducer for 10 coins , its ok.

But if you have only 10 coins and choose for remove 1000pk, it will do for the 10 coins.

And the same for clanreputation. Someone has a fix for it? Thank you

Posted

I found a bug, you can buy infinite Clan Reputation points with just 1 of the required Items.

Fix:

 

if (st.getQuestItemsCount(clanReputationPointsItemId) >= reputationPointsCount)
					{
I tested this fix and it worked at least for me :) Also I edited these lines:

 

if (st.getQuestItemsCount(clanReputationPointsItemId) < reputationPointsCount)
					{
						return "ClanReputationPoints-NoItems.htm";
					}

Not sure if the second one is needed but as it works for me I just let it there :P

 

Regards,

DeathSpank

Do you have the fix for the pk? Its bugged aswell

  • 7 months later...
Posted (edited)

 

----------
1. ERROR in \custom\Services\Services.java (at line 294)
        statement.setInt(2, player.getClan().getClanId());
                                                  ^^^^^^^^^
The method getClanId() is undefined for the type L2Clan
----------
2. ERROR in \custom\Services\Services.java (at line 367)
        player.store();
                   ^^^^^
The method store(boolean) in the type L2PcInstance is not applicable for the arguments ()
----------
3. ERROR in \custom\Services\Services.java (at line 490)
        statement.setInt(2, player.getClan().getClanId());
                                                  ^^^^^^^^^
The method getClanId() is undefined for the type L2Clan
----------
3 problems (3 errors)The method getClanId() is undefined for the type com.l2jserver.gameserver.model.L2Clan
The method store(boolean) in the type com.l2jserver.gameserver.model.actor.instance.L2PcInstance is not applicable for the arguments ()
The method getClanId() is undefined for the type com.l2jserver.gameserver.model.L2Clan
Failed executing script: C:\Documents and Settings\Administrator\Desktop\server\game\data\scripts\custom\Services\Services.java. See Services.java.error.log for details.
 
 
:)

 

Has anyone found a fix to this? I have been having the same issues with this...im using a stable high five revision

Edited by aerolance

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

    • so whitch plan is it? because in here is one price and in ur websit is another...
    • Ты настолько смешон, что создал специально для этого левый аккаунт?)))  ты не стоишь даже капли с моего члена что бы я ради тебя писал что-то на анг)  Человек видимо облажался с запуском, слил бабки в помойку теперь с горящей жопой бегает по форуму и не знает кого обвинить))))) перечитай что я тебе написал, мне насрать на тебя на твой сервер и на то что ты там выложил)  это все дерьмо неактуально уже давно, скажу тебе если твоя тупая голова это не поняла, АКТУАЛЬНОЕ НИКТО НЕ ПРОДАЕТ, потому что любая продажа это = шара, все что продается ЭТО ОТЪЕЗЖЕННОЕ ГОВНО которое не нужно хозяину, старое как твои обвисшие от гнева сиськи    
    • L2 HARMONY - BANNERS & ICONS       L2 COLD - NPC ANIMATED BANNER
    • LA ERA DE EINHASAD - Lineage 2 en Castellano Lineage II Crónica 4: Vástagos del Destino x5 - Main Class - Full Craft ───────────────────────────── La diosa Einhasad ha despertado... Una nueva era comienza para los verdaderos aventureros. Un mundo completamente traducido al español, fiel al Lineage II original, creado para una comunidad hispanohablante unida por la nostalgia y la pasión. ───────────────────────────── APERTURA OFICIAL: 14 de NOVIEMBRE - 20:00hs (GMT-3) ───────────────────────────── INFORMACIÓN PRINCIPAL Rates: x5 Tipo: Main Class Sistema: Full Craft Idioma: 100% Español (traducción completa del juego) Comunidad hispanohablante Balance original con mínimas modificaciones Buffer Offline, los jugadores pueden crear sus tiendas de buffs Progresión de crónicas cada 4 meses aprox. Economía estable - Sin Pay to Win - No venta de items/adena por donación Comunidad de 1.000 personas Anterior versión x1 duro casi 3 años con 952 IPs distintas de pico ───────────────────────────── CARACTERÍSTICAS DESTACADAS Experiencia fiel al Lineage II clásico, sin alteraciones invasivas Interfaz, diálogos y objetos completamente en español Ventana de comunidad con servicios personalizados y comercio por Monedas de Oro Olimpiadas, Épicos y Asedios originales Recompensas por votación, Eventos TVT con 3 arenas diferentes. Participan todos sin importar el nivel, pero dentro de la arena solo se atacan por rango cercano Soporte activo y presencia constante del administrador Tickets de soporte con atención rápida en Discord ante cualquier problema ───────────────────────────── ENLACES OFICIALES Website: La Era de Einhasad Discord: https://discord.com/invite/A6PtCCN2SF ───────────────────────────── Una comunidad unida por el idioma, la pasión y la nostalgia. Redescubrí Aden… en tu propio idioma. Bienvenido a La Era de Einhasad.  
  • 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