Phantom Of Rogue-Gon Posted September 3, 2013 Posted September 3, 2013 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 Quote
Skorm Posted September 4, 2013 Posted September 4, 2013 There are plenty of these floating around. http://lmgtfy.com/?q=eAthena+Skull+Trader Quote
Phantom Of Rogue-Gon Posted September 4, 2013 Author Posted September 4, 2013 (edited) 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 September 4, 2013 by Phantom Of Rogue-Gon Quote
Emistry Posted September 4, 2013 Posted September 4, 2013 the skull that automatic drop in pvp area....is 7420 ...all the skull trader script are made to exchange this item to other items.. Quote
Phantom Of Rogue-Gon Posted September 4, 2013 Author Posted September 4, 2013 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 Quote
Capuche Posted September 4, 2013 Posted September 4, 2013 You mean you can trade only the skull with a specific name ? Quote
GmOcean Posted September 4, 2013 Posted September 4, 2013 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. Quote
iraciz Posted September 4, 2013 Posted September 4, 2013 Not sure how you obtain this information? go to the php, login table and check the user id there Quote
Skorm Posted September 4, 2013 Posted September 4, 2013 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... Quote
Capuche Posted September 5, 2013 Posted September 5, 2013 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; Quote
GmOcean Posted September 5, 2013 Posted September 5, 2013 (edited) Edit: Miss read D: Edited September 5, 2013 by Lionhardt Quote
Kenpachi Zaraki Posted September 5, 2013 Posted September 5, 2013 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 Quote
Phantom Of Rogue-Gon Posted September 13, 2013 Author Posted September 13, 2013 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; } Quote
GmOcean Posted September 13, 2013 Posted September 13, 2013 (edited) 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 September 13, 2013 by GmOcean Quote
Phantom Of Rogue-Gon Posted September 13, 2013 Author Posted September 13, 2013 if i have right skull what my prize? Quote
Question
Phantom Of Rogue-Gon
hello,
skull with name of player ( normal player ) trade to items
lets say
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.