Clan item .
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Clan item .
i want to ask if its possible to make example that gold bar when ppl 2x click it that it give 20 000 rep points to clan ...
i need this very fast this is why i make topic i too searched forum but no find it.
i need this very fast this is why i make topic i too searched forum but no find it.
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
- ZaKaX
- Posts: 357
- Joined: Thu Nov 22, 2007 6:28 am
- Location: Somewhere in Asia.
Re: Clan item .
Yup it is... just take a look at how other use-able items are handled.
¿ Que dice los cojones de la nina ?
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Re: Clan item .
ok but how make that it gives reputation points ?ZaKaX wrote:Yup it is... just take a look at how other use-able items are handled.
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
- ZaKaX
- Posts: 357
- Joined: Thu Nov 22, 2007 6:28 am
- Location: Somewhere in Asia.
Re: Clan item .
Just take a look at core sources...?
Code: Select all
L2Clan clan = activeChar.getClan();clan.setReputationScore(69, true);
¿ Que dice los cojones de la nina ?
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Re: Clan item .
hm i maked in skills someting but when i click the gold bar it no give nothingZaKaX wrote:Just take a look at core sources...?
Code: Select all
L2Clan clan = activeChar.getClan();clan.setReputationScore(69, true);

u can help me a bit more ,? dont know what do now.
this i made
<skill id="999991" levels="1" name="Clan Badge">
<set name="itemConsumeId" val="999999"/>
<set name="itemConsumeCount" val="1"/>
<set name="isPotion" val="true"/>
<set name="magicLvl" val="1"/>
<set name="operateType" val="OP_ACTIVE"/>
<set name="power" val="500"/>
<set name="skillType" val="setreputatuonscore"/>
<set name="target" val="TARGET_SELF"/>
<cond msgId="113" addName="1">
<player flyMounted="False"/>
</cond>
</skill>
and i got errors .... in console.
Last edited by repxl on Sat May 22, 2010 6:50 pm, edited 1 time in total.
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Clan item .
999999
is that the id of the gold bar?
is that the id of the gold bar?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Re: Clan item .
yes it is my item .... not gold bar its my item for the clan rep pts.jurchiks wrote:999999
is that the id of the gold bar?
so how make it plz ..
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
- ZaKaX
- Posts: 357
- Joined: Thu Nov 22, 2007 6:28 am
- Location: Somewhere in Asia.
Re: Clan item .
...
What the hell you did dude? LOL ^^ It's not going to work this way... you don't call a method from an XML, simply because that's impossible.
You gotta create a new item handler. Not only a new weird skill....

What the hell you did dude? LOL ^^ It's not going to work this way... you don't call a method from an XML, simply because that's impossible.
You gotta create a new item handler. Not only a new weird skill....

¿ Que dice los cojones de la nina ?
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Re: Clan item .
hm ok and what about an NPC what will change the item for rep points ? or this will be the same work like with dualclick on item ?ZaKaX wrote:...![]()
What the hell you did dude? LOL ^^ It's not going to work this way... you don't call a method from an XML, simply because that's impossible.
You gotta create a new item handler. Not only a new weird skill....
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Clan item .
you can make a multisell with clan rep points.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Re: Clan item .
and how ? .... what is the ID for rep points ?janiii wrote:you can make a multisell with clan rep points.
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
- Charus
- L2j Veteran
- Posts: 410
- Joined: Thu Feb 16, 2006 1:24 pm
Re: Clan item .
Why ppl is sooooooo lazy to check the already exist working stuffs :S I really dont understand. Check multisell 1235.xmlrepxl wrote:and how ? .... what is the ID for rep points ?janiii wrote:you can make a multisell with clan rep points.
-
- Posts: 207
- Joined: Wed May 20, 2009 8:29 pm
Re: Clan item .
in 1235.xml hm there are appela armors ... i no see there clan reputation id :/
-200 is rep points ?
Code: Select all
<!-- Apella Helm --><item id="1"> <ingredient id="-200" count="1740"/> <ingredient id="57" count="451110"/> <ingredient id="57" count="4511100" isTaxIngredient="true"/> <production id="7860" count="1"/></item>
-200 is rep points ?
"Code is exactly like shit - you don't mind cleaning it when its yours, but when it isn't... fuck its annoying." - By the Almighty ZaKaX
-
- Posts: 28
- Joined: Sun Aug 19, 2007 4:16 pm
- Location: Vilnius, Lithuania
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: Clan item .
-200 is ID for clan rep and count is how much.repxl wrote:-200 is rep points ?