Jump to content
  • 0

Skull with name trader


Phantom Of Rogue-Gon

Question


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

hello,

skull with name of player ( normal player ) trade to items

lets say

 

i have skull Phantom Of Rogue-Gon skull i want to trade to cashpoint 100

 

Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

There are plenty of these floating around. :o

 

http://lmgtfy.com/?q=eAthena+Skull+Trader

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

skull without name???

 

example im the top 1 in pvp my skull is rare only my skull can trade to npc not ordinary skull

Edited by Phantom Of Rogue-Gon
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  

the skull that automatic drop in pvp area....is 7420 ...all the skull trader script are made to exchange this item to other items..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

but if i trade the skull with name 

 

lets say 

 

NPC: Gon Skull trade to Cashpoint

the skull have name before trade to npc if wrong skull he/she cant trade

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

You mean you can trade only the skull with a specific name ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

So, something like this then.

prontera,180,150,4	script	Skull Trader	123,{
	set .@Top_charid,000000; //Replace 000000 with the variable of the top player. Not sure how you obtain this information.
	if( countitem2(7420,1,0,0,254,0,( .@Top_charid & 65535 ),( .@Top_charid >> 16)) )
	{delitem2(7420,1,1,0,0,254,0,( .@Top_harid & 65335 ),( .@Top_charid >> 16),1); end;}
	dispbottom "You don't have the right skull.";
	end;
}

Not sure how you are obtaining the Top Player in your pvp. So I didn't code that part.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

Not sure how you obtain this information?

 

go to the php,  login table and check the user id there

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

So, something like this then.

 .@Top_charid & 65535, .@Top_charid >> 16

 

I was wondering how they got that ID thanks for this. Is there anymore documentation for example on slot 0 I know produced items are 255 not 254...

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

getitem2 in script_commands docs give some informations.

    // Now we split the character ID number into two portions with a binary
    // shift operation. If you don't understand what this does, just copy it.
    
    set @card3, @charid & 65535;
    set @card4, @charid >> 16;

    // If you're inscribing non-equipment, @card1 must be 254.
    // Arrows are also not equipment. :)
    set @card1,254;

    // If you're inscribing equipment, @card1 must be 255.
    set @card1,255;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Edit: Miss read D:

Edited by Lionhardt
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  08/14/13
  • Last Seen:  

Not sure how you obtain this information?

 

go to the php,  login table and check the user id there

 

yes right but how to code auto read for my top player? i have PVP ladder how to code it :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

i got error 

prontera,180,150,4	script	Skull Trader	123,{
	set .@Top_charid,000000; //Replace 000000 with the variable of the top player. Not sure how you obtain this information.
	if( countitem2(7420,1,0,0,254,0,( .@Top_charid & 65535 ),( .@Top_charid >> 16)) )
	{delitem2(7420,1,1,0,0,254,0,( .@Top_harid & 65335 ),( .@Top_charid >> 16),1); end;}
	dispbottom "You don't have the right skull.";
	end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

It's a small typo. Please at least " TRY " and fix the scripts yourself. Also, just saying ' I got error ' doesn't help us in determining whats wrong with the script. Because as you'll see it was just a matter of adding a letter ' C '.

REPLACE

prontera,180,150,4	script	Skull Trader	123,{
	set .@Top_charid,000000; //Replace 000000 with the variable of the top player. Not sure how you obtain this information.
	if( countitem2(7420,1,0,0,254,0,( .@Top_charid & 65535 ),( .@Top_charid >> 16)) )
	{delitem2(7420,1,1,0,0,254,0,( .@Top_harid & 65335 ),( .@Top_charid >> 16),1); end;}
	dispbottom "You don't have the right skull.";
	end;
}

WITH

prontera,180,150,4	script	Skull Trader	123,{
	set .@Top_charid,000000; //Replace 000000 with the variable of the top player. Not sure how you obtain this information.
	if( countitem2(7420,1,0,0,254,0,( .@Top_charid & 65535 ),( .@Top_charid >> 16)) )
	{delitem2(7420,1,1,0,0,254,0,( .@Top_charid & 65335 ),( .@Top_charid >> 16),1); end;}
	dispbottom "You don't have the right skull.";
	end;
}
Edited by GmOcean
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

if i have right skull what my prize?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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.

×
×
  • Create New...