Jump to content

belphegor

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by belphegor

  1. Worked around this. Used Euphy's old eA quest shop. I'll try this using old clients when i have the time. Thanks.
  2. No errors on time freeze. Still a problem, guess harmony can block WPE and RPE for the exploit. But this bug sure is a handful. And i can't migrate to rAthena. My sponsor won't allow it. *sigh*
  3. I read the bug tracker on eA. Said the exploit through WPE was fixed some revisions back. And this is on eAMod. The number did come out. And after i tried buying an item, the whole thing froze. Can't move/chat and other stuff.
  4. Has anyone experienced this weird bug yet? It's on eA.
  5. Sorry 'bout those errors. I'm kinda new to this whole loop thing and i've been awake for almost two days now. Btw, i never even thought of using 2 loops. Thanks mate.
  6. Man, this loop thing is creeping me out. :3 Btw, is this right? EDIT: Oops. Sorry, post's not in the right place for(.@i = 0; .@i < getarraysize(.@names$); .@i + 1) { .@checkcount = .@checkcount + 1; .@currentcheck$ = getcharip(.@names$[.@i]); if(.@currentcheck$ == getcharip(.@names$[.@checkcount])) .@dual = .@dual + 1 }
  7. I think he's looking for something like random warp on fly wing with all party members. set .@pid,getcharid(1); set .@map$,strcharinfo(3); addrid(2,0,.@pid); warp .@map$,0,0;
  8. Haven't tried this yet. Rushed too. Lol. http://pastebin.com/B0dwQd17
  9. function script warpto_func { set .@pid,getcharid(1); if(!isloggedin(getcharid(3,getarg(0,"")))) { dispbottom "Player is either offline or doesn't exist."; getitem 501,1; //If you want to get the item back on input fail. } else { addrid(2,0,.@pid); atcommand "@goto "+getarg(0,""); } end; } Try this.
  10. So it'd be like? addrid(0); if(!#toughppl) end; announce "Hey you're a tough guy!",bc_npc|bc_self; end;
  11. Can you show us the script of the ladder, with that #toughppl variable?
  12. Sorry 'bout that missing parenthesis. You could use callfunc command as Skorm said. It's more convenient and easy to manage. Here. 7099,Old_Magic_Circle,Worn-out Magic Scroll,3,773,,10,,,,,,,,,,,,,{ input @warpto$; if(!isloggedin(getcharid(3,@warpto$))) { dispbottom "Player is either offline or doesn't exist."; getitem 7099,1; } atcommand "@goto "+@warpto$; end; },{},{}
  13. oh sorry i forgot to ask..how can i use this points that im receiving? You can use it to purchase items. You can use this and set the currency value to #CASHPOINTS. Oh ok btw sorry im noob on that OnMinute,, what should i do if i want to make it 1hour? sir i got error.. Oh its ok now but the problem is getitem .cards[ .random ], 1; <<<this one..how can i change it to i am the one who will give cards to have a points? prontera,150,150,0 script Sample 100,{ OnMinute00: setarray .cards[0], 4001,4002,4003,4004,4005,4006,4007; // <id> setarray .amount[0], 10,5,2,6,7,8,9; // <points> attachrid(getcharid(3,strcharinfo(0)); set .random, rand( getarraysize( .cards ) ); getitem .cards[ .random ], 1; set #CASHPOINTS, #CASHPOINTS + @amount[ .random ]; end; } here is the error Sorry 'bout that. prontera,150,150,0 script Sample 100,{ OnMinute00: setarray .cards[0], 4001,4002,4003,4004,4005,4006,4007; // <id> setarray .amount[0], 10,5,2,6,7,8,9; // <points> set @receiver$,strcharinfo(0); attachrid(getcharid(3,@receiver$)); set .random, rand( getarraysize( .cards ) ); getitem .cards[ .random ], 1; #CASHPOINTS = #CASHPOINTS + @amount[ .random ]; end; } Or this. Even i'm confused now @.@ prontera,150,150,0 script Sample 100,{ OnMinute00: setarray .cards[0], 4001,4002,4003,4004,4005,4006,4007; // <id> setarray .amount[0], 10,5,2,6,7,8,9; // <points> addrid(0); set .random, rand( getarraysize( .cards ) ); getitem .cards[ .random ], 1; #CASHPOINTS = #CASHPOINTS + @amount[ .random ]; end; }
  14. So basically, it's like GM's @goto command? 7099,Old_Magic_Circle,Worn-out Magic Scroll,3,773,,10,,,,,,,,,,,,,{ input @warpto$; if(!isloggedin(getcharid(3,@warpto$)) { dispbottom "Player is either offline or doesn't exist."; getitem 7099,1; } atcommand "@goto "+@warpto$; end; },{},{} Script input @warpto$; if(!isloggedin(getcharid(3,@warpto$)) { dispbottom "Player is either offline or doesn't exist."; getitem <ID>,1; //If you want to get the item back on input fail. } atcommand "@goto "+@warpto$; end; Haven't tried this yet.
  15. conf/battle/monster.conf // Display some mob info next to their name? (add as needed) // (does not works on guardian or Emperium) // 1: Display mob HP (Hp/MaxHp format) // 2: Display mob HP (Percent of full life format) // 4: Display mob's level show_mob_info: 0
  16. oh sorry i forgot to ask..how can i use this points that im receiving? You can use it to purchase items. You can use this and set the currency value to #CASHPOINTS. Oh ok btw sorry im noob on that OnMinute,, what should i do if i want to make it 1hour? sir i got error.. Oh its ok now but the problem is getitem .cards[ .random ], 1; <<<this one..how can i change it to i am the one who will give cards to have a points? prontera,150,150,0 script Sample 100,{ OnMinute00: setarray .cards[0], 4001,4002,4003,4004,4005,4006,4007; // <id> setarray .amount[0], 10,5,2,6,7,8,9; // <points> attachrid(getcharid(3,strcharinfo(0)); set .random, rand( getarraysize( .cards ) ); getitem .cards[ .random ], 1; set #CASHPOINTS, #CASHPOINTS + @amount[ .random ]; end; }
  17. prontera,150,150 script test 459,{ set @npcname$,"[ TCG - Cash ]"; set $exchange,10; //Exchange rate for TCG-Cash. mes @npcname$; mes "What would you like to do?"; mes "Exchange Rate - ^990000"+$exchange+"^000000 TCG = 1 Cash Point"; switch(select("TCG-Cash:Cash-TCG:Nothing")) { case 1: { next; mes @npcname$; mes "How much TCG would you like to trade?"; input @tcga; if(countitem(7227)<@tcga) { next; mes @npcname$; mes "You don't have that much!"; close; } if(!@tcga) { next; mes @npcname$; mes "You can't enter zero!"; close; } if((@tcga % $exchange)>0) { next; mes @npcname$; mes "Please enter a multiple of "+$exchange+"s."; close; } next; set @casha,@tcga / $exchange; mes @npcname$; mes "Exchange "+@tcga+" TCG Cards to "+@casha+"?"; if(select("Yes:No")==1) { next; mes @npcname$; mes "Here you go!"; delitem 7227,@tcga; #CASHPOINTS = #CASHPOINTS + @casha; dispbottom "You have gained "+#CASHPOINTS+" Cash Points."; dispbottom "Total Cash Points : "+#CASHPOINTS; } close; } case 2: { next; mes @npcname$; mes "How many Cash Points would you like to trade?"; input @cashb; if(#CASHPOINTS<@cashb) { next; mes @npcname$; mes "You don't have that much!"; close; if(!@cashb) { next; mes @npcname$; mes "You can't enter zero!"; close; } next; set @tcgb,@cashb * $exchange; mes @npcname$; mes "Exchange "+@cashb+" Cash Points to "+@tcgb+"?"; if(select("Yes:No")==1) { next; mes @npcname$; mes "Here you go!"; getitem 7227,@tcgb; #CASHPOINTS = #CASHPOINTS - @cashb; dispbottom "You have lost "+@cashb+" Cash Points."; dispbottom "Total Cash Points : "+#CASHPOINTS; } close; } case 3: close; } } prontera,149,150,4 cashshop cstest 47,7179:99999; //ItemID,price.
  18. - script strip -1,{ OnPCLoadMapEvent: sc_start SC_STRIPSHIELD,1200000,5; sc_start SC_STRIPWEAPON,1200000,5; sc_start SC_STRIPARMOR,1200000,5; sc_start SC_STRIPHELM,1200000,5; } map mapflag loadevent //maps here Maybe something like this.
  19. Well, say you put. if($walking==1) end; It'll still stop walking. Why not just make the guide warp to the selected location with the player, some npctalk "We're here!"; sleep 3000; npctalk "I better be going now."; movenpc strnpcinfo(0)+", $dx, $dy; Something like that. EDIT: Unless you put in something like if($walking==1) { npctalk "I'm busy."; sleep 3000; npcspeed 1; npcwalkto $x,$y; } And in the main script you put in something like mes "Pick a location."; switch(select("Blacksmith:Rental")) { case 1: { mes "Alright."; close2; set $x, 9999; // real X coords here. set $y, 9999; // real Y coords here. set $walking,1; npcspeed 1; npcwalkto $x,$y; } case 2: { second location here. } Still just a concept though. I'll try this out when i have the time. Well, hopefully someone's taking the time to make one.
  20. May be possible. But then again, a lot of bugs might be present like obstruction of npc's path, when npc gets clicked it stops.
×
×
  • Create New...