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

    • Rosyk or rusik or whatever u blaim me that my mouth stinks but I assume you the one who stinks and your perfect pack will be now shared and you can suck a DICK )  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Server and Datapack files.rar  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Eng Client.rar Drama link    For this crap u need Lucera 2 classic license ) people paying 300 euros for this shit  lol Some Shit will come out soon mxc website need shake it a bit coz getting boring here )    Whats happen rosyk lost speach  xD Your pack was downloded  29 times bussines  not going as plan xD?
    • @Huggo Thank you for asking! When you join our Discord, on the Nexus Marketing section there is a #work-showcase channel. There you can see a little bit of what we are able to produce as a final ready-to-post product.  There is also this link in my new personal montage YouTube channel, in which I will be uploading every recent work: https://youtube.com/playlist?list=PLkzBKexKw8Wj8dC2diYndd5yOWOXUQCJW&si=-HGxlovqzvD4qqy2 Two more videos are coming up this week, and a #reviews channel has opened for our clients to let other people know about their experience working with us. Feel free to join our Hub in Discord, and for any inquries you might have don't hesitate to contact me or post your suggestion at #suggestions channel.  
    • Следи за своим вонючим языком, мудак.   Your mouth stinks, go wash your mouth, it's a dump) I don't know who you are or what you are, and I don't recommend buying anything from people outside of my network, as they may sell garbage under the guise of my work. There have been cases where my sales have been compromised. Additionally, reselling below the purchase price has been prohibited. I wish you all the best and peace. I kindly request that the moderators close this topic, as it is no longer relevant and the contact information is outdated.    
  • 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