Jump to content

Fratini

Members
  • Posts

    153
  • Joined

  • Last visited

About Fratini

  • Birthday 06/22/1993

Profile Information

  • Gender
    Male
  • Location
    Brasil

Recent Profile Visitors

2849 profile views

Fratini's Achievements

Poring

Poring (1/15)

8

Reputation

6

Community Answers

  1. Daifuku, I'm waiting my refund of your service since 2 months ago... I really didn't want to do this but since you can't answer me on Discord, ignoring my messages I'll be clear right here on public: Refund my 300 dolars that I paid for you on 2016 for Webdesign. This money that I paid you was hard work and I really need it back...
  2. Nice work, @MaterialBlade ! That's very nice! It'll be a new dimension in the structure of Ragnarok! Nice !!!
  3. Very nice Duality!! Awesome work =D
  4. Jesus, why all this war? What is the matter that rAthena update this feature after Hercules? I appreciate all the efforts that the devs are putting into the emulator and I'll help with I can and have to maintain RO alive and well That's the spirit that you guys from Hercules and everyone else should have. Thank you @Lemongrass
  5. No problem, @blakbord ! Don't forget to keep moving! Problems and errors are signs of growing
  6. Try that: prontera,150,150,3 script Agent#GiftOnline 832,{ if(getgmlevel()<80) end; if(.check==2){ mes "Sir, the gift was delivered successfully"; mes "Wanna do it again?"; switch(select("Yes:No")){ case 1: next; goto AGAIN; case 2: close; } } AGAIN: mes "Input item ID:"; input .item; if(getitemname(.item) == "null") { mes "Invalid ID "+.item+"."; close; } mes "Input quantity:"; input .count,0,30000; if (.count == 0) mes "Invalid quantity 0."; mes "Input the minimum number of Players Online"; input .@i,1,500; getvariableofnpc(.number,"Check_Players") close2; dispbottom .count+" of "+getitemname(.item)+" will be given to players as soon as the Server gets "+.@i+"+ Online =)",0x00FF00; set .check,1; end; OnTimer1: set .@j,getvariableofnpc(.number,"Check_Players"); if(!.@j){ stopnpctimer; end; } announce "Congratulation NameRO for reaching "+.@j+"+ Players !!",bc_all; sleep 3000; announce "A little gift for each unique player out there!",bc_all; if(.check!=2 && .check){ addrid(0); getitem .item,.count; detachrid; .check = 2; } stopnpctimer; end; } - script Check_Players -1,{ OnPCLoginEvent: if(getusers(1)>=.number && .number>0) initnpctimer "Agent#GiftOnline"; end; } Remember to completely change the script. Delete the old one and add these^
  7. Try that: prontera,150,150,3 script Agent#GiftOnline 832,{ if(getgmlevel()<80) end; if(.check==2){ mes "Sir, the gift was delivered successfully"; mes "Wanna do it again?"; switch(select("Yes:No")){ case 1: next; goto AGAIN; case 2: close; } } AGAIN: mes "Input item ID:"; input .item; if(getitemname(.item) == "null") { mes "Invalid ID "+.item+"."; close; } mes "Input quantity:"; input .count,0,30000; if (.count == 0) mes "Invalid quantity 0."; mes "Input the minimum number of Players Online"; input .@i,1,500; getvariableofnpc(.number,"Check_Players") close2; dispbottom .count+" of "+getitemname(.item)+" will be given to players as soon as the Server gets "+.@i+"+ Online =)",0x00FF00; set .check,1; end; OnTimer1: set .@j,getvariableofnpc(.number,"Check_Players"); if(!.@j){ stopnpctimer; end; } announce "Congratulation NameRO for reaching "+.@j+"+ Players !!",bc_all; sleep 3000; announce "A little gift for each unique player out there!",bc_all; if(.check!=2 && .check){ addrid(0); getitem .item,.count; detachrid; .check = 2; } stopnpctimer; end; } - script Check_Players -1,{ OnPCLoginEvent: if(getusers(1)>=.number && .number>0) initnpctimer "Agent#GiftOnline"; end; } Remember to completely change the script. Delete the old one and add these^
  8. Lilo, I think it might be that your 'data/' files it's not updated. But I'm not sure
  9. The problem is that when you use the '.@' sufix, the values will be gone when the script ends. They're not stored. You have to use the '.' to store the values on the NPC variable. I see that I made some mistakes. I think now It will work: prontera,150,150,3 script Agent#GiftOnline 832,{ if(getgmlevel()<80) end; if(.check==2){ mes "Sir, the gift was delivered successfully"; mes "Wanna do it again?"; switch(select("Yes:No")){ case 1: next; goto AGAIN; case 2: close; } } AGAIN: mes "Input item ID:"; input .item; if(getitemname(.item) == "null") { mes "Invalid ID "+.item+"."; close; } mes "Input quantity:"; input .count,0,30000; if (.count == 0) mes "Invalid quantity 0."; mes "Input the minimum number of Players Online"; input .@i,1,500; getvariableofnpc(.number,"Check_Players") close2; dispbottom .count+" of "+getitemname(.item)+" will be given to players as soon as the Server gets "+.@i+"+ Online =)",0x00FF00; set .check,1; end; OnTimer1: set .@j,getvariableofnpc(.number,"Check_Players"); announce "Congratulation NameRO for reaching "+.@j+"+ Players !!",bc_all; sleep 3000; announce "A little gift for each unique player out there!",bc_all; if(.check!=2 && .check){ addrid(0); getitem .item,.count; detachrid; .check = 2; } end; } - script Check_Players -1,{ OnPCLoginEvent: if(getusers(1)>=.number && .number>0) initnpctimer "Agent#GiftOnline"; end; } So, to test it I add a variable to easily edit the number of players that the script will give the item of choice
  10. prontera,150,150,3 script Surprise at 100 832,{ if(getgmlevel()<80) end; if(.check==2){ mes "Sir, the gift was delivered successfully"; mes "Wanna do it again?"; switch(select("Yes:No")){ case 1: next; goto AGAIN; case 2: close; } } AGAIN: mes "Input item ID:"; input .item; if(getitemname(.@item) == "null") { mes "Invalid ID "+.@item+"."; close; } mes "Input quantity:"; input .count,0,30000; if (.@count == 0) mes "Invalid quantity 0."; close2; dispbottom .count+" of "+getitemname(.@item)+" will be given to players as soon as the Server gets 100+ Online =)",0x00FF00; set .check,1; OnTimer1: announce "Congratulation NameRO for reaching 100+ Players !!",bc_all; sleep 3000; announce "A little gift for each unique player out there!",bc_all; if(.check!=2 && .check){ addrid(0); getitem .item,.count; detachrid; .check = 2; } end; } - script Check_100 -1,{ OnPCLoginEvent: if(getusers(1)>=100) initnpctimer "Surprise at 100"; end; } I didn't test it. Any problem just post here Edit: As it can be notice, the NPC that change the ID of the Item gifted and the quantity is in Prontera 150 150. Change that, if you want
  11. If your server is configured to read SQL-Files, check your phpMyAdmin (usually http://localhost:81/phpmyadmin/ if it's offline) if the mob_db was applied. If not, apply from 'sql-files/'. If your server is not configured to read it, check the folder 'db/re' or 'db/pre-re' to see if the mob_db.txt is the correct one (re // pre-re) or if exists
×
×
  • Create New...