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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
    • guys it is probably a misunderstanding if it was windows he would have solve it since its not windows and from the paraphrasing of the developer who eventually fixed the server   the problem was from guessing the login server was not properly opening or already crashed, so the gameserver probably loaded because he was generating logs, and then stopped, my guess is still there was no login to connect and made exits, still this is a guess because i have only saw some logs and images   in one side nobody would destroy a server for this amount of money in the other side he had no experience with the operating system, and i find this logical, i am also still giving some tutorials in the topic owner so he can learn how to compile and not need the help of others, i still believe this can be solved for both parties if they behave   in the end nobody wants to cause bad to another so as i say in my starting point, it is probably a misunderstanding
  • 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